Information processing method and device, equipment and storage medium

By integrating optical sensors and wireless communication modules in smart electronic devices, and directly identifying and selecting target devices from multiple devices, the cumbersome steps of users during interaction between devices is solved and the user experience is improved.

CN119071385APending Publication Date: 2024-12-03GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310629830.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When existing smart electronic devices interact between devices, users need to perform cumbersome click-sliding operations to select target devices, resulting in poor user experience.

Method used

By setting the optical sensor and the wireless communication module in the first electronic device, determining the target device from the plurality of second electronic devices using the optical sensor, and sending operation instructions through the wireless communication module to perform corresponding operations, the user selection process is simplified.

Benefits of technology

The operation steps of determining the target device are simplified, the user experience is improved, and the user's operational complexity on the main control device is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071385A_ABST
    Figure CN119071385A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an information processing method and device, equipment and a storage medium, the method is applied to first electronic equipment, a first optical sensor and a first wireless communication module are arranged in the first electronic equipment, and the method comprises the steps that first target electronic equipment is determined from at least one second electronic equipment through the first optical sensor; and under the condition that the first wireless communication module is in communication connection with a second wireless communication module in the first target electronic equipment, sending an obtained first operation instruction to the first target electronic equipment, so that the first target electronic equipment responds to the first operation instruction and executes a first operation. Therefore, the operation steps of determining the target electronic equipment can be simplified, the operation process is simplified, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to terminal device technology, and relate to but are not limited to an information processing method and apparatus, equipment, and storage medium. Background Art

[0002] In recent years, consumer electronic devices have become increasingly popular among consumers. The annual global shipments of electronic devices have reached hundreds of millions of units. Headphones, smart bracelets, smart watches, speakers and other devices are all mainstream products of smart electronic devices.

[0003] Currently, smart electronic devices have been widely used, and various electronic devices often interact with each other, such as pairing, connection, volume / track adjustment, etc. In this case, users are often required to perform complicated operations such as clicking and sliding on the screen of the master electronic device to select the desired controlled device to control the controlled device to perform related operations.

[0004] Therefore, how to simplify the operation steps of determining the target electronic device and improve the user experience is an urgent problem to be solved. Summary of the invention

[0005] In view of this, the information processing method, device, equipment, and storage medium provided in the embodiments of the present application can simplify the operation steps of determining the target electronic device, simplify the operation process, and improve the user experience. The information processing method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:

[0006] The information processing method provided in the embodiment of the present application is applied to a first electronic device, wherein the first electronic device is provided with a first light sensor and a first wireless communication module, and the method includes:

[0007] determining a first target electronic device from at least one second electronic device by means of a first light sensor;

[0008] When the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, the acquired first operation instruction is sent to the first target electronic device, so that the first target electronic device performs a first operation in response to the first operation instruction.

[0009] In some embodiments, at least one second electronic device is respectively provided with a second light sensor, and determining the first target electronic device from the at least one second electronic device by using the first light sensor includes:

[0010] Transmitting a first infrared signal within a preset range through the first light sensor;

[0011] receiving a second infrared signal, where the second infrared signal is emitted by one of the at least one second electronic devices through the second light sensor after receiving the first infrared signal;

[0012] One of the electronic devices that sends the second infrared signal is determined as the first target electronic device.

[0013] In some embodiments, sending the acquired first operation instruction to the first target electronic device further includes:

[0014] Determining whether the first wireless communication module establishes a communication connection with a second wireless communication module in the first target electronic device;

[0015] When the communication connection is established, the first operation instruction obtained is sent to the first target electronic device.

[0016] In some embodiments, the method further comprises:

[0017] When the first wireless communication module has not established a communication connection with the second wireless communication module in the first target electronic device, a communication connection is established with the second wireless communication module in the first target electronic device through the first wireless communication module, and the acquired first operation instruction is sent to the first target electronic device.

[0018] In some embodiments, before determining the first target electronic device from at least one second electronic device by using the first light sensor, the method further includes:

[0019] identifying whether the first electronic device has a communication intention;

[0020] When it is determined that the first electronic device has the intention to communicate, the first light sensor is turned on.

[0021] In some embodiments, the first operation instruction is an audio stop instruction, and sending the acquired first operation instruction to the first target electronic device so that the first target electronic device performs the first operation in response to the first operation instruction includes:

[0022] The acquired audio stop instruction is sent to the first target electronic device, so that the first target electronic device stops playing the first audio content in response to the audio stop instruction.

