CN113518151A - Method, apparatus, electronic device, and medium for controlling electronic device - Google Patents

Method, apparatus, electronic device, and medium for controlling electronic device Download PDF

Info

Publication number
CN113518151A
CN113518151A CN202110787432.1A CN202110787432A CN113518151A CN 113518151 A CN113518151 A CN 113518151A CN 202110787432 A CN202110787432 A CN 202110787432A CN 113518151 A CN113518151 A CN 113518151A
Authority
CN
China
Prior art keywords
content
electronic device
determining
user
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110787432.1A
Other languages
Chinese (zh)
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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110787432.1A priority Critical patent/CN113518151A/en
Publication of CN113518151A publication Critical patent/CN113518151A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Abstract

The disclosure discloses a method, a device, equipment, a medium and a product for controlling electronic equipment, and relates to the field of intelligent prompting. The method for controlling the electronic equipment comprises the following steps: in response to determining that the attribute of the currently-operating content of the electronic device is the target attribute, determining at least one of location data and speed data of the electronic device; and controlling the electronic equipment to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of the user to the current running content.

Description

Method, apparatus, electronic device, and medium for controlling electronic device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of intelligent prompting, and more particularly, to a method, an apparatus, an electronic device, a medium, and a program product for controlling an electronic device.
Background
With the popularity of electronic devices, more and more users rely on electronic devices. However, when a user uses an electronic device in some scenarios, there are safety concerns. For example, taking an electronic device as a mobile phone as an example, when a user uses the mobile phone while walking on a road, traffic accidents are easy to happen, and a great potential safety hazard exists.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, a storage medium, and a program product for controlling an electronic device.
According to an aspect of the present disclosure, there is provided a method of controlling an electronic device, including: in response to determining that an attribute of currently-operating content of an electronic device is a target attribute, determining at least one of location data and speed data of the electronic device; and controlling the electronic equipment to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of a user to the current running content.
According to another aspect of the present disclosure, there is provided an apparatus for controlling an electronic device, including: the device comprises a first determination module and a control module. A first determination module for determining at least one of position data and velocity data of an electronic device in response to determining that an attribute of currently-operating content of the electronic device is a target attribute; and the control module is used for controlling the electronic equipment to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of a user to the current running content.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor and a memory communicatively coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of controlling an electronic device described above.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the above-described method of controlling an electronic device.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of controlling an electronic device described above.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 schematically illustrates an application scenario of a method and apparatus for controlling an electronic device according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a method of controlling an electronic device according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of a method of controlling an electronic device according to an embodiment of the present disclosure;
FIG. 4 schematically shows a block diagram of an apparatus for controlling an electronic device according to an embodiment of the present disclosure; and
FIG. 5 is a block diagram of an electronic device used to implement an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Embodiments of the present disclosure provide a method of controlling an electronic device. The method for controlling the electronic equipment comprises the following steps: at least one of position data and velocity data of the electronic device is determined in response to determining that the attribute of the currently-running content of the electronic device is the target attribute. Then, the electronic device is controlled to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of the user to the current running content.
Fig. 1 schematically illustrates an application scenario of a method and apparatus for controlling an electronic device according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of an application scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a user 101 and an electronic device 102.
The electronic device 102 may be a variety of devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet and portable computers, and the like.
If the user 101 uses the electronic device 102 while walking on the road, there will be a safety hazard. For example, when the user 101 uses the electronic device 102 while walking on a road to view immersive content including, for example, a video or a game, traffic accidents are caused to easily occur.
Therefore, in order to improve security, when the electronic device 102 detects that the user 101 uses the electronic device 102 while walking, the electronic device 102 may be controlled to perform a preset operation to reduce the attention of the user 101 to the electronic device 102, for example, generating a prompt message to prompt the user 101 to stop using the electronic device 102 or the electronic device 102 to stop running the current content.
It should be noted that the method for controlling an electronic device provided by the embodiment of the present disclosure may be executed by the electronic device 102. Accordingly, the apparatus for controlling an electronic device provided by the embodiment of the present disclosure may be disposed in the electronic device 102.
The embodiment of the present disclosure provides a method for controlling an electronic device, and the method for controlling an electronic device according to an exemplary embodiment of the present disclosure is described below with reference to fig. 2 to 3 in conjunction with the application scenario of fig. 1.
Fig. 2 schematically shows a flow chart of a method of controlling an electronic device according to an embodiment of the present disclosure.
As shown in fig. 2, a method 200 of controlling an electronic device of an embodiment of the present disclosure may include, for example, operations S210 to S220.
In operation S210, in response to determining that the attribute of the currently running content of the electronic device is the target attribute, at least one of position data and velocity data of the electronic device is determined.
In operation S220, the electronic device is controlled to perform a preset operation with respect to the currently running content based on at least one of the position data and the speed data to reduce a user' S attention to the currently running content.
Illustratively, the currently running content includes videos, games, documents, instant messages, and the like. If the attribute of the currently running content is the target attribute, representing the currently running content requires a user to spend more time processing or paying attention. Or, if the attribute of the current operation content is the target attribute, the current operation content is represented without being processed by the user in time.
When the attribute of the currently-running content is the target attribute, determining whether to execute a preset operation for the currently-running content based on state data of the electronic device, wherein the state data comprises at least one of position data and speed data. If the state data of the electronic device indicates that the user is in a dangerous environment, the electronic device needs to be controlled to perform preset operations on the current running content, and the dangerous environment includes a road, for example. After the preset operation is executed for the current operation content, the attention of the user to the current operation content is reduced, so that the user does not need to pay attention to or process the current operation content in real time, and the safety of the user is improved.
According to the embodiment of the disclosure, firstly, after the attribute of the current running content is determined to be the target attribute, whether the electronic device is controlled to execute the preset operation aiming at the current running content is determined based on the state data, on the basis that the running content needing to be processed in time is not missed by a user, when the current running content does not need to be processed in time by the user, the preset operation is executed based on the state data, so that the attention of the user to the current running content is reduced, and the safety is improved.
In an example, the target property includes at least one of: the running time is longer than the preset time, and the timeliness of the current running content needing user feedback is lower than the preset timeliness.
For example, if the running duration of the current running content is longer than the preset duration, it indicates that the user needs to spend more time or effort to process or pay attention to the current running content, and if the user spends more time to process or pay attention to the current running content while walking on the road, there is a traffic safety hazard. The currently running content is, for example, video, games, music, etc.
For example, the timeliness of the current operation content requiring user feedback is lower than the preset timeliness, which means that the current operation content does not need to be processed or paid attention by the user in time, and if the user spends more time or energy to process or pay attention to the current operation content while walking on a road, there will be a traffic safety hazard. The current running content requiring the timeliness of the user feedback lower than the preset timeliness includes, for example, recommended news, recommended documents, and the like. The current operation content requiring the timeliness of the user feedback higher than the preset timeliness includes, for example, instant messages, short messages and the like. When the current operation content comprises an instant message and a short message, in order to ensure that the user does not miss important information, the electronic equipment is not controlled to execute preset operation aiming at the current operation content.
In one example, the status data includes position data, and the control electronic device performs a preset operation with respect to the current execution content when the position data is a target position, the target position including a position of a road. For example, when the user holds the electronic device to walk on a road and the attribute of the currently running content of the electronic device is the target attribute, if the user continues to pay attention to or process the currently running content on the road, a large potential safety hazard exists, and at this time, a preset operation may be performed on the currently running content to reduce the attention of the user to the currently running content. If the target location is not a location of a road but indoors, indicating that the user is safe when using the electronic device indoors, the preset operation may not be performed with respect to the current operation contents.
In another example, the status data includes speed data, and the control electronics is to perform a preset operation for the currently running content when the speed data is indicative of a speed greater than a first speed threshold and less than a second speed threshold. For example, the speed greater than the first speed threshold and less than the second speed threshold represents that the user holds the electronic device and is walking, and when the attribute of the currently running content of the electronic device is the target attribute, if the user continues to pay attention to or process the currently running content while walking, a large potential safety hazard exists, and at this time, a preset operation may be performed on the currently running content to reduce the attention of the user to the currently running content. If the speed is less than the first speed threshold value, the user stops walking, and at the moment, the user is safe to use the electronic device, and the preset operation can not be executed according to the current running content. If the speed is greater than the second speed threshold, the user is represented as taking a car, and at the moment, the user is represented as safe to use the electronic equipment, and the preset operation can not be executed according to the current running content.
In another example, the status data includes position data and velocity data, and if the position data is a target position and the velocity data is indicative of a velocity greater than a first velocity threshold and less than a second velocity threshold, the control electronics is to perform a preset operation with respect to the current running content. That is, when the user walks on the road and the attribute of the currently running content of the electronic device is the target attribute, if the user continues to use the electronic device, a large potential safety hazard exists, at this time, a preset operation may be performed on the currently running content, so as to reduce the attention of the user to the currently running content.
In an embodiment of the disclosure, the preset operation includes at least one of: generating prompt information aiming at the current operation content and changing the operation state of the current operation content.
For example, the prompt information is used to prompt the user to reduce the attention to the currently running content. For example, the hint information includes: prompting the user to stop paying attention to the current running content, prompting the user to execute closing operation or pause running operation on the current running content, and prompting the user to adjust the running parameters of the current running content. And if the current running content is a video or a game, prompting the user to stop paying attention to the current running content comprises prompting the user not to continue watching the video or playing the game, and prompting the user to execute a closing operation or pause a running operation on the current running content comprises prompting the user to pause or close the video or the game. If the current operation content is music playing, prompting the user to adjust the operation parameters of the current operation content comprises prompting the user to reduce the volume.
For example, if the currently running content is a video or game, adjusting the running state of the currently running content includes pausing the video or game or turning off the video or game.
In an example, a content type of currently running content of the electronic device may be determined, and an operation mode of a user for the currently running content may be predicted based on the content type. And if the operation mode is the preset mode, determining that the attribute of the current operation content is the target attribute, and further determining whether to control the electronic equipment to execute preset operation aiming at the current operation content based on the state data.
Taking the content type as the game type as an example, the operation mode of the user is predicted to be the first operation mode. The first mode of operation is to use eyes, ears, hands to operate or interact with the game for a long time.
Taking the content type as the video type as an example, the operation mode of the user is predicted to be the second operation mode. The second mode of operation is long-time viewing and listening of the video using the eyes, ears.
Taking the content type as the text type as an example, the operation mode of the user is predicted to be the third operation mode. The third mode of operation is long-term browsing of text using the eyes.
Taking the content type as the music type as an example, the operation mode of the user is predicted to be the fourth operation mode. The fourth mode of operation is listening to music for a long time using the ear.
Taking the content type as the message type as an example, the operation mode of the user is predicted to be the fifth operation mode. The fifth operation mode is short time viewing using eyes.
The preset modes include, for example, a first operation mode, a second operation mode, a third operation mode, and a fourth operation mode.
Illustratively, an operation level corresponding to the operation mode is determined, the operation level being associated with a preset operation. For example, the operation levels of the first operation mode, the second operation mode, the third operation mode, and the fourth operation mode are from high to low, and the higher the operation level is, the higher the mandatory property of the preset operation is. For example, the first operation mode corresponds to a higher operation level, and the corresponding preset operation is, for example, to directly pause or close the currently running content. The operation level corresponding to the fourth operation mode is lower, and the corresponding preset operation is, for example, generating a prompt message to prompt the user to reduce the volume.
In another example, a current operation performed by a user for the currently running content is determined, when the current operation is a target operation, an attribute of the currently running content is determined to be a target attribute, and it is further determined whether to control the electronic device to perform a preset operation for the currently running content based on the state data.
The current operation includes, for example, a first operation such as a long-time operation or interaction with the game using eyes, ears, or hands.
For example, the current operation includes, for example, a second operation such as watching and listening to a video for a long time using eyes and ears.
For example, the current operation includes, for example, a third operation such as browsing a text for a long time using eyes.
For example, the current operation includes, for example, a fourth operation of listening to music for a long time using an ear, for example.
For example, the current operation includes, for example, a fifth operation of viewing a text for a short time using eyes.
Illustratively, the target operation includes, for example, a first operation, a second operation, a third operation, and a fourth operation.
Fig. 3 schematically illustrates a schematic diagram of a method of controlling an electronic device according to an embodiment of the present disclosure.
As shown in fig. 3, a run-time length 302 of currently running content 301 for an electronic device and a timeliness 303 of the currently running content requiring user feedback are determined. If the operational time period 302 is greater than the preset time period and the timeliness 303 is less than the preset timeliness, the location data 304 and the speed data 305 for the electronic device are further determined.
If the position data 304 indicates that the user is on a road and the speed data 305 indicates that the user is walking, the control electronics performs a preset operation for the currently running content 301.
The preset operation includes, for example, generating a prompt message 306 for the currently running content 301 or adjusting the running state 307 of the currently running content 301, so as to reduce the attention of the user to the currently running content 301 and ensure the walking safety of the user.
Illustratively, the electronic equipment is provided with a geographic position acquisition module, a state acquisition module and a current operation content judgment module. The geographic location acquisition module may acquire location data of the electronic device. The state acquisition module comprises a gyroscope or an acceleration sensor and is used for acquiring speed data of the electronic equipment. The current operation content judging module is used for judging whether the attribute of the current operation content is a target attribute so as to determine whether to control the electronic equipment to execute preset operation based on the state data.
According to the embodiment of the disclosure, the mobile state of the user using the electronic equipment is judged through the sensor on the electronic equipment, and whether the electronic equipment is operating some contents which cause the user to be inattentive or not is identified, so that the user is prompted, the user is enabled to be more concentrated on road conditions in real life, and personal safety of the user is protected.
Fig. 4 schematically shows a block diagram of an apparatus for controlling an electronic device according to an embodiment of the present disclosure.
As shown in fig. 4, an apparatus 400 for controlling an electronic device according to an embodiment of the present disclosure includes, for example, a first determining module 410 and a control module 420.
The first determination module 410 may be configured to determine at least one of location data and velocity data of the electronic device in response to determining that an attribute of currently-operating content of the electronic device is a target attribute. According to an embodiment of the present disclosure, the first determining module 410 may perform, for example, operation S210 described above with reference to fig. 2, which is not described herein again.
The control module 420 may be configured to control the electronic device to perform a preset operation on the currently running content based on at least one of the position data and the speed data, so as to reduce the user's attention to the currently running content. According to the embodiment of the present disclosure, the control module 420 may perform, for example, the operation S220 described above with reference to fig. 2, which is not described herein again.
According to an embodiment of the disclosure, the control module 420 is configured to: in response to determining that the position data is a target position, the control electronics perform a preset operation for the current operating content, wherein the target position includes a position of the road.
According to an embodiment of the disclosure, the control module 420 is configured to: in response to determining that the speed characterized by the speed data is greater than the first speed threshold and less than the second speed threshold, control the electronic device to perform a preset operation for the currently running content.
According to an embodiment of the disclosure, the control module 420 is configured to: in response to determining that the position data is the target position and that the speed characterized by the speed data is greater than a first speed threshold and less than a second speed threshold, the electronic device is controlled to perform a preset operation for the current run content.
According to an embodiment of the present disclosure, the preset operation includes at least one of: generating prompt information aiming at the current operation content, wherein the prompt information is used for prompting a user to reduce the attention degree of the current operation content; changing the running state of the current running content, wherein the prompt message comprises at least one of the following items: prompting the user to stop paying attention to the current running content, prompting the user to execute closing operation or pause running operation on the current running content, and prompting the user to adjust the running parameters of the current running content.
According to an embodiment of the present disclosure, the apparatus 400 may further include, for example: a second determination module, a prediction module, and a third determination module. And the second determination module is used for determining the content type of the current operation content of the electronic equipment. And the prediction module is used for predicting the operation mode of the user aiming at the current operation content based on the content type. And the third determining module is used for determining the attribute of the current running content as the target attribute in response to the fact that the operation mode is determined to be the preset mode.
According to an embodiment of the present disclosure, the apparatus 400 may further include, for example: and a fourth determining module, configured to determine an operation level corresponding to the operation mode, where the operation level is associated with a preset operation.
According to an embodiment of the present disclosure, the apparatus 400 may further include, for example: a fifth determination module and a sixth determination module. A fifth determining module, configured to determine a current operation performed by the user for the current running content; and the sixth determining module is used for determining the attribute of the current running content as the target attribute in response to the fact that the current operation is determined as the target operation.
According to an embodiment of the present disclosure, the target property includes at least one of: the running time is longer than the preset time, and the timeliness of the current running content needing user feedback is lower than the preset timeliness.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 5 is a block diagram of an electronic device used to implement an embodiment of the disclosure.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure. The electronic device 500 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 comprises a computing unit 501 which may perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 501 executes the respective methods and processes described above, such as the method of controlling an electronic device. For example, in some embodiments, the method of controlling an electronic device may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the method of controlling an electronic device described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured by any other suitable means (e.g., by means of firmware) to perform a method of controlling an electronic device.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (21)

