Method and device for controlling information source interface, electronic equipment and storage medium

By setting up a light source device and preset sensors in the source interface of the electronic device, and identifying and controlling the source line insertion operation, the problem of source insertion difficulties caused by the difficulty of users to identify the location of the source interface is solved, and the convenience and accuracy of source access are achieved.

CN119562020APending Publication Date: 2025-03-04QINGDAO HAIER MULTI MEDIA CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311126222.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-01
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, when a user connects the source cable to an electronic device, it is difficult to accurately identify the location of the source interface, and it is easy to insert the source cable into the wrong source interface, resulting in the problem of difficulty in inserting the source.

Method used

A light source device is set in the source interface of the electronic device, and a preset sensor is used to identify whether there is an object close to the source interface to determine whether there is a source line insertion operation. According to the determination result, the light source device in the source interface is controlled to ensure that the user can accurately insert the source line into the correct source interface.

Benefits of technology

Through the lighting of the light source device and the identification of sensors, users can easily determine the interfaces to be connected from multiple source interfaces, reducing the possibility of insertion errors and solving the problem of source access difficulties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562020A_ABST
    Figure CN119562020A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart televisions, and discloses a method for controlling information source interfaces, a plurality of information source interfaces are arranged in an electronic device, a light source device is arranged in each information source interface, and the light source devices are controlled to be turned on or turned off. The method comprises the following steps: determining whether a source line insertion operation exists or not, and obtaining a determination result; and controlling the light source device in the information source interface according to a determination result. In this way, the light source device is arranged in the information source interface of the electronic equipment, and opening or closing of the light source device is controlled by determining whether the information source line insertion operation exists or not. A user can conveniently determine the information source interface to be connected from a plurality of information source interfaces, so that the user is not easy to insert an information source line by mistake, and the problem that the information source of the electronic equipment is difficult to access is solved. The invention further discloses a device for controlling the information source interface, electronic equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart television technology, for example, to a method and device for controlling a signal source interface, an electronic device, and a storage medium. Background Art

[0002] At present, the development trend of electronic devices is to support the display of various scenes more smoothly. At this time, it may be necessary to connect different signal sources to support the signal input and output of various external devices, such as TV boxes, computer hosts, etc. In order to ensure the signal strength and stability of the electronic device accessing the signal source during the process of connecting to the peripherals, the relevant supported signal source line is required for transmission. In this case, the external device needs to be connected to the signal source interface of the electronic device through the signal source line.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0004] In the related art, when connecting a signal source line to an electronic device, the user needs to manually insert the signal source line into the signal source interface. However, due to the installation location of the electronic device and the darkness of the environment, it is easy for the user to find it difficult to accurately identify the location of the corresponding signal source interface, and it is easy to insert the signal source line into the wrong signal source interface. This makes it difficult to insert the signal source into the electronic device.

[0005] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. Summary of the invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] The embodiments of the present disclosure provide a method and apparatus for controlling a signal source interface, an electronic device, and a storage medium, so as to solve the problem of difficulty in signal source access of an electronic device.

[0008] In some embodiments, the method for controlling a signal source interface is provided in an electronic device, wherein a plurality of signal source interfaces are provided in each signal source interface, and a light source device is provided in each signal source interface, and the light source device is used to be controlled to be turned on or off; the method comprises: determining whether there is a signal source line insertion operation, obtaining a determination result, and controlling the light source device in the signal source interface according to the determination result.

[0009] In some embodiments, a preset sensor is provided at the signal source interface; determining whether there is a signal source line insertion operation and obtaining a determination result includes: when the preset sensor recognizes that there is an object approaching the signal source interface, the determination result is that there is a signal source line insertion operation.

[0010] In some embodiments, the light source device in the source interface is controlled according to the determination result, including: when the determination result is that there is a source line insertion operation, the source interface corresponding to the preset sensor is determined as the first target source interface, and the light source device in the first target source interface is controlled to turn on.