[0023] In some embodiments, the first operation instruction is an audio playback instruction, and sending the acquired first operation instruction to the first target electronic device so that the first target electronic device performs the first operation in response to the first operation instruction includes:

[0024] The acquired audio play instruction is sent to the first target electronic device, so that the first target electronic device plays the second audio content in response to the audio play instruction.

[0025] In some embodiments, the second audio content is audio content transmitted from the first electronic device to the first target electronic device; or, the second audio content is built-in audio content of the first target electronic device; or, the second audio content is audio content transmitted from other electronic devices to the first target electronic device;

[0026] Correspondingly, in the case where the second audio content is audio content transmitted by the first electronic device to the first target electronic device, the method further includes:

[0027] The second audio content is transmitted to the first target electronic device.

[0028] In some embodiments, after sending the acquired audio stop instruction to the first target electronic device, the method further includes:

[0029] Receive the stop play time and audio identification information of the first audio content sent by the first target electronic device.

[0030] In some embodiments, the method further comprises:

[0031] determining a second target electronic device from the at least one second electronic device by using the first light sensor, the second target electronic device being different from the first target electronic device;

[0032] When the first wireless communication module is in communication connection with the second wireless communication module in the second target electronic device, the acquired second operation instruction is sent to the second target electronic device, so that the second target electronic device performs a second operation in response to the second operation instruction.

[0033] In some embodiments, the second operation instruction is an audio playback instruction, and sending the acquired second operation instruction to the second target electronic device so that the second target electronic device performs the second operation in response to the second operation instruction includes:

[0034] Acquire corresponding target audio content according to the audio identification information of the first audio content;

[0035] The audio playback instruction, the stop playback time of the first audio content and the target audio content are sent to the second target electronic device, so that the second target electronic device responds to the audio playback instruction and continues to play the target audio content from the moment in the target audio content that is the same as the stop playback time of the first audio content.

[0036] An embodiment of the present application provides a first electronic device, in which a first light sensor and a first wireless communication module are provided.

[0037] a first light sensor, configured to determine a first target electronic device from at least one second electronic device;

[0038] The first wireless communication module is used to send the acquired first operation instruction to the first target electronic device when it is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device performs a first operation in response to the first operation instruction.

[0039] The information processing device provided in the embodiment of the present application includes:

[0040] a determination module, configured to determine a first target electronic device from at least one second electronic device by using the first optical sensor;

[0041] A sending module is used to send the acquired first operation instruction to the first target electronic device when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs a first operation.

[0042] The computer device provided in the embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method described in the embodiment of the present application is implemented.

[0043] The computer-readable storage medium provided in the embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the method provided in the embodiment of the present application is implemented.

[0044] The information processing method, apparatus, computer device and computer-readable storage medium provided in the embodiments of the present application are configured to set a first light sensor and a first wireless communication module on a first electronic device to determine a first target electronic device from at least one second electronic device through the first light sensor, and to send an acquired first operation instruction to the first target electronic device when the first wireless communication module is in communication connection with a second wireless communication module in the first target electronic device, so that the first target electronic device performs a first operation in response to the first operation instruction.

[0045] In the embodiment of the present application, the target electronic device required by the user can be directly selected from multiple second electronic devices through the first light sensor set in the first electronic device, so that the target electronic device performs the corresponding operation indicated by the user. In this way, when the user selects the target electronic device for operation, there is no need to select the target electronic device from multiple second electronic devices presented in the first electronic device through operations such as clicking on the first electronic device, and the target electronic device is directly determined based on the first light sensor, thereby simplifying the operation steps of determining the target electronic device, simplifying the operation process, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0047] Figure 1 An application scenario diagram of the information processing method provided in the embodiment of the present application;

[0048] Figure 2 A schematic diagram of the implementation flow of the information processing method provided in the embodiment of the present application;

[0049] Figure 3 A schematic diagram of establishing a communication connection between electronic devices in the related art provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of an implementation flow of a first electronic device sending an operation instruction to a first target electronic device provided in an embodiment of the present application;

[0051] Figure 5 A schematic diagram of the implementation flow of the information processing method provided in the embodiment of the present application;

[0052] Figure 6 A schematic diagram of a light sensor transmitting a signal provided in an embodiment of the present application;

[0053] Figure 7 A schematic diagram of the implementation process of the second target electronic device playing audio content provided in an embodiment of the present application;

[0054] Figure 8 A schematic diagram of audio content transfer playback provided in an embodiment of the present application;

