Indication method and device, electronic equipment and storage medium

By setting up a flash group in an electronic device and flashing in response to the direction indication information of the preset application, the problem of not being able to obtain the direction indication when the screen is off is solved, and the direction indication is realized without the screen display is improved, which improves the user experience.

CN119536861APending Publication Date: 2025-02-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311094539.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

Existing electronic devices cannot visually obtain directional indication information when the screen is off, resulting in poor user experience.

Method used

By setting the flash group in the electronic device, in response to the direction indication information of the preset application, the flash group is controlled to flash in a specific flashing manner to provide direction indication.

Benefits of technology

Even when the screen is off, the flashing of the flash group can enable users to visually obtain direction indication information, improving the applicability and user experience of the indication method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536861A_ABST
    Figure CN119536861A_ABST
Patent Text Reader

Abstract

The invention relates to an indication method and device, electronic equipment and a storage medium, and the indication method comprises the steps: responding to a detected first operation, and starting a preset application; and in response to the direction indication information in the running process of the preset application, controlling the electronic equipment to flicker the flash lamp group in a flicker mode corresponding to the direction indication information so as to perform direction indication. When the preset application is operated, the electronic equipment can be controlled to flicker the flash lamp group in the corresponding flicker mode in response to the direction indication information in the operation process of the preset application, so that the direction indication information is presented to a user, and direction indication is realized. Even if the screen of the electronic equipment is turned off, the user can visually and intuitively obtain the direction indication information by virtue of the flicker of the flash lamp group, so that the applicability of the indication method and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic devices, and in particular to an indication method, device, electronic device and storage medium. Background Art

[0002] In recent years, with the rapid development of electronic technology, electronic devices such as mobile phones have been widely used in people's daily lives. In order to improve the user experience, the functions of electronic devices have become more and more diversified. Nowadays, with the increase in people's travel needs, it is particularly important to improve the navigation function of electronic devices and enhance the navigation experience.

[0003] However, when the direction indication method of the related art is used to indicate the direction through an electronic device, when the screen of the electronic device is off, the user cannot obtain the direction indication information visually, which leads to problems of poor applicability and user experience. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides an indication method, device, electronic device and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an indication method, the indication method comprising:

[0006] In response to detecting the first operation, launching a preset application;

[0007] In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0008] In some embodiments of the present disclosure, in response to the direction indication information during the running of the preset application, controlling the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information includes:

[0009] If the direction indication information is the first information, the first information is used to indicate to maintain the current direction, and control the flash lamp beads in the flash lamp group corresponding to the current direction to continue flashing; and / or,

[0010] If the direction indication information is the second information, the second information is used to indicate turning to a preset direction, and the flash lamp beads corresponding to the current direction and the flash lamp beads corresponding to the preset direction in the flash lamp group are controlled to flash alternately.

[0011] In some embodiments of the present disclosure, the indicating method further includes:

[0012] When the angle between the current direction and the preset direction gradually decreases, the frequency of the alternating flashing is increased.

[0013] In some embodiments of the present disclosure, the preset application is used for route navigation, and before controlling the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information in response to the direction indication information during the running of the preset application, the indication method further includes:

[0014] The direction indication information is determined according to the navigation information of the preset application.

[0015] In some embodiments of the present disclosure, determining the direction indication information according to the navigation information of the preset application includes:

[0016] Get the current direction of travel;

[0017] If the current traveling direction is the same as the target traveling direction in the navigation information, determining that the direction indication information is the first information;

[0018] If the current traveling direction is different from the target traveling direction, the direction indication information is determined to be the second information, and the target traveling direction is determined to be the preset direction.

[0019] In some embodiments of the present disclosure, obtaining the current traveling direction includes:

[0020] Determine the current direction;

[0021] Obtaining the travel distance along the current heading direction within a preset time;

[0022] If the travel distance is greater than a first preset distance, the current heading direction is determined as the current travel direction.

[0023] In some embodiments of the present disclosure, the indicating method further includes:

[0024] Get current location information;

[0025] When the distance difference determined according to the current position information and the target position information in the navigation information is less than a second preset distance, each flash lamp bead in the flash lamp group is controlled to flash in a breathing manner.

[0026] In some embodiments of the present disclosure, the preset application is used to search for a target object, and before responding to the direction indication information during the operation of the preset application and controlling the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information, the indication method further includes:

[0027] Obtaining location information of the target object to be found;

[0028] Get current location information;

[0029] The direction indication information is determined according to the current position information and the position information of the target object to be found, where the direction indication information is used to indicate the direction in which the current position points to the position of the target object to be found.

[0030] In some embodiments of the present disclosure, the preset application is used for image capture, and before responding to the direction indication information during the running of the preset application and controlling the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information, the indication method further includes:

[0031] Acquiring ambient light information, where the ambient light information is used to characterize the shooting effects along different directions at the current position;

[0032] Based on the ambient light information, determining a target direction;

[0033] The direction indication information is determined according to the current heading direction and the target heading direction.

[0034] In some embodiments of the present disclosure, the electronic device is foldable, the electronic device includes an inner screen and an outer screen, the flashlight group is arranged on the same side as the outer screen, and in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information includes:

[0035] When it is determined that both the inner screen and the outer screen are off, in response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flash group in a flashing manner corresponding to the direction indication information.

[0036] In some embodiments of the present disclosure, the electronic device is foldable, the electronic device includes an inner screen and an outer screen, the flashlight group is arranged on the same side as the outer screen, and in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information includes:

[0037] Acquire gaze information, where the gaze information is used to indicate whether the user is gazing at the external screen;

[0038] When it is determined that the user is gazing at the external screen, in response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flash group in a flashing manner corresponding to the direction indication information.

[0039] According to a second aspect of an embodiment of the present disclosure, there is provided an indication device, the indication device comprising:

