CN116709104A - Scene conversion method and electronic equipment - Google Patents

Scene conversion method and electronic equipment Download PDF

Info

Publication number
CN116709104A
CN116709104A CN202310858744.6A CN202310858744A CN116709104A CN 116709104 A CN116709104 A CN 116709104A CN 202310858744 A CN202310858744 A CN 202310858744A CN 116709104 A CN116709104 A CN 116709104A
Authority
CN
China
Prior art keywords
scene
circuit
connection state
resistor
scene change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310858744.6A
Other languages
Chinese (zh)
Inventor
陈新乐
刘彦泽
吴怡康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310858744.6A priority Critical patent/CN116709104A/en
Publication of CN116709104A publication Critical patent/CN116709104A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Abstract

The application discloses a scene conversion method and electronic equipment, and belongs to the technical field of communication. The specific scheme comprises the following steps: under the condition that the wireless earphone charging bin is connected with the computer through a data line, receiving a first input of a user; in response to the first input, controlling the scene change circuit to switch from the first connection state to the second connection state; the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in a second connection state.

Description

Scene conversion method and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a scene conversion method and electronic equipment.
Background
With the development of communication technology, more and more users begin to use bluetooth wireless headphones for audio listening.
In the related art, when a user wants to connect a computer for video viewing using a bluetooth wireless headset, it is necessary to configure a bluetooth transmitter for the computer and install a driver that can support the bluetooth connection.
However, not only does this approach increase the cost of use for the user, but the drive installation process is cumbersome to operate when first used.
Disclosure of Invention
The embodiment of the application aims to provide a scene conversion method and electronic equipment, which can solve the problems that a wireless earphone is connected with a computer and needs to increase larger use cost and carry out complicated operation.
In a first aspect, an embodiment of the present application provides a scene transition method, including: under the condition that the wireless earphone charging bin is connected with the computer through a data line, receiving a first input of a user; in response to the first input, controlling the scene change circuit to switch from the first connection state to the second connection state; the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in a second connection state.
In a second aspect, an embodiment of the present application provides a scene conversion device, including: a receiving module and a processing module; the receiving module is used for receiving a first input of a user under the condition that the wireless earphone charging bin is connected with the computer through a data line; the processing module is used for responding to the first input and controlling the scene change circuit to switch from the first connection state to the second connection state; the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in a second connection state.
In a third aspect, an embodiment of the present application provides a scene change circuit, including: the device comprises a device identification port, a device identification module, a wireless transmission module and a control module; the device identification port is connected with the device identification module, the device identification module is connected with the control module, and the control module is connected with the wireless transmission module; the device identification module is used for detecting the level state of the device identification port; the control module is used for determining that the scene change circuit is in a first connection state under the condition that the level state is in a first level state; under the condition that the level state is the second level state, determining that the scene change circuit is in the second connection state, and controlling the wireless transmission module to be switched into the working state; the wireless transmission module is used for realizing wireless transmission with external equipment; the scene change circuit is used for supporting charging scenes when the scene change circuit is in a first connection state, and is used for supporting wireless transmission with external equipment when the scene change circuit is in a second connection state.
In a fourth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fifth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a seventh aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, if the user wants to establish the wireless connection between the wireless earphone and the computer, the first input can be performed on the wireless earphone charging bin under the condition that the wireless earphone charging bin is connected with the computer through the data line, and the wireless earphone charging bin can respond to the first input to control the scene change circuit to be switched from the first connection state to the second connection state. According to the scheme, the scene conversion circuit is used for supporting a charging scene under the condition that the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin under the condition that the scene conversion circuit is in a second connection state, so that the wireless earphone charging bin can be switched from the charging scene to the wireless transmission scene based on first input of a user, the use cost of the user for using the wireless earphone on the computer is not increased additionally, the process of connection operation is simplified, and the purpose of the wireless earphone charging bin can be enriched.
Drawings
Fig. 1 is a schematic diagram of a connection structure of a scene conversion system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a scene transition method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a scene change circuit according to an embodiment of the present application;
FIG. 4 is a second flow chart of a scene change method according to the embodiment of the application;
fig. 5 is a schematic signal transmission diagram of a scene transition system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a scene conversion device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As shown in fig. 1, the embodiment of the present application provides a scene conversion system, which includes a computer 110, a data line 120 and a wireless earphone charging bin 130, wherein a first interface 121 of the data line 120 may be used for connecting the computer 110, the first interface is adapted to a connection interface 111 of the computer 110, a second interface 122 of the data line 120 may be used for connecting the wireless earphone charging bin 130, and the second interface 122 is adapted to a connection interface 131 of the wireless earphone charging bin 130.
Optionally, the wireless earphone charging bin 130 may further include a reset key 132, where the reset key 132 may be used to reset when the wireless earphone charging bin 130 is connected to a new device; may also be used to control the scene transition of the wireless headset charging cartridge 130.
Alternatively, the first interface 121 may be a universal serial bus (Universal Serial Bus, USB) interface, and the second interface 122 may be one of the following interfaces: type C interface, microUSB interface, lightning interface.
Optionally, in the case where the second interface 122 is a Type C interface, the pin arrangement manner of the connection interface 131 of the wireless headset charging bin 130 is as shown in table 1:
TABLE 1
The pin B12 is used for insertion detection, and the pin B12 is grounded when the second interface is inserted into the connection interface of the wireless earphone charging bin 130; under the condition of no interface insertion, the pin B12 is pulled high, and the pin B is taken as the judgment of insertion detection;
the pin A8 and the pin B8 are used for identifying a high-current data line, an audio MAC and the like;
pin A9 and pin B9 are used to power pin VBUS;
pins A7 and A6 are used for data transmission;
pins A5 and B5 are used to identify the type of device inserted.
The embodiment of the application also provides a scene conversion method which is applied to the wireless earphone charging bin in the scene conversion system, wherein an execution subject of the scene conversion method can be electronic equipment or a functional module or a functional entity which can realize the scene conversion method in the electronic equipment, for example, the scene conversion method can be used for charging the wireless earphone charging bin or a processor in the wireless earphone charging bin. The scene transition method provided by the embodiment of the application is described below by taking the electronic device as an execution body as an example.
The scene change method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 2, an embodiment of the present application provides a scene transition method, which may include steps 101 to 102:
step 101, under the condition that a wireless earphone charging bin is connected with a computer through a data line, receiving a first input of a user.
Optionally, the wireless earphone charging bin and the computer are connected through a data line, and the wireless earphone charging bin and the computer can comprise two use scenes, wherein one use scene is that a user charges the wireless earphone charging bin through the computer; another usage scenario is that the user uses the wireless headset charging bin as a wireless transmission transmitter of the computer.
Specifically, when the user wants to use the wireless headset charging bin as the wireless transmission transmitter of the computer, the wireless headset charging bin and the computer can be connected through the data line, and then the first input is performed on the electronic device. The wireless earphone charging bin and the computer are connected through the data line, refer to fig. 1 and a text description part corresponding to fig. 1, and are not repeated here.
Optionally, the first input may be at least one of the following:
first, the touch operation may be a click operation, a sliding operation, a pressing operation, and the like.
And secondly, the input can be entity key input.
In this embodiment, the body of the electronic device is provided with a corresponding physical key, and receiving the first input of the user may be receiving the first input of the user pressing the corresponding physical key, or may be receiving a combined operation of the user pressing the physical key multiple times.
Third, it can be a voice input.
Of course, in other embodiments, the first input may be in other forms, and may be specifically determined according to actual needs, which is not limited in the embodiments of the present application.
Illustratively, the first input is a physical key input. Receiving the first input by the user may be receiving the input by the user that the reset key 132 is pressed twice in succession.
It should be noted that, when the user wants to charge the wireless earphone charging bin through the computer, the wireless earphone charging bin can be directly connected with the computer through the data line, without any additional operation.
Step 102, in response to the first input, the control scene change circuit is switched from the first connection state to the second connection state.
The scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in a second connection state.
Optionally, as shown in fig. 3, the wireless headset charging cartridge 130 may include a device connection interface 310 and a scene transition circuit 320. The device connection interface 310 may include a power terminal Vbus and a current limiting resistor Rp. The scene change circuit 320 may include a device identification port CC, a circuit change element K, a first resistor Rd1, and a second resistor Rd2, where the device identification port CC is connected to an input end of the circuit change element K, and an output end of the circuit change element K is grounded through the first resistor Rd1, or an output end of the circuit change element K is grounded through the second resistor Rd 2.
Alternatively, the circuit switching element K may be used to switch different resistance paths, for example, the circuit switching element K may be a switching tube or a single pole double throw switch.
It should be noted that, in the case where the connection interface of the wireless headset charging bin 130 is a Type C interface, the device identification port CC may be one of the pin A5 and the pin B5.
Alternatively, the electronic device may control the scene change circuit to switch from the first connection state to the second connection state in response to the first input upon detecting the presence of an interface current of the device connection interface. When the device connection interface has interface current, the computer and the wireless earphone charging bin are in a successful connection state, that is, when the computer and the wireless earphone charging bin are in an effective connection state, the electronic device can control the scene transition circuit to be switched from the first connection state to the second connection state. Therefore, the defect that the wireless transmission scene can not be realized after the scene is converted can be avoided.
Optionally, the electronic device controlling the scene change circuit to switch from the first connection state to the second connection state may specifically include: the electronic equipment control circuit switching element K is disconnected with the second resistor Rd2 and connected with the first resistor Rd 1; the resistance of the first resistor Rd1 is larger than that of the second resistor Rd 2.
Specifically, the electronic device controls the scene change circuit to switch from the first connection state to the second connection state in response to the first input, that is, the control circuit change element K is disconnected from the second resistor R1 and connected to the first resistor R2. In the second connection state, the scene change circuit may be configured to support a wireless transmission scene.
Alternatively, when the user wants to switch back to the charging scenario, the user may make a second input to the reset key 132, and the electronic device may control the circuit switching element K to be disconnected from the first resistor Rd1 and to be connected to the second resistor Rd2, i.e., the first connection state, in response to the second input. In the first connection state, the scene change circuit may be used to support a charging scene.
Alternatively, the second input may be a key input of the reset key 132 by the user, for example, the second input may be a single press input of the reset key 132 by the user, or the second input may be a long press input of the reset key 132 by the user.
It should be noted that, since the resistance value of the first resistor Rd1 is greater than the resistance value of the second resistor Rd2, the device identification port CC may exhibit different level states in the first connection state and the second connection state, that is, the device identification port CC may exhibit a low level state in the first connection state; in the second connection state, the device identification port CC may assume a high-level state.
Illustratively, the first resistor may have a resistance of 5.1kΩ and the second resistor may have a resistance of 0 Ω.
Based on the scheme, the circuit conversion element can be controlled to be disconnected with the second resistor and connected with the first resistor, so that the conversion of the circuit connection state can be realized, and the hardware support of a wireless transmission scene is realized.
Optionally, the electronic device may detect a level state of the device identification port; determining that the scene change circuit is in the first connection state under the condition that the level state is in the first level state; and determining that the scene change circuit is in the second connection state when the level state is in the second level state.
Specifically, as shown in fig. 4, the electronic device may perform the following steps 401-405:
step 401, the electronic device may receive a first input of a user.
In step 402, in case that the device connection interface detects that there is an interface current, the electronic device may control the scene change circuit to switch from the first connection state to the second connection state in response to the first input.
In step 403, the electronic device may detect whether the level state of the device identification port is the second level state.
In step 404a, if the second level state is set, the electronic device may determine that the scene change circuit is in the second connection state.
In step 404b, in the second connection state, the electronic device may control the wireless transmission module to switch to the working state.
In step 405a, if the first level state is the first level state, the electronic device may determine that the scene change circuit is in the first connection state.
In step 405b, in the first connection state, the electronic device may perform a charging operation.
Alternatively, in the case where the resistance value of the first resistor Rd1 is greater than the resistance value of the second resistor Rd2, the first level state may be a low level state; the second level state may be a high level state.
Based on the above-described scheme, since the connection state of the scene change circuit can be determined according to the level state of the device identification port, the usage scene that the user wants to realize can be determined.
Optionally, with continued reference to fig. 3, the scene change circuit may also include a wireless transmission module 323. After the control scene change circuit is switched from the first connection state to the second connection state, the electronic device can control the wireless transmission module to be switched to the working state under the condition that the scene change circuit is determined to be in the second connection state; the wireless transmission module is used for realizing wireless transmission between the computer and the external equipment.
Specifically, with continued reference to fig. 4, in a case where it is determined that the scene transition circuit is in the second connection state, the electronic device may control the wireless transmission module to switch to the operation state; in the case where it is determined that the scene change circuit is in the first connection state, the electronic device may perform only the charging operation.
Optionally, in the case that the wireless transmission module is in a working state, the electronic device may acquire wireless transmission data from the computer through a pin A7 and a pin A6 of the TypeC interface, where the wireless transmission data is a digital signal, and then the electronic device may convert the wireless transmission data from the digital signal to an analog signal through the wireless transmission module, and broadcast a search signal through an antenna, where the search signal may be used to search for other wireless devices.
Based on the above scheme, the wireless transmission module can be controlled to be switched to the working state under the condition that the scene transition circuit is determined to be in the second connection state, so that wireless transmission between the computer and the external equipment can be realized through the wireless earphone charging bin.
In the embodiment of the application, the scene conversion circuit is used for supporting the charging scene under the condition that the scene conversion circuit is in the first connection state, and the scene conversion circuit is used for supporting the computer to realize the wireless transmission scene with the external equipment through the wireless earphone charging bin under the condition that the scene conversion circuit is in the second connection state, so that the wireless earphone charging bin can be switched from the charging scene to the wireless transmission scene based on the first input of the user, the use cost of the user for using the wireless earphone on the computer is not increased additionally, the process of connecting operation is simplified, and the use of the wireless earphone charging bin can be enriched.
As shown in fig. 3, an embodiment of the present application provides a scene change circuit, including: a device identification port CC, a device identification module 321, a wireless transmission module 323, and a control module 322; the device identification port CC is connected to the device identification module 321, the device identification module 321 is connected to the control module 322, and the control module 322 is connected to the wireless transmission module 323. A device identification module 321, configured to detect a level state of a device identification port CC; a control module 322, configured to determine that the scene change circuit is in the first connection state when the level state is in the first level state; when the level state is the second level state, determining that the scene transition circuit is in the second connection state, and controlling the wireless transmission module 323 to switch to the working state; the scene change circuit is used for supporting charging scenes when the scene change circuit is in a first connection state, and is used for supporting wireless transmission with external equipment when the scene change circuit is in a second connection state.
Optionally, the scene change circuit further includes a circuit change element K, a first resistor Rd1, and a second resistor Rd2; the device identification port CC is connected with the input end of the circuit conversion element K, and the output end of the circuit conversion element K is grounded through the first resistor Rd, or the output end of the circuit conversion element K is grounded through the second resistor Rd2; under the condition that the output end of the circuit switching element K is grounded through a first resistor Rd, the level state of the equipment identification port CC is a first level state; under the condition that the output end of the circuit switching element K is grounded through a second resistor Rd2, the level state of the equipment identification port CC is a second level state; the resistance of the first resistor Rd1 is larger than that of the second resistor Rd 2.
As shown in fig. 5, in the case where the wireless transmission module 323 is in an operating state, the control module 322 may acquire wireless transmission data from a computer through a Type C interface and transmit the wireless transmission data to the wireless transmission module 323, the wireless transmission module 323 may broadcast a search signal determined according to the wireless transmission data, and other wireless devices may receive the search information and select whether to establish a wireless connection.
In the embodiment of the application, the connection state of the scene change circuit can be determined according to the level state of the equipment identification port, so that the use scene which a user wants to realize can be determined.
According to the scene conversion method provided by the embodiment of the application, the execution subject can be a scene conversion device. In the embodiment of the application, a scene conversion device is taken as an example to execute a scene conversion method.
As shown in fig. 6, an embodiment of the present application further provides a scene conversion device 600, including: a receiving module 601 and a processing module 602; the receiving module 601 is configured to receive a first input of a user when the wireless headset charging bin is connected to the computer through a data line; a processing module 602, configured to control the scene change circuit to switch from the first connection state to the second connection state in response to the first input; the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in a first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in a second connection state.
Optionally, the processing module 602 is further configured to control the wireless transmission module to switch to the working state when it is determined that the scene change circuit is in the second connection state; the wireless transmission module is used for realizing wireless transmission between the computer and the external equipment.
Optionally, the processing module 602 is further configured to detect a level state of the device identification port; determining that the scene change circuit is in the first connection state when the level state is in the first level state; and determining that the scene change circuit is in the second connection state when the level state is in the second level state.
Optionally, the processing module 602 is specifically configured to disconnect the control circuit switching element from the second resistor and connect the control circuit switching element to the first resistor, so that the control scene switching circuit is switched from the first connection state to the second connection state; wherein, the resistance of the first resistor is larger than that of the second resistor.
In the embodiment of the application, the scene conversion circuit is used for supporting the charging scene under the condition that the scene conversion circuit is in the first connection state, and the scene conversion circuit is used for supporting the computer to realize the wireless transmission scene with the external equipment through the wireless earphone charging bin under the condition that the scene conversion circuit is in the second connection state, so that the wireless earphone charging bin can be switched from the charging scene to the wireless transmission scene based on the first input of the user, the use cost of the user for using the wireless earphone on the computer is not increased additionally, the process of connecting operation is simplified, and the use of the wireless earphone charging bin can be enriched.
The scene change device in the embodiment of the application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The scene change device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The scene conversion device provided by the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to fig. 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 700, including a processor 701 and a memory 702, where the memory 702 stores a program or an instruction that can be executed on the processor 701, and the program or the instruction implements each step of the above-mentioned embodiment of the scene change method when executed by the processor 701, and the steps can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 807 is configured to receive a first input of a user when the wireless earphone charging bin is connected to the computer via a data line; a processor 810 for controlling the scene change circuit to switch from the first connection state to the second connection state in response to the first input; the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in the first connection state, and is used for supporting a computer to realize a wireless transmission scene with external equipment through a wireless earphone charging bin when the scene conversion circuit is in the second connection state.
In the embodiment of the application, the scene conversion circuit is used for supporting the charging scene under the condition that the scene conversion circuit is in the first connection state, and the scene conversion circuit is used for supporting the computer to realize the wireless transmission scene with the external equipment through the wireless earphone charging bin under the condition that the scene conversion circuit is in the second connection state, so that the wireless earphone charging bin can be switched from the charging scene to the wireless transmission scene based on the first input of the user, the use cost of the user for using the wireless earphone on the computer is not increased additionally, the process of connecting operation is simplified, and the use of the wireless earphone charging bin can be enriched.
Optionally, the processor 810 is further configured to control the wireless transmission module to switch to an operating state if it is determined that the scene change circuit is in the second connection state; the wireless transmission module is used for realizing wireless transmission between the computer and the external equipment.
In the embodiment of the application, the wireless transmission module can be controlled to be switched to the working state under the condition that the scene transition circuit is determined to be in the second connection state, so that the wireless transmission between the computer and the external equipment can be realized through the wireless earphone charging bin.
Optionally, the processor 810 is further configured to detect a level state of the device identification port; determining that the scene change circuit is in the first connection state when the level state is in the first level state; and determining that the scene change circuit is in the second connection state when the level state is in the second level state.
In the embodiment of the application, the connection state of the scene change circuit can be determined according to the level state of the equipment identification port, so that the use scene which a user wants to realize can be determined.
Optionally, the processor 810 is specifically configured to disconnect the control circuit switching element from the second resistor and connect the control circuit switching element to the first resistor, so that the control scene switching circuit is switched from the first connection state to the second connection state; wherein, the resistance of the first resistor is larger than that of the second resistor.
In the embodiment of the application, the circuit conversion element can be controlled to be disconnected with the second resistor and connected with the first resistor, so that the conversion of the circuit connection state can be realized, and the hardware support of a wireless transmission scene is realized.
It should be appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, the graphics processor 8041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 809 may include volatile memory or nonvolatile memory, or the memory 809 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 809 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the scene transition method, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the above embodiment of the scene conversion method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-mentioned scene transition method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. The scene conversion method is characterized by being applied to a wireless earphone charging bin, wherein the wireless earphone charging bin comprises a device connection interface and a scene conversion circuit; the method comprises the following steps:
receiving a first input of a user under the condition that the wireless earphone charging bin is connected with a computer through a data line;
controlling the scene change circuit to switch from a first connection state to a second connection state in response to the first input;
the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in the first connection state, and is used for supporting the computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in the second connection state.
2. The scene change method according to claim 1, wherein the scene change circuit comprises a wireless transmission module; after the scene change circuit is controlled to be switched from the first connection state to the second connection state, the method further comprises:
controlling the wireless transmission module to switch to a working state under the condition that the scene change circuit is determined to be in the second connection state;
the wireless transmission module is used for realizing wireless transmission between the computer and the external equipment.
3. The scene change method according to claim 2, wherein the scene change circuit further comprises a device identification port; before the wireless transmission module is controlled to be switched to the working state, the method further comprises the following steps:
detecting the level state of the equipment identification port;
determining that the scene change circuit is in the first connection state when the level state is in the first level state; and determining that the scene change circuit is in the second connection state when the level state is in the second level state.
4. The scene change method according to claim 3, wherein the scene change circuit further comprises a circuit change element, a first resistor and a second resistor, the device identification port is connected to an input end of the circuit change element, an output end of the circuit change element is grounded through the first resistor, or an output end of the circuit change element is grounded through the second resistor;
the controlling the scene change circuit to switch from the first connection state to the second connection state includes:
the circuit conversion element is controlled to be disconnected with the second resistor and connected with the first resistor;
the resistance value of the first resistor is larger than that of the second resistor.
5. A scene change circuit, comprising: the device comprises a device identification port, a device identification module, a wireless transmission module and a control module; the device identification port is connected with the device identification module, the device identification module is connected with the control module, and the control module is connected with the wireless transmission module;
the equipment identification module is used for detecting the level state of the equipment identification port;
the control module is used for determining that the scene change circuit is in a first connection state under the condition that the level state is in a first level state; under the condition that the level state is a second level state, determining that the scene change circuit is in a second connection state, and controlling the wireless transmission module to be switched into a working state;
the wireless transmission module is used for realizing wireless transmission with external equipment;
the scene change circuit is used for supporting a charging scene when the scene change circuit is in the first connection state, and is used for supporting wireless transmission with the external device when the scene change circuit is in the second connection state.
6. The scene-switching circuit of claim 5, wherein the circuit further comprises a circuit-switching element, a first resistor, a second resistor;
the device identification port is connected with the input end of the circuit conversion element, and the output end of the circuit conversion element is grounded through the first resistor, or the output end of the circuit conversion element is grounded through the second resistor;
the device identifies the level state of the port as a first level state in the case that the output end of the circuit switching element is grounded through the first resistor;
the device identifies the level state of the port as a second level state in the case that the output end of the circuit switching element is grounded through the second resistor;
the resistance value of the first resistor is larger than that of the second resistor.
7. A scene change apparatus, comprising: a receiving module and a processing module;
the receiving module is used for receiving a first input of a user under the condition that the wireless earphone charging bin is connected with the computer through a data line;
the processing module is used for responding to the first input and controlling the scene change circuit to switch from a first connection state to a second connection state;
the scene conversion circuit is used for supporting a charging scene when the scene conversion circuit is in the first connection state, and is used for supporting the computer to realize a wireless transmission scene with external equipment through the wireless earphone charging bin when the scene conversion circuit is in the second connection state.
8. The scene change device according to claim 7, wherein said processing module is further configured to control the wireless transmission module to switch to an operating state in case it is determined that said scene change circuit is in said second connection state; the wireless transmission module is used for realizing wireless transmission between the computer and the external equipment.
9. The scene change-over device according to claim 8, wherein said processing module is further configured to detect a level state of a device identification port; determining that the scene change circuit is in the first connection state when the level state is in the first level state; and determining that the scene change circuit is in the second connection state when the level state is in the second level state.
10. The scene change-over device according to claim 9, characterized in that said processing module is in particular adapted to disconnect a control circuit change-over element from a second resistor and to connect with a first resistor, so that said control scene change-over circuit is switched from said first connection state to said second connection state;
the resistance value of the first resistor is larger than that of the second resistor.
11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implements the scene change method of any of claims 1-4.
12. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the scene transition method according to any of claims 1-4.
CN202310858744.6A 2023-07-13 2023-07-13 Scene conversion method and electronic equipment Pending CN116709104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310858744.6A CN116709104A (en) 2023-07-13 2023-07-13 Scene conversion method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310858744.6A CN116709104A (en) 2023-07-13 2023-07-13 Scene conversion method and electronic equipment