[0055] Fig. 9 A schematic diagram of the implementation process of the second target electronic device playing audio content provided in an embodiment of the present application;

[0056] Fig.10 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0057] Fig.11 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0060] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0061] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0062] Currently, a single user may use multiple types of smart electronic devices at the same time, and when using multiple types of electronic devices, the user will also interact between the multiple types of electronic devices. For example, when playing audio content, the currently used electronic device will be paired with other electronic devices, connected, and the volume / track adjustment will be performed.

[0063] When performing interactive operations between different electronic devices, some methods often require users to perform complicated clicks and slides on the screen of the main electronic device in order to select the desired controlled device to control the controlled device to perform related operations. In other methods, users may connect to other electronic devices in the same local area network through gestures or actions. However, when users use gestures to perform interactive operations, the actions they use are often inconsistent with the user's operating intuition (for example, shaking the wrist three times to switch to the next song, and so on). In addition, some operations require all electronic devices to be connected to the Internet in order to complete the operation recognition, which is not very convenient in certain situations.

[0064] In view of this, an embodiment of the present application provides an information processing method, which is applied to a first electronic device, wherein a first light sensor and a first wireless communication module are provided in the first electronic device. Figure 1 FIG. 1 is an application scenario diagram of an information processing method in an embodiment. Figure 1 As shown, the user can carry, wear or use the first electronic device 10, which may include but is not limited to mobile phones, wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), tablet computers, laptops, vehicle terminals, PCs (Personal Computers), etc. The functions implemented by the method can be implemented by calling program codes by a processor in the electronic device, and of course the program codes can be stored in a computer storage medium. It can be seen that the first electronic device at least includes a processor and a storage medium.

[0065] Figure 2 The following is a schematic diagram of the implementation process of the information processing method provided in the embodiment of the present application. Figure 2 As shown, the method is applied to a first electronic device, in which a first light sensor and a first wireless communication module are provided. The method may include the following steps 201 to 202:

[0066] Step 201: determine a first target electronic device from at least one second electronic device using a first light sensor.