[0040] A starting module, the starting module being used to start a preset application in response to detecting a first operation;

[0041] A control module is used to respond to the direction indication information during the running of the preset application and control the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0042] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0043] processor;

[0044] a memory for storing processor-executable instructions;

[0045] Wherein, the processor is configured to:

[0046] In response to detecting the first operation, launching a preset application;

[0047] In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0048] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform an indication method, the indication method comprising:

[0049] In response to detecting the first operation, launching a preset application;

[0050] In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0051] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when running a preset application, the electronic device can be controlled to flash a flashlight group in a corresponding flashing manner in response to the direction indication information during the running of the preset application, so as to present the direction indication information to the user, thereby realizing the direction indication. Even when the screen of the electronic device is off, the user can visually and intuitively obtain the direction indication information by means of the flashlight group flashing, thereby improving the applicability and user experience of the indication method.

[0052] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0054] Figure 1 The figure is a flowchart of an indication method according to an exemplary embodiment.

[0055] Figure 2 is a partial schematic diagram of an electronic device according to an exemplary embodiment.

[0056] Figure 3 is a schematic diagram of a flashlight group according to an exemplary embodiment.

[0057] Figure 4 is a schematic diagram of a flashlight group according to another exemplary embodiment.

[0058] Figure 5 is a schematic diagram of a flashlight group according to another exemplary embodiment.

[0059] Figure 6 The present invention is a flowchart showing a method of determining direction indication information according to navigation information of a preset application according to an exemplary embodiment.

[0060] Figure 7 The figure is a flow chart of obtaining the current traveling direction according to an exemplary embodiment.

[0061] Figure 8 is a flowchart of an indication method according to another exemplary embodiment.

[0062] Fig. 9 is a flowchart of an indication method according to another exemplary embodiment.

[0063] Fig.10 is a flowchart of an indication method according to another exemplary embodiment.

[0064] Fig.11 The present invention is a flowchart of controlling an electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information in response to the direction indication information during the running of a preset application according to an exemplary embodiment.

[0065] Fig.12 is a flowchart of an indication method according to another exemplary embodiment.

[0066] Fig.13 It is a block diagram of a pointing device according to an exemplary embodiment.

[0067] Fig.14 is a block diagram of an electronic device according to an exemplary embodiment.

[0068] In the figure:

[0069] 10- flashlight group; 20- flashlight beads; 30- external screen; 40- camera; 50- start module; 60- control module; 101- processing component; 102- memory; 103- power component; 104- multimedia component; 105- audio component; 106- input / output interface; 107- sensor component; 108- communication component; 109- processor. DETAILED DESCRIPTION

[0070] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0071] In recent years, with the rapid development of electronic technology, electronic devices such as mobile phones, tablet computers, and electronic watches have been widely used in people's daily lives. In order to meet the needs of users, the functions of electronic devices have become more and more diverse. Nowadays, the increase in people's travel needs for business trips and travel has made more and more users rely on the navigation function of electronic devices. Therefore, it is particularly important to improve the navigation function of electronic devices and enhance the navigation experience.

[0072] In the related art, the use of electronic devices for navigation mostly adopts the output of direction indication information by displaying images on the screen or giving voice prompts through speakers. However, when the electronic device is used for direction indication in the above manner, when the screen of the electronic device is turned off due to power problems or screen damage, the screen no longer displays the navigation image, and the user cannot obtain the direction indication information through the visual paper tube, which has the problem of poor applicability and user experience.

[0073] Based on this, the exemplary embodiments of the present disclosure provide an indication method, which can control an electronic device to flash a flashlight group in a corresponding flashing manner in response to direction indication information during the operation of a preset application when running a preset application, so as to present the direction indication information to the user, thereby realizing the direction indication. Even when the screen of the electronic device is off, the user can visually and intuitively obtain the direction indication information by means of the flashlight group flashing, thereby improving the applicability and user experience of the indication method.

[0074] In an exemplary embodiment, an indication method is provided, which is applied to an electronic device or other controller. The electronic device may be, for example, a mobile phone, a tablet computer, an electronic watch, etc. Figure 1As shown, the indication method includes:

[0075] S100: In response to detecting a first operation, starting a preset application.

[0076] In step S100, the first operation may be, for example, a touch operation, a voice operation, or other operation performed by a user on the electronic device. When the first operation is detected, the electronic device starts a preset application. For example, when it is detected that the user touches the preset application icon displayed on the screen of the electronic device, the preset application is started. The preset application may be, for example, a navigation application for route navigation, a smart IoT application for target object search, or a shooting application for image shooting.

[0077] S200: In response to direction indication information during the running of a preset application, control the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0078] In step S200, direction indication information can be provided during the operation of the preset application. The direction indication information is used to indicate the direction. The direction indication information can, for example, indicate whether to keep the current direction of travel and continue to go straight or to change the current direction of travel and turn. Figure 2 As shown, the electronic device is provided with a flashlight set 10, which can be composed of a plurality of flashlight beads 20 arranged around a camera 40 of the electronic device for taking pictures or providing lighting, for example, the number of the flashlight beads 20 can be, for example, 2, 3, 4, ..., N, N is a positive integer greater than 4, and the plurality of flashlight beads 20 can be, for example, in a ring shape and arranged at the same interval angle to achieve indication of a plurality of different directions. When the electronic device is foldable and includes an inner screen and an outer screen 30, the flashlight set 10 can be arranged on the same side as the outer screen 30 of the electronic device. The plurality of flashlight beads 20 included in the flashlight set 10 can be independently controlled to flash, and the colors of the plurality of flashlight beads 20 can be the same or different.