[0011] In some embodiments, determining whether there is a source line insertion operation and obtaining a determination result includes: when a preset source interface selection instruction is received, determining that the result is that there is a source line insertion operation.

[0012] In some embodiments, controlling the light source device in the source interface according to the determination result includes: when the determination result is that there is a source line insertion operation, determining the source interface corresponding to the preset source interface selection instruction as the second target source interface. Determining whether the second target source interface is occupied. If the second target source interface is not occupied, controlling the light source device in the second target source interface to turn on.

[0013] In some embodiments, after determining whether the second target information source interface is occupied, the method further includes: if the second target information source interface is occupied, prompting information that the second target information source interface is occupied.

[0014] In some embodiments, after controlling the light source device in the source interface according to the determination result, the method further includes: determining whether the source line insertion operation is completed. If the source line insertion operation is completed, controlling the light source device in the second target source interface to be turned off.

[0015] In some embodiments, the apparatus for controlling a source interface includes: a processor and a memory storing program instructions, and the processor is configured to execute the above method for controlling a source interface when executing the program instructions.

[0016] In some embodiments, the electronic device includes: an electronic device body; a plurality of signal source interfaces are provided in the electronic device, each signal source interface is provided with a light source device, and the light source device is used to be controlled to be turned on or off; a device for controlling the signal source interface as described above is installed in the electronic device body.

[0017] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the above-mentioned method for controlling the information source interface is executed.

[0018] The method and device, electronic device, and storage medium for controlling the signal source interface provided by the embodiments of the present disclosure can achieve the following technical effects: a determination result is obtained by determining whether a signal source line insertion operation exists. The light source device in the signal source interface is controlled according to the determination result. In this way, a light source device is set in the signal source interface of the electronic device, and the turning on or off of the light source device is controlled by determining whether a signal source line insertion operation exists. It is convenient for the user to determine the signal source interface that he wants to connect from a number of signal source interfaces, so that the user is not likely to insert the signal source line incorrectly, thereby solving the problem of difficult signal source access to the electronic device.

[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0021] Figure 1 is a schematic diagram of a method for controlling a source interface provided by an embodiment of the present disclosure;

[0022] Figure 2 is a schematic diagram of another method for controlling a source interface provided by an embodiment of the present disclosure;

[0023] Figure 3 is a schematic diagram of another method for controlling a source interface provided by an embodiment of the present disclosure;

[0024] Figure 4 is a schematic diagram of another method for controlling a source interface provided by an embodiment of the present disclosure;

[0025] Figure 5 is a schematic diagram of another method for controlling a source interface provided by an embodiment of the present disclosure;

[0026] Figure 6 It is a schematic diagram of a device for controlling a signal source interface provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0028] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0029] Unless otherwise stated, the term "plurality" means two or more.

[0030] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0031] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0032] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0033] In the disclosed embodiment, the electronic device is a smart TV. Several source interfaces are provided on the back of the smart TV. External devices such as TV boxes, computer hosts, etc. are inserted into the source interface of the smart TV through a source line, thereby realizing the connection between the external device and the smart TV, thereby displaying various scenes through the smart TV. A light source device is provided in the source interface of the smart TV, and the light source device is used to be controlled to be turned on or off. The light source device can illuminate the source interface when it is turned on. A preset sensor, such as a gyroscope sensor or an infrared sensor, is also provided at the source interface. The smart TV identifies whether there is an object close to the source interface through a preset sensor, and determines that there is a source line insertion operation when there is an object close to the source interface. In this way, the opening or closing of the light source device is controlled by determining whether there is a source line insertion operation. It is convenient for users to determine the source interface they want to connect from several source interfaces, so that users are not likely to insert the source line incorrectly, thereby solving the problem of difficult access to the source of electronic equipment.

[0034] Combination Figure 1 As shown, an embodiment of the present disclosure provides a method for controlling a source interface. An electronic device is provided with a plurality of source interfaces, each of which is provided with a light source device, and the light source device is used to be turned on or off in a controlled manner. The method includes:

