Method, device and terminal for managing detachable modules of terminal

By using the spatial audio technology of the audio module in a modular terminal, matching audio information is generated and played according to the module position, the module management problem is solved and the efficient search and management of the module is realized.

CN114461022BActive Publication Date: 2024-12-03VIVO MOBILE COMM CO LTD
View PDF 23 Cites 0 Cited by

Patent Information

Application Number
CN202210121975.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-09
Publication Date
2024-12-03
Estimated Expiration
2042-02-09

AI Technical Summary

Technical Problem

After the modular terminal is disassembled, each module is independent and scattered, which is prone to loss and lacks system management, resulting in management difficulties.

Method used

By establishing a communication connection between the main body of the terminal and the separable module, the position information of the module is obtained, and the spatial audio information of matching positions is played by the audio module, guiding the user to find the module, thereby realizing the management of the module.

Benefits of technology

It effectively solves the problem of module management, guides users to find modules through spatial audio technology, and improves the management efficiency and user experience of modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461022B_ABST
    Figure CN114461022B_ABST
Patent Text Reader

Abstract

The present application discloses a detachable module management method, device and terminal of a terminal, belonging to the field of communication technology. The terminal includes a main body and a detachable module, the main body and the detachable module are in communication connection, and the main body has an audio module, the method includes: when the main body and the detachable module are in a detached state, obtaining the first position information of the detachable module; generating first audio information according to the first position information; controlling the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method, device and terminal for managing detachable modules of a terminal. Background Art

[0002] Modular terminals are terminals that allow users to assemble and replace accessories by themselves. These accessories can be assembled in a modular manner, allowing users to replace accessories such as processors, memory, flash memory, cameras or casings according to their own needs.

[0003] At present, modular terminals are relatively scattered after disassembly, each module is independent of each other, easy to lose, and lacks system management. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device and terminal for managing detachable modules of a terminal, which can solve the problem of lack of management of each independent module in a modular terminal.

[0005] In a first aspect, an embodiment of the present application provides a detachable module management method of a terminal, wherein the terminal includes a main body and a detachable module, the main body and the detachable module are communicatively connected, and the main body has an audio module, and the method includes:

[0006] When the main body and the detachable module are in a detached state, acquiring first position information of the detachable module;

[0007] generating first audio information according to the first position information;

[0008] The audio module is controlled to play the first audio information, wherein a sound source position represented when the first audio information is played matches the first position information.

[0009] In a second aspect, an embodiment of the present application provides a detachable module management device for a terminal, wherein the terminal includes a main body and a detachable module, the main body and the detachable module are communicatively connected, and the main body has an audio module, and the device includes:

[0010] A first acquisition module, configured to acquire first position information of the detachable module when the main body and the detachable module are in a detached state;

[0011] A first generating module, used to generate first audio information according to the first position information;

[0012] The first playing module is used to control the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information.

[0013] In a third aspect, an embodiment of the present application provides a terminal comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In an embodiment of the present application, when the main body in the terminal and the detachable module in the terminal are in a detached state, the first position information of the detachable module is obtained; first audio information is generated according to the first position information; and the audio module in the main body is controlled to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information. In this way, by playing a spatial sound source whose sound source position matches the position of the detachable module, the user can be guided to find the detachable module, thereby realizing the management of the detachable module in the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a detachable module management method of a terminal provided in an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of the effect of searching for separable modules based on the main body;

[0019] Figure 3 It is one of the display diagrams of the user interface for managing the terminal module;

[0020] Figure 4 It is one of the schematic diagrams of the user's operation on the user interface;

[0021] Figure 5 This is the second display diagram of the user interface for managing the terminal module;

[0022] Figure 6 This is a third display diagram of a user interface for managing a terminal module;

[0023] Figure 7 This is the second schematic diagram of the user's operation on the user interface;

[0024] Figure 8This is a fourth display diagram of a user interface for managing a terminal module;

[0025] Fig. 9 It is a fifth display diagram of a user interface for managing a terminal module;

[0026] Fig.10 is a structural diagram of a detachable module management device for a terminal provided in an embodiment of the present application;

[0027] Fig.11 is a structural diagram of a terminal provided in an embodiment of the present application;