[0079] The flashlight group 10 can flash in different flashing modes, and different flashing modes correspond to different direction indication information. For example, corresponding to different direction indication information, the flashlight group 10 can be controlled to flash in different flashing positions, different flashing frequencies, or different flashing sequences, and the user can obtain the direction indication information according to the real-time flashing mode of the flashlight group 10. When the flashing mode of the flashlight group 10 changes, it means that the direction indication information changes, so as to provide direction indication to the user.

[0080] In this embodiment, when the preset application is running, the electronic device can be controlled to flash the flashlight group 10 in a corresponding flashing manner in response to the direction indication information during the running of the preset application, so as to present the direction indication information to the user, thereby realizing the direction indication. Even when the screen of the electronic device is off, the flashlight group 10 can be used to enable the user to visually obtain the direction indication information, so that the direction indication can continue in special circumstances such as insufficient power, damaged screen or limited viewing angle, thereby improving the applicability and user experience of the indication method.

[0081] In some embodiments, in response to direction indication information during the running of a preset application, the electronic device is controlled to flash the flash light group 10 in a flashing manner corresponding to the direction indication information, including: if the direction indication information is first information, the first information is used to indicate to maintain the current direction, and the flash light beads 20 corresponding to the current direction in the flash light group 10 are controlled to continue flashing.

[0082] Among them, the current direction can be the current heading direction or the current traveling direction. When the direction indication information of the preset application is the first information indicating to maintain the current direction, the flash lamp beads 20 corresponding to the current direction in the flash light group 10 are controlled to flash continuously. When the flash lamp beads 20 corresponding to the current direction in the flash light group 10 are controlled to flash continuously, the user is instructed to continue to go straight in the current direction.

[0083] For example, reference Figure 3 As shown, the flashlight group 10 includes four flashlight beads 20a, 20b, 20c and 20d arranged in a ring shape with an interval angle of 90°. The current travel direction can be, for example, the X direction as shown in the figure. When the direction indication information of the preset application is the first information to maintain the current direction, the flashlight bead 20a corresponding to the current direction in the flashlight group 10 is controlled to flash continuously, instructing the user to maintain the current travel direction, that is, the direction corresponding to the flashlight bead 20a and continue to travel.

[0084] In this embodiment, when the direction indication information of the preset application is the first information indicating to maintain the current direction, the flash lamp beads 20 corresponding to the current direction in the flash lamp group 10 are controlled to flash continuously to instruct the user to continue to go straight in the current direction. Even when the screen of the electronic device is off, the flash lamp beads 20 corresponding to the current direction continue to flash so that the user can visually obtain the first information, thereby improving the applicability and user experience of the indication method.

[0085] In other embodiments, in response to direction indication information during the running of a preset application, the electronic device is controlled to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information, including: if the direction indication information is second information, the second information is used to indicate a turn in a preset direction, and the flashlight beads 20 corresponding to the current direction and the flashlight beads 20 corresponding to the preset direction in the flashlight group 10 are controlled to flash alternately.

[0086] Among them, the preset direction is the direction indicated in the direction indication information. When the direction indication information of the preset application is the second information indicating turning to the preset direction, the flash lamp beads 20 corresponding to the current direction and the flash lamp beads 20 corresponding to the preset direction in the flash light group 10 are controlled to flash alternately. When the flash lamp beads 20 corresponding to the current direction and the flash lamp beads 20 corresponding to the preset direction in the flash light group 10 are controlled to flash alternately, the user is instructed to change the current direction of travel and turn to the preset direction.

[0087] It should be noted that the flash lamp bead 20 corresponding to the preset direction can be one or more. For example, refer to Figure 4 As shown, the flashlight set 10 includes four flashlight beads 20a, 20b, 20c and 20d arranged in a ring shape and at intervals of 90°. The current direction of travel may be, for example, the X direction as shown in the figure, and the preset direction may be, for example, the Y direction as shown in the figure. At this time, only one flashlight bead 20b corresponds to the preset direction. When the direction indication information of the preset application is the second information indicating turning to the preset direction, the flashlight bead 20a corresponding to the current direction and the flashlight bead 20b corresponding to the preset direction in the flashlight set 10 are controlled to flash alternately. When the flashlight bead 20a and the flashlight bead 20b are controlled to flash alternately, the user is instructed to turn to the left from moving forward.

[0088] refer to Figure 5 As shown, the flashlight set 10 includes four flashlight beads 20a, 20b, 20c and 20d arranged in a ring shape and at an interval angle of 90°. The current direction of travel may be, for example, the X direction as shown in the figure, and the preset direction may be, for example, the Y direction as shown in the figure. At this time, two flashlight beads 20a and 20b correspond to the preset direction. When the direction indication information of the preset application is the second information indicating turning to the preset direction, the flashlight bead 20a corresponding to the current direction and the flashlight beads 20a and 20b corresponding to the preset direction in the flashlight set 10 are controlled to flash alternately. When the flashlight bead 20a and the flashlight beads 20a and 20b are controlled to flash alternately, the user is instructed to turn from forward to the left front.

[0089] In this embodiment, when the direction indication information of the preset application is the second information indicating turning to the preset direction, the flashing light beads 20 corresponding to the current direction and the flashing light beads 20 corresponding to the preset direction in the flashing light group 10 are controlled to flash alternately to instruct the user to change the current direction of travel and turn to the preset direction. Even when the screen of the electronic device is off, the flashing light beads 20 corresponding to the current direction and the flashing light beads 20 corresponding to the preset direction flash alternately so that the user can visually obtain the second information, thereby improving the applicability and user experience of the indication method.

[0090] In some embodiments, the indication method further includes: when the angle between the current direction and the preset direction gradually decreases, increasing the frequency of alternating flashing.