1. A method of controlling an electronic device, comprising:
in response to determining that an attribute of currently-operating content of an electronic device is a target attribute, determining at least one of location data and speed data of the electronic device; and
and controlling the electronic equipment to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of a user to the current running content.
2. The method of claim 1, wherein the controlling the electronic device to perform a preset operation for the currently running content based on at least one of the position data and the velocity data comprises:
in response to determining that the position data is a target position, controlling the electronic device to perform a preset operation with respect to the current running content,
wherein the target location comprises a location of a road.
3. The method of claim 1, wherein the controlling the electronic device to perform a preset operation for the currently running content based on at least one of the position data and the velocity data comprises:
in response to determining that the speed characterized by the speed data is greater than a first speed threshold and less than a second speed threshold, controlling the electronic device to perform the preset operation for the current running content.
4. The method of claim 1, wherein the controlling the electronic device to perform a preset operation for the currently running content based on at least one of the position data and the velocity data comprises:
and in response to determining that the position data is a target position and that the speed represented by the speed data is greater than a first speed threshold and less than a second speed threshold, controlling the electronic device to perform the preset operation for the current running content.
5. The method according to any one of claims 1-4, wherein the preset operation comprises at least one of:
generating prompt information aiming at the current operation content, wherein the prompt information is used for prompting a user to reduce the attention degree of the current operation content; and
changing the operation state of the current operation content,
wherein the prompt message comprises at least one of: prompting the user to stop paying attention to the current running content, prompting the user to execute closing operation or pause running operation on the current running content, and prompting the user to adjust running parameters of the current running content.
6. The method of any of claims 1-5, further comprising:
determining a content type of currently running content of the electronic equipment;
predicting an operation mode of a user for the current running content based on the content type; and
and in response to determining that the operation mode is a preset mode, determining that the attribute of the currently running content is a target attribute.
7. The method of claim 6, further comprising:
determining an operation level corresponding to the operation mode,
wherein the operation level is associated with the preset operation.
8. The method of any of claims 1-5, further comprising:
determining a current operation executed by a user aiming at the current running content; and
and in response to determining that the current operation is a target operation, determining that the attribute of the currently running content is a target attribute.
9. The method of any of claims 1-8, wherein the target attribute comprises at least one of: the running time is longer than the preset time, and the timeliness of the current running content needing user feedback is lower than the preset timeliness.
10. An apparatus for controlling an electronic device, comprising:
a first determination module for determining at least one of position data and velocity data of an electronic device in response to determining that an attribute of currently-operating content of the electronic device is a target attribute; and
and the control module is used for controlling the electronic equipment to execute preset operation aiming at the current running content based on at least one of the position data and the speed data so as to reduce the attention of a user to the current running content.
11. The apparatus of claim 10, wherein the control module is to:
in response to determining that the position data is a target position, controlling the electronic device to perform a preset operation with respect to the current running content,
wherein the target location comprises a location of a road.
12. The apparatus of claim 10, wherein the control module is to:
in response to determining that the speed characterized by the speed data is greater than a first speed threshold and less than a second speed threshold, controlling the electronic device to perform the preset operation for the current running content.
13. The apparatus of claim 10, wherein the control module is to:
and in response to determining that the position data is a target position and that the speed represented by the speed data is greater than a first speed threshold and less than a second speed threshold, controlling the electronic device to perform the preset operation for the current running content.
14. The apparatus according to any one of claims 10-13, wherein the preset operation comprises at least one of:
generating prompt information aiming at the current operation content, wherein the prompt information is used for prompting a user to reduce the attention degree of the current operation content; and
changing the operation state of the current operation content,
wherein the prompt message comprises at least one of: prompting the user to stop paying attention to the current running content, prompting the user to execute closing operation or pause running operation on the current running content, and prompting the user to adjust running parameters of the current running content.
15. The apparatus of any of claims 10-14, further comprising:
the second determining module is used for determining the content type of the current running content of the electronic equipment;
the prediction module is used for predicting the operation mode of the user aiming at the current operation content based on the content type; and
and the third determining module is used for determining that the attribute of the current running content is the target attribute in response to the fact that the operation mode is determined to be the preset mode.
16. The apparatus of claim 15, further comprising:
a fourth determination module for determining an operation level corresponding to the operation mode,
wherein the operation level is associated with the preset operation.
17. The apparatus of any of claims 10-14, further comprising:
a fifth determining module, configured to determine a current operation performed by a user for the current running content; and
a sixth determining module, configured to determine, in response to determining that the current operation is a target operation, that an attribute of the current running content is a target attribute.
18. The apparatus of any of claims 10-17, wherein the target property comprises at least one of: the running time is longer than the preset time, and the timeliness of the current running content needing user feedback is lower than the preset timeliness.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
21. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-9.
CN202110787432.1A 2021-07-12 2021-07-12 Method, apparatus, electronic device, and medium for controlling electronic device Pending CN113518151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110787432.1A CN113518151A (en) 2021-07-12 2021-07-12 Method, apparatus, electronic device, and medium for controlling electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110787432.1A CN113518151A (en) 2021-07-12 2021-07-12 Method, apparatus, electronic device, and medium for controlling electronic device