Publications (1)

Publication Number Publication Date
CN116709104A true CN116709104A (en) 2023-09-05

Family

ID=87835896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310858744.6A Pending CN116709104A (en) 2023-07-13 2023-07-13 Scene conversion method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116709104A (en)

Similar Documents

Publication Publication Date Title
US11711623B2 (en) Video stream processing method, device, terminal device, and computer-readable storage medium
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
KR101512918B1 (en) System timeout reset based on media detection
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN108536370A (en) A kind of input interface switching method and device, electronic equipment
CN105573585A (en) Information display method and terminal
WO2022068768A1 (en) Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN109672845B (en) Video call method and device and mobile terminal
CN111443803A (en) Mode switching method, device, storage medium and mobile terminal
CN101771805A (en) Method for introducing function of remote controller keys and remote controller
RU2679253C1 (en) Method, device and terminal for processing fingerprint event
CN111666023B (en) Interface display method and device, electronic equipment and readable storage medium
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN103762390A (en) Charging method and action electronic device
CN113840033B (en) Audio data playing method and device
CN116709104A (en) Scene conversion method and electronic equipment
CN112954760B (en) Bluetooth equipment connection method and device and electronic equipment
CN110134478B (en) Scene conversion method and device of panoramic scene and terminal equipment
EP3041174A1 (en) Electronic device coupling system and method
US20050278450A1 (en) Wireless proximity area network connectivity platform
CN112738910B (en) Application control method and device and electronic equipment
CN110971760B (en) Network communication content output control method and device, storage medium and terminal equipment
CN117880687A (en) Earphone control method and electronic equipment
CN117632816A (en) Method for accessing external equipment to intelligent terminal and electronic equipment
CN117351675A (en) Prompting method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination