A processing method and device
By connecting to the processing device to obtain the interface performance parameters, determine and control the interface working mode of the hub device, it solves the problem of users being difficult to determine the reason for the unavailability of the interface, and realizes the function of the user to clarify the interface status.
Patent Information
- Application Number
- CN202111166514.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Electronic devices have different outward power supply capabilities under different working conditions, which leads to some interfaces on the hub device being unable to be used normally, making it difficult for users to determine the cause, causing trouble.
By connecting with the processing device, its interface performance parameters are obtained, and the working mode of the third interface set of the electronic device is determined based on these parameters, and the enabling status of each third interface is controlled and the enabling indication information is output.
Users can understand the current working capabilities of electronic devices, clarify which interfaces are available and which are not available, avoid misunderstandings and unnecessary troubles, and improve user experience.
Smart Images

Figure CN113918417B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to equipment power supply technology, and more specifically, to a processing method and apparatus. Background Art
[0002] Currently, due to different hardware configurations or working states, different electronic devices or the same device in different working states may have different external power supply capabilities. This may result in some interfaces on the hub device being usable while other interfaces cannot be used normally when a hub device is connected to the electronic device interface.
[0003] However, users do not have a clear understanding of the current power supply capacity of electronic devices. When they find that some interfaces on the hub device cannot be used, they do not know the exact reason why the hub device cannot be used normally, which causes trouble to users. Summary of the invention
[0004] In view of this, this application provides the following technical solutions:
[0005] A processing method, comprising:
[0006] The electronic device obtains an interface performance parameter of the processing device, wherein the electronic device is connected to a second interface of the processing device through a first interface, and the interface performance parameter represents a performance parameter of the second interface;
[0007] Determining an operating mode of a third interface set of the electronic device based on the interface performance parameter, wherein the third interface set includes at least two third interfaces, and the third interfaces are used to connect an auxiliary device, and the auxiliary device is a device used to provide performance and / or function enhancement for the processing device;
[0008] The enable state of each third interface in the third interface set is controlled based on the working mode, and enable indication information is output, wherein the enable indication information is used to indicate third interfaces in different enable states.
[0009] Optionally, controlling the enable state of each third interface in the third interface set based on the working mode and outputting enable indication information includes:
[0010] The enabling state of each third interface in the third interface set is controlled based on the working mode, and enabling indication information is sent to the processing device.
[0011] Optionally, the electronic device includes an output device, each third interface has a unique corresponding identifier, and the enabling state of each third interface in the third interface set is controlled based on the working mode, and the enabling indication information is output, including:
[0012] Controlling an enable state of each third interface in the third interface set based on the working mode;
[0013] The output device is controlled to output identifiers of third interfaces in different enabled states.
[0014] Optionally, each third interface has a corresponding indication device, and the controlling the enabling state of each third interface in the third interface set based on the working mode and outputting enabling indication information includes:
[0015] Based on the working mode, the enabling state of each third interface in the third interface set is controlled and the indicating device corresponding to each third interface is controlled, so that the enabling indication mode is different from the disabling indication mode.
[0016] Optionally, determining the operating mode of a third interface set of the electronic device based on the interface performance parameter includes:
[0017] Determine a set of operating modes of a third interface set of the electronic device based on the interface performance parameter, wherein the set of operating modes includes at least one operating mode;
[0018] Determining a target operating mode from the operating mode set;
[0019] Then the controlling the enabling state of each third interface in the third interface set based on the working mode and outputting enabling indication information includes:
[0020] The enable state of each third interface in the third interface set is controlled based on the target working mode, and enable indication information is output.
[0021] Optionally, determining a target working mode from the working mode set includes:
[0022] A target operating mode is determined from the operating mode set based on preset configuration and / or historical usage information.
[0023] Optionally, after determining the target working mode from the working mode set, the method further includes:
[0024] Obtaining an interface selection signal for a target third interface triggered by a user, wherein the interface selection signal indicates an enable state of switching the third interface;
[0025] A new target working mode is selected from the working mode set based on the interface selection signal, in which the enable state of the target third interface represents that the target third interface is in an available state.
[0026] Optionally, determining the working mode of the third interface set of the electronic device based on the interface performance parameter includes:
[0027] The working mode of the third interface set is determined based on the preset correspondence between the interface performance and the working mode and the interface performance parameter.
[0028] Optionally, the electronic device obtains the interface performance parameter of the processing device, including:
[0029] Functional standards and electrical parameter standards for the interface between electronic equipment and processing equipment;
[0030] In the case where the functional standard indicates that the interface of the processing device has a first function, the enabling state of the third interface corresponding to the first function in the working mode indicates that it is in an available state;
[0031] In the case where the functional standard indicates that the interface of the processing device does not have a first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an unavailable state.
[0032] A processing device, comprising:
[0033] a parameter obtaining module, configured to obtain an interface performance parameter of a processing device, wherein the electronic device is connected to a second interface of the processing device via a first interface, and the interface performance parameter represents a performance parameter of the second interface;
[0034] a mode determination module, configured to determine an operating mode of a third interface set of the electronic device based on the interface performance parameter, wherein the third interface set includes at least two third interfaces, and the third interfaces are used to connect an auxiliary device, and the auxiliary device is a device used to provide performance and / or function enhancement for the processing device;
[0035] A state control module is used to control the enable state of each third interface in the third interface set based on the working mode, and output enable indication information, wherein the enable indication information is used to indicate the third interfaces in different enable states. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0037] Figure 1 An example diagram for a hub device;
[0038] Figure 2 A flowchart of a processing method disclosed in an embodiment of the present application;
[0039] Figure 3 This is an example diagram of the local display output enabling indication information disclosed in the embodiment of the present application;
[0040] Figure 4 An example diagram of the indicator light indication enabling indication information disclosed in the embodiment of the present application;
[0041] Figure 5 A flowchart of another processing method disclosed in an embodiment of the present application;
[0042] Figure 6 A flow chart of the switching enabling state disclosed in the embodiment of the present application;
[0043] Figure 7 A schematic diagram of the structure of a processing device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0044] For the purpose of reference and clarity, the descriptions, abbreviations or acronyms of the technical terms used below are summarized as follows:
[0045] USB Type-C: USB is the abbreviation of Universal Serial Bus. The Chinese name of USB is Universal Serial Bus. It is an external bus standard used to regulate the connection and communication between computers and external devices. It is an interface technology used in the PC field; USB-C refers to USB Type-C, which is a category in the USB interface.
[0046] PD: Power Delivery is a standard that uses the USB interface to supply 100W of power, aiming to provide users with a more powerful power charging solution.
[0047] DP: DisplayPort, display interface.
[0048] SDP: Standard Downstream Port, standard downstream interface.
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] The electronic device described in the embodiment of the present application may be a hub device, such as an expansion dock, i.e., a port replicator, which is usually an external device of a laptop computer, a desktop computer, etc., and can copy or even expand the ports of a laptop computer, so that the laptop computer can be conveniently connected to multiple accessories or external devices (such as a power adapter, a network cable, a mouse, an external keyboard, a printer, an external display, etc.) in one stop. For ease of understanding, in the following embodiments, a hub device will be used as an example for relevant introduction.
[0051] Since the hub device can be connected to multiple external devices, it includes many interfaces such as Figure 1 As shown. In the working state, the hub device needs to be connected to a processing device, which relies on the power provided by the processing device to work, and supplies power to all or part of its expansion interfaces, so that all or part of the expansion interfaces can power the corresponding external devices. The expansion interface is the interface through which the hub device supplies power to other external devices. In some scenarios where only some expansion interfaces of the hub device can be used, users are often unsure which interfaces of the hub device can be used and which interfaces cannot be used; if a certain expansion interface of the hub device cannot be used normally, the user does not know whether the current interface is not supported or the hub device fails, which causes great trouble to the user. Based on this, the technical solution of the present application is proposed.
[0052] Figure 2 This is a flowchart of a processing method disclosed in an embodiment of the present application, see Figure 1 As shown, the processing method may include:
[0053] Step 201: The electronic device obtains interface performance parameters of the processing device.
[0054] The electronic device is connected to a second interface of a processing device via a first interface, and the interface performance parameter represents a performance parameter of the second interface.
[0055] Among them, the first connection and the second interface can be, but are not limited to, interfaces that support the PD protocol, such as USB Type-C interfaces. In implementation, after the electronic device establishes a connection with the processing device, the electronic device can communicate with the processing device through the first interface and the second interface to understand the performance support that the processing device can currently provide, so as to facilitate the subsequent determination of its own working mode. Among them, the performance support that the processing device can provide can be, but is not limited to, which functions the characterization interface supports, which functions it does not support, the electrical parameters that can be provided, etc.
[0056] Step 202: Determine a working mode of a third interface set of the electronic device based on the interface performance parameter.
[0057] The third interface set includes at least two third interfaces, and the third interfaces are used to connect auxiliary devices, and the auxiliary devices are devices used to provide performance and / or function enhancement for the processing device.
[0058] The third interface is different from the first interface. The first interface is an interface connecting the electronic device and the processing device. When the electronic device is in normal working condition, the first interface user transmits electrical energy into the electronic device; and the third interface can be understood as the extension interface mentioned above, that is, the electronic device is connected to the external device through the third interface, and the external device is powered by the third interface.
[0059] The third interface set has different working modes, and in different working modes, the enabling states of the third interfaces included in the third interface set are different or not completely the same. For example, in the first working mode, interface A is available, interface B is available, and interface C is unavailable; in the second working mode, interface A is available, interface B is unavailable, and interface C is available.
[0060] Specifically, determining the working mode of the third interface set of the electronic device based on the interface performance parameters may include: determining the working mode of the third interface set based on a correspondence between preset interface performance and working mode, and the interface performance parameters.
[0061] Step 203: Control the enable state of each third interface in the third interface set based on the working mode, and output enable indication information.
[0062] The enabling indication information is used to indicate the third interface in different enabling states.
[0063] After determining the working mode of the third interface set, the working state of each third interface can be directly controlled based on the determined working mode, so that in the third interface set, the third interfaces that can work normally and the third interfaces that cannot be used completely correspond to the working mode.
[0064] The enabling indication information can indicate which third interfaces in the third interface set are in an available state and / or which third interfaces are in an unavailable state.
[0065] According to the processing method described in this embodiment, after the electronic device is connected to the processing device, it will communicate with the processing device to determine the interface performance parameters of the processing device, and based on the interface performance parameters, it will determine which of its own interfaces can be used and which cannot be used, and then provide indication information indicating whether each interface can be used, so as to facilitate the user to understand the current working capacity of the electronic device and arrange related work reasonably.
[0066] In the above embodiment, controlling the enable state of each third interface in the third interface set and outputting the enable indication information may be implemented in different ways. For example, in one implementation, controlling the enable state of each third interface in the third interface set based on the working mode and outputting the enable indication information includes: controlling the enable state of each third interface in the third interface set based on the working mode and sending the enable indication information to the processing device.
[0067] In this implementation, after obtaining the enabling indication information, the enabling indication information is not output locally, but is sent to the processing device, so that the processing device outputs the enabling indication information. The way in which the processing device outputs the enabling indication information can be determined based on its hardware configuration. For example, if the processing device is a laptop computer, it can display and output the enabling indication information on its own display screen, so that the user can directly understand the working status of each third interface in the electronic device through the display screen and arrange the corresponding work reasonably.
[0068] In another implementation, the electronic device includes an output device, each third interface has a unique corresponding identifier, and controlling the enable state of each third interface in the third interface set based on the working mode and outputting enable indication information may include: controlling the enable state of each third interface in the third interface set based on the working mode; controlling the output device to output the identifiers of the third interfaces in different enable states.
[0069] In the case where the electronic device includes an output device, the enabling indication information can be directly output locally. In this implementation, each third interface has a unique identifier, so that the identifiers of the third interfaces in different enabling states can be output in the local output device. The output device can be, but is not limited to, a display screen, a speaker, etc. Figure 3 This is an example diagram of the local display output enable indication information disclosed in the embodiment of the present application, wherein different third interfaces have different identifiers, wherein the identifier in the selected state (with a box) corresponds to an available third interface, and the identifier that is not in the selected state corresponds to an unavailable third interface. Of course, the presentation method of the identifiers of the third interfaces in different enabled states is not limited to the above presentation method. For example, in some implementations, the enabled state of the third interface displayed on the display screen may also be that the identifier of the third interface that can be used and the identifier of the third interface that cannot be used are displayed separately in different display positions.
[0070] In another implementation, each third interface has a corresponding indication device, and controlling the enable state of each third interface in the third interface set based on the working mode and outputting enable indication information may include: controlling the enable state of each third interface in the third interface set based on the working mode and controlling the indication device corresponding to each third interface, so that the enabled indication method is different from the disabled indication method.
[0071] For example, an indicator light corresponding to each third interface is visibly provided on the housing of the electronic device. After the enabling information is output, the indicator light of the usable third interface turns green, while the indicator light of the unusable third interface is off or turns red. Figure 4 The following is an example diagram of the indicator light indicating the enabling indication information disclosed in the embodiment of the present application, wherein different colors of the indicator lights indicate different enabling states of the corresponding third interfaces. Alternatively, in other implementations, only the indicator light of the unusable third interface may be on, while the indicator light of the usable third interface may not be on. In the implementation where the indicator lights of the usable and unusable third interfaces are both on, the third interfaces in different enabling states may be distinguished by different colors, flashing frequencies, brightness, etc.
[0072] Figure 5 This is a flowchart of another processing method disclosed in the embodiment of the present application, combined with Figure 5 As shown, the processing method may include:
[0073] Step 501: The electronic device obtains the interface performance parameters of the processing device.
[0074] The electronic device is connected to a second interface of a processing device via a first interface, and the interface performance parameter represents a performance parameter of the second interface.
[0075] Step 502: Determine a working mode set of a third interface set of the electronic device based on the interface performance parameter, wherein the working mode set includes at least one working mode.
[0076] When the performance parameters of the processing device are determined, they may correspond to different working modes, where different working modes have different enabling states of at least one third interface.
[0077] The electronic device has a working truth table that matches itself, which records information about different enabling states of the third interface of some electronic devices that can be satisfied by the performance parameters of some processing devices. In implementation, after determining the performance parameters of the processing device, the working mode supported by the electronic device can be determined based on the working truth table.
[0078] Table 1 is an example of a truth table of an electronic device, wherein the first column is the host (corresponding to the processing device) USB-C port performance, and the following columns indicate the power consumption requirements of different third interfaces of the electronic device that can be supported under the host USB-C port performance corresponding to the first column. The implementation of this application can be understood in conjunction with Table 1.
[0079] Table 1 Electronic equipment working truth table
[0080]
[0081] After step 502, proceed to step 503.
[0082] Step 503: Determine a target working mode from the working mode set.
[0083] When the interface performance parameters of the processing device can satisfy multiple operating modes of the electronic device, it is necessary to determine a target operating mode from the multiple operating modes and control the enabling state of each third interface according to the target operating mode.
[0084] Step 504: Control the enable state of each third interface in the third interface set based on the target working mode, and output enable indication information.
[0085] In this embodiment, when the interface performance parameters can support multiple operating modes of the electronic device, it is necessary to determine the target operating mode from the multiple operating modes so that the electronic device can timely control the enabling status of each third interface according to the target operating mode to provide services to the user.
[0086] Wherein, determining the target working mode from the working mode set may include: determining the target working mode from the working mode set based on a preset configuration and / or historical usage information.
[0087] For example, the preset configuration clearly states that when the electronic device is working, it is necessary to give priority to ensuring that the display interface function is available. Therefore, when determining the target working mode, it is necessary to select a limited working mode in which the display interface is available. Alternatively, the user's possible willingness to use is determined based on the user's historical usage habits, so as to determine the target working mode. For example, the hub device includes 6 interfaces, namely interface A, interface B, interface C, interface D, interface E and interface F. Based on the interface performance parameters, it is determined that it supports two working modes. In one working mode, interfaces A, B, C, and D are available, and interfaces E and F are not available; in another working mode, interfaces A, D, E, and F are available, and interfaces B and C are not available; if it is detected that the user has frequently used interfaces A and F in the past, the second working mode will be determined as the target working mode. Of course, it can be understood that the above two implementation methods can also be used in combination based on certain combination rules to better meet user needs.
[0088] Figure 6 This is a flowchart of the switching enabling state disclosed in the embodiment of the present application, combined with Figure 6 As shown, based on the disclosure of the above embodiment, after determining the target working mode from the working mode set, the following may also be included:
[0089] Step 601: Obtain an interface selection signal for a target third interface triggered by a user, wherein the interface selection signal indicates switching an enabling state of the third interface.
[0090] In some cases, after the system automatically determines the target working mode, if the user finds that the target third interface he wants to use is unavailable, he can actively trigger the switching of the enabling state so that the electronic device can give priority to meeting the working requirements of the target third interface.
[0091] The user triggering the interface selection signal for the target third interface can be implemented in different ways. For example, in the case where the electronic device has a display screen, the user can select the interface selection signal for switching the target third interface by touch or key input. For another example, each third interface corresponds to a separate enable switch button, and the user can press the button of the target third interface to trigger the interface selection signal for switching the target third interface.
[0092] Step 602: Select a new target working mode from the working mode set based on the interface selection signal, in which the enable state of the target third interface indicates that it is in an available state.
[0093] After the user triggers the interface selection signal for the target third interface, the target third interface can be switched from an inactive state to an active state, thereby meeting the user's usage needs. In the case where the target working mode cannot meet the user's needs, this embodiment can further complete the active switching of the electronic device working mode according to the user operation, and the design is more user-friendly.
[0094] In the above embodiments, the electronic device obtains the interface performance parameters of the processing device, which may include: the electronic device obtains the functional standard and electrical parameter standard of the interface of the processing device; when the functional standard indicates that the interface of the processing device has a first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an available state; when the functional standard indicates that the interface of the processing device does not have the first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an unavailable state.
[0095] It is understandable that, in the case where the functional standard indicates that the interface of the processing device has the first function, the enabled state of the third interface corresponding to the first function in the working mode of the electronic device may be an available state; and in the case where the functional standard indicates that the interface of the processing device does not have the first function, even if the electronic device is capable of supplying power to the third interface corresponding to the first function, the third interface corresponding to the first function in the electronic device cannot provide corresponding services to the user due to the limitation of the processing device interface. For example, the electronic device includes a first protocol interface, and the second interface of the processing device does not support the first protocol. Therefore, even if the electronic device is capable of supplying power to the first protocol interface, it is still impossible to transmit the first protocol file on the user device to the processing device after power is supplied.
[0096] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0097] The method is described in detail in the embodiments disclosed in the above-mentioned application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a device, and a specific embodiment is given below for detailed description.
[0098] Figure 7 This is a schematic diagram of the structure of a processing device disclosed in an embodiment of the present application, see Figure 7 As shown, the processing device 70 may include:
[0099] The parameter acquisition module 701 is used to obtain the interface performance parameters of the processing device, wherein the electronic device is connected to the second interface of the processing device through the first interface, and the interface performance parameters represent the performance parameters of the second interface.
[0100] The mode determination module 702 is used to determine the working mode of the third interface set of the electronic device based on the interface performance parameters, wherein the third interface set includes at least two third interfaces, and the third interface is used to connect an auxiliary device, and the auxiliary device is a device used to provide performance and / or function enhancement to the processing device.
[0101] The state control module 703 is used to control the enable state of each third interface in the third interface set based on the working mode, and output enable indication information, wherein the enable indication information is used to indicate the third interfaces in different enable states.
[0102] The processing device described in this embodiment, after the electronic device is connected to the processing device, will communicate with the processing device to determine the interface performance parameters of the processing device, and based on the interface performance parameters, determine which of its own interfaces can be used and which cannot be used, and then provide indication information indicating whether each interface can be used, so as to facilitate the user to understand the current working capacity of the electronic device and reasonably arrange related work.
[0103] In one implementation, the state control module may be specifically configured to: control the enable state of each third interface in the third interface set based on the working mode, and send enable indication information to the processing device.
[0104] In one implementation, the electronic device includes an output device, each third interface has a unique corresponding identifier, and the state control module can be specifically used to: control the enable state of each third interface in the third interface set based on the working mode; control the output device to output the identifiers of the third interfaces in different enable states.
[0105] In one implementation, each third interface has a corresponding indication device, and the status control module can be specifically used to: control the enable status of each third interface in the third interface set based on the working mode and control the indication device corresponding to each third interface, so that the enabled indication method is different from the disabled indication method.
[0106] In one implementation, the mode determination module can be specifically used to: determine the working mode set of the third interface set of the electronic device based on the interface performance parameter, the working mode set including at least one working mode; determine the target working mode from the working mode set. Then the state control module can be used to: control the enabling state of each third interface in the third interface set based on the target working mode, and output enabling indication information.
[0107] In one implementation, determining the target working mode from the working mode set may include: determining the target working mode from the working mode set based on a preset configuration and / or historical usage information.
[0108] In one implementation, the processing device also includes: an enable switching module, used to obtain an interface selection signal for a target third interface triggered by a user, wherein the interface selection signal represents an enable state of switching the third interface; based on the interface selection signal, a new target working mode is selected from the working mode set, in which the enable state of the target third interface represents that it is in an available state.
[0109] In one implementation, the mode determination module may be specifically configured to determine the working mode of the third interface set based on a correspondence between preset interface performance and working modes, and the interface performance parameters.
[0110] In one implementation, the parameter acquisition module can be specifically used to: the electronic device obtains the functional standard and electrical parameter standard of the interface of the processing device; when the functional standard indicates that the interface of the processing device has a first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an available state; when the functional standard indicates that the interface of the processing device does not have the first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an unavailable state.
[0111] Any one of the processing devices described in the above embodiments includes a processor and a memory. The parameter acquisition module, mode determination module, state control module, enable switching module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.
[0112] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.
[0113] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0114] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the processing method described in the above embodiment is implemented.
[0115] An embodiment of the present application provides a processor, which is used to run a program, wherein the processing method described in the above embodiment is executed when the program is run.
[0116] Furthermore, this embodiment provides an electronic device, including a processor and a memory, wherein the memory is used to store executable instructions of the processor, and the processor is configured to execute the processing method described in the above embodiment by executing the executable instructions.
[0117] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0118] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0119] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0120] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A processing method comprising: The electronic device obtains an interface performance parameter of the processing device, wherein the electronic device is connected to a second interface of the processing device through a first interface, and the interface performance parameter represents a performance parameter of the second interface; Determining an operating mode of a third interface set of the electronic device based on the interface performance parameter, wherein the third interface set includes at least two third interfaces, and the third interfaces are used to connect an auxiliary device, and the auxiliary device is a device used to provide performance and / or function enhancement for the processing device; The enable state of each third interface in the third interface set is controlled based on the working mode, and enable indication information is output, wherein the enable indication information is used to indicate third interfaces in different enable states.
2. The processing method according to claim 1, wherein the controlling the enabling state of each third interface in the third interface set based on the working mode and outputting enabling indication information comprises: The enabling state of each third interface in the third interface set is controlled based on the working mode, and enabling indication information is sent to the processing device.
3. The processing method according to claim 1, wherein the electronic device includes an output device, each third interface has a unique corresponding identifier, and the enabling state of each third interface in the third interface set is controlled based on the working mode, and the enabling indication information is output, comprising: Controlling an enable state of each third interface in the third interface set based on the working mode; The output device is controlled to output identifiers of third interfaces in different enabled states.
4. The processing method according to claim 1, wherein each third interface has a corresponding indication device, and the controlling the enabling state of each third interface in the third interface set based on the working mode and outputting the enabling indication information comprises: Based on the working mode, the enabling state of each third interface in the third interface set is controlled and the indicating device corresponding to each third interface is controlled, so that the enabling indication mode is different from the disabling indication mode.
5. The processing method according to claim 1, determining the working mode of the third interface set of the electronic device based on the interface performance parameter, comprising: Determine a set of operating modes of a third interface set of the electronic device based on the interface performance parameter, wherein the set of operating modes includes at least one operating mode; Determining a target operating mode from the operating mode set; Then the controlling the enabling state of each third interface in the third interface set based on the working mode and outputting enabling indication information includes: The enable state of each third interface in the third interface set is controlled based on the target working mode, and enable indication information is output.
6. The processing method according to claim 5, wherein determining the target working mode from the working mode set comprises: A target operating mode is determined from the operating mode set based on preset configuration and / or historical usage information.
7. The processing method according to claim 5, after determining the target working mode from the working mode set, further comprising: Obtaining an interface selection signal for a target third interface triggered by a user, wherein the interface selection signal indicates an enable state of switching the third interface; A new target working mode is selected from the working mode set based on the interface selection signal, in which the enable state of the target third interface represents that the target third interface is in an available state.
8. The processing method according to claim 1, wherein determining the working mode of the third interface set of the electronic device based on the interface performance parameter comprises: The working mode of the third interface set is determined based on the preset correspondence between the interface performance and the working mode and the interface performance parameter.
9. The processing method according to claim 1, wherein the electronic device obtains the interface performance parameter of the processing device, comprising: Functional standards and electrical parameter standards for the interface between electronic equipment and processing equipment; In the case where the functional standard indicates that the interface of the processing device has a first function, the enabling state of the third interface corresponding to the first function in the working mode indicates that it is in an available state; In the case where the functional standard indicates that the interface of the processing device does not have a first function, the enable state of the third interface corresponding to the first function in the working mode indicates that it is in an unavailable state.
10. A processing device comprising: a parameter obtaining module, configured to obtain an interface performance parameter of a processing device, wherein the electronic device is connected to a second interface of the processing device via a first interface, and the interface performance parameter represents a performance parameter of the second interface; a mode determination module, configured to determine an operating mode of a third interface set of the electronic device based on the interface performance parameter, wherein the third interface set includes at least two third interfaces, and the third interfaces are used to connect an auxiliary device, and the auxiliary device is a device used to provide performance and / or function enhancement for the processing device; A state control module is used to control the enable state of each third interface in the third interface set based on the working mode, and output enable indication information, wherein the enable indication information is used to indicate the third interfaces in different enable states.
Citation Information
Patent Citations
Table top concentrator
CN103126314A
Control method of electronic equipment and electronic equipment
CN108536627A