Detection method and electronic equipment
By obtaining and judging the connection information and identification information of the display device, outputting prompt information and providing operation options, the problem of the desktop computer host not using the display correctly is solved, the connection error is quickly corrected, the user experience is improved, and the device starts normally.
Patent Information
- Application Number
- CN202510898471.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-03
AI Technical Summary
During the production process of desktop computers, the host may not use the corresponding monitor correctly or the monitor may be connected incorrectly, affecting the normal activation of the device.
By obtaining the connection information and identification information of the display device, it is determined whether the display device is correctly connected, a prompt message is output, and operation options are provided to correct the incorrect connection.
Quickly detect and correct display device connection errors, improve user experience, ensure normal computer host startup, and reduce user waiting time.
Smart Images

Figure CN120743643A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of device detection, and more specifically, to a detection method and electronic equipment. Background Art
[0002] During desktop computer production, some manufacturers configure a monitor for each computer. During installation, the computer may not be properly connected to the monitor, or the display port on the computer may be incorrectly connected after the correct monitor is connected. These situations can affect the normal operation of the computer device. Summary of the Invention
[0003] In view of this, the first aspect of the present disclosure provides a detection method, comprising:
[0004] In response to activation of the target device, acquiring first connection information of a first display device connected to the target device;
[0005] and, obtaining second connection information;
[0006] When the first connection information and / or the second connection information meets the target judgment condition, outputting target prompt information;
[0007] Among them, satisfying the target judgment condition is characterized by the first display device not being correctly connected to the target device; the second connection information is the connection information of the second display device connected to the target device during the last startup, and the first display device and the second display device are the same or different.
[0008] According to an embodiment of the present disclosure, when the first connection information and / or the second connection information meets the target judgment condition, outputting target prompt information includes:
[0009] Acquire first identification information of the first display device and second identification information of the second display device according to the first connection information and the second connection information;
[0010] If the first identification information does not match the second identification information, determining that the target judgment condition is met;
[0011] And, output target prompt information.
[0012] According to an embodiment of the present disclosure, after outputting the target prompt information, the method further includes:
[0013] In response to receiving a first operation on the target prompt information, replacing the second connection information stored in the target device with the first connection information;
[0014] Or, in response to receiving a second operation for the target prompt information, turning off the target device.
[0015] According to an embodiment of the present disclosure, it further includes:
[0016] When the first identification information matches the second identification information, it is determined that the first display device is correctly connected to the target device.
[0017] According to an embodiment of the present disclosure, when the first connection information and / or the second connection information meets the target judgment condition, outputting the target prompt information further includes:
[0018] Determining attribute values of each display interface in the target device according to the first connection information; the attribute values include a first attribute value and a second attribute value;
[0019] The first attribute value indicates that the display interface is connected to a display, and the second attribute value indicates that the display interface is not connected to a display;
[0020] Obtaining a first display interface that is in an enabled state among the display interfaces;
[0021] When the attribute value of the first display interface is the second attribute value, target prompt information is output.
[0022] According to an embodiment of the present disclosure, after outputting the target prompt information, the method further includes:
[0023] In response to receiving a third operation on the target prompt information, adjusting the attribute value of the first display interface to the first attribute value;
[0024] Or, in response to receiving a fourth operation for the target prompt information, turning off the target device.
[0025] According to an embodiment of the present disclosure, it further includes:
[0026] Acquire a second display interface that is in an enabled state among the display interfaces, where the performance of the second display interface is different from that of the first display interface;
[0027] When the attribute values of the first display interface and the second display interface are both the second attribute value, the target device is controlled to perform an alarm action.
[0028] According to an embodiment of the present disclosure, each display interface further includes a second display interface in a closed state; and the method further includes:
[0029] When the attribute value of the second display interface is the first attribute value, outputting target prompt information;
[0030] The performance of the first display interface is better than that of the second display interface.
[0031] According to an embodiment of the present disclosure, after outputting the prompt message, the method further includes:
[0032] The first connection information and / or the second connection information is stored in a non-volatile memory.
[0033] A second aspect of the present disclosure provides an electronic device, including:
[0034] a memory configured to store the second connection information;
[0035] The processor is configured to, in response to activation of the target device, acquire first connection information of a first display device connected to the target device; and acquire second connection information;
[0036] The processor is further configured to output target prompt information if the first connection information and / or the second connection information meets the target judgment condition;
[0037] The target judgment condition is satisfied when the first display device is not correctly connected to the target device; the second connection information is the connection information of the second display device connected to the target device during the last startup, and the first display device and the second display device are the same or different.
[0038] A third aspect of the present disclosure provides another communication method, which is applied to a target edge device, where the target edge device is directly connected to a first server. The method includes:
[0039] Obtaining a data transmission request sent by a first server, where the first server is a network hub directly connected to at least one edge device; the data transmission request is generated by the first server based on the control request; and the control request is sent by the second server to the first server through a first communication channel;
[0040] Sending a data transmission request to the second server and establishing a second communication channel with the second server;
[0041] Data streaming is performed with the second server via the second communication channel.
[0042] According to an embodiment of the present disclosure, sending a data transmission request to a second server and establishing a second communication channel with the second server includes:
[0043] Obtaining a link address of a second server according to the data transmission request;
[0044] Sending a data transmission request to the second server via the link address;
[0045] In response to the second server verifying that the data transmission request is passed, a second communication channel is established with the second server.
[0046] A fourth aspect of the present disclosure provides a communication device, applied to a first server, where the first server is a network hub directly connected to at least one edge device, and the device includes:
[0047] A message receiving module, configured to receive a control request sent by the second server through the first communication channel; the control request is used to request control of a target edge device in at least one edge device;
[0048] a message processing module, configured to generate a data transmission request sent to a target edge device according to the control request, so as to establish a second communication channel between the target edge device and the second server;
[0049] The first communication channel is used for the second server to send a control message to the edge device via the first server; the second communication channel is used for data streaming between the second server and the target edge device.
[0050] A fifth aspect of the present disclosure provides another communication device, which is applied to a second server, and the second server provides at least a management function for an edge device, and the device includes:
[0051] a message sending module, configured to send a control request to a first server through a first communication channel, where the first server is a network hub connected to at least one edge device, and the control request is used to request control of a target edge device among the at least one edge device;
[0052] A message receiving module is used to receive a data transmission request sent by a target edge device and establish a second communication channel with the target edge device;
[0053] The data transmission module is used to perform data streaming transmission with the target edge device through the second communication channel.
[0054] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0056] Figure 1 One of the flow charts of a detection method according to an embodiment of the present disclosure is schematically shown;
[0057] Figure 2 The second flowchart of a detection method according to an embodiment of the present disclosure is schematically shown;
[0058] Figure 3 The third flowchart of a detection method according to an embodiment of the present disclosure is schematically shown;
[0059] Figure 4 One of the scenario diagrams of a detection method according to an embodiment of the present disclosure is schematically shown;
[0060] Figure 5 The second schematic diagram schematically illustrates a scenario of a detection method according to an embodiment of the present disclosure;
[0061] Figure 6 A block diagram schematically illustrates an electronic device according to an embodiment of the present disclosure;
[0062] Figure 7 A block diagram schematically shows another electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0063] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0064] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0065] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0066] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0067] In some scenarios, a desktop computer may have not only its own integrated graphics card and corresponding display interface, but also a discrete graphics card and corresponding display interface added due to product upgrades or customization. While using the computer, users may mistakenly connect a monitor to the port corresponding to an unintended graphics card, affecting the user experience.
[0068] Figure 1 One of the flow charts of a detection method according to an embodiment of the present disclosure is schematically shown.
[0069] like Figure 1 As shown, a detection method includes: operations S101~S102.
[0070] Operation S101 : in response to activation of a target device, acquiring first connection information of a first display device connected to the target device; and acquiring second connection information.
[0071] Operation S102: Output target prompt information when the first connection information and / or the second connection information meets the target judgment condition.
[0072] Among them, satisfying the target judgment condition is characterized by the first display device not being correctly connected to the target device; the second connection information is the connection information of the second display device connected to the target device during the last startup, and the first display device and the second display device are the same or different.
[0073] In the embodiments of the present disclosure, the target device may be a computer host or other electronic products that can be connected to a display device.
[0074] According to an embodiment of the present disclosure, both the first connection information and the second connection information are stored in a non-volatile memory of the target device.
[0075] Specifically, after the target device is started, it obtains first connection information of the first display device connected to the target device. At the same time, the target device stores second connection information of the second display device connected to the target device obtained during the last startup.
[0076] For example, when a computer host boots up, it first detects the first connection information of a first display device connected to the computer host. This first connection information may include the type of interface (e.g., HDMI, VGA, DP, etc.) to which the display device is connected, the interface number, the type of connected cable, etc. Simultaneously, the second connection information of a second display device (which may be the same display or a different display) that was connected to the computer host during the previous boot is read from non-volatile memory. Based on preset target judgment conditions, if the first connection information indicates that the display device is not connected according to the normal configuration (e.g., it should be connected to the HDMI1 interface but is actually connected to another interface), or if the second connection information differs significantly from the first connection information, or if the combination of the two satisfies certain preset error judgment logic, the target judgment condition is determined to be met, and a target prompt message is output on the computer host screen, such as "There may be a problem with the display device connection. Please check the connection."
[0077] By adopting the above method, the connection information of the display device is obtained when the computer host is started, and whether the first display device is correctly connected is determined according to the target judgment condition, so that abnormal connection of the display device can be quickly detected.
[0078] Figure 2 The second flowchart of a detection method according to an embodiment of the present disclosure is schematically shown.
[0079] In some scenarios, during the desktop computer production process, some manufacturers configure a corresponding monitor for each computer. During the actual installation process, the computer may not use the correct monitor, or the monitor may be replaced after the correct monitor is used.
[0080] According to an embodiment of the present disclosure, in operation S102, when the first connection information and / or the second connection information meets the target judgment condition, target prompt information is output, such as Figure 2 As shown, it includes: operations S201~S203.
[0081] Operation S201 : Acquire first identification information of a first display device and second identification information of a second display device according to first connection information and second connection information.
[0082] Operation S202 : When the first identification information does not match the second identification information, it is determined that a target judgment condition is satisfied.
[0083] Operation S203: output target prompt information.
[0084] Specifically, based on the first connection information and the second connection information, the first identification information of the first display device and the second identification information of the second display device are obtained respectively. The first identification information and the second identification information can be the unique serial number, model, etc. of the display device. The first identification information is compared with the second identification information. If the two do not match, it means that the currently connected first display device is different from the second display device connected at the last startup. Alternatively, although the display devices are the same, the connection method is incorrect, resulting in abnormal identification information acquisition. It is determined that the target judgment conditions are met, and a target prompt message is output on the screen, such as "A change or abnormality in the display device connection is detected, please confirm the connection."
[0085] In some embodiments, the display device's identification information is determined using Extended Display Identification Data (EDID). EDID is a standard for display identification data established during the development of the DDC (Display Data Channel) communication protocol. The EDID can be stored in the display's DDC memory. When a computer host is connected to the display, the computer host reads the EDID stored in the display's DDC memory through the DDC channel.
[0086] The method described above obtains the first identification information of the first display device and the second identification information of the second display device, and performs a matching determination. When it is determined that the target determination conditions are met, a target prompt message is output, clearly notifying the user of a possible problem with the display device connection, guiding the user to conduct further inspection and resolution, and improving the user experience.
[0087] According to an embodiment of the present disclosure, after outputting the target prompt information, the method further includes: operations S204 to S205.
[0088] Operation S204: In response to receiving the first operation for the target prompt information, the second connection information stored in the target device is replaced with the first connection information.
[0089] Specifically, after the target prompt information is output, an operation option is displayed on the screen of the first display device for the user to select. If the user performs a first operation in response to the target prompt information, such as clicking a "Confirm connection and update information" button displayed on the screen, the second connection information stored in the computer host is replaced with the currently obtained first connection information.
[0090] Furthermore, it indicates that the user wishes to continue using the current first display device, and the second connection information is replaced with the currently acquired first connection information to avoid the target prompt information from being outputted next time the first display device is used.
[0091] Operation S205 : In response to receiving a second operation directed to the target prompt information, shut down the target device.
[0092] Specifically, if the user performs a second operation for the target prompt information, such as clicking a "shut down computer" button displayed on the screen of the first display device, the computer host will perform a shutdown operation.
[0093] By using the above method, when the first identification information matches the second identification information, it is determined that the first display device is correctly connected to the computer host. This can quickly eliminate the display device connection error, allowing the computer host to normally boot into the operating system, reducing user waiting time.
[0094] According to an embodiment of the present disclosure, the detection method further includes: when the first identification information matches the second identification information, determining that the first display device is correctly connected to the target device.
[0095] Specifically, determining the attribute values of each display interface on the target device based on the first connection information allows for a more accurate understanding of the connection status of the display interface. After obtaining the first identification information and the second identification information, if the two match, it indicates that the currently connected first display device is the same as the second display device connected during the previous startup, and the connection method is likely correct. At this point, it is confirmed that the first display device is correctly connected to the computer host, the target prompt information is not output, and the target device boots normally into the operating system.
[0096] In other scenarios, there may be a large number of target devices, each configured with a corresponding target display device. After a target device and a target display device are disconnected, as the temporal and spatial transmission changes, when the user reconnects the target device and the display device, the display device corresponding to another target device may be connected to the target device, resulting in an incorrect configuration of the correspondence between the target device and the target display device.
[0097] By using the above method, it is possible to confirm that the target device and the target display device are correctly connected, and in the event of an incorrect connection, the user can be promptly reminded to make changes. Furthermore, by obtaining the identification information of each display device, the corresponding target device can be quickly found, allowing for faster assembly between the target device and the target display device.
[0098] Figure 3 The third flowchart of a detection method according to an embodiment of the present disclosure is schematically shown.
[0099] According to an embodiment of the present disclosure, in operation S102, when the first connection information and / or the second connection information meets the target judgment condition, target prompt information is output, such as Figure 3As shown, the process also includes: operations S301 to S303.
[0100] Operation S301: determining attribute values of each display interface in the target device according to the first connection information; the attribute values include a first attribute value and a second attribute value; wherein the first attribute value indicates that the display interface is connected to a display, and the second attribute value indicates that the display interface is not connected to a display.
[0101] Operation S302: Acquire a first display interface that is in an enabled state among the display interfaces.
[0102] Operation S303: output target prompt information when the attribute value of the first display interface is the second attribute value.
[0103] Specifically, based on the first connection information, the attribute values of each display interface in the computer host are queried. Each display interface has a corresponding graphics card. Since the target device can be configured with multiple different types of graphics cards, each with different performance. Therefore, when an external display device is connected to the target device, connecting it through the graphics card interface corresponding to a graphics card with better performance can provide the user with a better user experience when using the display device.
[0104] Exemplarily, the attribute values of each display interface are obtained through hardware detection and driver feedback of the target device. The first attribute value indicates that the display interface is connected to a monitor, and the second attribute value indicates that the display interface is not connected to a monitor. The first display interface that is in an enabled state among the display interfaces is obtained (for example, the interface that is determined to be enabled through BIOS settings or system power management). If the attribute value of the first display interface is the second attribute value, that is, the enabled interface is not actually connected to a monitor, a target prompt message is output on the screen, such as "The enabled display interface is not connected to a monitor, please check the connection", or "The disabled display interface is connected to a monitor, please check the connection".
[0105] According to an embodiment of the present disclosure, after operation S303 , the method further includes: operations S304 - S305 .
[0106] Operation S304: In response to receiving a third operation directed to the target prompt information, adjusting the property value of the first display interface to the first property value.
[0107] Operation S305: In response to receiving a fourth operation directed to the target prompt information, shut down the target device.
[0108] Specifically, after the target prompt information is output, an operation option is displayed on the screen. If the user performs a third operation on the target prompt information, such as clicking a "keep current display interface connected" button displayed on the screen, the attribute value of the first display interface is adjusted to the first attribute value, that is, the first display interface is in the enabled state by default and is connected to a display.
[0109] On the contrary, if the user performs the fourth operation for the target prompt information, such as clicking the "Shut down, manually update the display interface connection" button displayed on the screen, the computer host will perform the shutdown operation to facilitate the user's subsequent operations.
[0110] By adopting the above method, after the target prompt information is output, two operation options are provided: the user can choose to try to readjust the attribute values of the first display interface, ignoring the display interface connection error problem, thus reducing the user's manual troubleshooting and operation troubles; or choose to shut down the computer host.
[0111] According to an embodiment of the present disclosure, it also includes: obtaining a second display interface that is in an turned-on state among each display interface, the performance of the second display interface is different from that of the first display interface; when the attribute values of the first display interface and the second display interface are both the second attribute values, controlling the target device to perform an alarm action.
[0112] Specifically, a second display interface that is enabled among the display interfaces is obtained, where the second display interface has different performance than the first display interface. For example, the first display interface corresponds to a discrete graphics card, and the second display interface corresponds to an integrated graphics card. When the attribute values of the first and second display interfaces are both the second attribute values, i.e., neither interface is connected to a monitor, the computer host is controlled to execute an alarm action.
[0113] For example, a continuous alarm sound is emitted through a buzzer on the computer host, and a more eye-catching warning message is displayed on the screen, such as "Multiple open display interfaces are not connected to the monitor, please check immediately!".
[0114] According to an embodiment of the present disclosure, each display interface also includes a second display interface in a closed state; the method also includes: outputting target prompt information when the attribute value of the second display interface is the first attribute value; wherein the performance of the first display interface is better than that of the second display interface.
[0115] Specifically, each display interface of the computer host also includes a second display interface that is in a disabled state, and the performance of the first display interface is superior to that of the second display interface. When the attribute value of the second display interface is the first attribute value, that is, it is in a disabled state but is actually connected to a monitor, the system outputs a target prompt message on the screen, such as "A display interface that is connected but not turned on has been detected. Please check."
[0116] In some embodiments, the display interface includes a display interface corresponding to a discrete graphics card and a display interface corresponding to an integrated graphics card. In the display interface configuration item of the target device, at least one of the display interfaces can be selected to be enabled.
[0117] When the display interfaces selected to be enabled only include the display interface corresponding to the independent graphics card, when an external display device is connected to the display interface corresponding to the integrated graphics card, it is determined that the display device is not correctly connected.
[0118] When the display interfaces selected to be enabled only include the display interface corresponding to the integrated graphics card, and an external display device is connected to the display interface corresponding to the integrated graphics card, it is determined that the display device is correctly connected.
[0119] In some embodiments, when the display interface selected for the enabled state includes only the display interface corresponding to the integrated graphics card, and the attribute value is the first attribute value, a prompt message can be sent to the user: "The display interface corresponding to the independent graphics card is not enabled. You can use it after selecting to enable it."
[0120] Figure 4 This is one of the scenario diagrams schematically illustrating a detection method according to an embodiment of the present disclosure.
[0121] like Figure 4 As shown, in some embodiments, when the display interface selected to be enabled includes only the display interface corresponding to the integrated graphics card, and the attribute value of the display interface corresponding to the integrated graphics card is the second attribute value, and the attribute value of the display interface corresponding to the discrete graphics card is the first attribute value, a prompt message may be sent to the user: "The display interface corresponding to the discrete graphics card is not enabled. Select YES to enable it and it will be available." "Shut down the device and reselect the display interface, select NO."
[0122] Figure 5 This is a second scenario diagram schematically illustrating a detection method according to an embodiment of the present disclosure.
[0123] like Figure 5 As shown, in some embodiments, when the display interfaces selected for the enabled state include only the display interface corresponding to the independent graphics card, and the attribute value of the display interface corresponding to the independent graphics card is the second attribute value, and the attribute value of the display interface corresponding to the integrated graphics card is the first attribute value, a prompt message may be sent to the user: "The display interface corresponding to the integrated graphics card is not enabled. Select YES to enable it and it will be available." "Shut down the device and reselect the display interface, select NO."
[0124] Among them, when the display interface selected to be turned on includes the display interface corresponding to the independent graphics card and the display interface corresponding to the integrated graphics card, the external display device may include multiple ones, which are respectively connected to the display interface corresponding to the independent graphics card and the display interface corresponding to the integrated graphics card.
[0125] In some embodiments, when the display interfaces selected for activation include only the display interface corresponding to the discrete graphics card and the display interface corresponding to the integrated graphics card, if the attribute value of the display interface corresponding to the integrated graphics card is a first attribute value and the attribute value of the display interface corresponding to the discrete graphics card is a second attribute value, a prompt message may be sent to the user, stating that the display interface corresponding to the discrete graphics card is not in use and selecting it for use may improve device performance. The user may choose to ignore the prompt message and then select a different display interface for the display device before the next startup.
[0126] According to an embodiment of the present disclosure, after outputting the prompt message, the method further includes: storing the first connection information and / or the second connection information in a non-volatile memory.
[0127] Specifically, regardless of the judgment condition based on which the prompt message is output, the first connection information and / or the second connection information obtained this time will be stored in the non-volatile memory of the target device. The storage can be saved according to a specific data structure and file format so that it can be read at the next startup and used as a reference for determining the connection status of the display device.
[0128] Exemplarily, the connection information is stored in a specific directory of the hard disk in JSON format, and the file name may include information such as the startup time to distinguish records of different startups.
[0129] Figure 6 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown.
[0130] The second aspect of the present disclosure further provides an electronic device 600, such as Figure 6 Shown, including:
[0131] The memory 610 is configured to store the second connection information;
[0132] The processor 620 is configured to, in response to the activation of the target device, obtain first connection information of a first display device connected to the target device; and obtain second connection information;
[0133] The processor 620 is also configured to output target prompt information when the first connection information and / or the second connection information meets the target judgment condition; wherein, meeting the target judgment condition is characterized by the first display device not being correctly connected to the target device; the second connection information is the connection information of the second display device connected to the target device at the last startup, and the first display device and the second display device are the same or different.
[0134] According to an embodiment of the present disclosure, the processor 620 is also configured to obtain first identification information of the first display device and second identification information of the second display device based on the first connection information and the second connection information, respectively; when the first identification information and the second identification information do not match, determine that the target judgment condition is met; and output target prompt information.
[0135] According to an embodiment of the present disclosure, the processor 620 is further configured to, in response to receiving a first operation for the target prompt information, replace the second connection information stored in the target device with the first connection information; or, in response to receiving a second operation for the target prompt information, turn off the target device.
[0136] According to an embodiment of the present disclosure, the processor 620 is further configured to determine that the first display device is correctly connected to the target device when the first identification information matches the second identification information.
[0137] According to an embodiment of the present disclosure, the processor 620 is further configured to determine the attribute values of each display interface in the target device based on the first connection information; the attribute values include a first attribute value and a second attribute value; wherein the first attribute value represents that the display interface is connected to the display, and the second attribute value represents that the display interface is not connected to the display; obtain the first display interface that is in the turned-on state among the various display interfaces; and output target prompt information when the attribute value of the first display interface is the second attribute value.
[0138] According to an embodiment of the present disclosure, the processor 620 is further configured to adjust the property value of the first display interface to the first property value in response to receiving a third operation for the target prompt information; or, to turn off the target device in response to receiving a fourth operation for the target prompt information.
[0139] According to an embodiment of the present disclosure, the processor 620 is also configured to obtain a second display interface that is in an turned-on state among each display interface, and the performance of the second display interface is different from that of the first display interface; when the attribute values of the first display interface and the second display interface are both the second attribute values, the target device is controlled to perform an alarm action.
[0140] According to an embodiment of the present disclosure, each display interface also includes a second display interface in a closed state; the processor 620 is also configured to output target prompt information when the attribute value of the second display interface is the first attribute value; wherein the performance of the first display interface is better than that of the second display interface.
[0141] According to an embodiment of the present disclosure, the processor 620 is further configured to store the first connection information and / or the second connection information in a non-volatile memory.
[0142] It should be noted that the device part in the embodiment of the present disclosure corresponds to the detection method part in the embodiment of the present disclosure, and their specific implementation details are also the same, which will not be repeated here.
[0143] Figure 7 A block diagram schematically shows another electronic device suitable for implementing the communication method described above according to an embodiment of the present disclosure. Figure 7 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0144] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage portion 708 into a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include onboard memory configured for cache purposes. The processor 701 may include a single processing unit or multiple processing units configured to perform different actions of the method flow according to an embodiment of the present disclosure.
[0145] Various programs and data required for the operation of the electronic device 700 are stored in the RAM 703. The processor 701, ROM 702, and RAM 703 are connected to each other via a bus 704. The processor 701 executes the various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 702 and / or RAM 703. It should be noted that the programs may also be stored in one or more memories other than the ROM 702 and RAM 703. The processor 701 may also execute the various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0146] According to an embodiment of the present disclosure, electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to bus 704. Electronic device 700 may also include one or more of the following components connected to I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 708 including a hard disk; and a communication section 709 including a network interface card such as a LAN card or modem. Communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to I / O interface 705 as needed. Removable media 711, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 710 as needed, so that computer programs read from the removable media can be installed into storage section 708 as needed.
[0147] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code configured to execute the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.
[0148] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.
[0149] According to embodiments of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples include, but are not limited to, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0150] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or the RAM 703 described above and / or one or more memories other than the ROM 702 and the RAM 703 .
[0151] An embodiment of the present disclosure also includes a computer program product, which includes a computer program containing program code configured to execute the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is configured to enable the electronic device to implement the remote sensing image detection method based on deep neural network provided by the embodiment of the present disclosure.
[0152] When the computer program is executed by the processor 701, the above functions defined in the system / device of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0153] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 709, and / or installed from a removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0154] According to an embodiment of the present disclosure, the program code configured to execute the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0155] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions configured to implement the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, as well as the combination of boxes in the block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions. It will be understood by those skilled in the art that the features described in the various embodiments of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways, and all of these combinations and / or couplings fall within the scope of the present disclosure.
[0156] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A detection method comprising: In response to the start-up of the target device, acquiring first connection information of a first display device connected to the target device; and, obtaining second connection information; outputting target prompt information when the first connection information and / or the second connection information meets a target judgment condition; Wherein, satisfying the target judgment condition is characterized by the first display device not being correctly connected to the target device; The second connection information is connection information of a second display device connected to the target device during the last startup, and the first display device and the second display device are the same or different.
2. The method according to claim 1, wherein, when the first connection information and / or the second connection information meets a target judgment condition, outputting target prompt information comprises: acquiring first identification information of the first display device and second identification information of the second display device according to the first connection information and the second connection information; In a case where the first identification information does not match the second identification information, determining that the target judgment condition is met; And, output target prompt information.
3. The method according to claim 2, further comprising: after outputting the target prompt information; In response to receiving a first operation on the target prompt information, replacing the second connection information stored in the target device with the first connection information; Or, in response to receiving a second operation for the target prompt information, shutting down the target device.
4. The method according to claim 2, further comprising: When the first identification information matches the second identification information, it is determined that the first display device is correctly connected to the target device.
5. The method according to claim 1, further comprising: outputting target prompt information when the first connection information and / or the second connection information meets a target judgment condition; determining, according to the first connection information, attribute values of each display interface in the target device; The attribute value includes a first attribute value and a second attribute value; The first attribute value indicates that the display interface is connected to a display, and the second attribute value indicates that the display interface is not connected to a display; Acquire a first display interface that is in an enabled state among the display interfaces; When the attribute value of the first display interface is the second attribute value, target prompt information is output.
6. The method according to claim 5, after outputting the target prompt information, further comprising: In response to receiving a third operation on the target prompt information, adjusting the attribute value of the first display interface to the first attribute value; Or, in response to receiving a fourth operation for the target prompt information, turning off the target device.
7. The method according to claim 5, further comprising: Acquire a second display interface that is in an enabled state among the display interfaces, where the performance of the second display interface is different from that of the first display interface; When the attribute values of the first display interface and the second display interface are both the second attribute values, the target device is controlled to perform an alarm action.
8. The method according to claim 5, wherein each display interface further comprises a second display interface in a closed state; the method further comprising: When the attribute value of the second display interface is the first attribute value, outputting target prompt information; The performance of the first display interface is better than that of the second display interface.
9. The method according to claim 1, after outputting the prompt message, the method further comprises: The first connection information and / or the second connection information is stored in a non-volatile memory.
10. An electronic device comprising: a memory configured to store the second connection information; a processor configured to, in response to activation of a target device, obtain first connection information of a first display device connected to the target device; and, obtaining second connection information; The processor is further configured to output target prompt information if the first connection information and / or the second connection information meets a target judgment condition; Wherein, satisfying the target judgment condition is characterized by the first display device not being correctly connected to the target device; The second connection information is connection information of a second display device connected to the target device during the last startup, and the first display device and the second display device are the same or different.