[0091] Among them, when the flash light beads 20 corresponding to the current direction and the flash light beads 20 corresponding to the preset direction in the flash light group 10 are controlled to flash alternately in accordance with the second information, and when the user turns to the preset direction, the angle between the current direction and the preset direction gradually decreases, and at this time, the frequency of the flash light beads 20 corresponding to the current direction and the flash light beads 20 corresponding to the preset direction flashing alternately is increased to prompt the user that the current direction is gradually approaching the preset direction. Exemplarily, the smaller the angle between the current direction and the preset direction, the faster the frequency of the flash light beads 20 corresponding to the current direction and the flash light beads 20 corresponding to the preset direction flashing alternately.

[0092] In this embodiment, the angle between the current direction and the preset direction gradually decreases, indicating that the user is turning from the current direction to the preset direction. At this time, the frequency of the flashing lamp beads 20 corresponding to the current direction and the flashing lamp beads 20 corresponding to the preset direction is increased, so that the user is gradually approaching the preset direction, thereby improving the user experience. In addition, the user can judge the degree of proximity to the preset direction based on the frequency of the alternating flashes, and then adjust the turning speed to avoid over-steering or deviation from the preset direction, thereby ensuring the accuracy of turning to the preset direction.

[0093] In some embodiments, a preset application is used for route navigation, for example, it may be a map, navigation or other application. In response to the direction indication information during the operation of the preset application, before controlling the electronic device to flash the flash group 10 in a flashing manner corresponding to the direction indication information, the indication method also includes: determining the direction indication information according to the navigation information of the preset application.

[0094] Among them, before controlling the electronic device to flash the flash group 10 in a flashing manner corresponding to the direction indication information in response to the direction indication information during the operation of the preset application, it is necessary to first determine the direction indication information according to the navigation information of the preset application. The navigation information may, for example, include a navigation route determined according to the current position, the target position, and the current position and the target position. The navigation information may also include a target travel direction determined according to the navigation route and the current position. The target travel direction indicates the travel direction corresponding to the navigation route at the current position when traveling toward the target position.

[0095] In this embodiment, when the preset application is used for route navigation, the direction indication information is first determined according to the navigation information of the preset application, and then in response to the direction indication information during the operation of the preset application, the electronic device is controlled to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information, which provides a basis for the direction indication information required for direction indication, so that the direction indication can be based on route navigation, ensuring the accuracy of the direction indication. When the user runs the preset application for route navigation, the user can control the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information in response to the direction indication information during the operation of the preset application. Even when the screen of the electronic device is off, route navigation can be achieved by flashing the flashlight group 10, which improves the applicability and user experience of route navigation.

[0096] In some embodiments, reference Figure 6 The determining of direction indication information according to navigation information of a preset application includes:

[0097] S310, obtaining the current traveling direction.

[0098] In step S310, the current traveling direction is first obtained. The current traveling direction is the direction corresponding to the user's current straight route. The current traveling direction is different from the current heading direction. The user needs to complete a certain distance in one direction before the direction can be determined as the current traveling direction.

[0099] S320: if the current traveling direction is the same as the target traveling direction in the navigation information, determine that the direction indication information is the first information;

[0100] S330: If the current traveling direction is different from the target traveling direction, determine the direction indication information as the second information, and determine the target traveling direction as the preset direction.

[0101] In step S320 and step S330, the navigation information includes a target direction of travel, and the target direction of travel indicates the direction of travel corresponding to the navigation route at the current position when traveling to the target position. The acquired current direction of travel is compared with the target direction of travel in the navigation information. If the current direction of travel is the same as the target direction of travel, indicating that there is no need to turn according to the navigation route at present, the direction indication information is determined as the first information indicating to maintain the current direction. If the current direction of travel is different from the target direction of travel, indicating that there is a need to turn according to the navigation route at present, the direction indication information is determined as the second information indicating to turn to the preset direction, and the target direction of travel in the navigation information is used as the preset direction.

[0102] In this embodiment, by obtaining the current traveling direction and comparing the current traveling direction with the target traveling direction in the navigation information, the direction indication information can be determined as the first information indicating to maintain the current direction or the direction indication information can be determined as the second information indicating to turn to the preset direction, and the target traveling direction in the navigation information is used as the preset direction. It can be determined whether the user currently needs to turn according to the target traveling direction in the navigation information, thereby realizing the determination of the direction indication information and the preset direction, providing a basis for the subsequent control of the flash light group 10 to flash for direction indication, and improving the accuracy of the direction indication when performing route navigation.

[0103] In some embodiments, reference Figure 7 As shown, get the current direction of travel, including:

[0104] S311, determine the current direction.

[0105] In step S311, the current orientation direction is first determined. The current orientation direction is the direction the user faces when holding the electronic device in a normal posture, that is, the direction the upper end of the electronic device faces. The current orientation direction can be determined, for example, by an acceleration sensor, a gyroscope sensor, etc. in the electronic device.

[0106] S312: Obtain the travel distance along the current direction within a preset time.

[0107] In step S312, the distance traveled by the user along the current direction within the preset time is obtained. The travel distance can be obtained, for example, through the pedometer sensor or positioning system of the mobile phone. The preset time can be, for example, 3S, 5S, 10S, etc. The distance traveled by the user along the current direction within a shorter preset time can represent the distance traveled by the user in the current direction if he / she continues to travel, i.e., without turning.

[0108] S313: If the travel distance is greater than the first preset distance, determine the current heading direction as the current travel direction.

[0109] In step S313, the travel distance is compared with the first preset distance. The first preset distance can be adjusted accordingly according to the preset time, the user's normal travel speed, etc. If the travel distance is greater than the first preset distance, it means that the user has continuously traveled a sufficient distance along the current direction within the preset time, which means that the direction representing the static state is the same as the travel direction representing the moving state. The current direction can be used as the current travel direction for subsequent comparison between the current travel direction and the target travel direction.