[0028] Fig.12 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0031] The detachable module management of the terminal provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0032] Figure 1 is a flowchart of a detachable module management method of a terminal provided in an embodiment of the present application, wherein the terminal comprises a main body and a detachable module, wherein the main body and the detachable module are communicatively connected, and the main body has an audio module, such as Figure 1 As shown, the following steps are included:

[0033] Step 101 : when the main body and the detachable module are in a detached state, obtaining first position information of the detachable module.

[0034] In this step, the terminal may be a modular terminal, which may include a main body and detachable modules. The number of detachable modules may be one, two or even more, and the main body and the detachable modules may work independently.

[0035] The main body may have an audio module, which may be a wired headset, a wireless headset, or a speaker. For example, the audio module includes at least two speakers. One of the purposes of this embodiment is to manage the various detachable modules of the terminal based on the main body of the terminal, so as to guide the user to find the detachable modules of the terminal with the help of the audio module in the main body. Among them, the difference between wireless headsets and wired headsets can be: wireless headsets can include an electronic compass sensor, which can sense the angle information of the wireless headset relative to a certain direction, which can be the true north direction, the magnetic north direction or other directions.

[0036] In addition, the main body may include a display module, and the display module may include a display screen, which can display content, so that each module of the terminal can be managed.

[0037] Both the main body and the detachable module have wireless communication functions. Each module can communicate with other modules through wireless communication technology. The wireless communication technology can be indoor positioning communication technology such as Ultra Wide Band (UWB), Bluetooth technology or Wireless Fidelity (WiFi) technology.

[0038] For example, both the main body and the detachable module may include Bluetooth function, and the wireless communication connection between the main body and the detachable module may be performed via Bluetooth. For another example, both the main body and the detachable module may include Wireless Fidelity (WiFi) function, and the wireless communication connection between the main body and the detachable module may be performed via WiFi.

[0039] The main body and the detachable module can automatically establish a communication connection within the range of the communicative connection, or can establish a communication connection when a preset input is made to the main body, which is not specifically limited here.

[0040] In the case where the main body includes a display module and an audio module, the display module also needs to establish a communication connection with the audio module so as to guide the user to find the detachable module of the terminal with the help of the audio module. In the case where the audio module is a wired headset, the wired headset can be connected to the display module by wire, and in the case where the audio module is a wireless headset or speaker, the display module and the audio module can be connected wirelessly through Bluetooth technology or other wireless communication technologies.

[0041] When the main body and the detachable module are communicatively connected, the main body and the detachable module can communicate with each other, the detachable module can send the first position information obtained by the positioning technology to the main body, and correspondingly, the main body can receive the first position information sent by the detachable module.

[0042] The first position information may include a global positioning system (GPS) coordinate position, or may include other coordinate positions, which are not specifically limited here. The first position information may also include angle information of the body relative to the detachable module.

[0043] Step 102: Generate first audio information according to the first position information.

[0044] In this step, the first audio information may be directly generated according to the first position information when the first position information is acquired, or the first audio information may be generated according to the first position information when an input to the main body is received.

[0045] In an optional implementation, when the display module is connected to the audio module, if an input to the display module is received, the first target audio information can be obtained. The input can be voice input, gesture input, touch input, or shake input, etc. The touch input can include long press input, slide input, click input, or drag input, etc. In the following description, the input will be described by taking touch input as an example.

[0046] In one example, a first identification icon of the detachable module and a second identification icon of the display module may be displayed on the display screen of the display module, and when an input of dragging the first identification icon to the second identification icon is received, the first target audio information may be acquired.

[0047] The first target audio information may be audio information including any voice content. For example, the first target audio information may include the voice content “I am here”.

[0048] When an input of dragging the first identification icon to the second identification icon is received, the pre-stored audio information may be used as the first target audio information, or the first target audio information may be generated, which is not specifically limited here.

[0049] Afterwards, the first audio information can be generated according to the first position information and the first target audio information. The first audio information can be spatial audio information. The first target audio information can be converted into a spatial sound source with sound level difference and time difference based on the first position information through spatial audio technology to obtain the first audio information.