[0035] Step S101: The electronic device determines whether there is a source line insertion operation and obtains a determination result.

[0036] Step S102: the electronic device controls the light source device in the signal source interface according to the determination result.

[0037] The method for controlling the source interface provided by the embodiment of the present disclosure is adopted to obtain a determination result by determining whether there is a source line insertion operation. The light source device in the source interface is controlled according to the determination result. In this way, the light source device is set in the source interface of the electronic device, and the opening or closing of the light source device is controlled by determining whether there is a source line insertion operation. It is convenient for the user to determine the source interface that he wants to connect from a plurality of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the source of the electronic device.

[0038] Furthermore, a preset sensor is provided at the signal source interface. The electronic device determines whether there is a signal source line insertion operation and obtains a determination result, including: when the preset sensor of the electronic device recognizes that an object is close to the signal source interface, the determination result is that there is a signal source line insertion operation.

[0039] In some embodiments, the preset sensor includes a gyroscope sensor or an infrared sensor, etc.

[0040] In some embodiments, when a preset sensor recognizes that there is no object close to the signal source interface, the electronic device determines that there is no signal source line insertion operation.

[0041] Furthermore, the electronic device controls the light source device in the source interface according to the determination result, including: when the electronic device determines that there is a source line insertion operation, the source interface corresponding to the preset sensor is determined as the first target source interface, and controls the light source device in the first target source interface to turn on. In this way, by controlling the light source device in the first target source interface to turn on, the light source device can illuminate the first target source interface, making it easier for the user to more accurately insert the source line into the first target source interface. This solves the problem of difficulty in source insertion in electronic devices.

[0042] Furthermore, after the electronic device controls the light source device in the source interface according to the determination result, the electronic device further includes: determining whether the source line insertion operation is completed. If the source line insertion operation is completed, the light source device in the first target source interface is controlled to be turned off. In this way, turning off the light source device after the source line insertion operation is completed can save energy consumption.

[0043] Furthermore, the electronic device determines whether the source line insertion operation is completed, including: the electronic device determines that the source line insertion operation is completed when detecting that the first target source interface is turned on.

[0044] In some embodiments, when it is detected that the first target signal source interface is turned on, it is considered that a new external device is connected to the electronic device, and the signal source line insertion operation is considered completed.

[0045] Combination Figure 2 As shown, the embodiment of the present disclosure provides a method for controlling a source interface. A plurality of source interfaces are provided in an electronic device, each source interface is provided with a light source device, and the light source device is used to be turned on or off under control; a preset sensor is provided at the source interface; the method comprises:

[0046] Step S201: When a preset sensor of the electronic device identifies that an object is close to a signal source interface, the electronic device determines that a signal source line insertion operation has occurred.

[0047] Step S202: When the electronic device determines that there is a source line insertion operation, it determines the source interface corresponding to the preset sensor as the first target source interface, and controls the light source device in the first target source interface to turn on.

[0048] Step S203: When the signal source line insertion operation is completed, the electronic device controls the light source device in the first target signal source interface to turn off.

[0049] By adopting the method for controlling the source interface provided by the embodiment of the present disclosure, a light source device is set in the source interface of the electronic device. When the result of the determination is that there is a source line insertion operation, the source interface corresponding to the preset sensor is determined as the first target source interface, and the light source device in the first target source interface is controlled to turn on. It is convenient for the user to determine the source interface that he wants to connect from a number of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the source of the electronic device. At the same time, when the source line insertion operation is completed, the light source device in the first target source interface is controlled to turn off, which can save energy consumption.

[0050] Furthermore, the electronic device determines whether there is a source line insertion operation and obtains a determination result, including: when the electronic device receives a preset source interface selection instruction, the determination result is that there is a source line insertion operation.