[0110] In this embodiment, the current heading direction is determined to obtain the travel distance along the current heading direction within a preset time, and the travel distance is compared with the first preset distance. When the travel distance is greater than the first preset distance, the current heading direction is determined as the current travel direction, so that the current travel direction represents both the heading direction and the user is in a traveling state, thereby achieving accurate acquisition of the current travel direction, providing a basis for subsequent comparison of the current travel direction with the target travel direction to determine the direction indication information, and improving the accuracy of the direction indication during route navigation.

[0111] In some embodiments, reference Figure 8 As shown, the indicating method further includes:

[0112] S410: Obtain current location information.

[0113] In step S410, firstly, current location information is obtained. The current location information may include, for example, the latitude and longitude geographic coordinates of the user's current location. The current location information may be obtained, for example, through a positioning system of an electronic device.

[0114] S420: When the distance difference determined according to the current position information and the target position information in the navigation information is less than a second preset distance, control each flash lamp bead in the flash lamp group to flash in a breathing manner.

[0115] In step S420, the target position information in the navigation information may include, for example, the latitude and longitude geographic coordinates of the target position. The target position information may be obtained, for example, by the positioning system of the electronic device. The distance difference between the current position and the target position may be determined based on the obtained current position information and the target position information in the navigation information. The distance difference is compared with the second preset distance. The second preset distance may be adjusted accordingly according to the direction indication accuracy. The second preset distance may be, for example, 1m, 2m, or 5m. When the distance difference between the current position and the target position is less than the second preset distance, it means that the user has reached or is close to reaching the target position. At this time, each flash lamp bead 20 in the flash lamp group 10 is controlled to breathe and flash synchronously. Exemplarily, when the distance difference is less than the second preset distance and the distance difference gradually decreases, the frequency of breathing and flashing of each flash lamp bead 20 in the flash lamp group 10 gradually increases.

[0116] In this embodiment, the current position is obtained and the distance difference between the current position and the target position is determined based on the current position information and the target position information in the navigation information, and then the distance difference is compared with the second preset distance. When the distance difference is less than the second preset distance, each flash lamp bead 20 in the flash lamp group 10 is controlled to breathe and flash, thereby prompting the user that he has reached or is close to reaching the target position, so that the user can stop moving or adjust the moving speed when each flash lamp bead 20 breathes and flashes, thereby avoiding the user from continuing to move without realizing that the target position has been reached, thereby improving the user experience.

[0117] In some embodiments, the preset application is used to search for the target object, for example, it can be an application such as smart Internet of Things, refer to Fig. 9 As shown, before responding to the direction indication information during the running of the preset application and controlling the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information, the indication method also includes:

[0118] S510: Obtain location information of a target object to be found.

[0119] In step S510, the location information of the target object to be found is obtained. The target object to be found may be, for example, other devices or items belonging to the same intelligent IoT system as the electronic device. The location information of the target object to be found may represent the location of the target object to be found. The location information of the target object to be found may be, for example, the latitude and longitude geographic coordinates or the area where it is located. The location information of the target object to be found may be obtained, for example, through the interconnection between the electronic device and the target object to be found.

[0120] S520: Obtain current location information.

[0121] In step S520, current location information is obtained. The current location information may include, for example, the longitude and latitude geographic coordinates of the user's current location. The current location information may be obtained, for example, through a positioning system of an electronic device.

[0122] S530: Determine direction indication information according to the current position information and the position information of the target object to be found, where the direction indication information is used to indicate the direction in which the current position points to the position of the target object to be found.

[0123] In step S530, the current location information can represent the user's current location, and the location information of the target object to be found can represent the location of the target object to be found. Based on the current location information and the location information of the target object to be found, the direction indication information can be determined, and the direction indication information is used to indicate the direction of the user's current location pointing to the location of the target object to be found.

[0124] Exemplarily, when the direction indication information is used to indicate the direction in which the user's current position points to the location of the target object to be found, the flash lamp beads 20 in the flash light group 10 corresponding to the direction in which the user's current position points to the location of the target object to be found can be controlled to flash continuously, and the user can judge the direction in which the user's current position points to the location of the target object to be found based on the flashing of the flash light group 10. The method of controlling the flash lamp beads 20 corresponding to a direction in the flash light group 10 to flash is as described above and will not be repeated here.

[0125] In this embodiment, when the preset application is used to search for a target object, the location information and current location information of the target object to be searched are obtained respectively, so that the direction indication information indicating the direction from the current location to the location of the target object to be searched can be determined according to the location information and current location information of the target object to be searched, providing a basis for the direction indication information required for direction indication, and realizing the acquisition of the direction indication information, which is a prerequisite for subsequently controlling the flashlight group 10 to flash in a corresponding manner according to the direction indication information. When the user runs the preset application for searching for a target object, the flashlight group 10 can be controlled to flash in a corresponding manner according to the direction indication information of the preset application. Even when the screen of the electronic device is off, the target object can be found by flashing the flashlight group 10, which improves the applicability and user experience of the target object search.

[0126] In some embodiments, the preset application is used for image capture, for example, it can be a capture application such as taking a photo or recording a video. Fig.10 As shown, before responding to the direction indication information during the running of the preset application and controlling the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information, the indication method also includes:

[0127] S610: Acquire ambient light information, where the ambient light information is used to represent shooting effects along different directions at the current location.

[0128] In step S610, firstly, ambient light information is acquired. The ambient light information is used to characterize shooting effects along different directions when the user is located at the current position and using the electronic device for shooting. The ambient light information can be acquired, for example, by a shooting system of the electronic device.

[0129] S620: Determine the target direction based on the ambient light information.

[0130] In step S620, based on the acquired ambient light information, the direction with the best shooting effect can be determined among all directions. For example, this direction can be determined as the target direction, so that when the user is at the current position and uses the electronic device to shoot along the target direction, the best shooting effect can be obtained.

[0131] S630: Determine direction indication information according to the current direction and the target direction.

