Mark prompting method and system of electronic equipment, equipment and medium
By monitoring contact level changes in electronic equipment and generating prompt instructions, the problem of indistinguishability between devices with the same structure is solved and the user experience is improved.
Patent Information
- Application Number
- CN202410826847.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
In existing electronic equipment, devices with the same structure (such as wireless headsets) cannot be correctly distinguished, resulting in the inability to obtain corresponding target data for operation, which affects the user experience.
By arranging at least two contacts in the electronic device, monitor the level changes of the contacts, generate and send prompt instructions, and ensure that the device performs prompt operations based on correct mark information, including generating and sending a first prompt instruction, a mark update instruction and Initialize the command and execute the prompt operation after judging and meeting the preset conditions.
It improves the accuracy of users in determining the location of the device when wearing or using electronic devices, and improves the user experience.
Smart Images

Figure CN118632165A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment information prompting, and in particular to a marking prompting method, system, equipment and medium for electronic equipment. Background Art
[0002] Some electronic devices on the market include a first device and a second device. Although the first device and the second device have no difference in appearance and structure, they actually need to be distinguished in order to obtain corresponding target data and perform corresponding operations. For example, a wireless headset includes a left headset and a right headset. The left and right headsets need to be distinguished so that the left and right headsets can obtain left and right channel data for playback respectively; however, since the left and right headsets have no difference in structure, users cannot correctly distinguish between the left and right headsets. When using the headset, randomly wearing any headset may easily cause the left and right channels to fail to correspond to the left and right headsets. Summary of the invention
[0003] The embodiments of the present invention provide a marking prompt method, system, device and medium for an electronic device to solve the problems existing in the related technologies. The technical solutions are as follows:
[0004] In a first aspect, an embodiment of the present invention provides a marking prompt method for an electronic device, comprising:
[0005] Acquire first marking information of a first contact, where the first contact is a contact at which a first specified level change occurs in the electronic device;
[0006] Determine the target position of the first contact relative to the electronic device according to the first marking information, generate a corresponding first prompt instruction according to the target position, and send the first prompt instruction to the first device so that the first device can perform a corresponding prompt operation according to the first prompt instruction; wherein the first device is a designated device that triggers a change in the first designated level.
[0007] In one embodiment, the first designated level change is a level signal change detected by the contact when a designated device is removed from any contact.
[0008] In one embodiment, it further includes:
[0009] Acquire second marking information of a second contact, where the second contact is a contact other than the first contact in the electronic device;
[0010] A second prompt instruction is generated according to the second tag information, and the second prompt instruction is sent to the second device, so that the second device performs a corresponding prompt operation according to the second prompt instruction; wherein the second device is a designated device bound to the electronic device and connected to the second contact or removed from the second contact.
[0011] In one embodiment, it further includes:
[0012] A tag update instruction is generated according to the first tag information and sent to the first device. The tag update instruction is used to control the first device to change its original tag information to the first tag information so that the first device only receives target data corresponding to the first tag information to perform corresponding operations.
[0013] In one embodiment, it further includes:
[0014] When a second specified level change occurs at the first contact or the second contact, an initialization instruction is generated, and the initialization instruction is sent to the first device or the second device, so that the first device or the second device performs a mark initialization operation; the second specified level change occurs when the first device is connected to the first contact, or when the second device is connected to the second contact.
[0015] In one embodiment, it further includes:
[0016] When the first device receives the first prompt instruction, it determines whether the preset condition is currently met. If the preset condition is not met, the first device delays executing the first prompt instruction until the preset condition is met. The first device executes the first prompt instruction.
[0017] In one implementation, determining whether the first device currently meets a preset condition includes:
[0018] Obtaining a pressure value of a specified pressure detection area on the first device, and satisfying a preset condition when the pressure value is greater than a threshold; or,
[0019] Acquiring the environmental noise collected by the first device, and satisfying the preset condition when the environmental noise drops to a preset noise range; or,
[0020] The light illuminance collected by the first device is obtained, and a preset condition is satisfied when the light illuminance drops to a preset illumination range.
[0021] In a second aspect, an embodiment of the present invention provides a marking prompt system for an electronic device, which executes the marking prompt method for an electronic device as described above.
[0022] In a third aspect, an embodiment of the present invention provides an electronic device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.
[0023] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.
[0024] The advantages or beneficial effects of the above technical solution include at least:
[0025] When the electronic device of the present invention detects a first specified level change at any contact, it generates a corresponding first prompt instruction for the first contact that has undergone the first specified level change and sends it to the first device, so that the first device performs a corresponding prompt operation. When using the first device, the user can determine whether the current wearing or use position of the first device is correct based on the information prompted by the first device, thereby improving the user experience.
[0026] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.
[0028] Figure 1 The figure is a flow chart of the marking prompt method of the electronic device of the present invention. DETAILED DESCRIPTION
[0029] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0030] This embodiment provides a marking prompt method for an electronic device, wherein the electronic device is pre-bound with at least two designated devices, and the binding operation between the electronic device and the designated device can be performed via wired or wireless communication. The marking prompt method of this embodiment can be applied in the field of wireless headphones, where the electronic device is a charging compartment, and the designated device can be a wireless headset, and all wireless headsets can be set to have the same structure in appearance.
[0031] At least two contacts are provided in the electronic device. When any designated device contacts any contact, the contact can provide power to the designated device, and can even transmit data through the connection mode to achieve the communication purpose. In the wireless headset, two contacts are provided in the charging compartment. Any wireless headset can be placed in any contact in the charging compartment for charging, and the wireless headset can communicate with the charging compartment in two directions through the contacts. The contacts and the charging compartment can even communicate through other wireless communication methods, such as Bluetooth and other technologies. Among them, the contacts can be connected to the designated device by contact, and can also be connected to the designated device by insertion. The connection method between the contacts and the designated device is not limited here.
[0032] In addition, the electronic device may also be other devices such as a game controller, and the two designated devices are respectively a left handle bound to the game controller and a right handle bound to the game controller. The game controller may also be provided with two contacts, and the two contacts respectively provide power to the left handle and the right handle or even realize communication. All types of electronic devices are not exhaustive here.
[0033] like Figure 1 As shown, the marking prompt method of the electronic device of this embodiment specifically includes the following steps:
[0034] Step S1: Acquire first marking information of a first contact, where the first contact is a contact in the electronic device where a first specified level change occurs;
[0035] Step S2: Determine the target position of the first contact relative to the electronic device according to the first marking information, generate a corresponding first prompt instruction according to the target position, and send the first prompt instruction to the first device, so that the first device can perform the corresponding prompt operation according to the first prompt instruction; wherein the first device is a designated device that triggers the level signal of the first contact to undergo a first designated level change.
[0036] The electronic device can collect the level signal output by each contact in real time through the internal circuit. When a contact is connected to a specified device, the level signal of the contact will change; and when the specified device is removed from the contact and disconnected from the contact, the level signal of the contact will also change. In this embodiment, the subsequent marking prompt action is triggered by the change of the level signal.
[0037] In this embodiment, the contact point at which the first specified level change occurs is defined as the first contact point; wherein the first specified level change may be a change in the level signal of the contact point when the specified device is taken out of the contact point, or may be a change in the level signal of the contact point when the specified device is connected to the contact point of the electronic device; the first specified level change occurring at the first contact point may be set in advance, and in this embodiment, the level change corresponding to the time when the specified device is taken out of the contact point is taken as the first specified level change, and the contact point at which the first specified level change occurs is defined as the first contact point.
[0038] Each contact is pre-marked with marking information corresponding to the position according to its position relative to the electronic device. For example, for a contact located on the left side of the electronic device, the marking information corresponding to the contact records that its position relative to the electronic device is the left side; and for a contact located on the right side of the electronic device, the marking information corresponding to the contact records that the position relative to the electronic device is the right side. The marking information can pre-mark the designated device with a binary code. For example, the binary code of the contact located on the left side of the electronic device is 0101, and the binary code of the contact located on the right side of the electronic device is 1010.
[0039] In this embodiment, when a contact undergoes a first specified level change, the contact is marked as a first contact, and the position of the first contact relative to the electronic device is determined based on the first marking information of the first contact, and the position is marked as the target position; at this time, a first prompt instruction can be generated based on the target position, and the first prompt instruction is sent to the first device, which is a designated device bound to the electronic device and corresponding to the target position.
[0040] For example, suppose there is a designated device that was originally connected to the contact on the left side of the electronic device. When the designated device is taken out and separated from the contact, the contact on the left side of the electronic device undergoes a first designated level change. The designated device that was originally connected to the contact on the left side of the electronic device triggers the first designated level change when it is taken out. Therefore, the designated device on the left side of the electronic device is the first device. At this time, the first prompt instruction is sent to the first device to remind the first device that the first device needs to be worn on the left side or used on the left side. When the user takes out the designated device on the right side from the contact on the right side, the level signal of the contact also undergoes a first designated level change. At this time, the marking information corresponding to the contact on the right side is used, and a second prompt instruction is generated based on the marking information and sent to the designated device on the right side to remind the user that the device needs to be worn on the right side or used on the right side.
[0041] In some embodiments, after the first contact is determined according to the first designated level change, the remaining contacts other than the first contact in the electronic device can be directly marked as second contacts if the second designated level change does not occur, and then the second prompt instruction is generated according to the marking information pre-marked by the second contact, that is, the second marking information, and the second prompt instruction is sent to the second device, and the second marking instruction is used to control the second device to perform the corresponding reminder operation; wherein the second device is a designated device connected to or removed from the second contact; the position of the second device can be automatically identified and reminded after the position of the first device is determined, and the user's action can trigger the entire prompt process, and the entire process runs coherently, reducing the level detection steps and improving efficiency. Among them, the second marking information can also pre-mark the position of the contact relative to the electronic device through binary code.
[0042] When the first contact and the first device are determined, a tag update instruction is automatically generated according to the first tag information, and the tag update instruction is sent to the first device. The first device writes the new tag information according to the tag update instruction, and the new tag information directly overwrites the original tag information of the first device. After the first device successfully writes the new tag information, the first device can only receive the target data corresponding to the new tag information, and the first device performs corresponding operations according to the target data. Among them, the new tag information written to the first device can be the same as or corresponding to the first tag information of the first contact. Assuming that the first device writes the tag information on the left, the target data such as the left channel audio emitted by the electronic device can be received by the first device, and the left channel audio can be played by the first device.
[0043] In addition to the above direct overwriting mark writing method, an initialization instruction can also be generated when the second designated level change occurs at the first contact or the second contact, and the initialization instruction is sent to the first device or the second device, so that the first device or the second device performs the mark initialization operation; the second designated level change in this embodiment refers to the level change generated when any designated device is connected to the first contact. After using the first device or the second device, the user randomly connects the first device or the second device to any contact of the electronic device. When the contact detects the corresponding level change after the designated device is connected, the contact and the designated device connected to the contact can be initialized, and the designated device connected to the contact can be controlled to initialize the mark. At this time, the designated device connected to the contact no longer distinguishes between left and right, and will not be re-marked until the next time the designated device is taken out of the contact.
[0044] After receiving the first prompt instruction, the first device of this embodiment needs to determine whether the preset conditions are currently met. The first device can only execute the first prompt instruction when the preset conditions are met. If the preset conditions are not met, the first device delays the execution of the first prompt instruction until the preset conditions are met.
[0045] Determining whether the first device currently meets the preset condition includes but is not limited to any of the following methods:
[0046] Method 1: Obtain the pressure value of the specified pressure detection area on the first device. When the pressure value is greater than a threshold, a preset condition is met. When the pressure is greater than the threshold, it indicates that the first device has been worn or used. The pressure value can be detected by a pressure sensor.
[0047] Method 2: Obtain the environmental noise collected by the designated area on the first device. When the environmental noise drops to a preset noise range, the preset condition is met. Assuming that the first device is a headset, after wearing the headset, the designated area of the headset is blocked by the ear structure, so the environmental noise received by it will drop, so as to determine whether the first device is worn by the change of environmental noise. Among them, the environmental noise can be collected by a sound pressure sensor.
[0048] Method 3: Obtain the light brightness collected in the designated area on the first device, and the preset condition is satisfied when the light brightness drops to the preset illumination range; assuming that the first device is a headset, after wearing the headset, the designated area of the headset is blocked by the ear structure, so the light brightness received will drop, so as to determine whether the first device is worn by the change of light brightness. The light brightness can be collected by an optical sensor.
[0049] The above methods can be selected to detect and use one or more methods can be combined to detect whether the first device has been worn or used by the user. The second device also needs to perform the same detection as above, and the corresponding second prompt instruction is executed only when the second device is successfully worn or used, so as to achieve the prompt effect.
[0050] The prompt operation of the first device and the second device can be performed according to the functional modules currently possessed by the first device and the second device. For example, assuming that the first device and the second device both have voice playback modules, the prompt operation can be performed by voice playback; assuming that the first device and the second device both have display screens, the prompt operation can be performed by displaying on the display screen.
[0051] When the electronic device of this embodiment detects that a first specified level change occurs at any contact, it generates a corresponding first prompt instruction for the first contact that has undergone the first specified level change and sends it to the first device, so that the first device performs a corresponding prompt operation. When using the first device, the user can determine whether the current wearing or use position of the first device is correct based on the information prompted by the first device, thereby improving the user experience.
[0052] In some embodiments, a marking prompt system for an electronic device is further provided, which executes the marking prompt method for an electronic device as described in Embodiment 1. The functions of each module of the system in the embodiment of the present invention can refer to the corresponding description in the above method, which will not be repeated here.
[0053] In some embodiments, an electronic device is also provided, the electronic device comprising: a memory and a processor, wherein a computer program that can be run on the processor is stored in the memory. When the processor executes the computer program, the marking prompt method of the electronic device in the above embodiment is implemented. The number of the memory and the processor can be one or more.
[0054] The electronic device also includes:
[0055] Communication interface, used to communicate with external devices and perform data exchange transmission.
[0056] If the memory, processor and communication interface are implemented independently, the memory, processor and communication interface can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0057] Optionally, in a specific implementation, if the memory, processor, and communication interface are integrated on a chip, the memory, processor, and communication interface can communicate with each other through an internal interface.
[0058] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present invention when executed by a processor.
[0059] An embodiment of the present invention further provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present invention.
[0060] An embodiment of the present invention also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided by the embodiment of the invention.
[0061] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0062] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0063] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0064] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0065] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0066] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A marking prompt method for an electronic device, characterized in that: include: Acquire first marking information of a first contact, where the first contact is a contact at which a first specified level change occurs in the electronic device; Determine the target position of the first contact relative to the electronic device according to the first marking information, generate a corresponding first prompt instruction according to the target position, and send the first prompt instruction to a first device so that the first device can perform a corresponding prompt operation according to the first prompt instruction; wherein the first device is a designated device that triggers the change of the first designated level.
2. The marking prompting method of an electronic device according to claim 1, characterized in that: The first designated level change is a level signal change detected by any contact when a designated device is removed from the contact.
3. The marking prompting method of an electronic device according to claim 1, characterized in that: Also includes: Acquire second marking information of a second contact, where the second contact is a contact other than the first contact in the electronic device; A second prompt instruction is generated according to the second tag information, and the second prompt instruction is sent to a second device, so that the second device performs a corresponding prompt operation according to the second prompt instruction; wherein the second device is a designated device bound to the electronic device and connected to the second contact or removed from the second contact.
4. The marking prompting method of an electronic device according to claim 1, characterized in that: Also includes: A tag update instruction is generated according to the first tag information, and the tag update instruction is sent to the first device. The tag update instruction is used to control the first device to change its original tag information to the first tag information, so that the first device only receives target data corresponding to the first tag information to perform corresponding operations.
5. The marking prompting method of an electronic device according to claim 3, characterized in that: Also includes: generating an initialization instruction when a second specified level change occurs at the first contact or the second contact, and sending the initialization instruction to the first device or the second device to cause the first device or the second device to perform a tag initialization operation; The second designated level change occurs when the first device is connected to the first contact point, or when the second device is connected to the second contact point.
6. The marking prompting method of an electronic device according to claim 1, characterized in that: Also includes: When the first device receives the first prompt instruction, it determines whether a preset condition is currently met. If the preset condition is not met, the first device delays executing the first prompt instruction until the preset condition is met. The first device executes the first prompt instruction.
7. The marking prompting method of an electronic device according to claim 6, characterized in that: The determining whether the preset condition is currently met includes: Acquire a pressure value of a specified pressure detection area on the first device, and satisfy the preset condition when the pressure value is greater than a threshold; or, Acquire the environmental noise collected by the first device, and satisfy the preset condition when the environmental noise drops to a preset noise range; or, The light illuminance collected by the first device is acquired, and the preset condition is satisfied when the light illuminance drops to a preset illumination range.
8. A marking prompt system for an electronic device, characterized in that: Execute the marking prompt method of an electronic device as described in any one of claims 1 to 7.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the marking prompt method of an electronic device as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the marking prompt method for an electronic device according to any one of claims 1 to 7 is implemented.