[0051] In some embodiments, the electronic device is a smart TV. When the user needs to insert the source cable of the external device into the source interface of the smart TV, the user first opens the source interface of the smart TV. The source interface displays all the source interfaces of the smart TV. The user selects the source interface to be connected through the remote control. After the user selects the source interface, the remote control will send the corresponding source interface selection instruction to the smart TV.

[0052] Further, the electronic device controls the light source device in the source interface according to the determination result, including: when the determination result is that there is a source line insertion operation, the electronic device determines the source interface corresponding to the preset source interface selection instruction as the second target source interface. Determine whether the second target source interface is occupied. If the second target source interface is not occupied, control the light source device in the second target source interface to turn on.

[0053] In some embodiments, the electronic device determines whether the second target information source interface is occupied in the following manner, including: the electronic device obtains the state of the second target information source interface, and when the state of the second target information source interface is a first preset state, determines that the second target information source interface is not occupied. And / or, when the state of the second target information source interface is a second preset state, determines that the second target information source interface is occupied. The first preset state is a conducting state, and the second preset state is a disconnected state.

[0054] Furthermore, after the electronic device determines whether the second target information source interface is occupied, the process further includes: if the second target information source interface is occupied, the electronic device prompts information that the second target information source interface is occupied.

[0055] In some embodiments, the electronic device includes a display device, and when the second target signal source interface is occupied, the electronic device displays the information that the second target signal source interface is occupied on the display device, so as to prompt the user and facilitate the user to change a signal source interface to insert a signal source line.

[0056] Optionally, the electronic device includes a display device, and after the electronic device determines whether the second target signal source interface is occupied, the electronic device further includes: the electronic device determines any unoccupied signal source interface as the third target signal source interface, controls the light source device of the third target signal source interface to turn on, and prompts the user to insert the signal source line into the third target signal source interface on the display device. In this way, even if the signal source interface selected by the user is occupied, an unoccupied signal source interface can be recommended to the user, thereby improving the user's experience and facilitating the user to connect other external devices to the electronic device.

[0057] Furthermore, after the electronic device controls the light source device in the source interface according to the determination result, the electronic device further includes: determining whether the source line insertion operation is completed. If the source line insertion operation is completed, the light source device in the second target source interface is controlled to be turned off. In this way, turning off the light source device after the source line insertion operation is completed can save energy consumption.

[0058] Combination Figure 3 As shown, the embodiment of the present disclosure provides a method for controlling a source interface. A plurality of source interfaces are provided in an electronic device, each source interface is provided with a light source device, and the light source device is used to be turned on or off under control; a preset sensor is provided at the source interface; the method comprises:

[0059] Step S301: When receiving a preset source interface selection instruction, the electronic device determines that a source line insertion operation exists.

[0060] Step S302: When the determination result shows that a source line insertion operation has occurred, the electronic device determines the source interface corresponding to the preset source interface selection instruction as the second target source interface.

[0061] Step S303: the electronic device determines whether the second target information source interface is occupied.

[0062] Step S304: When the second target signal source interface is not occupied, the electronic device controls the light source device in the second target signal source interface to turn on.

[0063] By adopting the method for controlling the source interface provided by the embodiment of the present disclosure, a light source device is set in the source interface of the electronic device, and when the determination result is that there is a source line insertion operation, the source interface corresponding to the preset source interface selection instruction is determined as the second target source interface, and the light source device in the second target source interface is controlled to be turned on. It is convenient for the user to determine the source interface that he wants to connect from a plurality of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the electronic device source.

[0064] Combination Figure 4 As shown, the embodiment of the present disclosure provides a method for controlling a source interface. A plurality of source interfaces are provided in an electronic device, each source interface is provided with a light source device, and the light source device is used to be turned on or off under control; a preset sensor is provided at the source interface; the method comprises:

[0065] Step S401: When receiving a preset source interface selection instruction, the electronic device determines that a source line insertion operation exists.