[0050] In an optional implementation, the first position information and the first target audio information may be sent to an audio module. Accordingly, the audio module may convert the first target audio information into a spatial sound source with sound level difference and time difference based on the first position information through spatial audio technology to obtain the first audio information.

[0051] Step 103: Control the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information.

[0052] In this step, the display module in the main body can control the audio module to play the first audio information, and the sound source position represented when playing the first audio information matches the first position information.

[0053] Among them, spatial audio technology can use the principle that the human ear can distinguish the direction of sound to locate objects. That is, a sound source point is set. When the headphones can identify the relative spatial position between the human ear and the sound source point, the spatial audio technology can play sounds with different time differences and sound level differences in the two ears, and even simulate the effect of auricle reflection. This technology allows users to feel that the sound is coming from the direction of the sound source point.

[0054] The principle of the human ear distinguishing the direction of sound is as follows: the reason why the human ear can clearly determine the direction from which the sound comes is because the sound produces a time difference and a sound level difference in the two ears, and the user can determine the direction of the sound source based on the time difference and the sound level difference. The time difference is due to the slight difference in the distance from the sound source to the human ear; and the sound level difference is due to the head blocking the sound, and the human ear feels different volumes on the left and right sides. On the other hand, the ability to judge the direction of the sound from the upper and lower sides is attributed to the existence of the auricle. The sound from the upper and lower sides produces different reflection effects in the auricle, and the difference can be captured by the human ear.

[0055] Correspondingly, when the main body obtains the first position information and the first target audio information, it can determine the spatial relative position between the audio module and the separable module based on the first position information, and convert the first target audio information into a spatial sound source with the separable module position as the sound source position, that is, the separable module as the sound source point through spatial audio technology. The spatial sound source carries information about time difference and sound level difference, so that from the user's perspective, it can be perceived as sound coming from the direction of the separable module.

[0056] The effect diagram of searching for separable modules based on the ontology is as follows Figure 2As shown, the main body may include a display module and an audio module. When the display module 201 is connected to the audio module 202, the first target audio information may be converted into a spatial sound source with the separable module as the sound source point based on the spatial relative position of the audio module 202 and the separable module 203 (which may include a distance L and an angle Φ), so that from the user's perspective, it can be perceived as a sound coming from the direction of the separable module, and the spatial sound source may include the voice content "I am here". Among them, the angle Φ may be converted based on the coordinate position in the first position information and the position of the audio module, or may be determined based on the angle information of the display module relative to the separable module in the first position information, which is not specifically limited here.

[0057] In this embodiment, when the main body in the terminal and the detachable module in the terminal are in a detached state, the first position information of the detachable module is obtained; first audio information is generated according to the first position information; and the audio module in the main body is controlled to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information. In this way, the user can be guided to find the detachable module by playing the spatial sound source whose sound source position matches the detachable module position, thereby realizing the management of the detachable module in the terminal.

[0058] The above description is based on the main body to guide the search for the detachable module. When the display module of the terminal is also lost, the terminal can search based on the following method. Afterwards, when the display module is obtained, the main body is used to guide the search for the detachable module.

[0059] Optionally, the main body includes a display module, the audio module is a wireless headset, and the method further includes:

[0060] When the display module is in communication connection with the wireless headset, obtaining second position information of the display module and target angle information of the display module relative to the wireless headset;

[0061] generating second audio information according to the second position information and the target angle information;

[0062] The wireless headset is controlled to play the second audio information, wherein the sound source position represented when the second audio information is played matches the second position information.

[0063] Specifically, the audio module may be a wireless headset, which may have a built-in electronic compass sensor. When the display module and the audio module are within a communicable connection range, the display module may establish a wireless connection with the wireless headset.

[0064] When the display module is connected to the wireless headset, the terminal can obtain the second position information of the display module obtained by the display module through the positioning technology, and can obtain the target angle information of the display module relative to the wireless headset through the built-in electronic compass sensor. The second position information may include GPS coordinates or other coordinates, which are not specifically limited here.

[0065] At the same time, second target audio information may be obtained, wherein the method for obtaining the second target audio information and the included voice content may be similar to those of the first target audio information, and will not be described in detail here.