Publications (1)

Publication Number Publication Date
CN113518151A true CN113518151A (en) 2021-10-19

Family

ID=78067260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110787432.1A Pending CN113518151A (en) 2021-07-12 2021-07-12 Method, apparatus, electronic device, and medium for controlling electronic device

Country Status (1)

Country Link
CN (1) CN113518151A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130117839A1 (en) * 2011-10-31 2013-05-09 Steven W. White Method for controlling application usage on a mobile device while the device is in motion
CN104461021A (en) * 2014-12-29 2015-03-25 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN104506736A (en) * 2014-12-29 2015-04-08 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN104504853A (en) * 2014-12-29 2015-04-08 北京尚德智产投资管理有限公司 Mobile terminal and control device thereof
CN105160220A (en) * 2015-09-01 2015-12-16 上海斐讯数据通信技术有限公司 Mobile terminal with playing safety control function of media file and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130117839A1 (en) * 2011-10-31 2013-05-09 Steven W. White Method for controlling application usage on a mobile device while the device is in motion
CN104461021A (en) * 2014-12-29 2015-03-25 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN104506736A (en) * 2014-12-29 2015-04-08 北京尚德智产投资管理有限公司 Mobile terminal and control method thereof
CN104504853A (en) * 2014-12-29 2015-04-08 北京尚德智产投资管理有限公司 Mobile terminal and control device thereof
CN105160220A (en) * 2015-09-01 2015-12-16 上海斐讯数据通信技术有限公司 Mobile terminal with playing safety control function of media file and method thereof