[0066] Step S402: When the determination result is that a source line insertion operation has occurred, the electronic device determines the source interface corresponding to the preset source interface selection instruction as the second target source interface.

[0067] Step S403: the electronic device determines whether the second target information source interface is occupied.

[0068] Step S404: when the second target signal source interface is not occupied, the electronic device controls the light source device in the second target signal source interface to turn on.

[0069] Step S405: the electronic device determines whether the source line insertion operation is completed.

[0070] Step S406: When the signal source line insertion operation is completed, the electronic device controls the light source device in the second target signal source interface to turn off.

[0071] By adopting the method for controlling the source interface provided by the embodiment of the present disclosure, a light source device is set in the source interface of the electronic device, and when the result of the determination is that there is a source line insertion operation, the source interface corresponding to the preset source interface selection instruction is determined as the second target source interface, and the light source device in the second target source interface is controlled to turn on. It is convenient for the user to determine the source interface to be connected from a number of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the electronic device source. At the same time, when the source line insertion operation is completed, the light source device in the second target source interface is controlled to turn off, which can save energy consumption.

[0072] Combination Figure 5 As shown, the embodiment of the present disclosure provides a method for controlling a source interface. A plurality of source interfaces are provided in an electronic device, each source interface is provided with a light source device, and the light source device is used to be turned on or off under control; a preset sensor is provided at the source interface; the method comprises:

[0073] Step S501: When receiving a preset source interface selection instruction, the electronic device determines that a source line insertion operation exists, and then executes step S502.

[0074] Step S502: When the electronic device determines that a source line insertion operation has occurred, the electronic device determines the source interface corresponding to the preset source interface selection instruction as the second target source interface. Then, step S503 is executed.

[0075] Step S503, the electronic device determines whether the second target information source interface is occupied; if the second target information source interface is not occupied, execute step S504; or, if the second target information source interface is occupied, execute step S505.

[0076] Step S504: the electronic device controls the light source device in the second target signal source interface to turn on, and then ends.

[0077] Step S505: The electronic device prompts that the second target information source interface is occupied. Then, step S506 is executed.

[0078] Step S506: The electronic device determines any unoccupied information source interface as the third target information source interface, and then executes step S507.

[0079] Step S507, the electronic device controls the light source device of the third target signal source interface to turn on, and prompts the user to plug the signal source cable into the third target signal source interface on the display device. Then the process ends.

[0080] The method for controlling the source interface provided by the embodiment of the present disclosure is adopted, a light source device is set in the source interface of the electronic device, and when the result of the determination is that there is a source line insertion operation, the source interface corresponding to the preset source interface selection instruction is determined as the second target source interface, and the light source device in the second target source interface is controlled to turn on when the second target source interface is not occupied. It is convenient for the user to determine the source interface that he wants to connect from a number of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the source of the electronic device. At the same time, even when the second target source interface is occupied, the third target source interface can be determined for the user to insert the source line. The user experience is improved.

[0081] Combination Figure 6 As shown, the embodiment of the present disclosure provides a device 600 for controlling an ice-making device for controlling a source interface, including a processor 604 and a memory 601. Optionally, the device may also include a communication interface 602 and a bus 603. The processor 604, the communication interface 602, and the memory 601 may communicate with each other through the bus 603. The communication interface 602 may be used for information transmission. The processor 604 may call the logic instructions in the memory 601 to execute the method for controlling the source interface of the above embodiment.

[0082] By using the device for controlling the source interface provided by the embodiment of the present disclosure, a determination result is obtained by determining whether a source line insertion operation is performed. The light source device in the source interface is controlled according to the determination result. In this way, a light source device is set in the source interface of the electronic device, and the opening or closing of the light source device is controlled by determining whether a source line insertion operation is performed. It is convenient for the user to determine the source interface that he wants to connect from a plurality of source interfaces, so that the user is not likely to insert the source line incorrectly, thereby solving the problem of difficulty in accessing the source of the electronic device.

