CN115756293A - Equipment control method, device, system and storage medium - Google Patents

Equipment control method, device, system and storage medium Download PDF

Info

Publication number
CN115756293A
CN115756293A CN202211559791.2A CN202211559791A CN115756293A CN 115756293 A CN115756293 A CN 115756293A CN 202211559791 A CN202211559791 A CN 202211559791A CN 115756293 A CN115756293 A CN 115756293A
Authority
CN
China
Prior art keywords
touch
target
current environment
control
environment
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
CN202211559791.2A
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.)
Shenzhen Aixiesheng Technology Co Ltd
Original Assignee
Shenzhen Aixiesheng 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 Shenzhen Aixiesheng Technology Co Ltd filed Critical Shenzhen Aixiesheng Technology Co Ltd
Priority to CN202211559791.2A priority Critical patent/CN115756293A/en
Publication of CN115756293A publication Critical patent/CN115756293A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a device control method, a device, a system and a storage medium, wherein the device control method comprises the following steps: acquiring the current environment of target equipment; detecting whether the current environment is an abnormal environment; when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment; in response to the touch operation aiming at the target equipment, the equipment display of the target equipment is controlled based on the touch control strategy and the touch operation, and the problem that the terminal cannot be used due to the drift of a terminal touch screen or the operation failure of the terminal touch screen can be solved.

Description