Similar Documents

Publication Publication Date Title
CN111309400A (en) Process control method, device, storage medium and electronic equipment
EP3526748A1 (en) Proactive virtual assistant
CN111666140A (en) Resource scheduling method, device, equipment and storage medium
US10171640B2 (en) Method, apparatus, and system for displaying message in mobile terminal
US10203840B2 (en) Method and apparatus for removing notification icons
CN107835984B (en) Thermal mitigation user experience
CN113253885B (en) Method, device, equipment, readable storage medium and product for displaying target content
CN108434731B (en) Virtual object control method and device, storage medium and electronic equipment
CN114064074A (en) Upgrade task management and control method and device, electronic equipment and storage medium
CN113840003A (en) Synchronization method and device
WO2020119484A1 (en) Information prompting method and apparatus, electronic device and readable medium
CN113518151A (en) Method, apparatus, electronic device, and medium for controlling electronic device
CN115469816B (en) Method, device, equipment and storage medium for switching reading and writing of memory
US11275424B2 (en) Method for operating a device having a switchable power saving mode for reducing its power consumption
KR20170110611A (en) Method and apparatus for providing security information of a user device
CN107404569B (en) System control method, terminal and computer readable storage medium
CN113734190B (en) Vehicle information prompting method and device, electronic equipment, medium and vehicle
CN111061360B (en) Control method and device based on user head motion, medium and electronic equipment
CN113415126A (en) Method and device for controlling vehicle-mounted air conditioner, electronic equipment and medium
CN113468423A (en) Information recommendation method and device for vehicle, vehicle and electronic equipment
CN113139891A (en) Image processing method, image processing device, electronic equipment and storage medium
US9569290B1 (en) Utilizing a profile to prevent recurring events from being transmitted to the event processing device that are not necessary to be processed by event processing device
CN114265535B (en) Floor page display method, device, equipment and medium for push message
CN112235527B (en) Danger early warning method and device
CN113641428B (en) Method and device for acquiring special effect scene packet, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211019