[0132] In step S630, direction indication information is determined according to the current heading direction and the target heading direction. Exemplarily, when the current heading direction is the same as the target heading direction, the direction indication information may be determined to indicate maintaining the current heading direction, and when the current heading direction is different from the target heading direction, the direction indication information may be determined to indicate turning toward the target heading direction.

[0133] After determining the direction indication information, the electronic device is controlled to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information according to the direction indication information. For example, when the direction indication information is used to indicate maintaining the current direction, the flashlight beads 20 corresponding to the current direction in the flashlight group 10 can be controlled to flash continuously. When the direction indication information is used to indicate turning to the target direction, the flashlight beads 20 corresponding to the current direction and the flashlight beads 20 corresponding to the target direction in the flashlight group 10 can be controlled to flash alternately. The user can judge whether the user currently needs to turn and the direction to turn to obtain the best shooting effect according to the flashlight group 10 flashing manner. The method of controlling the flashlight beads 20 corresponding to a direction in the flashlight group 10 to flash is as described above and will not be repeated here.

[0134] In this embodiment, when the preset application is used for image capture, ambient light information for characterizing the shooting effect along different directions of the current position is obtained, and the target orientation direction is determined according to the ambient light information, and then the direction indication information is determined according to the current orientation direction and the target orientation direction, which provides a basis for the direction indication information required for direction indication, realizes the acquisition of the direction indication information, and is a prerequisite for subsequently controlling the flashlight group 10 to flash in a corresponding manner according to the direction indication information. When the user runs the preset application for image capture, the flashlight group 10 can be controlled to flash in a corresponding manner according to the direction indication information of the preset application. Even when the screen of the electronic device is off, the flashlight group 10 can be used to flash to achieve the best image capture effect, thereby improving the applicability and user experience of image capture.

[0135] In some embodiments, the electronic device is foldable, and the electronic device includes an inner screen and an outer screen 30, and the flash light group 10 is arranged on the same side as the outer screen 30. In response to the direction indication information during the running of a preset application, the electronic device is controlled to flash the flash light group 10 in a flashing manner corresponding to the direction indication information, including: when it is determined that the inner screen and the outer screen 30 are both off, in response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flash light group 10 in a flashing manner corresponding to the direction indication information.

[0136] The electronic device is foldable, and the electronic device may be, for example, a flexible screen mobile phone. The electronic device includes an inner screen and an outer screen 30. The size of the outer screen 30 may be, for example, smaller than that of the inner screen. The flashlight group 10 is arranged on the same side as the outer screen 30, that is, located on the same plane. When both the inner screen and the outer screen 30 are off, that is, when the electronic device cannot indicate the direction by displaying an image on the screen, in response to the direction indication information during the operation of the preset application, the electronic device is controlled to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information.

[0137] In this embodiment, before controlling the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information in response to the direction indication information during the operation of the preset application, it is first determined whether the inner screen and the outer screen 30 of the electronic device are both off. When it is determined that the inner screen and the outer screen 30 are both off, that is, the electronic device cannot indicate the direction by displaying an image on the screen, the above-mentioned indication method is executed. The method of controlling the flashlight group 10 to flash for direction indication is triggered by the inner screen and the outer screen 30 of the electronic device being both off, thereby avoiding the waste of electronic device memory resources and power caused by performing the direction indication method of displaying an image on the screen at the same time, thereby improving the user experience.

[0138] In some embodiments, the electronic device is foldable, and the electronic device includes an inner screen and an outer screen 30, and the flashlight group 10 is arranged on the same side as the outer screen 30. Fig.11 As shown, in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information includes:

[0139] S710: Obtain gaze information, where the gaze information is used to indicate whether the user is gazing at an external screen.

[0140] In step S710, firstly, gaze information indicating whether the user is gazing at the external screen 30 is acquired. The gaze information can be acquired, for example, by the camera 40 of the electronic device.

[0141] S720: When it is determined that the user is gazing at the external screen, in response to the direction indication information during the running of the preset application, control the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information.

[0142] In step S720, when it is determined that the user is looking at the external screen 30, that is, when the user makes an action requiring directional indication, then in response to the directional indication information during the running of the preset application, the electronic device is controlled to flash the flash group 10 in a flashing manner corresponding to the directional indication information.

[0143] In this embodiment, in response to the direction indication information during the operation of the preset application, before controlling the electronic device to flash the flashlight group 10 in a flashing manner corresponding to the direction indication information, the gaze information is first obtained and it is determined whether the user is looking at the external screen 30 according to the gaze information. When it is determined that the user is looking at the external screen 30, that is, the user issues an action requiring direction indication, the above-mentioned indication method is executed. By controlling the flashlight group 10 to flash in a direction indication manner with the user looking at the external screen 30 as a trigger condition, the waste of memory resources and power caused by the user having no direction indication requirement is avoided, thereby improving the user experience.

[0144] In an exemplary embodiment, reference Fig.12 As shown, a method for indicating is provided, which is applied to an electronic device, and the method for indicating includes:

[0145] S1. When it is determined that both the inner screen and the outer screen are off and the user is looking at the outer screen, determining the type of the preset application when starting the preset application;

[0146] S2, the preset application is used for route navigation to determine the current direction;

[0147] S3, obtaining the travel distance along the current direction within a preset time;

[0148] S4. If the travel distance is greater than the first preset distance, determine the current heading direction as the current travel direction;

[0149] S5. If the current traveling direction is the same as the target traveling direction in the navigation information, determine that the direction indication information is the first information;

[0150] S6. If the direction indication information is the first information, the first information is used to indicate to maintain the current direction, and control the flash lamp beads corresponding to the current direction in the flash lamp group to continue flashing;

[0151] S7. If the current traveling direction is different from the target traveling direction, determine the direction indication information as the second information, and determine the target traveling direction as the preset direction;