Equipment control method, device, system and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a device control method, apparatus, system, and storage medium.
Background
Apparatuses having a touch function have been widely used in daily life. Touch-enabled devices include devices such as smart phones, tablets, electronic kiosks, gaming devices, personal computers, and any other type of electronic device that may be configured to receive input through an interface that includes touch functionality.
Most of the existing intelligent terminals adopt a touch screen technology, and various trigger instructions are generated by clicking or sliding a finger of a user on the touch screen, so as to realize a control function. However, when the ambient temperature and the ambient electric field change, drift of the touch screen is caused, which causes inaccurate detection of the touch position and even damage to the touch screen, and thus, the user cannot use the computer device.
Disclosure of Invention
In order to solve the technical problems, the application provides a device control method, a device, a system and a storage medium, which can solve the problem that a computer device cannot be used due to terminal touch screen drift or terminal touch screen operation failure.
In order to solve the above technical problem, the present application provides an apparatus control method, including:
acquiring the current environment of target equipment;
detecting whether the current environment is an abnormal environment;
when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment;
and responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation.
Optionally, in some embodiments of the application, the determining, when it is detected that the current environment is an abnormal environment, a touch control policy corresponding to the current environment includes:
when the current environment is detected to be an abnormal environment, acquiring environment information of the current environment and touch function information of the target equipment;
and determining a touch control strategy corresponding to the current environment according to the environment information and the touch function information.
Optionally, in some embodiments of the application, the determining, according to the environment information and the touch function information, a touch control policy corresponding to the current environment includes:
extracting acceleration data of the target device from the environment information;
determining a device use scene corresponding to the target device based on the acceleration data;
when the device use scene is a first scene and the touch function information indicates that the touch function of the target device is normal, determining a touch control strategy corresponding to the current environment as a linkage control strategy;
when the device use scene is a second scene and the touch function information indicates that the touch function of the target device is abnormal, determining a touch control strategy corresponding to the current environment as a single-point control strategy;
the controlling, in response to the touch operation for the target device, the device display of the target device based on the touch control policy and the touch operation includes: responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the linkage control strategy and the touch operation, or; and responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment based on the single-point control strategy and the touch operation.
Optionally, in some embodiments of the application, the controlling, in response to the touch operation on the target device, the device display of the target device based on the linkage control policy and the touch operation includes:
responding to the touch operation aiming at the target equipment, and determining a touch point corresponding to the touch operation;
acquiring a control sequence corresponding to the linkage control strategy;
and controlling the equipment display of the target equipment based on the touch point and the control sequence.
Optionally, in some embodiments of the application, the controlling, based on the touch point and the control sequence, the device display of the target device includes:
and controlling the equipment display of the target equipment according to the position and the sequence of each control point in the control sequence by taking the touch point as a reference.
Optionally, in some embodiments of the present application, the controlling, in response to the touch operation for the target device, the device display of the target device based on the single-point control policy and the touch operation includes:
reducing the touch sensitivity of the target equipment according to the single-point touch strategy;
and under the state of reducing the touch sensitivity, responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment.
Optionally, in some embodiments of the application, the reducing the touch sensitivity of the target device according to the single-point touch policy includes:
obtaining forbidden points from the single-point touch strategy;
and reducing the touch sensitivity of the target equipment according to the forbidden point.
Correspondingly, the present application further provides an apparatus control device, including:
the acquisition module is used for acquiring the current environment of the target equipment;
the detection module is used for detecting whether the current environment is an abnormal environment;
the determining module is used for determining a touch control strategy corresponding to the current environment when the current environment is detected to be an abnormal environment;
and the control module is used for responding to the touch operation aiming at the target equipment and controlling the equipment display of the target equipment based on the touch control strategy and the touch operation.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method as described above when executing the computer program.
The present application also provides a computer storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above.
As described above, the present application provides a device control method, an apparatus, a computer device, and a readable storage medium, the device control method including: the method comprises the steps of obtaining the current environment of target equipment, detecting whether the current environment is an abnormal environment or not, determining a touch control strategy corresponding to the current environment when the current environment is detected to be the abnormal environment, responding to touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation. According to the equipment control scheme, the corresponding touch control strategy can be output in an abnormal environment, and the equipment display of the target equipment is controlled based on the touch control strategy and the touch operation, so that the problem that the terminal cannot be used due to the fact that the terminal touch screen drifts or the terminal touch screen operation fails can be solved, and the terminal which cannot be timely repaired can be temporarily maintained to be used in an emergency.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of a scenario of a device control method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a device control method provided in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an apparatus control device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent terminal provided in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
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, the recitation of a claim "comprising a" 8230a "\8230means" does not exclude the presence of additional identical elements in the process, method, article or apparatus in which the element is incorporated, and further, similarly named components, features, elements in different embodiments of the application may have the same meaning or may have different meanings, the specific meaning of which should be determined by its interpretation in the specific embodiment or by further combination with the context of the specific embodiment.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to indicate elements are used only for facilitating the description of the present application, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The following embodiments related to the present application are specifically described, and it should be noted that the order of description of the embodiments in the present application is not limited to the order of priority of the embodiments.
The embodiment of the application provides a device control method and device, computer equipment and a readable storage medium.
The device control apparatus may be integrated in a terminal. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through a wired or wireless communication manner, the server may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform, which is not limited herein.
For example, referring to fig. 1, the present application provides an apparatus control device integrated in a mobile phone 10, wherein when a user 20 uses the mobile phone 10, the mobile phone 10 can obtain a current environment and detect whether the current environment is an abnormal environment; when detecting that the current environment is an abnormal environment, the mobile phone 10 determines a touch control strategy corresponding to the current environment; the mobile phone 10 controls the display of the mobile phone 10 based on the touch control strategy and the touch operation in response to the touch operation triggered by the user.
According to the equipment control scheme, the corresponding touch control strategy can be output under the abnormal environment, and the equipment display of the target equipment is controlled based on the touch control strategy and touch operation, so that the problem that the terminal cannot be used due to the fact that the terminal touch screen drifts or the terminal touch screen operation fails can be solved, and the terminal which cannot be timely repaired can be temporarily maintained to be used in an emergency.
The following are detailed below. It should be noted that the description sequence of the following embodiments is not intended to limit the priority sequence of the embodiments.
An apparatus control method comprising: acquiring the current environment of target equipment; detecting whether the current environment is an abnormal environment; when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment; and responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation.
Referring to fig. 2, fig. 2 is a schematic flowchart of an apparatus control method according to an embodiment of the present disclosure. The specific flow of the equipment control method can be as follows:
101. the current environment of the target device is obtained.
For example, the current environment of the target device may be obtained through at least one sensor such as a microphone, a camera, and a gyroscope sensor of the target device, for example, sound information is collected through the microphone, image information is collected through the camera, and acceleration information is collected through the gyroscope sensor, further, the current environment may be described according to the sound information, the image information, and/or the acceleration information, which may be specifically selected according to actual situations, and is not described herein again.
102. And detecting whether the current environment is an abnormal environment.
Alternatively, whether the current environment is an abnormal environment may be detected by a neural network, or whether the current environment is an abnormal environment may be determined based on information (such as image information, sound information, and acceleration information) corresponding to the current environment.
For example, specifically, the neural network may be a convolutional neural network, and the convolutional neural network may be trained in advance, so that whether the current environment is an abnormal environment is detected by directly using the trained convolutional neural network in the following; or, whether the image information is matched with the preset image information may be detected, and then, whether the current environment is an abnormal environment is determined according to the matched preset image information, and similar methods may be used for the sound information and the acceleration information, and the selection may be performed specifically according to actual situations, which is not described herein again.
103. And when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment.
Optionally, the determining a corresponding touch control policy according to the environment information of the current environment and the touch function information of the target device, that is, the step "determining the touch control policy corresponding to the current environment when the current environment is detected to be an abnormal environment", may specifically include:
(11) When the current environment is detected to be an abnormal environment, acquiring environment information of the current environment and touch function information of the target equipment;
(12) And determining a touch control strategy corresponding to the current environment according to the environment information and the touch function information.
For example, after acquiring the environment information of the current environment and the touch function information of the target device, determining the touch control policy corresponding to the current environment by detecting the touch function of the target device and the current usage scenario, that is, optionally, in some embodiments, the step "determining the touch control policy corresponding to the current environment according to the environment information and the touch function information" may specifically include:
(21) Extracting acceleration data of the target device from the environment information;
(22) Determining a device use scene corresponding to the target device based on the acceleration data;
(23) When the device use scene is a first scene and the touch function information indicates that the touch function of the target device is normal, determining a touch control strategy corresponding to the current environment as a linkage control strategy;
(24) And when the device use scene is a second scene and the touch function information indicates that the touch function of the target device is abnormal, determining a touch control strategy corresponding to the current environment as a single-point control strategy.
Optionally, in some embodiments, the first scene may be a vibration scene, and the second scene may be a non-vibration scene, where the vibration scene is determined according to: and if the vibration frequency of the equipment is greater than the preset value, determining the equipment as a vibration scene, and determining the rest scenes as non-vibration scenes except the vibration scene.
Optionally, in some embodiments, image data of the target device may be further extracted from the environment information, and a device usage scene corresponding to the target device is determined according to the image data, for example, if it is determined from the image data that the number of images acquired by the target device in a preset time by the camera is greater than a preset number, it may be determined that the target device is in a vibration scene, which may be specifically selected according to an actual situation, and is not described herein again.
It should be noted that, a capacitive multi-touch screen is often used in a current computer device (e.g., a mobile phone), and the capacitive multi-touch screen includes a capacitive touch sensor and a touch controller connected to the capacitive touch sensor. The touch controller controls the chip to periodically generate a driving signal, and the action of generating the driving signal and measuring is called scanning. When no finger is operated, the sampling data of the touch sensor is used as a reference, and the reference is called Base for short; when a finger is pressed down, the size of the charge passing through the touch sensor is changed, the change of the size of the charge is calculated by subtracting Base from the sampling data at the moment to sense the touch action, and the change quantity of the size of the charge is called Diff for short; in order to achieve the purpose of detecting a plurality of touch points, a plurality of touch detection nodes arranged in a longitudinal and transverse manner are configured on a touch sensor, if the detection nodes are distributed on the plane of the touch sensor in an arrangement form of m rows and n columns, an m x n detection node matrix is formed, a touch controller can obtain a corresponding m x n sampling data matrix by sampling the detection node matrix, and conventionally, sampling data of one matrix acquired by one scanning is called as one frame of sampling data. Each scanning of the touch screen may detect multiple fingers (points) at the same time, and therefore, in some embodiments of the present application, the touch function abnormality of the target device is: the touch screen can detect only one finger (point) or no finger (point) per scan.
104. And responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation.
Optionally, in some embodiments, the step "responding to the touch operation on the target device, and controlling the device display of the target device based on the touch control policy and the touch operation" may specifically include: responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the linkage control strategy and the touch operation, or; and responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment based on the single-point control strategy and the touch operation.
For the linkage control policy, a control sequence corresponding to the linkage control policy may be pre-established, where the control sequence is used to control a display change of the target device, for example, the control sequence is pre-set to open an application a, when the target device is displayed as an application interface of an application B, the application interface of the application B is exited, the application a is determined in the main interface, and then the application a is opened, and further, according to a touch point of the touch operation, a target control sequence may be determined in multiple control sequences according to a position of the touch point, so as to control a device display of the target device, that is, optionally, in some embodiments, the step "corresponds to a touch operation on the target device, and controls the device display of the target device based on the linkage control policy and the touch operation" may specifically include:
(31) Responding to the touch operation aiming at the target equipment, and determining a touch point corresponding to the touch operation;
(32) Acquiring a control sequence corresponding to a linkage control strategy;
(33) And controlling the equipment display of the target equipment based on the touch point and the control sequence.
Optionally, in some embodiments, a control sequence corresponding to the position of each touch point when the coordinated control strategy is started may be preset, for example, the screen is divided into N regions in advance, where the region N1 corresponds to the control sequence A1, the region N2 corresponds to the control sequence A2, and so on, the setting may be specifically performed according to an actual situation, where N is a positive integer greater than 2; alternatively, in some embodiments, the step "controlling the device display of the target device based on the touch point and the control sequence" may specifically include: and controlling the equipment display of the target equipment by taking the touch points as a reference according to the position and the sequence of each control point in the control sequence.
It should be noted that the control point corresponds to an application, a menu, or a system setting displayed on the control screen, for example, for the control sequence S, the control sequence S includes a control point S1-a control point S2-a control point S3, and the execution sequence is S1-S2-S3, where the control point S1 corresponds to the application a, the control point S2 corresponds to the position of the menu in the application a, and the control point S3 corresponds to the menu item q in the menu. Therefore, under the linkage control strategy, the user can control the target equipment by one key.
For a single-point control strategy, when the single-point control strategy is triggered, a touch function of a target device is in a failure or damaged state, so that for convenience of use of a user, a touch sensitivity of the target device may be reduced, so that the user controls the target device when the target device cannot be serviced, that is, optionally, in some embodiments, the step "controlling a device display of the target device based on the single-point control strategy and the touch operation in response to a touch operation on the target device" may specifically include:
(41) According to the single-point touch strategy, reducing the touch sensitivity of the target equipment;
(42) And in the state of reducing the touch sensitivity, responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment.
Optionally, in some embodiments, the single-point control policy may indicate disabled control points and non-disabled control points, that is, the step "reducing the touch sensitivity of the target device according to the single-point touch policy" may specifically include:
(51) Obtaining forbidden points from a single-point touch strategy;
(52) And reducing the touch sensitivity of the target equipment according to the forbidden point.
It should be noted that, in some embodiments, only a user is supported to control a target device by a single finger under a single-point touch policy, so that when a touch function of the target device is disabled or damaged, the user may perform a corresponding operation, and meanwhile, when the single-point touch policy is triggered, a certain area may be set to correspond to some applications or functions, for example, an area a is set to correspond to an emergency call function, an area B is set to correspond to a restart function, and both an area C and an area D may be set as a disable point, so that when the touch function of the target device is disabled or damaged, the user may perform a corresponding operation.
The device control flow of the present application is completed above.
In view of the above, the present application provides an apparatus control method, which detects whether a current environment is an abnormal environment after acquiring the current environment of a target apparatus, determines a touch control policy corresponding to the current environment when the current environment is detected to be the abnormal environment, and finally controls apparatus display of the target apparatus based on the touch control policy and the touch control operation in response to a touch operation for the target apparatus.
In order to better implement the equipment control method, the application also provides a device based on the equipment control method. Wherein the meanings of the nouns are the same as those in the above-mentioned equipment control method, and the details of the specific implementation can be referred to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus control device provided in the present application, where the apparatus control device may include an obtaining module 201, a detecting module 202, a determining module 203, and a control module 204, and specifically may be as follows:
an obtaining module 201, configured to obtain a current environment of a target device.
For example, specifically, the obtaining module 201 may obtain the current environment of the target device through at least one sensor of a microphone, a camera, a gyroscope sensor, and the like of the target device.
The detecting module 202 is configured to detect whether a current environment is an abnormal environment.
Alternatively, the detection module 202 may detect whether the current environment is an abnormal environment through a neural network, and the detection module 202 may also determine whether the current environment is an abnormal environment based on information (such as image information, sound information, and acceleration information) corresponding to the current environment.
The determining module 203 is configured to determine a touch control policy corresponding to the current environment when it is detected that the current environment is an abnormal environment.
Optionally, in some embodiments, the determining module 203 may determine the corresponding touch control policy according to the environment information of the current environment and the touch function information of the target device.
Optionally, in some embodiments, the determining module 203 may specifically include:
the first acquisition unit is used for acquiring the environmental information of the current environment and the touch function information of the target equipment when the current environment is detected to be an abnormal environment;
and the first determining unit is used for determining a touch control strategy corresponding to the current environment according to the environment information and the touch function information.
Optionally, in some embodiments, the first determining unit may be specifically configured to: extracting acceleration data of the target device from the environment information; determining a device use scene corresponding to the target device based on the acceleration data; when the device use scene is a first scene and the touch function information indicates that the touch function of the target device is normal, determining a touch control strategy corresponding to the current environment as a linkage control strategy; and when the device use scene is a second scene and the touch function information indicates that the touch function of the target device is abnormal, determining the touch control strategy corresponding to the current environment as a single-point control strategy.
The control module 204 is configured to control a device display of the target device based on the touch control policy and the touch operation in response to the touch operation for the target device.
Optionally, in some embodiments, the control module 204 may be specifically configured to: responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the linkage control strategy and the touch operation, or; and responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment based on the single-point control strategy and the touch operation.
Optionally, in some embodiments, the control module 204 may specifically include:
the second determining unit is used for responding to the touch operation aiming at the target equipment and determining a touch point corresponding to the touch operation;
the second acquisition unit is used for acquiring a control sequence corresponding to the linkage control strategy;
and the first control unit is used for controlling the equipment display of the target equipment based on the touch point and the control sequence.
Optionally, in some embodiments, the first control unit may specifically be configured to: and controlling the equipment display of the target equipment according to the position and the sequence of each control point in the control sequence by taking the touch control point as a reference. .
Optionally, in some embodiments, the control module 204 may specifically include:
the reducing unit is used for reducing the touch sensitivity of the target equipment according to the single-point touch strategy;
and a second control unit for controlling a device display of the target device in response to a touch operation for the target device in a state where the touch sensitivity is reduced.
Optionally, in some embodiments, the second control unit may specifically be configured to: obtaining forbidden points from a single-point touch strategy; and reducing the touch sensitivity of the target equipment according to the forbidden point.
In view of the above, the present application provides an apparatus control device, after the obtaining module 201 obtains the current environment of the target apparatus, the detecting module 202 detects whether the current environment is an abnormal environment, the determining module 203 determines a touch control policy corresponding to the current environment when the current environment is an abnormal environment, and finally, the control module 204 controls the apparatus display of the target apparatus based on the touch control policy and the touch control operation in response to the touch operation on the target apparatus.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
An embodiment of the present application further provides a computer device 400, as shown in fig. 4, the computer device 400 may integrate the device control apparatus, and may further include a Radio Frequency (RF) circuit 401, a memory 402 including one or more computer-readable storage media, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a Wireless Fidelity (WiFi) module 407, a processor 408 including one or more processing cores, a power supply 409, and other components. Those skilled in the art will appreciate that the configuration of computer device 400 shown in FIG. 4 is not intended to be limiting of computer device 400, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 401 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by the one or more processors 408; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 401 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 401 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Messaging Service (SMS), etc.
The memory 402 may be used to store software programs and modules, and the processor 408 executes various functional applications and information processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, a target data playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the computer device 400, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 408 and the input unit 403 access to the memory 402.
The input unit 403 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 403 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 408, and can receive and execute commands sent from the processor 408. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 403 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 404 may be used to display information input by or provided to the user as well as various graphical user interfaces of the computer device 400, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 404 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 408 to determine the type of touch event, and then the processor 408 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 4 the touch-sensitive surface and the display panel are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The computer device 400 may also include at least one sensor 405, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the computer device 400 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of identifying the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc. that may also be configured with the computer device 400, further description thereof is omitted here.
Audio circuitry 406, speakers, and microphones may provide an audio interface between a user and computer device 400. The audio circuit 406 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 406 and converted into audio data, which is then processed by the audio data output processor 408, either via the RF circuit 401 for transmission to, for example, another computer device 400, or for output to the memory 402 for further processing. The audio circuitry 406 may also include an earbud jack to provide communication of peripheral headphones with the computer device 400.
WiFi belongs to short-range wireless transmission technology, and the computer device 400 can help the user send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 407, and provides wireless broadband internet access for the user. Although fig. 4 shows the WiFi module 407, it is understood that it does not belong to the essential constitution of the computer device 400, and may be omitted entirely as needed within the scope not changing the essence of the application.
The processor 408 is a control center of the computer device 400, connects various parts of the entire cellular phone using various interfaces and lines, performs various functions of the computer device 400 and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the cellular phone as a whole. Alternatively, processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 408.
The computer device 400 also includes a power supply 409 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 408 through a power management system, such that the functions of managing charging, discharging, and power consumption are performed through the power management system. The power source 409 may also include any component, such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power data indicators, and the like.
Although not shown, the computer device 400 may further include a camera, a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the processor 408 in the computer device 400 loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 408 runs the application programs stored in the memory 402, thereby implementing various functions:
acquiring the current environment of target equipment; detecting whether the current environment is an abnormal environment; when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment; and responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the device control method, and are not described here again.
As can be seen from the above, the computer device 400 according to the embodiment of the present application may output the corresponding touch control policy in an abnormal environment, and control the device display of the target device based on the touch control policy and the touch operation, so that the problem that the terminal cannot be used due to the drift of the terminal touch screen or the operation failure of the terminal touch screen can be solved, and the terminal that cannot be sent for repair in time can be temporarily maintained in an emergency.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application further provides a storage medium, on which a plurality of instructions are stored, where the instructions are suitable for being loaded by a processor to execute the steps in the device control method.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any device control method provided in the embodiments of the present application, beneficial effects that can be achieved by any device control method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above detailed description is provided for the device control method, apparatus, system and storage medium provided in the embodiments of the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the description of the above embodiments is only used to help understanding the method and its core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An apparatus control method, characterized by comprising:
acquiring the current environment of target equipment;
detecting whether the current environment is an abnormal environment;
when the current environment is detected to be an abnormal environment, determining a touch control strategy corresponding to the current environment;
and responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the touch control strategy and the touch operation.
2. The method according to claim 1, wherein the determining the touch control strategy corresponding to the current environment when the current environment is detected to be an abnormal environment comprises:
when the current environment is detected to be an abnormal environment, acquiring environment information of the current environment and touch function information of the target device;
and determining a touch control strategy corresponding to the current environment according to the environment information and the touch function information.
3. The method of claim 2, wherein determining the touch control policy corresponding to the current environment according to the environment information and the touch function information comprises:
extracting acceleration data of the target device from the environment information;
determining a device use scene corresponding to the target device based on the acceleration data;
when the device use scene is a first scene and the touch function information indicates that the touch function of the target device is normal, determining a touch control strategy corresponding to the current environment as a linkage control strategy;
when the device use scene is a second scene and the touch function information indicates that the touch function of the target device is abnormal, determining a touch control strategy corresponding to the current environment as a single-point control strategy;
the controlling, in response to the touch operation for the target device, the device display of the target device based on the touch control policy and the touch operation includes: responding to the touch operation aiming at the target equipment, and controlling equipment display of the target equipment based on the linkage control strategy and the touch operation, or; and responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment based on the single-point control strategy and the touch operation.
4. The method of claim 3, wherein the controlling, in response to the touch operation for the target device, the device display of the target device based on the coordinated control strategy and the touch operation comprises:
responding to the touch operation aiming at the target equipment, and determining a touch point corresponding to the touch operation;
acquiring a control sequence corresponding to the linkage control strategy;
and controlling the equipment display of the target equipment based on the touch point and the control sequence.
5. The method of claim 4, wherein controlling the device display of the target device based on the touch point and a control sequence comprises:
and controlling the equipment display of the target equipment according to the position and the sequence of each control point in the control sequence by taking the touch control point as a reference.
6. The method of claim 3, wherein the controlling, in response to the touch operation for the target device, the device display of the target device based on the single-point control policy and the touch operation comprises:
reducing the touch sensitivity of the target equipment according to the single-point touch strategy;
and under the state of reducing the touch sensitivity, responding to the touch operation aiming at the target equipment, and controlling the equipment display of the target equipment.
7. The method of claim 6, wherein reducing the touch sensitivity of the target device according to the single-point touch policy comprises:
obtaining forbidden points from the single-point touch strategy;
and reducing the touch sensitivity of the target equipment according to the forbidden point.
8. An apparatus control device, characterized by comprising:
the acquisition module is used for acquiring the current environment of the target equipment;
the detection module is used for detecting whether the current environment is an abnormal environment;
the determining module is used for determining a touch control strategy corresponding to the current environment when the current environment is detected to be an abnormal environment;
and the control module is used for responding to the touch operation aiming at the target equipment and controlling the equipment display of the target equipment based on the touch control strategy and the touch operation.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the device control method according to any one of claims 1 to 7 when executing the computer program.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the device control method according to any one of claims 1 to 7.
CN202211559791.2A 2022-12-06 2022-12-06 Equipment control method, device, system and storage medium Pending CN115756293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211559791.2A CN115756293A (en) 2022-12-06 2022-12-06 Equipment control method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211559791.2A CN115756293A (en) 2022-12-06 2022-12-06 Equipment control method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN115756293A true CN115756293A (en) 2023-03-07