[0067] Understandably, if Figure 3 As shown, in the related art, when an interactive operation is performed with other electronic devices through a first electronic device, it is generally necessary to first enter the communication connection interface of the first electronic device, which displays multiple second electronic devices that can establish communication connections with the first electronic device, such as Figure 3 ; then, the user needs to perform tedious operations such as clicking and sliding on the current interface to select the desired target electronic device from multiple second electronic devices, and click the target electronic device on the current interface (such as Figure 3 Only by looking at Xiao Ming's speaker shown in the figure can the target electronic device (Xiao Ming's speaker) be determined as the device that the user wants to interact with based on the first electronic device, and a communication connection is established with the target electronic device (Xiao Ming's speaker).

[0068] It can be seen that in the above method, the process of the first electronic device determining the target electronic device from multiple second electronic devices is relatively cumbersome and complicated, and the user experience is not good.

[0069] Based on this, in the embodiment of the present application, by setting a first light sensor in the first electronic device and setting a second light sensor in each of the plurality of second electronic devices, the first target electronic device can be directly determined from at least one second electronic device based on the first light sensor. In this way, the user can directly determine the target electronic device from the plurality of second electronic devices without going through a cumbersome interface selection process, thereby improving the user experience.

[0070] In some embodiments, step 201 may be implemented by executing steps 503 to 505 in the following steps.

[0071] In the embodiments of the present application, there is no limitation on the type of the optical sensor, for example, the optical sensor may be an infrared sensor, or a laser sensor, etc.

[0072] Step 202, when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, the acquired first operation instruction is sent to the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs the first operation.

[0073] It should be noted that the first electronic device provided in the embodiment of the present application is also provided with a first wireless communication module, and each second electronic device is provided with a second wireless communication module. After the first electronic device determines the target electronic device based on the first light sensor, information and operation instructions are transmitted through the wireless communication module.

[0074] Of course, the specific form of the wireless communication module is not limited in the embodiments of the present application. For example, the wireless communication module may be a Bluetooth communication module, or the wireless communication module may be a WIFI communication module, etc.

[0075] It is understandable that before the first electronic device determines the first target electronic device, the first electronic device may have established a communication connection with part or all of the at least one second electronic device in advance. That is, the first electronic device may have established a Bluetooth connection or a WIFI connection with the first target electronic device in advance. In this case, after the first electronic device determines the first target electronic device, it can send the first operation instruction to the first target electronic device through the first wireless communication module.

[0076] Of course, before the first electronic device determines the first target electronic device, the first electronic device may not pre-select to establish a communication connection with the first target electronic device. Based on this, in some embodiments, the purpose of sending the first operation instruction to the first target electronic device can be achieved by executing the following steps 401 to 403:

[0077] Step 401 , determining whether a communication connection is established between a first wireless communication module and a second wireless communication module in a first target electronic device; if yes, executing step 402 ; otherwise, executing step 403 .

[0078] Step 402: Send the acquired first operation instruction to the first target electronic device.

[0079] Here, if it is determined that the first wireless communication module in the first electronic device has established a communication connection with the second wireless communication module in the first target electronic device, the acquired first operation instruction can be directly sent to the first target electronic device.

[0080] Step 403: establish a communication connection with a second wireless communication module in a first target electronic device through the first wireless communication module, and send the acquired first operation instruction to the first target electronic device.

[0081] Here, if it is determined that the first wireless communication module in the first electronic device and the second wireless communication module in the first target electronic device have not established a communication connection in advance, a communication connection can be established with the second wireless communication module in the first target electronic device through the first wireless communication module, such as establishing a Bluetooth connection or a WiFi connection; then, the first electronic device sends the acquired first operation instruction to the first target electronic device based on the wireless communication module.

[0082] In the embodiment of the present application, by setting a first light sensor in the first electronic device, the target electronic device required by the user can be directly selected from multiple second electronic devices, so that the target electronic device performs the corresponding operation indicated by the user. In this way, when the user selects the target electronic device for operation, there is no need to select the target electronic device from multiple second electronic devices presented in the first electronic device by clicking on the first electronic device, and the target electronic device is directly determined based on the first light sensor, thereby simplifying the operation steps of determining the target electronic device, simplifying the operation process, and improving the user experience.

[0083] Figure 5 The following is a schematic diagram of the implementation process of the information processing method provided in the embodiment of the present application. Figure 5 As shown, the method is applied to a first electronic device, and the method may include the following steps 501 to 506:

[0084] Step 501, identifying whether the first electronic device has a communication intention;

[0085] In the embodiment of the present application, there is no limitation on the activation time of the first light sensor, and the first light sensor can be activated in real time or when in use.

[0086] Of course, if the optical sensor provided in the electronic device is in a real-time on state, it may cause a problem of high power consumption loss. Therefore, in a preferred embodiment, it can be turned on when it is identified that the user using the first electronic device has the intention to communicate. That is, it is turned on when it is identified whether the user wants to use the first electronic device to communicate with other electronic devices, interact with each other, etc.

[0087] In the embodiment of the present application, the specific method for identifying whether the first electronic device has the intention to communicate is not limited. For example, the first electronic device may be provided with a motion sensor, a gesture recognition sensor, a touch screen, a power module, and a processor, etc., in addition to the first light sensor and the first wireless communication module. In this way, the first electronic device can obtain the user's action through the motion sensor to determine whether the user has the intention to communicate based on the user's action.

[0088] Taking the first electronic device as a watch as an example, to identify whether the user wearing the watch has the intention to communicate, the motion sensor set in the watch can identify the user's wrist lifting angle. If the wrist lifting angle is greater than a threshold, it can be determined that the user has the intention to communicate.

[0089] It is understandable that in actual applications, users will often raise their wrists unconsciously or make various hand movements. In this case, if the motion sensor recognizes that the user's wrist lifting angle is greater than the threshold, it will also determine that the user has the intention to communicate, thereby turning on the first light sensor. This will cause the first light sensor to be turned on frequently or unnecessarily, thereby increasing the power consumption of the watch.

[0090] Based on this, in a preferred embodiment, the current location of the first electronic device can also be identified; when the current location is a specific location and the wrist lifting angle is greater than a threshold, it is determined that the first electronic device has the intention to communicate.

[0091] Here, the specific setting of the specific location is not limited, for example, the specific location may be the user's home. Considering that when the user is at home, there are generally many second electronic devices at home, when it is detected that the user's current location is home and the user's wrist lifting angle is greater than the threshold, it is determined that the user's first electronic device has a communication intention.

[0092] Alternatively, in another preferred embodiment, it is also possible to check whether there is a second electronic device with an turned on wireless communication module near the first electronic device. If there is a second electronic device with an turned on wireless communication module, and the second electronic device has established a communication connection with the first electronic device, then when it is detected that the user's wrist lifting angle is greater than a threshold, it can be determined that the first electronic device has the intention to communicate.

[0093] Step 502: When it is determined that the first electronic device has a communication intention, turn on the first light sensor.

[0094] By implementing the above-mentioned identification method, when it is determined that the first electronic device has the intention to communicate, the first light sensor in the first electronic device can be turned on.

[0095] Step 503: emitting a first infrared signal within a preset range through a first light sensor.

[0096] Here, the first light sensor may be an infrared sensor.

[0097] The first electronic device may be provided with an infrared sensor (infrared transmitter), such as Figure 6 As shown, when a user uses a first electronic device (such as a watch), the infrared sensor on the first electronic device can emit a first infrared signal within a preset range. In this way, the user can operate the target electronic device more directly and intuitively.

[0098] In some embodiments, Figure 6 As shown, the user can transmit a first infrared signal (such as a first infrared signal) within a preset range through the infrared sensor on the first electronic device in a direction parallel to the palm of the hand. Figure 6 solid line).