[0066] Afterwards, the second position information, the target angle information, and the second target audio information can be sent to the wireless headset. Accordingly, when the wireless headset receives this information, it can determine the spatial relative position between the wireless headset and the display module based on the second position information and the target angle information, and convert the second target audio information into a spatial sound source with the display module position as the sound source position, that is, with the display module as the sound source point, through the spatial audio technology based on the spatial relative position. The spatial sound source carries information about the time difference and the sound level difference, so that from the user's perspective, it can be perceived as a sound coming from the direction of the display module.

[0067] In this embodiment, when the display module is in communication connection with the wireless headset, the second position information of the display module and the target angle information of the display module relative to the wireless headset are obtained; second audio information is generated according to the second position information and the target angle information; the wireless headset is controlled to play the second audio information, wherein the sound source position represented when playing the second audio information matches the second position information. In this way, the display module can be searched, thereby realizing the management of each module of the terminal.

[0068] Optionally, step 102 specifically includes:

[0069] When receiving a first input for rotating the main body, obtaining first angle change information of the main body relative to the detachable module;

[0070] First audio information is generated according to the first position information and the first angle change information.

[0071] In this embodiment, the first input is used to rotate the body. Accordingly, when the first input is received, the relative angle between the body and the detachable module will change, and the first angle change information of the body relative to the detachable module can be obtained. The first angle change information can be characterized as the relative angle change amount and change direction between the body and the detachable module. Specifically, the angle and direction of rotation can be detected, and the first angle change information can be determined based on the angle and direction of rotation. The relative angle between the body and the detachable module can also be obtained in real time through an electronic compass sensor, and the first angle change information can be determined based on the relative angle between the body and the detachable module obtained at different times.

[0072] Afterwards, the first angle change information may be sent to the audio module so that the audio module generates the first audio information based on the first angle change information and the first position information.

[0073] Correspondingly, when the audio module receives the first angle change information, it can redetermine the spatial relative position of the audio module and the detachable module based on the first angle change information and the first position information, that is, it can redetermine the angle Φ, and then based on the redetermined spatial relative position of the audio module and the detachable module, it can convert the first target audio information into a spatial sound source with the detachable module as the sound source point to obtain the first audio information, so that during the rotation of the main body, the user can always perceive the sound as coming from the direction of the detachable module.

[0074] That is to say, during the rotation of the main body, the spatial relative positions of the audio module and the detachable module are updated, thereby updating the time difference and sound level difference of the spatial sound source, so that during the rotation of the main body, the user can always perceive the sound as coming from the direction of the detachable module.

[0075] In this embodiment, when receiving a first input for rotating the body, the first angle change information of the body relative to the detachable module is obtained; and the first audio information is generated according to the first position information and the first angle change information. In this way, the time difference and the sound level difference of the played spatial sound source can be synchronously adjusted based on the relative angle change between the body and the detachable module, so that in the process of rotating the body, the user can always perceive the sound as coming from the direction of the detachable module, thereby improving the user experience.

[0076] Optionally, the method further includes:

[0077] Displaying a first identification icon of the detachable module on the display module;

[0078] When a second input to the first identification icon is received, a communication connection is established between the display module and the detachable module.

[0079] In this implementation, in addition to managing the various modules of the terminal by guiding the user to find the various modules of the terminal through the spatial audio technology, the various modules of the terminal can also be managed through the user interface.

[0080] The main body may include a display module, and the display module includes a display screen. A user interface may be displayed on the display screen, and the user interface may be used to manage various modules of the terminal.

[0081] The first identification icon of the detachable module can be displayed on the display screen. The first identification icon can be displayed at any position on the display screen. Its display state can include two states. In the default state, its display state can be an unconnected state, indicating that no communication connection is established with the display module. Figure 3 As shown, identification icon 301 , identification icon 302 , identification icon 303 , identification icon 304 and identification icon 305 may all be first identification icons, and each first identification icon corresponds to a detachable module.

[0082] When receiving the second input to the first identification icon, the display module and the detachable module can be communicatively connected. The second input can be voice input, gesture input, touch input, or shake input, etc. The touch input can include long press input, slide input, click input, or drag input, etc. In the following description, the second input will be described by taking touch input as an example.

[0083] In one example, if Figure 4 As shown, the user can long press the identification icon 301, and accordingly, the terminal can receive the second input to the identification icon 301, and the display module and the detachable module are connected for communication. Accordingly, the display state of the identification icon 301 can be updated to a connection state, indicating that the detachable module corresponding to the identification icon 301 has been connected for communication with the display module.

[0084] In this embodiment, by displaying the first identification icon of the detachable module on the display module, and upon receiving the second input to the first identification icon, the display module and the detachable module are connected in communication, so that the connection management of each module of the terminal is realized through the user interface.

[0085] Optionally, the method further includes:

[0086] Displaying a second identification icon of the display module on the display module;

[0087] When the display module is in communication connection with the detachable module, based on the positional relationship between the display module and the detachable module, the display position of the first identification icon is updated with the display position of the second identification icon as a reference position.

[0088] In this embodiment, a second identification icon of the display module may also be displayed on the display screen, and the second identification icon may be displayed at any position.

[0089] In one example, the second identification icon may be displayed in the center of the user interface. Figure 3 As shown, the identification icon 306 is an identification icon of the display module, and is displayed at the center of the user interface.

[0090] When the display module is communicatively connected to the detachable module, the terminal can take the display module as the core and the center of the user interface as the location of the display module. The terminal can take the location displayed in the center of the user interface as its own reference point, and update the display position of the first identification icon based on the positional relationship between the display module and the detachable module.

[0091] Specifically, the position information sent by the detachable module can be converted into the relative position of the corresponding identification icon and the center of the interface, and the identification icon of the detachable module can be moved to the corresponding position, such as Figure 5 When the communication connections of all detachable modules are activated, the user interface is a map of the positions of the detachable modules relative to the display module, as shown in Figure 6 shown.

[0092] When the detachable module of the management terminal is no longer needed, you can also long press the identification icon of the detachable module to disconnect the communication connection between the display module and the detachable module. Accordingly, the display state of the identification icon of the detachable module is restored to the unconnected state, and the display position can be restored to the default position.

[0093] In this embodiment, by displaying the second identification icon of the display module on the display module, when the display module is in communication connection with the detachable module, based on the positional relationship between the display module and the detachable module, the display position of the first identification icon is updated with the display position of the second identification icon as a reference position. In this way, the display management of the positions of various modules of the terminal can be implemented through the user interface.

[0094] Optionally, when the second identification icon of the display module and the first identification icon of the detachable module are displayed on the display module, the method further includes:

[0095] When a third input associating the first identification icon with the second identification icon is received, path information from the display module to the detachable module is displayed on the display module.

[0096] In this embodiment, the third input may be voice input, gesture input, touch input or shake input, etc. The touch input may include long press input, slide input, click input or drag input, etc. The third input described below will be described by taking touch input as an example.

[0097] In one example, when the display module is in communication connection with the detachable module, the user can drag the first identification icon to a preset position or onto the second identification icon to associate the first identification icon with the second identification icon, such as Figure 7 Correspondingly, the terminal may display the path information from the display module to the detachable module on the user interface, and the path information may include the distance from the display module to the detachable module and the relative angle between the display module and the detachable module, such as Figure 8 shown.

[0098] In this embodiment, when receiving the third input associating the first identification icon with the second identification icon, the path information from the display module to the detachable module is displayed on the display module. In this way, the display management of the path between the display module and the detachable module can be implemented through the user interface.

[0099] Optionally, after displaying the path information from the display module to the detachable module on the display module, the method further includes:

[0100] When receiving a fourth input for rotating the display module, obtaining second angle change information of the display module relative to the detachable module;

[0101] Based on the second angle change information, the first identification icon is controlled to rotate around the second identification icon to update the display position of the first identification icon.

[0102] In this embodiment, the user can rotate the display module, and accordingly, the detachable module management device of the terminal can receive a fourth input, and in response to the fourth input, obtain second angle change information of the display module relative to the detachable module. The second angle change information may include the angle value and direction of rotation.

[0103] An electronic compass sensor may be mounted on the display module, and the electronic compass sensor may be used to identify angle information of the display module, determine the angle of the display module relative to the detachable module, and obtain second angle change information.