[0152] S8, if the direction indication information is the second information, the second information is used to indicate turning to a preset direction, and the flash lamp beads corresponding to the current direction and the flash lamp beads corresponding to the preset direction in the flash lamp group are controlled to flash alternately;

[0153] S9, when the angle between the current direction and the preset direction gradually decreases, increasing the frequency of alternating flashing;

[0154] S10, when the distance difference determined according to the current position information and the target position information in the navigation information is less than a second preset distance, controlling each flash lamp bead in the flash lamp group to flash in a breathing manner;

[0155] S11, presetting an application for searching a target object and obtaining location information of the target object to be searched;

[0156] S12, obtaining current location information;

[0157] S13, determining direction indication information according to the current position information and the position information of the target object to be found, where the direction indication information is used to indicate the direction in which the current position points to the position of the target object to be found;

[0158] S14, in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication;

[0159] S15, presetting an application for image capture to obtain ambient light information, where the ambient light information is used to characterize the capture effects along different directions at the current location;

[0160] S16, determining the target direction based on the ambient light information;

[0161] S17, determining direction indication information according to the current direction and the target direction;

[0162] S18. In response to the direction indication information during the running of the preset application, control the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

[0163] In this embodiment, when a preset application is running, the electronic device can be controlled to flash the flashlight set 10 in a corresponding flashing manner in response to the direction indication information during the running of the preset application, so as to present the direction indication information to the user, thereby realizing the direction indication. Even when the screen of the electronic device is off, the flashlight set 10 can be flashed to enable the user to visually obtain the direction indication information, thereby improving the applicability and user experience of the indication method.

[0164] In an exemplary embodiment, reference Fig.13 As shown, an indication device is provided, which is applied to an electronic device or other controller. The indication device includes a starting module 50 and a control module 60. The starting module 50 is used to start a preset application in response to detecting a first operation; the control module 60 is used to control the electronic device to flash the flash group 10 in a flashing manner corresponding to the direction indication information during the operation of the preset application to provide direction indication.

[0165] In this embodiment, when the preset application is running, the preset application can be started through the startup module 50 and the electronic device can be controlled by the control module 60 to flash the flashlight group 10 in a corresponding flashing manner in response to the direction indication information during the running of the preset application, so as to present the direction indication information to the user, thereby realizing the direction indication. Even when the screen of the electronic device is off, the flashlight group 10 can be flashed to enable the user to obtain the direction indication information visually, so that the direction indication can continue in special circumstances such as insufficient power, damaged screen or limited viewing angle, thereby improving the applicability and user experience of the indication method.

[0166] In one embodiment, the control module 60 is further used for: if the direction indication information is the first information, the first information is used for indicating to maintain the current direction, and controlling the flash lamp beads 20 corresponding to the current direction in the flash lamp group 10 to flash continuously.

[0167] In one embodiment, the control module 60 is further used to: if the direction indication information is the second information, the second information is used to indicate turning to a preset direction, control the flash lamp beads 20 corresponding to the current direction and the flash lamp beads 20 corresponding to the preset direction in the flash lamp group 10 to flash alternately.

[0168] In one embodiment, the preset application is used for route navigation, and the control module 60 is further used to determine direction indication information according to navigation information of the preset application.

[0169] In one embodiment, the control module 60 is also used to: obtain the current traveling direction; if the current traveling direction is the same as the target traveling direction in the navigation information, determine the direction indication information as the first information; if the current traveling direction is different from the target traveling direction, determine the direction indication information as the second information, and determine the target traveling direction as the preset direction.

[0170] In one embodiment, the control module 60 is further used to: determine the current heading direction; obtain the travel distance along the current heading direction within a preset time; if the travel distance is greater than a first preset distance, determine the current heading direction as the current travel direction.

[0171] In one embodiment, the preset application is used for searching the target object, and the control module 60 is also used to: obtain the location information of the target object to be searched; obtain the current location information; determine the direction indication information based on the current location information and the location information of the target object to be searched, and the direction indication information is used to indicate the direction of the current location pointing to the location of the target object to be searched.

[0172] In one embodiment, the preset application is used for image capture, and the control module 60 is also used to: obtain ambient light information, which is used to characterize the shooting effect along different directions at the current position; determine the target direction based on the ambient light information; and determine the direction indication information based on the current direction and the target direction.

[0173] In one embodiment, the electronic device is foldable, and includes an inner screen and an outer screen 30. The flash group 10 is arranged on the same side as the outer screen 30. The control module 60 is also used for: when it is determined that both the inner screen and the outer screen 30 are off, in response to the direction indication information during the running of a preset application, controlling the electronic device to flash the flash group 10 in a flashing manner corresponding to the direction indication information.

[0174] In one embodiment, the electronic device is foldable, and includes an inner screen and an outer screen 30. The flash group 10 is arranged on the same side as the outer screen 30. The control module 60 is also used to: obtain gaze information, where the gaze information is used to indicate whether the user is looking at the outer screen 30; when it is determined that the user is looking at the outer screen 30, in response to the direction indication information during the running of a preset application, control the electronic device to flash the flash group 10 in a flashing manner corresponding to the direction indication information.

[0175] In one embodiment, the control module 60 is further configured to: when the angle between the current direction and the preset direction gradually decreases, increase the frequency of the alternating flashing.

[0176] In one embodiment, the control module 60 is further used to: obtain current position information; when the distance difference determined based on the current position information and the target position information in the navigation information is less than a second preset distance, control each flash lamp bead 20 in the flash lamp group 10 to breathe and flash.

[0177] In an exemplary embodiment, an electronic device is provided. The electronic device may be, for example, a mobile phone, a tablet computer, an electronic watch, etc. with a flashlight set 10 .

[0178] refer to Fig.14 As shown, the electronic device may include one or more of the following components: a processing component 101 , a memory 102 , a power component 103 , a multimedia component 104 , an audio component 105 , an input / output (I / O) interface 106 , a sensor component 107 , and a communication component 108 .