[0099] Step 504: receiving a second infrared signal, where the second infrared signal is emitted by one of the at least one second electronic device through a second light sensor after receiving the first infrared signal, and each of the at least one second electronic device is provided with a second light sensor.

[0100] It should be noted that at least one second electronic device is also provided with a second light sensor, a power module, a processor, and a second wireless communication module. Thus, when the first electronic device transmits a first infrared signal within a preset range through the first light sensor, the second electronic device within the preset range can send a second infrared signal (such as a second infrared signal) to the first electronic device through the second light sensor after receiving the first infrared signal. Figure 6 dotted line).

[0101] Step 505: determine one of the electronic devices that sends the second infrared signal as the first target electronic device.

[0102] After receiving the second infrared signal, the first electronic device can determine the electronic device that transmits the second infrared signal as the first target electronic device.

[0103] In an embodiment of the present application, a user transmits a first infrared signal to one of the electronic devices within a preset range (the electronic device is a device that the user wants to control or perform interactive operations on) through a first infrared sensor in a first electronic device. After receiving the first infrared signal, the one of the electronic devices can send a second infrared signal to the first electronic device based on a second infrared sensor set thereon. In this way, the first electronic device can complete the intention of "saying hello" to the one of the electronic devices, that is, the first electronic device determines the one of the electronic devices as the first target electronic device.

[0104] By executing the above method for determining the first target electronic device, compared with the existing method, the user can directly determine the target electronic device from multiple second electronic devices without going through a tedious interface selection process, thereby improving the user experience.

[0105] Step 506, when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, the acquired first operation instruction is sent to the first target electronic device, so that the first target electronic device performs the first operation in response to the first operation instruction.

[0106] In the embodiment of the present application, based on the difference of the first operation instruction, the operation performed by the first target electronic device after receiving the first operation instruction is also different.

[0107] In some embodiments, if the first operation instruction is an audio play instruction, the first electronic device may send the acquired audio play instruction to the first target electronic device, so that the first target electronic device plays the second audio content in response to the audio play instruction.

[0108] Here, the source of the first audio content is not limited. For example, the second audio content may be audio content transmitted from the first electronic device to the first target electronic device.

[0109] In this case, when the first electronic device sends the acquired audio play instruction to the first target electronic device, the second audio content may also be sent to the first target electronic device.

[0110] Alternatively, the second audio content is built-in audio content of the first target electronic device; or, the second audio content is audio content transmitted from other electronic devices to the first target electronic device.

[0111] In other embodiments, if the first operation instruction is an audio stop instruction, the first electronic device may send the acquired audio stop instruction to the first target electronic device, so that the first target electronic device stops playing the first audio content in response to the audio stop instruction.

[0112] Of course, the specific implementation method of the first operation instruction is not limited in the embodiment of the present application. For example, in order to better conform to the user's usage habits, when the first operation instruction is an audio playback instruction, the audio playback instruction can be set to an action of releasing the palm. The action of releasing the palm is used to instruct the first target electronic device to play audio content.

[0113] When the first operation instruction is an audio stop instruction, the audio stop instruction can be set as a hand grabbing action, and the hand grabbing action is used to instruct the first target electronic device to stop playing the audio content.

[0114] Furthermore, in some other embodiments, when the user controls the first target electronic device to stop playing the first audio content through the first electronic device, the user may want to transfer the audio content to the playback device. Based on this, after the first electronic device sends the acquired audio stop instruction to the first target electronic device, steps 701 to 703 in the following embodiments may be further executed:

[0115] Step 701: receiving a stop play time and audio identification information of a first audio content sent by a first target electronic device.