[0104] A vertical upward arrow is fixedly displayed in the center of the user interface. When the user rotates the display module, the first identification icon on the display screen rotates around the arrow in the center of the screen as the rotation angle changes, so as to update the display position of the first identification icon. Fig. 9 shown.

[0105] In this embodiment, when receiving the fourth input for rotating the display module, the second angle change information of the display module relative to the detachable module is obtained; based on the second angle change information, the first identification icon is controlled to rotate around the second identification icon to update the display position of the first identification icon. In this way, during the process of rotating the display module, the display management of the relative angle between the display module and the detachable module can be implemented through the user interface.

[0106] Optionally, the method further includes:

[0107] When the angle direction of the display module relative to the detachable module is a preset direction, the path information is highlighted.

[0108] In this embodiment, when the angle direction of the display module relative to the detachable module is a preset direction, such as the vertical upward direction of the arrow, the direction of the arrow coincides with the direction of the path information, indicating that the display module is pointing directly at the detachable module, and the path information can be highlighted. The highlighting method includes but is not limited to color change, bolding, highlighting, etc. In this way, the display management of the path planning between the display module and the detachable module can be realized through the user interface.

[0109] It should be noted that the detachable module management method for a terminal provided in the embodiment of the present application can be executed by a detachable module management device for a terminal, or a control module in the detachable module management device for a terminal for executing the detachable module management method for a terminal. In the embodiment of the present application, the detachable module management device for a terminal executing the detachable module management method for a terminal is taken as an example to illustrate the detachable module management device for a terminal provided in the embodiment of the present application.

[0110] See also Fig.10 , Fig.10 : is a structural diagram of a detachable module management device of a terminal provided in an embodiment of the present application, wherein the terminal comprises a main body and a detachable module, wherein the main body and the detachable module are communicatively connected, and the main body has an audio module, such as Fig.10 As shown, the detachable module management device 1000 of the terminal includes:

[0111] A first acquisition module 1001, configured to acquire first position information of the detachable module when the main body and the detachable module are in a detached state;

[0112] A first generating module 1002, configured to generate first audio information according to the first position information;

[0113] The first playing module 1003 is used to control the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information.

[0114] Optionally, the body includes a display module, the audio module is a wireless headset, and the device further includes:

[0115] A second acquisition module, configured to acquire second position information of the display module and target angle information of the display module relative to the wireless headset when the display module is in communication connection with the wireless headset;

[0116] A second generating module, used for generating second audio information according to the second position information and the target angle information;

[0117] The second playing module is used to control the wireless headset to play the second audio information, wherein the sound source position represented when playing the second audio information matches the second position information.

[0118] Optionally, the first generating module 1002 is specifically configured to:

[0119] When receiving a first input for rotating the main body, obtaining first angle change information of the main body relative to the detachable module;

[0120] First audio information is generated according to the first position information and the first angle change information.

[0121] Optionally, the body includes a display module, and the device further includes:

[0122] A first display module, configured to display a first identification icon of the detachable module on the display module;

[0123] The connection module is used to establish a communication connection between the display module and the detachable module when receiving a second input to the first identification icon.

[0124] Optionally, the device further comprises:

[0125] a second display module, configured to display a second identification icon of the display module on the display module;

[0126] The first updating module is used to update the display position of the first identification icon by taking the display position of the second identification icon as a reference position based on the positional relationship between the display module and the detachable module when the display module is in communication connection with the detachable module.

[0127] Optionally, when the second identification icon of the display module and the first identification icon of the detachable module are displayed on the display module, the device further includes:

[0128] The third display module is configured to display path information from the display module to the detachable module on the display module when receiving a third input for associating the first identification icon with the second identification icon.

[0129] Optionally, the device further comprises:

[0130] a third acquisition module, configured to acquire second angle change information of the display module relative to the detachable module when receiving a fourth input for rotating the display module;

[0131] The second updating module is used to control the first identification icon to rotate around the second identification icon based on the second angle change information, so as to update the display position of the first identification icon.

[0132] Optionally, the device further comprises:

[0133] The fourth display module is used to highlight the path information when the angle direction of the display module relative to the detachable module is a preset direction.

