CN109192178B - Control method and device of electronic equipment, storage medium and electronic equipment - Google Patents
Control method and device of electronic equipment, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109192178B CN109192178B CN201810872554.9A CN201810872554A CN109192178B CN 109192178 B CN109192178 B CN 109192178B CN 201810872554 A CN201810872554 A CN 201810872554A CN 109192178 B CN109192178 B CN 109192178B
- Authority
- CN
- China
- Prior art keywords
- target
- electrochromic
- electronic equipment
- equipment
- electronic device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000013507 mapping Methods 0.000 claims description 19
- 230000006870 function Effects 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 8
- 239000003086 colorant Substances 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000000712 assembly Effects 0.000 claims 4
- 238000000429 assembly Methods 0.000 claims 4
- 239000000463 material Substances 0.000 description 21
- 239000010410 layer Substances 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 230000002441 reversible effect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 150000002500 ions Chemical class 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 238000002834 transmittance Methods 0.000 description 3
- ZNOKGRXACCSDPY-UHFFFAOYSA-N tungsten trioxide Chemical compound O=[W](=O)=O ZNOKGRXACCSDPY-UHFFFAOYSA-N 0.000 description 3
- 238000010521 absorption reaction Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000005684 electric field Effects 0.000 description 2
- 239000003792 electrolyte Substances 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 229910000480 nickel oxide Inorganic materials 0.000 description 2
- 238000006479 redox reaction Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- SKRWFPLZQAAQSU-UHFFFAOYSA-N stibanylidynetin;hydrate Chemical compound O.[Sn].[Sb] SKRWFPLZQAAQSU-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000002845 discoloration Methods 0.000 description 1
- 239000010408 film Substances 0.000 description 1
- AMGQUBHHOARCQH-UHFFFAOYSA-N indium;oxotin Chemical group [In].[Sn]=O AMGQUBHHOARCQH-UHFFFAOYSA-N 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011244 liquid electrolyte Substances 0.000 description 1
- MHCFAGZWMAWTNR-UHFFFAOYSA-M lithium perchlorate Chemical compound [Li+].[O-]Cl(=O)(=O)=O MHCFAGZWMAWTNR-UHFFFAOYSA-M 0.000 description 1
- 229910001486 lithium perchlorate Inorganic materials 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- GNRSAWUEBMWBQH-UHFFFAOYSA-N oxonickel Chemical compound [Ni]=O GNRSAWUEBMWBQH-UHFFFAOYSA-N 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- IEQIEDJGQAUEQZ-UHFFFAOYSA-N phthalocyanine Chemical class N1C(N=C2C3=CC=CC=C3C(N=C3C4=CC=CC=C4C(=N4)N3)=N2)=C(C=CC=C2)C2=C1N=C1C2=CC=CC=C2C4=N1 IEQIEDJGQAUEQZ-UHFFFAOYSA-N 0.000 description 1
- 229920000123 polythiophene Polymers 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- BAZAXWOYCMUHIX-UHFFFAOYSA-M sodium perchlorate Chemical compound [Na+].[O-]Cl(=O)(=O)=O BAZAXWOYCMUHIX-UHFFFAOYSA-M 0.000 description 1
- 229910001488 sodium perchlorate Inorganic materials 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000007784 solid electrolyte Substances 0.000 description 1
- FHCPAXDKURNIOZ-UHFFFAOYSA-N tetrathiafulvalene Chemical compound S1C=CSC1=C1SC=CS1 FHCPAXDKURNIOZ-UHFFFAOYSA-N 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- XOLBLPGZBRYERU-UHFFFAOYSA-N tin dioxide Chemical compound O=[Sn]=O XOLBLPGZBRYERU-UHFFFAOYSA-N 0.000 description 1
- 229910001887 tin oxide Inorganic materials 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/38—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using electrochromic devices
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)
Abstract
The embodiment of the application discloses a control method and device of electronic equipment, a storage medium and the electronic equipment; the method comprises the following steps: after the electronic device is connected with the target device, the position information of the electronic device and the position information of the target device are respectively obtained, the distance information between the electronic device and the target device is calculated according to the position information of the electronic device and the position information of the target device, the voltage value applied to the electrochromic assembly is determined according to the distance information, an electric signal corresponding to the voltage value is output to the electrochromic assembly, and the electrochromic assembly displays the color corresponding to the voltage value. According to the technical scheme, when the electronic equipment searches for the target equipment, the distance information between the electronic equipment and the target equipment is prompted by the electrochromic assembly arranged on the shell of the electronic equipment, so that a user can check the distance by observing the color on the shell under the state of black screen or screen locking of the electronic equipment, and the equipment searching efficiency is improved.
Description
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling an electronic device, a storage medium, and an electronic device.
Background
With the development of terminal technology, terminals have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
Electrochromism refers to a phenomenon in which optical properties (reflectivity, transmittance, absorption, and the like) of a material undergo a stable and reversible color change under the action of an applied electric field, and is visually represented as a reversible change in color and transparency. Materials having electrochromic properties are referred to as electrochromic materials, and devices made with electrochromic materials are referred to as electrochromic devices.
Disclosure of Invention
The embodiment of the application provides a control method and device of electronic equipment, a storage medium and the electronic equipment, which can improve the efficiency of equipment search by displaying the distance between the color of an electrochromic component and target equipment.
In a first aspect, an embodiment of the present application provides a control method for an electronic device, which is applied to an electronic device that includes a housing and an electrochromic component on the housing, where the control method includes the following steps:
after the electronic equipment is connected with target equipment, respectively acquiring the position information of the electronic equipment and the target equipment;
calculating distance information between the electronic equipment and target equipment according to the position information of the electronic equipment and the target equipment;
determining a voltage value applied to the electrochromic component according to the distance information;
and outputting the electric signal corresponding to the voltage value to the electrochromic assembly, wherein the electrochromic assembly displays the color corresponding to the voltage value.
In a second aspect, an embodiment of the present application further provides a control apparatus for an electronic device, which is applied to an electronic device, where the electronic device includes a housing and an electrochromic component on the housing, and the apparatus includes: the device comprises an acquisition module, a calculation module, a determination module and a processing module;
the acquisition module is used for respectively acquiring the position information of the electronic equipment and the position information of the target equipment after the electronic equipment is connected with the target equipment;
the computing module is used for computing distance information between the electronic equipment and the target equipment according to the position information of the electronic equipment and the target equipment;
the determining module is used for determining the voltage value applied to the electrochromic component according to the distance information;
the processing module is used for outputting the electric signal corresponding to the voltage value to the electrochromic assembly, and the electrochromic assembly displays the color corresponding to the voltage value.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for the electronic device.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the control method of the electronic device when executing the program.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including a housing, an electrochromic component and a control circuit, where the electrochromic component and the control circuit are disposed on the housing, and the control circuit is configured to respectively obtain location information of the electronic device and a target device after the electronic device is connected to the target device, calculate distance information between the electronic device and the target device according to the location information of the electronic device and the target device, determine a voltage value applied to the electrochromic component according to the distance information, output an electrical signal corresponding to the voltage value to the electrochromic component, and the electrochromic component is configured to receive the electrical signal and display a color corresponding to the voltage value.
According to the control method of the electronic device, after the electronic device is connected with the target device, the position information of the electronic device and the position information of the target device are respectively obtained, the distance information between the electronic device and the target device is calculated according to the position information of the electronic device and the position information of the target device, the voltage value applied to the electrochromic assembly is determined according to the distance information, an electric signal corresponding to the voltage value is output to the electrochromic assembly, and the electrochromic assembly displays the color corresponding to the voltage value. According to the technical scheme, when the electronic equipment searches for the target equipment, the distance information between the electronic equipment and the target equipment is prompted by the electrochromic assembly arranged on the shell of the electronic equipment, so that a user can check the distance by observing the color on the shell under the state of black screen or screen locking of the electronic equipment, and the equipment searching efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device provided in this embodiment.
Fig. 2 is a schematic structural diagram of the electrochromic cell provided in this embodiment.
Fig. 3 is a schematic diagram of a structure for applying voltage to an electrochromic cell according to this embodiment.
Fig. 4 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present application.
Fig. 5 is another schematic flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a control device of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a control device of an electronic device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device provided in this embodiment. The electronic device 100 may include a rear cover 10, and the rear cover 10 may include a housing 11 and an electrochromic assembly 12. The electrochromic element 12 may be disposed on the housing 11, and the housing 11 is covered with a protective film on which the photochromic material is distributed. The electronic device 100 can provide an operating voltage for the electrochromic component 12.
The housing 11 may be made of a metal material, and in other embodiments, the housing 11 may also be made of glass.
The electrochromic assembly 12 is made primarily of electrochromic materials. Electrochromism refers to a phenomenon that the optical properties (such as emissivity, light transmittance, absorptivity and the like) of a material are changed stably and reversibly under the action of an external electric field. Electrochromism appears in appearance as a reversible change in the color and transparency of the material. Materials with electrochromic properties may be referred to as electrochromic materials.
Photochromic materials are materials that change color when excited by a light source. Photochromic refers to the fact that certain compounds undergo a change in their molecular structure under the action of light of a certain wavelength and intensity, which results in a corresponding change in the absorption peak, i.e., color, of the light, and this change is generally reversible.
In this embodiment, the electrochromic assembly 12 may include a plurality of electrochromic cells, a switching assembly, and a voltage control line. Each electrochromic cell can be selectively connected with the voltage control circuit through the switch component. For example, each electrochromic cell may be selectively connected to a voltage control line by a switching assembly. When the switch assembly is in a switch-on state, the voltage control circuit can be electrically connected with the corresponding electrochromic unit so as to charge and discharge the electrochromic unit. When a certain electrochromic cell is charged and discharged, the electrochromic cell may display a color corresponding to its current voltage. For example, when the voltage applied to the electrochromic cell is changed from 0V to 1V, the electrochromic cell may be changed from white to red. When the voltage applied to the electrochromic cell is changed from 0V to 1.2V, the electrochromic cell may be changed from white to black. When the voltage applied to the electrochromic cell is changed from 1.2V to-0.2V, the electrochromic cell may be changed from black to white, and so on.
When the switch assembly is in a disconnected state, the voltage control circuit and the corresponding electrochromic unit are also in a disconnected state, namely, the voltage control circuit cannot charge and discharge the electrochromic unit.
In one embodiment, a switching assembly in an electrochromic assembly may include a switch and a switch control line. Each switch may be connected to a switch control line, a voltage control line, and an electrochromic cell, respectively. In one embodiment, the switch may be a switching element such as a Thin Film Transistor (TFT). That is, one end of the TFT may be connected to one switch control line, one end to one voltage control line, and one end to the electrochromic cell.
In one embodiment, as shown in fig. 2, the electrochromic cell in the electrochromic assembly may include a conductive layer 21, a discoloration layer 22, an electrolyte layer 23, an ion storage layer 24, and a conductive layer 25, which are stacked. Wherein, the conductive layer 21 can be connected with the corresponding switch of the electrochromic unit, and the conductive layer 25 can be connected with the common electrode of the electrochromic component. It should be noted that the common electrode of the electrochromic device refers to the fixed voltage terminal of the electrochromic device.
The conductive layer may be a transparent conductive layer, and has excellent conductivity and good optical transmittance. The transparent conductive layer can be Indium Tin Oxide (ITO) or tin oxide (SnO)2) And Antimony Tin Oxide (ATO).
The color-changing layer is a core layer of the electrochromic unit and is also a generation layer of color-changing reaction. The material of the color-changing layer may be classified into an inorganic electrochromic material and an organic electrochromic material according to types. The inorganic electrochromic material may be tungsten trioxide (WO)3) Or nickel oxide (NiO). The organic electrochromic material mainly comprises polythiophene and polythiopheneDerivatives, viologens, tetrathiafulvalene, metal phthalocyanine compounds, and the like.
The electrolyte layer is composed of a special conductive material such as a liquid electrolyte material containing a solution of lithium perchlorate, sodium perchlorate, or the like, or may be a solid electrolyte material. The ion storage layer plays a role in storing charges in the electrochromic unit, namely corresponding counter ions are stored when the material of the electrochromic layer undergoes an oxidation-reduction reaction, so that the charge balance of the whole electrochromic unit is ensured.
As shown in fig. 3, when a certain voltage is applied between the two transparent conductive layers, the material of the color-changing layer of the electrochromic cell undergoes an oxidation-reduction reaction under the action of the voltage, thereby undergoing a color change.
In one embodiment, the electrochromic assembly in this embodiment may further include a substrate and a cover plate. The electrochromic cells in the electrochromic assembly cover the substrate, and the cover plate covers the electrochromic cells. For example, the substrate and the cover plate may be transparent glass or the like.
Referring to fig. 4, fig. 4 is a schematic flowchart of a control method of an electronic device according to an embodiment of the present disclosure, including the following steps:
step S101, after the electronic device is connected with the target device, the position information of the electronic device and the position information of the target device are respectively obtained.
In an embodiment, the establishing of the connection with the target device may be establishing a network connection, for example, opening a function of sharing a location in real time in an application, and then obtaining current location information of the electronic device and the target device, respectively. The number of the target devices may be one or more. In addition, the connection with the target device may be established by using a short-range wireless communication technology, such as bluetooth, infrared ray, wifi, or the like, after the distance satisfies a condition.
In an embodiment, considering that if the display screen of the electronic device is in an on state, the location information of the electronic device and the target device may be displayed in the display screen without further prompting the distance information through the electrochromic component, before the location information of the electronic device and the target device is acquired, whether the display screen of the electronic device is currently in an off state may also be detected, and if so, the step of acquiring the location information of the electronic device and the target device is further performed.
In one embodiment, the manner of detecting whether the display screen is turned off may be various, for example, by detecting a pixel turn-on or turn-off command. For example, after the electronic device is connected to the target device, detecting whether the display screen is turned off may be determined by obtaining a switch state of each pixel in the display screen, that is, detecting whether the display screen of the electronic device is turned off may include obtaining current states of switches of all pixels in the display screen, and determining whether all the switches are turned off, if so, determining that the current display screen is turned off, and if not, determining that the current display screen is not turned off.
If the display screen is in the off state, the position information of the electronic device and the target device can be continuously acquired, and if the display screen is not in the off state, the position information of the electronic device and the target device can be directly displayed on the display screen without displaying the distance information by changing colors through the electrochromic assembly.
And step S102, calculating distance information between the electronic equipment and the target equipment according to the position information of the electronic equipment and the target equipment.
In an embodiment, the location information may be coordinate information of the electronic device and the target device, and after the coordinate information of the electronic device and the target device is obtained, distance information may be calculated according to the coordinate information, where the distance may be a linear distance between the electronic device and the target device.
In practical use, for example, in a city, a road is complicated, and a path that a user often travels when searching for a target device according to location information far exceeds a linear distance between an electronic device and the target device, so that the user can plan a path between the electronic device and the target device after obtaining the location information of the electronic device and the target device, and then obtain distance information of the path after the planning is completed, that is, the step of calculating the distance information according to the location information of the electronic device and the target device includes:
generating path information according to the position information of the electronic equipment and the target equipment;
and calculating the distance information of the electronic equipment and the target equipment according to the path information.
And step S103, determining the voltage value applied to the electrochromic component according to the distance information.
In this embodiment, when the electrochromic device is in the on state, the voltage control circuit may be electrically connected to the corresponding electrochromic unit to charge and discharge the electrochromic unit. When the electrochromic cell is charged and discharged, the electrochromic cell may display a color corresponding to its current voltage. Therefore, the voltage value corresponding to the distance information can be determined, and then an electric signal corresponding to the voltage value is output to the electrochromic component, so that the electrochromic component displays the corresponding color.
For example, the electronic device may store a mapping relationship between the distance information and a voltage value in advance, where the voltage value may be specifically a voltage value of an electrical signal output by the electronic device to the electrochromic component. In this step, a voltage value corresponding to the queried distance information, i.e., a target voltage value, may be determined according to the mapping relationship.
In one embodiment, the unit of the distance may be m (meters), for example, when the distance is in a range of 700m to 1000m, the electrochromic device may display gray, and then a voltage value corresponding to the gray is determined as a target voltage value; when the distance is within the range of 400m-700m, the electrochromic component can display blue, and then the voltage value corresponding to the blue is determined as a target voltage value; when the distance is within the range of 100m-400m, the electrochromic component can display yellow, and a voltage value corresponding to the yellow is determined as a target voltage value; when the distance is within the range of 100m, the electrochromic component can display green, and a voltage value corresponding to the green is determined as a target voltage value, and the like.
And step S104, outputting an electric signal corresponding to the voltage value to the electrochromic assembly, wherein the electrochromic assembly displays the color corresponding to the voltage value.
When an electric signal of a target voltage value is input to the electrochromic device, the electrochromic device may change color according to the input voltage value. For example, if the distance between the electronic device and the target device is 800m, and the distance falls within the range of 700m to 1000m, the color of the electrochromic device may be displayed as gray, and the voltage required to be input at this time is 1v, and 800m may correspond to 1 v. When the input voltage of the electrochromic element is 1 volt, the electrochromic element appears gray, i.e. can be used to indicate that the distance between the electronic device and the target device is within 700m-1000 m.
In an embodiment, the electronic device may further receive a user operation, set colors of electrochromic components corresponding to different distance information, and the electronic device stores the different colors and the corresponding distance information in a one-to-one correspondence manner through a built-in program, for example, when the distance is within a range of 700m to 1000m, the electrochromic components may display black; when the distance is in the range of 400m-700m, the electrochromic assembly may display a purple color; when the distance is in the range of 100m-400m, the electrochromic assembly may display orange color; when the distance is within a range of 100m, the electrochromic assembly may display red, or the like. And after the distance information between the current electronic equipment and the target equipment is calculated, determining the target color in the corresponding relation, and controlling the electrochromic component to change the color according to the target color.
In one embodiment, since the electrochromic device requires an input voltage value to display the color, the electronic device may not be visually seen by the user in some cases, such as when the electronic device is placed in a pocket or a bag, and the color of the electrochromic device wastes the power of the device. Therefore, in order to reduce the power consumption of the electronic device, the electronic device may determine whether the current state is the shielded state according to the optical sensor and the distance sensor, and if so, turn off the color display function of the electrochromic module, specifically, turn off the switch connected to the electrochromic module, so that the voltage control circuit and the corresponding electrochromic unit are also in the disconnected state, that is, the voltage control circuit cannot charge and discharge the electrochromic unit. That is, before outputting the electrical signal corresponding to the voltage value to the electrochromic device, the method may further include:
judging whether the electronic equipment is in a shielded state currently;
and if not, executing the step of outputting the electric signal corresponding to the voltage value to the electrochromic component.
In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of disposing an electrochromic component on a housing, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, in the embodiment of the application, after the electronic device is connected to the target device, the position information of the electronic device and the position information of the target device are respectively obtained, the distance information between the electronic device and the target device is calculated according to the position information of the electronic device and the position information of the target device, the voltage value applied to the electrochromic component is determined according to the distance information, an electric signal corresponding to the voltage value is output to the electrochromic component, and the electrochromic component displays the color corresponding to the voltage value. According to the technical scheme, when the electronic equipment searches for the target equipment, the distance information between the electronic equipment and the target equipment is prompted by the electrochromic assembly arranged on the shell of the electronic equipment, so that a user can check the distance by observing the color on the shell under the state of black screen or screen locking of the electronic equipment, and the equipment searching efficiency is improved.
According to the description of the above embodiment, the control method of the electronic device of the present application will be further explained below.
Referring to fig. 5, fig. 5 is a schematic flowchart of another control method for an electronic device according to an embodiment of the present disclosure, including the following steps:
step S201, after the electronic device establishes a connection with the target device, respectively acquiring location information of the electronic device and the target device.
In an embodiment, the establishing of the connection with the target device may be establishing a network connection, for example, opening a function of sharing a location in real time in an application, and then obtaining current location information of the electronic device and the target device, respectively.
Step S202, distance information is calculated according to the position information of the electronic equipment and the target equipment.
In an embodiment, the location information may be coordinate information of the electronic device and the target device, and after the coordinate information of the electronic device and the target device is obtained, distance information may be calculated according to the coordinate information, where the distance may be a linear distance between the electronic device and the target device.
In practical use, for example, in a city, roads are complicated, and a user often needs to travel a distance far exceeding a linear distance between the electronic device and the target device when searching for the target device according to the position information, so that the path between the electronic device and the target device can be planned after the position information of the electronic device and the target device is acquired, and then the distance information of the path is acquired after the planning is completed.
Step S203, determining a preset distance interval corresponding to the distance information.
In an embodiment, the unit of the distance may be m (meters), and considering that the user does not need to know a specific value of the distance information, for example, the distance between the current electronic device and the target device is 785.5m, and the user only needs to know an approximate range of the file transmission, therefore, several distance intervals may be preset in this embodiment, and then the distance interval is determined according to the current distance information. For example, the pre-distance interval may include 4 ranges of 700m-1000m, 400m-700m, 100m-400m, and 0m-100 m. The upper limit and the lower limit of the above ranges and the number of the ranges may be automatically set by the electronic device system, or may be set by the user according to the actual requirement, which is not further limited in the present application.
Step S204, determining a corresponding voltage value in a preset mapping relation according to the preset distance interval, wherein the mapping relation is the mapping relation between the distance interval and the voltage value.
For example, the distance between the current electronic device and the target device is 785.5m, the distance information belongs to the above range of 700m-1000m, a voltage value corresponding to the range is determined in a mapping relation, such as 1 volt, the mapping relation can be preset by a user, for example, when the distance is within the range of 700m-1000m, the electrochromic component can display gray, and the voltage value corresponding to the gray is determined as the target voltage value; when the distance is within the range of 400m-700m, the electrochromic component can display blue, and then the voltage value corresponding to the blue is determined as a target voltage value; when the distance is within the range of 100m-400m, the electrochromic component can display yellow, and a voltage value corresponding to the yellow is determined as a target voltage value; when the distance is within the range of 100m, the electrochromic component can display green, and a voltage value corresponding to the green is determined as a target voltage value, and the like.
And step S205, determining the direction information of the target device according to the position information of the electronic device and the target device.
Step S206, determining the target sub-assembly according to the direction information of the target device.
In embodiments of the present application, the electrochromic assembly may include a plurality of subassemblies. For example, the electrochromic assembly can be arranged on a middle frame of the electronic device shell, and a plurality of electrochromic subassemblies are arranged around the middle frame, so that the distance information can be prompted by the color displayed by the electrochromic assembly, and the direction information of the target device can be determined according to the position of the subassembly displaying the color.
For example, the number of the electrochromic subassemblies may be four, and the four electrochromic subassemblies are respectively arranged in four directions, namely, the upper, lower, left and right directions of the middle frame of the electronic device, and the direction information of the target device is determined according to the position information of the electronic device and the target device, for example, if the target device is on the left side of the electronic device, the electrochromic subassembly on the left side of the middle frame may be determined as the target subassembly and the color of the target subassembly is controlled, and the subassemblies in the other three directions on the middle frame do not change the color, so as to remind the user of the direction information of the target device, that is, the target device is on.
Further, considering that the current holding posture of the electronic device may affect the judgment of the user on the direction information of the target device, the embodiment of the present application may further obtain the current deflection angle of the electronic device, and then determine the target electrochromic subassembly according to the deflection angle and the direction information of the target device, where the deflection angle of the electronic device may be obtained according to a gyroscope built in the device. That is, determining the target sub-component according to the direction information of the target device may include:
determining a current deflection angle of the electronic equipment through a gyroscope of the electronic equipment;
and determining a target sub-assembly according to the deflection angle and the direction information of the target device.
Step S207, outputting an electric signal corresponding to the voltage value to the target sub-assembly,
and outputting an electric signal corresponding to the voltage value to a target sub-assembly in the electrochromic assembly, wherein when the target sub-assembly inputs the electric signal, the matched color is displayed to prompt the distance information between the target device and the electronic device, and meanwhile, the direction information of the target device is determined according to the position of the target sub-assembly on the middle frame.
In this embodiment, when the electrochromic device is in the on state, the voltage control circuit may be electrically connected to the corresponding electrochromic unit to charge and discharge the electrochromic unit. When the electrochromic cell is charged and discharged, the electrochromic cell may display a color corresponding to its current voltage.
For example, if the distance between the electronic device and the target device is 785.5m, the color of the electrochromic device may be displayed as gray while the required input voltage is 1v, and 800m may correspond to 1 v. When the input voltage of the electrochromic element is 1 volt, the electrochromic element appears gray, i.e. can be used to indicate that the distance between the electronic device and the target device is within 700m-1000 m.
In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of disposing an electrochromic component on a housing, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, the method for controlling an electronic device according to the embodiment of the present application may respectively obtain the location information of the electronic device and the target device after the electronic device is connected to the target device, calculate the distance information according to the location information of the electronic device and the target device, determine the preset distance interval corresponding to the distance information, determine the corresponding voltage value in the preset mapping relationship according to the preset distance interval, where the mapping relationship is the mapping relationship between the distance interval and the voltage value, determine the direction information of the target device according to the location information of the electronic device and the target device, determine the target subassembly according to the direction information of the target device, output the electrical signal corresponding to the voltage value to the target, and display the matched color when the electrical signal is input to the target subassembly. According to the technical scheme, when the electronic equipment searches for the target equipment, the distance information and the direction information between the electronic equipment and the target equipment are prompted by the electrochromic assembly arranged on the shell of the electronic equipment, so that a user can check the distance and the direction by observing the color on the shell under the state of black screen or screen locking of the electronic equipment, and the equipment searching efficiency is improved.
In order to better implement the control method of the electronic device provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the control method of the electronic device. The terms are the same as those in the control method of the electronic device, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a control device of an electronic apparatus according to an embodiment of the present application, where the control device 30 of the electronic apparatus includes: an acquisition module 301, a calculation module 302, a determination module 303 and a processing module 304;
the obtaining module 301 is configured to obtain location information of the electronic device and location information of a target device after the electronic device is connected to the target device;
the calculating module 302 is configured to calculate distance information according to the location information of the electronic device and the target device;
the determining module 303 is configured to determine a voltage value corresponding to the distance information;
the processing module 304 is configured to output an electrical signal corresponding to the voltage value to the electrochromic component, where when the electrical signal is input to the electrochromic component, a matched color is displayed.
In an embodiment, as shown in fig. 7, the determining module 303 includes: a first determining submodule 3031 and a second determining submodule 3032;
the first determining submodule 3031 is configured to determine a preset distance interval corresponding to the distance information;
the second determining submodule 3032 is configured to determine a corresponding voltage value in a preset mapping relationship according to the preset distance interval, where the mapping relationship is a mapping relationship between the distance interval and the voltage value.
In one embodiment, the electrochromic assembly includes a plurality of subassemblies, and the processing module 304 includes: a third determination submodule 3041, a fourth determination submodule 3042, and a processing submodule 3043;
the third determining submodule 3041, configured to determine, according to the position information of the electronic device and the target device, direction information of the target device;
the fourth determining submodule 3042 is configured to determine a target sub-component according to the direction information of the target device;
the processing submodule 3043 is configured to output an electrical signal corresponding to the voltage value to the target subassembly.
As can be seen from the above, the control device 30 of the electronic device provided in this embodiment of the application may respectively obtain the location information of the electronic device and the target device after the electronic device is connected to the target device, calculate the distance information between the electronic device and the target device according to the location information of the electronic device and the target device, determine the voltage value applied to the electrochromic component according to the distance information, output an electrical signal corresponding to the voltage value to the electrochromic component, and display the color corresponding to the voltage value by the electrochromic component. According to the technical scheme, when the electronic equipment searches for the target equipment, the distance information between the electronic equipment and the target equipment is prompted by the electrochromic assembly arranged on the shell of the electronic equipment, so that a user can check the distance by observing the color on the shell under the state of black screen or screen locking of the electronic equipment, and the equipment searching efficiency is improved.
The application also provides a storage medium, on which a computer program is stored, wherein the computer program is executed by a processor to implement the control method of the electronic device provided by the method embodiment.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and is characterized in that the processor executes the program to realize the control method of the electronic device provided by the method embodiment.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 8, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
after the electronic equipment is connected with target equipment, respectively acquiring the position information of the electronic equipment and the target equipment;
calculating distance information between the electronic equipment and target equipment according to the position information of the electronic equipment and the target equipment;
determining a voltage value applied to the electrochromic component according to the distance information;
and outputting the electric signal corresponding to the voltage value to the electrochromic assembly, wherein the electrochromic assembly displays the color corresponding to the voltage value.
The application also provides an electronic device, be in including shell and setting electrochromic subassembly and control circuit on the shell, control circuit is used for being in after electronic device and target device establish to be connected, acquire respectively electronic device and target device's positional information, according to electronic device and target device's positional information calculate electronic device with distance information between the target device, according to distance information confirms to be applyed voltage value on the electrochromic subassembly, to electrochromic subassembly output the signal of telecommunication that voltage value corresponds, electrochromic subassembly is used for receiving the signal of telecommunication and show with the colour that voltage value corresponds.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 504, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 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 radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. 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 Message Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 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, an image 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 electronic device, and the like. Further, the memory 502 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 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in one particular embodiment, the input unit 503 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 the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508.
The display unit 504 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 504 may include a display panel. Alternatively, 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 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 9 the touch sensitive surface and the display panel are 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 electronic device may also include at least one sensor 505, 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 electronic device 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 the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another electronic device via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and electronic equipment can help users to send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 507, and provides wireless broadband internet access for users. Although fig. 9 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the electronic device. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The electronic device also includes a power supply 509 (such as a battery) to power the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 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 status indicators, and the like.
Although not shown in fig. 9, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by relevant hardware instructed by a program, which may be stored in a computer readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and during the execution, the flow of the embodiments of the control method of the electronic device may be included. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In the above, detailed descriptions are given to the control method, the control device, the storage medium, and the electronic device for the electronic device provided in the embodiments of the present application, and each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (7)
1. A control method of electronic equipment is applied to the electronic equipment and is characterized in that the electronic equipment comprises a display screen, a shell and an electrochromic assembly on the shell, the electrochromic assembly comprises a plurality of subassemblies, the electrochromic assembly comprises a plurality of electrochromic units, a plurality of switch assemblies and a plurality of voltage control circuits, each electrochromic unit is selectively connected with one voltage control circuit through one switch assembly, and when the switch assemblies are in a connected state, the voltage control circuits are electrically connected with the corresponding electrochromic units so as to charge and discharge the electrochromic units, so that the electrochromic units display corresponding colors, and the control method comprises the following steps:
after the electronic equipment is connected with target equipment, detecting whether the display screen is in a turning-off state at present;
if not, directly displaying the position information of the electronic equipment and the target equipment on the display screen;
if yes, respectively acquiring the position information of the electronic equipment and the target equipment;
calculating distance information between the electronic equipment and the target equipment according to the position information of the electronic equipment and the target equipment, wherein path information is generated according to the position information of the electronic equipment and the target equipment, and the distance information of the electronic equipment and the target equipment is calculated according to the path information;
determining direction information of the target device according to the position information of the electronic device and the target device;
determining a current deflection angle of the electronic equipment through a gyroscope of the electronic equipment;
determining one of the plurality of subassemblies as a target subassembly according to the deflection angle and the direction information of the target device, wherein the plurality of subassemblies are respectively positioned at different positions of the electronic device;
determining a voltage value applied to the target subassembly of the electrochromic assembly according to the distance information;
judging whether the electronic equipment is in a shielded state currently;
if not, outputting an electric signal corresponding to the voltage value to the target sub-assembly of the electrochromic assembly, wherein the target sub-assembly of the electrochromic assembly displays a color corresponding to the voltage value, and the target sub-assembly is used for simultaneously indicating the direction of the target device and the distance information;
if so, the color display function of the electrochromic component is closed.
2. The method of controlling an electronic device according to claim 1, wherein determining a voltage value applied to the electrochromic component based on the distance information comprises:
determining a preset distance interval corresponding to the distance information;
and determining a corresponding voltage value in a preset mapping relation according to the preset distance interval, wherein the mapping relation is the mapping relation between the distance interval and the voltage value.
3. The utility model provides an electronic equipment's controlling means, is applied to electronic equipment, its characterized in that, electronic equipment includes display screen, shell and electrochromic subassembly on the shell, electrochromic subassembly includes a plurality of subassemblies, electrochromic subassembly includes a plurality of electrochromic units, a plurality of switch components and many voltage control circuit, and each electrochromic unit passes through a switch component and a voltage control circuit selectivity switch-on, and when switch component was in the on-state, voltage control circuit electric connection corresponds electrochromic unit to charge and discharge electrochromic unit for electrochromic unit shows corresponding colour, the device includes: the device comprises an acquisition module, a calculation module, a determination module and a processing module;
the acquisition module is used for detecting whether the display screen is in a current off state or not after the electronic equipment is connected with target equipment; if not, directly displaying the position information of the electronic equipment and the target equipment on the display screen; if yes, respectively acquiring the position information of the electronic equipment and the target equipment;
the calculation module is used for calculating distance information between the electronic equipment and the target equipment according to the position information of the electronic equipment and the target equipment, generating path information according to the position information of the electronic equipment and the target equipment, and calculating the distance information between the electronic equipment and the target equipment according to the path information;
the determining module is used for determining the direction information of the target device according to the position information of the electronic device and the target device, determining the current deflection angle of the electronic device through a gyroscope of the electronic device, determining one of the subassemblies as a target subassembly according to the deflection angle and the direction information of the target device, wherein the subassemblies are respectively positioned at different positions of the electronic device, and determining the voltage value applied to the target subassembly of the electrochromic assembly according to the distance information;
the processing module is used for judging whether the electronic equipment is in a shielded state currently; if not, the target sub-assembly is used for outputting an electric signal corresponding to the voltage value to the target sub-assembly of the electrochromic assembly, the target sub-assembly of the electrochromic assembly displays a color corresponding to the voltage value, and the target sub-assembly is used for indicating the direction of the target device and the distance information at the same time; if so, the color display function of the electrochromic component is closed.
4. The control device of the electronic apparatus according to claim 3, wherein the determining module comprises: a first determination submodule and a second determination submodule;
the first determining submodule is used for determining a preset distance interval corresponding to the distance information;
the second determining submodule is configured to determine a corresponding voltage value in a preset mapping relationship according to the preset distance interval, where the mapping relationship is a mapping relationship between the distance interval and the voltage value.
5. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-2.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-2 are implemented when the processor executes the program.
7. An electronic device comprises a display screen, a shell, an electrochromic assembly and a control circuit, wherein the electrochromic assembly and the control circuit are arranged on the shell, the electrochromic assembly comprises a plurality of subassemblies, the electrochromic assembly comprises a plurality of electrochromic units, a plurality of switch assemblies and a plurality of voltage control circuits, each electrochromic unit is selectively connected with one voltage control circuit through one switch assembly, and when the switch assemblies are in a connected state, the voltage control circuits are electrically connected with the corresponding electrochromic units so as to charge and discharge the electrochromic units, so that the electrochromic units display corresponding colors; if not, directly displaying the position information of the electronic equipment and the target equipment on the display screen; if yes, respectively acquiring the position information of the electronic equipment and the target equipment, calculating the distance information between the electronic equipment and the target equipment according to the position information of the electronic equipment and the target equipment, wherein, generating path information according to the position information of the electronic device and the target device, calculating the distance information of the electronic device and the target device according to the path information, determining direction information of the target device according to the position information of the electronic device and the target device, determining a current deflection angle of the electronic device through a gyroscope of the electronic device, determining one of the plurality of subassemblies as a target subassembly according to the deflection angle and the direction information of the target device, wherein the plurality of subassemblies are respectively positioned at different positions of the electronic device; determining a voltage value applied to the target subassembly of the electrochromic assembly according to the distance information; judging whether the electronic equipment is in a blocked state currently or not; if not, outputting an electric signal corresponding to the voltage value to the target subassembly of the electrochromic assembly, wherein the target subassembly of the electrochromic assembly is used for receiving the electric signal and displaying a color corresponding to the voltage value, and the target subassembly is used for simultaneously indicating the direction of the target device and the distance information; if so, the color display function of the electrochromic component is closed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810872554.9A CN109192178B (en) | 2018-08-02 | 2018-08-02 | Control method and device of electronic equipment, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810872554.9A CN109192178B (en) | 2018-08-02 | 2018-08-02 | Control method and device of electronic equipment, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109192178A CN109192178A (en) | 2019-01-11 |
CN109192178B true CN109192178B (en) | 2021-06-01 |
Family
ID=64919928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810872554.9A Expired - Fee Related CN109192178B (en) | 2018-08-02 | 2018-08-02 | Control method and device of electronic equipment, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109192178B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112967674A (en) * | 2021-02-04 | 2021-06-15 | 维沃移动通信有限公司 | Electronic device and brightness control method |
CN115442467A (en) * | 2021-06-01 | 2022-12-06 | 北京小米移动软件有限公司 | Reminding method, reminding device, terminal and storage medium |
CN113949771A (en) * | 2021-09-16 | 2022-01-18 | 北京讯通安添通讯科技有限公司 | Method and device for reminding terminal connection perception distance, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104344822A (en) * | 2013-07-24 | 2015-02-11 | 华为技术有限公司 | Geographic position information identification method, apparatus thereof and mobile terminal |
CN105751960A (en) * | 2015-01-05 | 2016-07-13 | 麦恩电子有限公司 | Methods And Systems For Visual Communication Of Vehicle Drive Information By Using Light Set |
CN105973259A (en) * | 2016-04-27 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Intelligent terminal assistant navigation method and system |
CN205655841U (en) * | 2016-04-15 | 2016-10-19 | 山东工商学院 | Vehicle navigation equipment |
CN206880165U (en) * | 2017-07-12 | 2018-01-16 | 国网重庆市电力公司 | A kind of intelligent direction indication hat |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69624774T2 (en) * | 1995-12-05 | 2003-03-27 | Matsushita Electric Ind Co Ltd | Backlit color display |
US7624358B2 (en) * | 2005-04-25 | 2009-11-24 | International Business Machines Corporation | Mouse radar for enhanced navigation of a topology |
KR100929331B1 (en) * | 2008-04-30 | 2009-12-03 | 팅크웨어(주) | Method and apparatus for generating 3D direction indication |
AP2011005598A0 (en) * | 2008-08-19 | 2011-02-28 | Samba Financial Group | Bearing information on a card. |
CN102478739A (en) * | 2010-11-25 | 2012-05-30 | 介面光电股份有限公司 | Stereoscopic image display device and electrochromic module thereof |
US8914047B1 (en) * | 2013-11-07 | 2014-12-16 | Jonathan A. Tyler | Systems and methods for controlling a color of a skin of a communication device |
KR20170006557A (en) * | 2015-07-08 | 2017-01-18 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
CN106506830A (en) * | 2016-10-27 | 2017-03-15 | 努比亚技术有限公司 | A kind of distance measurement method, mobile terminal and system |
CN106483731B (en) * | 2017-01-03 | 2017-11-10 | 京东方科技集团股份有限公司 | Electrochromic display device and navigation equipment |
CN107566578B (en) * | 2017-10-19 | 2019-05-17 | 维沃移动通信有限公司 | A kind of information display method and mobile terminal |
CN108195390A (en) * | 2017-12-29 | 2018-06-22 | 北京安云世纪科技有限公司 | A kind of air navigation aid, device and mobile terminal |
-
2018
- 2018-08-02 CN CN201810872554.9A patent/CN109192178B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104344822A (en) * | 2013-07-24 | 2015-02-11 | 华为技术有限公司 | Geographic position information identification method, apparatus thereof and mobile terminal |
CN105751960A (en) * | 2015-01-05 | 2016-07-13 | 麦恩电子有限公司 | Methods And Systems For Visual Communication Of Vehicle Drive Information By Using Light Set |
CN205655841U (en) * | 2016-04-15 | 2016-10-19 | 山东工商学院 | Vehicle navigation equipment |
CN105973259A (en) * | 2016-04-27 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Intelligent terminal assistant navigation method and system |
CN206880165U (en) * | 2017-07-12 | 2018-01-16 | 国网重庆市电力公司 | A kind of intelligent direction indication hat |
Also Published As
Publication number | Publication date |
---|---|
CN109192178A (en) | 2019-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109029768B (en) | Temperature reminding method and device of electronic equipment, storage medium and electronic equipment | |
CN109143717B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN109246288B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN109064996B (en) | Display adjustment method and device, storage medium and electronic equipment | |
US20210181923A1 (en) | Always on Display Method and Electronic Device | |
CN107219976A (en) | Application display method and related product | |
CN107943345A (en) | Calibration method, device, storage medium and the electronic equipment of proximity sensor | |
CN107770376B (en) | Control method of mobile terminal and mobile terminal | |
CN108430101A (en) | Antenna method for closing, device, storage medium and electronic equipment | |
CN109126132B (en) | Game role position prompting method and device, storage medium and electronic equipment | |
CN109192178B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN108494957A (en) | Antenna switching method, device, storage medium and electronic equipment | |
CN109062464B (en) | Touch operation method and device, storage medium and electronic equipment | |
US10739927B2 (en) | Operation detection method and apparatus, and mobile terminal | |
CN107609439A (en) | Processing method, device, storage medium and the terminal of Radio frequency interference | |
CN106786961A (en) | Charging process method, device and terminal | |
CN109067981A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
US11915633B2 (en) | Screen color temperature control method, apparatus, storage medium, and mobile terminal | |
CN108924360B (en) | Display method, storage medium, and electronic device | |
CN107818038A (en) | A kind of information cuing method and mobile terminal | |
CN108958629A (en) | Split screen exits method, apparatus, storage medium and electronic equipment | |
CN108984142A (en) | Multi-screen display method, device, storage medium and electronic equipment | |
CN104991699A (en) | Video display control method and apparatus | |
CN105278795A (en) | Method and device for displaying function bars | |
CN110768317A (en) | Charging state prompting method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210601 |
|
CF01 | Termination of patent right due to non-payment of annual fee |