[0116] Here, after the first target electronic device stops playing the first audio content it is playing in response to the audio stop instruction, the stop playback time of the first audio content and the audio identification information of the first audio content can also be sent to the first electronic device for subsequent use by other electronic devices when playing the same audio content as the first audio content.

[0117] Step 702: Determine a second target electronic device from at least one second electronic device using a first optical sensor, where the second target electronic device is different from the first target electronic device.

[0118] Here, when the first electronic device wants to determine a second target electronic device different from the first target electronic device, it can rotate the emission direction of the first light sensor in the first electronic device to change the emission range of the first infrared signal, thereby determining the second target electronic device from at least one second electronic device.

[0119] For example, Figure 8 As shown, by changing the direction of the first light sensor in the first electronic device, the second target electronic device (earphone) can be determined from other second electronic devices in another direction.

[0120] Here, when the first electronic device determines the second target electronic device through the first light sensor, the determination method used is the same as that in the above steps 503 to 505, and will not be repeated here.

[0121] Step 703, when the first wireless communication module is in communication connection with the second wireless communication module in the second target electronic device, the acquired second operation instruction is sent to the second target electronic device, so that the second target electronic device responds to the second operation instruction and performs the second operation.

[0122] Here, the way in which the first electronic device sends the acquired second operation instruction to the second target electronic device is the same as the way in which the first electronic device sends the acquired first operation instruction to the first target electronic device, which will not be described in detail here.

[0123] When the second operation instruction is an audio play instruction, step 703 may be implemented by executing steps 901 to 902 as follows:

[0124] Step 901: Acquire corresponding target audio content according to audio identification information of first audio content.

[0125] Here, when the second operation instruction is an audio playing instruction, it means that the user wants to transfer the first audio content originally played in the first target electronic device to be played by the second target electronic device.

[0126] Based on this, the first electronic device can obtain the corresponding target audio content according to the audio identification information of the received first audio content. Of course, the target audio content can be audio content built into the first electronic device, that is, audio content downloaded and stored offline; the target audio content can also be audio content obtained by the first electronic device online.

[0127] Step 902, sending an audio playback instruction, a stop playback time of the first audio content, and a target audio content to a second target electronic device, so that the second target electronic device responds to the audio playback instruction and continues to play the target audio content from the same moment in the target audio content as the stop playback time of the first audio content.

[0128] When the first electronic device acquires the target audio content, it can send the target audio content together with the audio play instruction and the stop play time of the first audio content to the second target electronic device. In this way, the second target electronic device responds to the audio play instruction and continues to play the target audio content from the same moment in the target audio content as the stop play time of the first audio content, thereby achieving continuity in audio content playback and improving user experience.

[0129] In a specific embodiment, in order to achieve the purpose of controlling the first target electronic device to stop playing audio content through the first electronic device and continue to play the audio content through the second target electronic device, the user can wear or carry the first electronic device, and point the first light sensor provided on it to the first target electronic device that is playing music. After completing the infrared recognition operation, the user can immediately clench his palm, so that the gesture recognition sensor in the first electronic device can recognize the action instruction of the hand clenching fist, and send the action instruction to the first target electronic device. The first target electronic device can respond to the action instruction of the hand clenching fist, stop playing the first audio content, and send the stop playback time and audio identification information of the first audio content to the first electronic device.

[0130] Similarly, after executing the action instruction of making a fist, the user can turn to the second target electronic device and point the first light sensor set on the first electronic device worn or carried by the user to the second target electronic device. After completing the infrared recognition operation, the user performs the action of releasing the palm. In this way, the gesture recognition sensor in the first electronic device can recognize the action instruction of releasing the palm and send the action instruction to the second target electronic device. The second target electronic device can respond to the action instruction of releasing the palm and continue to play the target audio content from the same time in the target audio content as the time when the playback of the first audio content is stopped.

[0131] In the embodiment of the present application, by identifying whether the first electronic device has the intention to communicate, when it is determined that the first electronic device has the intention to communicate, the first light sensor is turned on; and the first infrared signal is emitted within a preset range through the first light sensor; then the second infrared signal is received, and the second infrared signal is emitted by one of the at least one second electronic device through the second light sensor after receiving the first infrared signal; based on this, one of the electronic devices that sends the second infrared signal is determined as the first target electronic device; when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, the first operation instruction obtained is sent to the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs the first operation. In this way, compared with the existing method, the user can directly determine the target electronic device from multiple second electronic devices without going through a cumbersome interface selection process, and control the second electronic device to perform the corresponding operation, thereby improving the user experience.