[0134] In this embodiment, when the main body in the terminal and the detachable module in the terminal are in a detached state, the first position information of the detachable module is obtained by the first acquisition module 1001; the first audio information is generated according to the first position information by the first generation module 1002; the audio module in the main body is controlled to play the first audio information by the first playback module 1003, wherein the sound source position represented when playing the first audio information matches the first position information. In this way, the user can be guided to find the detachable module by playing the spatial sound source whose sound source position matches the detachable module position, thereby realizing the management of the detachable module in the terminal.

[0135] The detachable module management device of the terminal in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in the terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0136] The detachable module management device of the terminal in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0137] The detachable module management device of the terminal provided in the embodiment of the present application can realize Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0138] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides a terminal 1100, including a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101. When the program or instruction is executed by the processor 1101, each process of the embodiment of the detachable module management method of the above-mentioned terminal is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0139] It should be noted that the terminal in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device mentioned above.

[0140] Fig.12 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0141] The terminal 1200 includes, but is not limited to, components such as a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210. The terminal may include a body and a detachable module, the body and the detachable module are communicatively connected, and the body has an audio module.

[0142] Those skilled in the art will appreciate that the terminal 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0143] Among them, the processor 1210 is used to obtain the first position information of the detachable module when the main body and the detachable module are in a separated state; generate first audio information according to the first position information; and control the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information.

[0144] In this embodiment, when the main body and the detachable module are in a detached state, the processor 1210 obtains the first position information of the detachable module; generates the first audio information according to the first position information; and controls the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information. In this way, by playing the spatial sound source whose sound source position matches the position of the detachable module, the user can be guided to find the detachable module, thereby realizing the management of the detachable module in the terminal.

[0145] Optionally, the main body includes a display module, the audio module is a wireless headset, and the processor 1210 is further used to obtain second position information of the display module and target angle information of the display module relative to the wireless headset when the display module is communicatively connected to the wireless headset; generate second audio information according to the second position information and the target angle information; and control the wireless headset to play the second audio information, wherein the sound source position represented when playing the second audio information matches the second position information.

[0146] Optionally, the processor 1210 is used to obtain first angle change information of the main body relative to the detachable module when receiving a first input for rotating the main body; and generate first audio information according to the first position information and the first angle change information.

[0147] Optionally, the main body includes a display module, and the display unit 1206 is used to display a first identification icon of the detachable module on the display module;

[0148] The processor 1210 is configured to establish a communication connection between the display module and the detachable module when receiving a second input to the first identification icon.

[0149] Optionally, the display unit 1206 is further configured to display a second identification icon of the display module on the display module;

[0150] The processor 1210 is configured to update the display position of the first identification icon by using the display position of the second identification icon as a reference position based on the positional relationship between the display module and the detachable module when the display module is in communication connection with the detachable module.

[0151] Optionally, when a second identification icon of the display module and a first identification icon of the detachable module are displayed on the display module, the display unit 1206 is further used to display path information from the display module to the detachable module on the display module upon receiving a third input associating the first identification icon with the second identification icon.

[0152] Optionally, the processor 1210 is further used to obtain second angle change information of the display module relative to the detachable module when receiving a fourth input for rotating the display module; and based on the second angle change information, control the first identification icon to rotate around the second identification icon to update the display position of the first identification icon.

[0153] Optionally, the display unit 1206 is further configured to highlight the path information when the angle direction of the display module relative to the detachable module is a preset direction.

[0154] It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1209 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1210 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1210.

[0155] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the embodiment of the detachable module management method of the above-mentioned terminal are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0156] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0157] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the embodiment of the detachable module management method of the above-mentioned terminal, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0158] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0159] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0160] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0161] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for managing detachable modules of a terminal, characterized in that: The terminal includes a body and a detachable module, the body and the detachable module are communicatively connected, and the body has an audio module, and the method includes: When the main body and the detachable module are in a detached state, acquiring first position information of the detachable module; generating first audio information according to the first position information; Controlling the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information; The main body includes a display module, and the method further includes: Displaying a first identification icon of the detachable module on the user interface displayed by the display module; the display state of the first identification icon is an unconnected state; When receiving a second input to the first identification icon, establishing a communication connection between the display module and the detachable module, and updating a display state of the first identification icon to a connection state; The method further comprises: Displaying a second identification icon of the display module on the user interface displayed by the display module; When the display module is in communication connection with the detachable module, based on the positional relationship between the display module and the detachable module, the display position of the first identification icon is updated with the display position of the second identification icon as a reference position.