[0083] In addition, the logic instructions in the memory 601 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0084] The memory 601 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 604 executes the function application and data processing by running the program instructions / modules stored in the memory 601, that is, the method for controlling the source interface in the above embodiment is implemented.

[0085] The memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 601 may include a high-speed random access memory and may also include a non-volatile memory.

[0086] Optionally, an embodiment of the present disclosure provides an electronic device, comprising: an electronic device body, and the above-mentioned device for controlling the source interface. The device for controlling the source interface is installed in the electronic device body. The installation relationship described here is not limited to placement inside the electronic device body, but also includes installation connections with other components of the electronic device body, including but not limited to physical connections, electrical connections or signal transmission connections, etc. Those skilled in the art can understand that the device for controlling the source interface can be adapted to a feasible electronic device body, thereby realizing other feasible embodiments.

[0087] The electronic device provided by the embodiment of the present disclosure is used to obtain a determination result by determining whether a signal source line insertion operation has occurred. The light source device in the signal source interface is controlled according to the determination result. In this way, a light source device is set in the signal source interface of the electronic device, and the opening or closing of the light source device is controlled by determining whether a signal source line insertion operation has occurred. This can facilitate the user to determine the signal source interface that the user wants to connect to from a number of signal source interfaces, making it difficult for the user to insert the signal source line incorrectly, thereby solving the problem of difficult signal source access to the electronic device.

[0088] Optionally, the electronic device is a smart TV.

[0089] An embodiment of the present disclosure provides a storage medium storing program instructions, which execute the above method for controlling a source interface when running.

[0090] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for controlling a source interface.

[0091] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0092] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0093] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0094] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0095] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0096] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for controlling a source interface, characterized in that: The electronic device is provided with a plurality of signal source interfaces, each signal source interface is provided with a light source device, and the light source device is used to be turned on or off in a controlled manner; the method comprises: Determine whether there is a source line insertion operation, and obtain a determination result; The light source device in the signal source interface is controlled according to the determination result.

2. The method according to claim 1, characterized in that A preset sensor is provided at the signal source interface; determining whether there is a signal source line insertion operation, and obtaining a determination result, including: When the preset sensor recognizes that an object is close to the signal source interface, the determination result is that a signal source line insertion operation occurs.

3. The method according to claim 2, characterized in that The light source device in the source interface is controlled according to the determination result, including: When the determination result is that there is a source line insertion operation, the source interface corresponding to the preset sensor is determined as the first target source interface, and the light source device in the first target source interface is controlled to be turned on.

4. The method according to claim 1, characterized in that: Determine whether there is a source line insertion operation, and obtain a determination result, including: When a preset source interface selection instruction is received, the determination result is that a source line insertion operation exists.

5. The method according to claim 4, characterized in that The light source device in the source interface is controlled according to the determination result, including: If the determination result is that there is a source line insertion operation, determining the source interface corresponding to the preset source interface selection instruction as the second target source interface; Determine whether the second target source interface is occupied; When the second target information source interface is not occupied, the light source device in the second target information source interface is controlled to be turned on.

6. The method according to claim 5, characterized in that After determining whether the second target source interface is occupied, the method further includes: When the second target information source interface is occupied, the information indicating that the second target information source interface is occupied is prompted.

7. The method according to claim 5, characterized in that After the light source device in the signal source interface is controlled according to the determination result, the method further includes: Determine whether the source line insertion operation is completed; When the source line insertion operation is completed, the light source device in the second target source interface is controlled to be turned off.

8. A device for controlling a source interface, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for controlling a source interface according to any one of claims 1 to 7 when running the program instructions.

9. An electronic device, characterized in that: include: Electronic device body; The electronic device is provided with a plurality of signal source interfaces, each signal source interface is provided with a light source device, and the light source device is used to be turned on or off in a controlled manner; The device for controlling the source interface according to claim 8 is installed in the electronic device body.

10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for controlling a source interface according to any one of claims 1 to 7 is executed.