[0132] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0133] Based on the above embodiments, the present application provides a first electronic device, which is provided with a first light sensor and a first wireless communication module, wherein:

[0134] a first light sensor, configured to determine a first target electronic device from at least one second electronic device;

[0135] The first wireless communication module is used to send the acquired first operation instruction to the first target electronic device when it is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs the first operation.

[0136] An embodiment of the present application provides an information processing device, which includes various modules included and various units included in each module, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0137] Fig.10 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application, such as Fig.10 As shown, the device 1000 includes a determining module 1001 and a sending module 1002, wherein:

[0138] A determination module 1001, configured to determine a first target electronic device from at least one second electronic device by using the first optical sensor;

[0139] The sending module 1002 is used to send the acquired first operation instruction to the first target electronic device when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs a first operation.

[0140] In some embodiments, at least one second electronic device is each provided with a second light sensor, and the device also includes a transmitting module and a receiving module, the transmitting module is used to transmit a first infrared signal within a preset range through the first light sensor; the receiving module is used to receive a second infrared signal, and the second infrared signal is transmitted by one of the at least one second electronic devices through the second light sensor after receiving the first infrared signal; the determination module 1001 is also used to determine one of the electronic devices that sends the second infrared signal as the first target electronic device.

[0141] In some embodiments, the determination module 1001 is also used to determine whether the first wireless communication module has established a communication connection with the second wireless communication module in the first target electronic device; the sending module 1002 is also used to send the acquired first operation instruction to the first target electronic device when a communication connection is established.

[0142] In some embodiments, the sending module 1002 is also used to establish a communication connection with the second wireless communication module in the first target electronic device through the first wireless communication module when the first wireless communication module has not established a communication connection with the second wireless communication module in the first target electronic device, and send the acquired first operation instruction to the first target electronic device.

[0143] In some embodiments, the device further includes an identification module, and the identification module is used to identify whether the first electronic device has communication intention; the determination module 1001 is further used to turn on the first light sensor when it is determined that the first electronic device has communication intention.

[0144] In some embodiments, the first operation instruction is an audio stop instruction, and the sending module 1002 is specifically used to send the acquired audio stop instruction to the first target electronic device, so that the first target electronic device stops playing the first audio content in response to the audio stop instruction.

[0145] In some embodiments, the first operation instruction is an audio playback instruction, and the sending module 1002 is specifically used to send the acquired audio playback instruction to the first target electronic device, so that the first target electronic device responds to the audio playback instruction and plays the second audio content.

[0146] In some embodiments, the second audio content is audio content transmitted from the first electronic device to the first target electronic device; or, the second audio content is built-in audio content of the first target electronic device; or, the second audio content is audio content transmitted from other electronic devices to the first target electronic device; the sending module 1002 is further used to send the second audio content to the first target electronic device.

[0147] In some embodiments, the receiving module is further used to receive the stop playing time and audio identification information of the first audio content sent by the first target electronic device.

[0148] In some embodiments, the determination module 1001 is also used to determine a second target electronic device from the at least one second electronic device through the first light sensor, and the second target electronic device is different from the first target electronic device; the sending module 1002 is also used to send the acquired second operation instruction to the second target electronic device when the first wireless communication module is in communication connection with the second wireless communication module in the second target electronic device, so that the second target electronic device responds to the second operation instruction and performs a second operation.

[0149] In some embodiments, the second operation instruction is an audio playback instruction, and the device further includes an acquisition module, which is used to acquire the corresponding target audio content according to the audio identification information of the first audio content; the sending module 1002 is also used to send the audio playback instruction, the stop playback time of the first audio content and the target audio content to the second target electronic device, so that the second target electronic device responds to the audio playback instruction and continues to play the target audio content from the moment in the target audio content that is the same as the playback stop time of the first audio content.

[0150] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0151] It should be noted that in the embodiments of this application Fig.10 The division of modules in the information processing device shown is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.

[0152] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0153] The embodiment of the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Fig.11As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0154] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.

[0155] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.

[0156] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0157] In one embodiment, the information processing device provided by the present application can be implemented in the form of a computer program. The computer program can be Fig.11 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the above-mentioned device. The computer program composed of various program modules enables the processor to execute the steps in the method of each embodiment of the present application described in this specification.

[0158] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0159] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0160] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0161] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0162] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