2. The method according to claim 1, characterized in that: The main body includes a display module, the audio module is a wireless headset, and the method further includes: When the display module is in communication connection with the wireless headset, obtaining second position information of the display module and target angle information of the display module relative to the wireless headset; generating second audio information according to the second position information and the target angle information; The wireless headset is controlled to play the second audio information, wherein the sound source position represented when the second audio information is played matches the second position information.

3. The method according to claim 1, characterized in that The generating the first audio information according to the first position information comprises: When receiving a first input for rotating the main body, obtaining first angle change information of the main body relative to the detachable module; First audio information is generated according to the first position information and the first angle change information.

4. The method according to claim 1, characterized in that: The method further comprises: When a third input associating the first identification icon with the second identification icon is received, path information from the display module to the detachable module is displayed on the display module.

5. The method according to claim 4, characterized in that After displaying the path information from the display module to the detachable module on the display module, the method further includes: When receiving a fourth input for rotating the display module, obtaining second angle change information of the display module relative to the detachable module; Based on the second angle change information, the first identification icon is controlled to rotate around the second identification icon to update the display position of the first identification icon.

6. The method according to claim 4, characterized in that The method further comprises: When the angle direction of the display module relative to the detachable module is a preset direction, the path information is highlighted.

7. A detachable module management device for a terminal, characterized in that: The terminal includes a body and a detachable module, the body and the detachable module are communicatively connected, and the body has an audio module, and the device includes: A first acquisition module, configured to acquire first position information of the detachable module when the main body and the detachable module are in a detached state; A first generating module, configured to generate first audio information according to the first position information; A first playing module, used to control the audio module to play the first audio information, wherein the sound source position represented when playing the first audio information matches the first position information; The main body includes a display module, and the device also includes: A first display module, configured to display a first identification icon of the detachable module on a user interface displayed by the display module; the display state of the first identification icon is an unconnected state; a connection module, configured to establish a communication connection between the display module and the detachable module and update a display state of the first identification icon to a connection state when receiving a second input to the first identification icon; A second display module, configured to display a second identification icon of the display module on the user interface displayed by the display module; The first updating module is used to update the display position of the first identification icon by taking the display position of the second identification icon as a reference position based on the positional relationship between the display module and the detachable module when the display module is in communication connection with the detachable module.

8. The device according to claim 7, characterized in that The main body includes a display module, the audio module is a wireless headset, and the device further includes: A second acquisition module, configured to acquire second position information of the display module and target angle information of the display module relative to the wireless headset when the display module is in communication connection with the wireless headset; A second generating module, used for generating second audio information according to the second position information and the target angle information; The second playing module is used to control the wireless headset to play the second audio information, wherein the sound source position represented when playing the second audio information matches the second position information.

9. The device according to claim 7, characterized in that The first generating module is specifically used for: When receiving a first input for rotating the main body, obtaining first angle change information of the main body relative to the detachable module; First audio information is generated according to the first position information and the first angle change information.

10. The device according to claim 7, characterized in that The device also includes: The third display module is configured to display path information from the display module to the detachable module on the display module when receiving a third input for associating the first identification icon with the second identification icon.

11. The device according to claim 10, characterized in that The device also includes: a third acquisition module, configured to acquire second angle change information of the display module relative to the detachable module when receiving a fourth input for rotating the display module; The second updating module is used to control the first identification icon to rotate around the second identification icon based on the second angle change information, so as to update the display position of the first identification icon.

12. The device according to claim 10, characterized in that The device also includes: The fourth display module is used to highlight the path information when the angle direction of the display module relative to the detachable module is a preset direction.

13. A terminal, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the detachable module management method of the terminal as described in any one of claims 1 to 6 are implemented.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the detachable module management method of the terminal as described in any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • Information-processing device and information-processing method

    CN102096776A

  • User recommending method, device and system

    CN105530607A

  • Information processing method, mobile terminal and server

    CN105915592A

  • Information processing method and wearable electronic equipment

    CN106200786A

  • Voice playing method and mobile terminal

    CN106911864A