[0179] The processing component 101 generally controls the overall operation of the electronic device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 101 may include one or more processors 109 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 101 may include one or more modules to facilitate the interaction between the processing component 101 and other components. For example, the processing component 101 may include a multimedia module to facilitate the interaction between the multimedia component 104 and the processing component 101.

[0180] The memory 102 is configured to store various types of data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0181] The power component 103 provides power to various components of the electronic device. The power component 103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.

[0182] The multimedia component 104 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 104 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0183] The audio component 105 is configured to output and / or input audio signals. For example, the audio component 105 includes a microphone (MIC), and when the electronic device is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 102 or sent via the communication component 108. In some embodiments, the audio component 105 also includes a speaker for outputting audio signals.

[0184] I / O interface 106 provides an interface between processing component 101 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0185] The sensor assembly 107 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 107 can detect the on / off state of the electronic device, the relative positioning of components, such as the display and keypad of the electronic device, and the sensor assembly 107 can also detect the position change of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device and the temperature change of the electronic device. The sensor assembly 107 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 107 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 107 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0186] The communication component 108 is configured to facilitate wired or wireless communication between the electronic device and other devices. The device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 108 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 108 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0187] In an exemplary embodiment, the electronic device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned indication method applied to the electronic device.

[0188] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 102 including instructions, and the above instructions can be executed by a processor 109 of an electronic device to complete the above-mentioned indication method applied to the electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the indication method shown in the above-mentioned embodiment.

[0189] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0190] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method of indicating, characterized in that: The indicating method comprises: In response to detecting the first operation, launching a preset application; In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

2. The indicating method according to claim 1, characterized in that: In response to the direction indication information during the running of the preset application, controlling the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information includes: If the direction indication information is the first information, the first information is used to indicate to maintain the current direction, and control the flash lamp beads in the flash lamp group corresponding to the current direction to continue flashing; and / or, If the direction indication information is the second information, the second information is used to indicate turning to a preset direction, and the flash lamp beads corresponding to the current direction and the flash lamp beads corresponding to the preset direction in the flash lamp group are controlled to flash alternately.

3. The indicating method according to claim 2, characterized in that: The indicating method further comprises: When the angle between the current direction and the preset direction gradually decreases, the frequency of the alternating flashing is increased.

4. The indicating method according to claim 2, characterized in that: The preset application is used for route navigation. Before controlling the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information in response to the direction indication information during the operation of the preset application, the indication method further includes: The direction indication information is determined according to the navigation information of the preset application.

5. The indicating method according to claim 4, characterized in that: The determining the direction indication information according to the navigation information of the preset application includes: Get the current direction of travel; If the current traveling direction is the same as the target traveling direction in the navigation information, determining that the direction indication information is the first information; If the current traveling direction is different from the target traveling direction, the direction indication information is determined to be the second information, and the target traveling direction is determined to be the preset direction.

6. The indicating method according to claim 5, characterized in that: The obtaining of the current traveling direction includes: Determine the current direction; Obtaining the travel distance along the current heading direction within a preset time; If the travel distance is greater than a first preset distance, the current heading direction is determined as the current travel direction.

7. The indicating method according to claim 4, characterized in that: The indicating method further comprises: Get current location information; When the distance difference determined according to the current position information and the target position information in the navigation information is less than a second preset distance, each flash lamp bead in the flash lamp group is controlled to flash in a breathing manner.

8. The indicating method according to claim 1, characterized in that: The preset application is used for searching a target object. Before controlling the electronic device to flash a flashlight group in a flashing manner corresponding to the direction indication information in response to the direction indication information during the operation of the preset application, the indication method further includes: Obtaining location information of the target object to be found; Get current location information; The direction indication information is determined according to the current position information and the position information of the target object to be found, where the direction indication information is used to indicate the direction in which the current position points to the position of the target object to be found.

9. The indicating method according to claim 1, characterized in that: The preset application is used for image capture, and before responding to the direction indication information during the operation of the preset application and controlling the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information, the indication method further includes: Acquiring ambient light information, where the ambient light information is used to characterize the shooting effects along different directions at the current position; Based on the ambient light information, determining a target direction; The direction indication information is determined according to the current heading direction and the target heading direction.

10. The indicating method according to any one of claims 1 to 9, characterized in that: The electronic device is foldable, the electronic device comprises an inner screen and an outer screen, the flashlight group is arranged on the same side as the outer screen, and in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information comprises: When it is determined that both the inner screen and the outer screen are off, in response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flash group in a flashing manner corresponding to the direction indication information.

11. The indicating method according to any one of claims 1 to 9, characterized in that: The electronic device is foldable, the electronic device comprises an inner screen and an outer screen, the flashlight group is arranged on the same side as the outer screen, and in response to the direction indication information during the running of the preset application, controlling the electronic device to flash the flashlight group in a flashing manner corresponding to the direction indication information comprises: Acquire gaze information, where the gaze information is used to indicate whether the user is gazing at the external screen; When it is determined that the user is gazing at the external screen, in response to the direction indication information during the running of the preset application, the electronic device is controlled to flash the flash group in a flashing manner corresponding to the direction indication information.

12. An indicating device, characterized in that: The indicating device comprises: A starting module, the starting module being used to start a preset application in response to detecting a first operation; A control module is used to respond to the direction indication information during the running of the preset application and control the electronic device to flash the flash group in a flashing manner corresponding to the direction indication information to provide direction indication.

13. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: In response to detecting the first operation, launching a preset application; In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.

14. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute an indication method, the indication method comprising: In response to detecting the first operation, launching a preset application; In response to the direction indication information during the running of the preset application, the electronic device is controlled to flash a flashlight group in a flashing manner corresponding to the direction indication information to provide direction indication.