Family

ID=85343711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211559791.2A Pending CN115756293A (en) 2022-12-06 2022-12-06 Equipment control method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN115756293A (en)

Similar Documents

Publication Publication Date Title
CN106775637B (en) Page display method and device for application program
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN108039963B (en) Container configuration method and device and storage medium
US20170318061A1 (en) Method, device, and system for managing information recommendation
CN107967153B (en) Application program management method and mobile terminal
CN105227598B (en) Resource sharing method, device and system based on cloud storage
US10298590B2 (en) Application-based service providing method, apparatus, and system
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN112749074B (en) Test case recommending method and device
CN110022405B (en) Radio frequency parameter adjusting method, device and storage medium
WO2015070718A1 (en) Communication number notification method and communication device
CN110908586A (en) Keyboard display method and device and terminal equipment
CN115098468A (en) Flexible data migration method and device, storage medium and electronic equipment
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN111627384B (en) Display picture compensation method and device, electronic equipment and storage medium
CN112667868B (en) Data detection method and device
CN111081198B (en) Data control method, data control device, storage medium and terminal equipment
CN115756293A (en) Equipment control method, device, system and storage medium
CN106681845B (en) Method and device for managing communication messages
CN111629263A (en) Display picture compensation method and device, electronic equipment and storage medium
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN108259187B (en) Method and device for monitoring charging network
CN106033358B (en) Batch installation method and device of application programs
CN110505343B (en) Method, device, storage medium and electronic equipment for user information intercommunication

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