[0163] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0164] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0165] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0166] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0167] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0168] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0169] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0170] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An information processing method, characterized in that: The method is applied to a first electronic device, wherein the first electronic device is provided with a first light sensor and a first wireless communication module, and the method includes: determining a first target electronic device from at least one second electronic device by using the first light sensor; When the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, the acquired first operation instruction is sent to the first target electronic device, so that the first target electronic device performs a first operation in response to the first operation instruction.

2. The method according to claim 1, characterized in that The at least one second electronic device is respectively provided with a second light sensor, and the determining of the first target electronic device from the at least one second electronic device by using the first light sensor includes: Transmitting a first infrared signal within a preset range through the first light sensor; receiving a second infrared signal, where the second infrared signal is emitted by one of the at least one second electronic devices through the second light sensor after receiving the first infrared signal; The one of the electronic devices that sends the second infrared signal is determined as the first target electronic device.

3. The method according to claim 1, characterized in that The step of sending the acquired first operation instruction to the first target electronic device further includes: Determining whether the first wireless communication module establishes a communication connection with a second wireless communication module in the first target electronic device; When the communication connection is established, the first operation instruction obtained is sent to the first target electronic device.

4. The method according to claim 3, characterized in that The method further comprises: When the first wireless communication module has not established a communication connection with the second wireless communication module in the first target electronic device, a communication connection is established with the second wireless communication module in the first target electronic device through the first wireless communication module, and the acquired first operation instruction is sent to the first target electronic device.

5. The method according to claim 1, characterized in that Before determining the first target electronic device from at least one second electronic device by using the first light sensor, the method further includes: identifying whether the first electronic device has a communication intention; When it is determined that the first electronic device has the intention to communicate, the first light sensor is turned on.

6. The method according to claim 1, characterized in that The first operation instruction is an audio stop instruction, and sending the acquired first operation instruction to the first target electronic device so that the first target electronic device performs a first operation in response to the first operation instruction includes: The acquired audio stop instruction is sent to the first target electronic device, so that the first target electronic device stops playing the first audio content in response to the audio stop instruction.

7. The method according to claim 1, characterized in that The first operation instruction is an audio playback instruction, and sending the acquired first operation instruction to the first target electronic device so that the first target electronic device performs a first operation in response to the first operation instruction includes: The acquired audio play instruction is sent to the first target electronic device, so that the first target electronic device plays the second audio content in response to the audio play instruction.

8. The method according to claim 7, characterized in that The second audio content is audio content transmitted from the first electronic device to the first target electronic device; or, the second audio content is built-in audio content of the first target electronic device; or, the second audio content is audio content transmitted from other electronic devices to the first target electronic device; Correspondingly, in the case where the second audio content is audio content transmitted by the first electronic device to the first target electronic device, the method further includes: The second audio content is transmitted to the first target electronic device.

9. The method according to claim 6, characterized in that After sending the acquired audio stop instruction to the first target electronic device, the method further includes: Receive the stop play time and audio identification information of the first audio content sent by the first target electronic device.

10. The method according to claim 9, characterized in that The method further comprises: determining a second target electronic device from the at least one second electronic device by using the first light sensor, the second target electronic device being different from the first target electronic device; When the first wireless communication module is in communication connection with the second wireless communication module in the second target electronic device, the acquired second operation instruction is sent to the second target electronic device, so that the second target electronic device performs a second operation in response to the second operation instruction.

11. The method according to claim 10, characterized in that The second operation instruction is an audio playback instruction, and sending the acquired second operation instruction to the second target electronic device so that the second target electronic device performs the second operation in response to the second operation instruction includes: Acquire corresponding target audio content according to the audio identification information of the first audio content; The audio playback instruction, the stop playback time of the first audio content and the target audio content are sent to the second target electronic device, so that the second target electronic device responds to the audio playback instruction and continues to play the target audio content from the moment in the target audio content that is the same as the stop playback time of the first audio content.

12. A first electronic device, characterized in that: A first light sensor and a first wireless communication module are provided, wherein: The first light sensor is used to determine a first target electronic device from at least one second electronic device; The first wireless communication module is used to send the acquired first operation instruction to the first target electronic device when it is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device performs a first operation in response to the first operation instruction.

13. An information processing device, characterized in that: include: a determination module, configured to determine a first target electronic device from at least one second electronic device by using the first optical sensor; A sending module is used to send the acquired first operation instruction to the first target electronic device when the first wireless communication module is in communication connection with the second wireless communication module in the first target electronic device, so that the first target electronic device responds to the first operation instruction and performs a first operation.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 11 are implemented.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.