Dongle upgrading method and apparatus, and device and storage medium
By detecting the device information and protocol type of the screen transmitter, the problem of poor upgrade compatibility of the screen transmitter is solved, the normal pairing of the screen transmitter with different types of devices is realized, and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/078826
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2024-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
The screen transmitter requires firmware upgrades and connection information writing before use, resulting in poor compatibility and inability to pair with new models of electronic devices, affecting the user experience.
By detecting the supplier identification code and product identification code of the screen transmitter, confirm its device information, and query the adapted firmware from the stored firmware according to the supported protocol type for upgrading and writing connection information to ensure that the screen transmitter operates under different conditions. Normal pairing between model devices.
The compatibility of the screen transmitter upgrade has been improved to ensure that the screen transmitter can be paired and connected normally, improving the user experience. Regardless of whether the device stores the firmware of the corresponding model, the connection information can be written to ensure the normal operation of the screen transmitter function.
Smart Images

Figure CN2024078826_06092024_PF_FP
Abstract
Description
Screen sharing device upgrade method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 2, 2023, with application number 202310197525.8 and invention name “A method, device, equipment and storage medium for upgrading a screen transmitter”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of screen transmission technology, and in particular to a method, device, equipment and storage medium for upgrading a screen transmitter. Background Art
[0003] With the development of Internet technology, electronic devices have become more diverse and their uses have become more diverse. In some scenarios, users have an increasingly strong demand for convenient content sharing across multiple electronic device displays. Screen mirroring technology can largely meet this user demand.
[0004] Screen sharing technology enables communication and content sharing between electronic devices through a screen sharing device. Before use, the screen sharing device must be plugged into the corresponding electronic device via a USB port to upgrade the firmware and write connection information for subsequent pairing and connection with the screen sharing device.
[0005] When the screen transmitter is upgraded in firmware and connection information is written before use, the firmware upgrade is usually performed by obtaining the corresponding screen transmitter firmware from the electronic device based on the model of the screen transmitter. The corresponding connection information is written only after the firmware upgrade is successful. Due to the continuous update and iteration of the screen transmitter, it is possible that the screen transmitter connected to the electronic device is a new model, and the electronic device has not yet stored the screen transmitter firmware adapted to the new model. In this case, the electronic device cannot query the screen transmitter firmware adapted to the new model, and the screen transmitter firmware upgrade operation cannot be performed. Since the screen transmitter firmware upgrade operation cannot be performed, the corresponding connection information cannot be written to the screen transmitter, resulting in the inability to pair the screen transmitter device according to the connection information during subsequent screen transmission. This screen transmitter upgrade method, which requires the firmware upgrade to be completed before the connection information can be written, has poor compatibility and leads to a poor user experience.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a screen transmitter upgrade method, device, equipment and storage medium, which can solve the problem of poor compatibility of screen transmitter upgrades, improve the compatibility of screen transmitter upgrades, ensure the function of the screen transmitter to subsequently perform normal pairing and connection through screen transmission connection information, and enhance the user experience.
[0008] In a first aspect, an embodiment of the present application provides a screen sharing device upgrade method for a screen sharing device, the screen sharing device including a display device and a screen sharing device. The device information of the screen sharing device includes a vendor identification code, a product identification code, and basic device information, the basic device information including a communication protocol type and a device model. The display device stores screen sharing device firmware corresponding to at least one device model. The screen sharing device upgrade method includes:
[0009] When the display device detects a screen sharing device connected via a USB interface, it obtains the vendor identification code and product identification code of the connected screen sharing device;
[0010] When the display device confirms that the connected screen sharing device matches any device information in the preset device support list based on the vendor identification code and product identification code, it obtains the basic device information of the connected screen sharing device;
[0011] When the display device confirms that the acquired communication protocol type is a supported protocol type, it searches the stored screen sharing device firmware for the screen sharing device firmware that is compatible with the acquired device model;
[0012] The display device sends the queried screen sharing device firmware to the connected screen sharing device through the USB interface based on the acquired communication protocol type for upgrading, and writes the screen sharing connection information to the connected screen sharing device after the upgrade;
[0013] When the display device fails to query the screen sharing device firmware, it writes the screen sharing connection information to the connected screen sharing device.
[0014] In a second aspect, an embodiment of the present application provides a screen sharing device upgrade apparatus for a screen sharing device, the screen sharing device including a display device and a screen sharing device, wherein the device information of the screen sharing device records a vendor identification code, a product identification code, and basic device information, the basic device information including a communication protocol type and a device model, and the display device stores screen sharing device firmware corresponding to at least one device model; the screen sharing device upgrade apparatus includes:
[0015] An identification code acquisition unit, configured to acquire a supplier identification code and a product identification code of a screen sharing device connected via a USB interface when the display device detects the screen sharing device connected via the USB interface;
[0016] The basic information acquisition unit is used to obtain basic device information of the connected screen transmitter when the display device confirms that the connected screen transmitter matches any device information in the preset device support list based on the supplier identification code and the product identification code;
[0017] The screen transmitter firmware acquisition unit is configured to query the stored screen transmitter firmware for the screen transmitter firmware that is compatible with the acquired device model when the display device confirms that the acquired communication protocol type is a supported protocol type;
[0018] The firmware upgrade unit is used for the display device to send the queried screen transmission device firmware to the connected screen transmission device through the USB interface based on the acquired communication protocol type for upgrading, and write the screen transmission connection information to the connected screen transmission device after the upgrade;
[0019] The connection information writing unit is used to write the screen transmission connection information to the connected screen transmission device when the display device fails to query the screen transmission device firmware.
[0020] In a third aspect, an embodiment of the present application provides a screen sharing device upgrade device, including:
[0021] a display screen, memory, and one or more processors;
[0022] The display screen is used to display a first window;
[0023] The memory is used to store one or more programs;
[0024] When the one or more programs are executed by the one or more processors, the one or more processors implement the screen sharing device upgrade method as described in the first aspect.
[0025] In a fourth aspect, an embodiment of the present application provides a storage medium storing computer-executable instructions, which, when executed by a computer processor, are used to execute the screen transmitter upgrade method as described in the first aspect.
[0026] In an embodiment of the present application, the queried screen transmitter firmware is sent to the connected screen transmitter for upgrading through the display device, and then the screen transmission connection information is written to the connected screen transmitter. When the display device fails to query the screen transmitter firmware, the screen transmission connection information is written to the connected screen transmitter, which solves the technical problem of poor compatibility of the screen transmitter upgrade. Regardless of whether the display device queries the corresponding screen transmitter firmware, the screen transmission connection information can be written to the connected screen transmitter to ensure the screen transmitter's subsequent normal pairing and connection function through the screen transmission connection information, thereby improving the compatibility of the screen transmitter upgrade and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a flow chart of a screen sharing device upgrade method provided by one embodiment of the present application;
[0028] FIG2 is a schematic diagram of a preset device support list provided in one embodiment of the present application;
[0029] FIG3 is a first schematic diagram of a firmware upgrade reminder provided by an embodiment of the present application;
[0030] FIG4 is a second schematic diagram of a firmware upgrade reminder provided by one embodiment of the present application;
[0031] FIG5 is a third schematic diagram of a firmware upgrade reminder provided by an embodiment of the present application;
[0032] FIG6 is a schematic structural diagram of a screen sharing device upgrade apparatus provided by one embodiment of the present application;
[0033] FIG7 is a schematic structural diagram of a screen sharing device upgrade device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solutions and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It should also be noted that, for ease of description, only parts related to the present application, not all of the contents, are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0035] Screen transmission can be understood as the use of network technology to transmit the display contents of different electronic devices to each other to achieve display synchronization, which is often used in conference office, centralized teaching and daily movie watching. The screen transmitter is an important component for realizing screen transmission between different electronic devices. The screen transmitter is used to access the electronic device that initiates the screen projection, receive the screen projection data according to the screen projection instruction of the electronic device that initiates the screen projection, and send the screen projection data to another electronic device paired with the screen transmitter, so that the other electronic device can display the corresponding screen projection data after receiving the screen projection data. Before screen transmission, the screen transmitter needs to be inserted into the electronic device through the USB or TypeC interface, and the firmware needs to be upgraded and the connection information needs to be written. Whether the screen transmitter can successfully write the connection information before screen projection is one of the main factors affecting the user experience. When the connection information cannot be written, the subsequent use of the screen transmitter cannot be used to perform screen projection connection between electronic devices according to the connection information, which causes the corresponding activities of the electronic devices (meetings, teaching or movie watching, etc.) to be affected, affecting the user experience. In related technologies, after an electronic device identifies the device information of a connected screen transmitter, if it discovers that the device is not a supported model, data transmission with the device becomes impossible. This includes firmware upgrades and the firmware transfer and connection information writing required for pairing. When the screen transmitter subsequently needs to transmit the screen, there is no available connection information to pair with the electronic device, making it impossible to carry out activities (such as meetings, teaching, or watching movies) with the corresponding electronic device, affecting the user experience.
[0036] Based on this, the embodiments of the present application provide a screen transmitter upgrade method, apparatus, device and storage medium, which aims to write the screen transmitter connection information into the screen transmitter through a communication protocol of the protocol type supported by the display device before screen transmission, regardless of whether the display device queries the screen transmitter firmware. This avoids the situation where the screen transmitter cannot be paired and connected with other electronic devices when it is used subsequently.
[0037] The screen transmission method provided in the embodiments of the present application can be performed by a screen transmission device. The screen transmission device can be implemented through software and / or hardware. The screen transmission device can be composed of two or more physical entities, or a single physical entity. Currently, the screen transmission device can be an electronic device such as an interactive tablet, a tablet computer, a smart TV, a learning machine, a screen transmission device, or a mobile phone.
[0038] In one embodiment, the screen transmission device is installed with at least one type of operating system, and the operating system may be an Android system, a Windows system, a Linux system, a macOS system, an IOS system, or the like. The screen transmission device may install at least one application under the operating system. The application may be an application that comes with the operating system, or an application downloaded from a third-party device or server. For example, the screen transmission device is installed with an application that can transmit the screen, and the application may be understood as an application client for transmitting the screen, and the application client may also have interactive functions such as projecting files or video images. It should be noted that in actual applications, no matter how the name of the application changes, as long as it is an application that implements the above functions, it is equivalent to the application client for transmitting the screen in this disclosure.
[0039] The screen transmission device is also equipped with at least one display screen (also referred to as a display). If the display screen has touch functionality, it can be a capacitive touch screen, a resistive touch screen, an infrared touch screen, and / or an electromagnetic touch screen. Users can control the screen transmission device by touching the display screen with their fingers or a stylus. Furthermore, the screen transmission device can be connected to external devices such as a mouse and keyboard, allowing users to control the screen transmission device by operating the external devices.
[0040] The screen transmission device is also equipped with an audio recording device (such as a microphone), which can capture the sound content of the screen transmission device. This sound content can carry corresponding data information. It should be noted that the audio recording device can be an external device. After the external device establishes a connection with the screen transmission device, it can work based on the control of the screen transmission device to capture the sound content.
[0041] The screen transmission device is also equipped with a communication module, which is used to implement communication functions. For example, the screen transmission device transmits data with other electronic devices through the communication module. For another example, the screen transmission device transmits data with the server through the communication module. In the screen transmission scenario, the screen transmission device can receive the projection data transmitted by other electronic devices based on the communication module, and forward the projection data to another electronic device through the communication module. Especially in scenarios such as meetings where multiple people need to communicate, the screen transmission device can be used as an interactive device to realize the functional requirements of the multi-person communication scenario. For example, in a meeting scenario, the screen transmission device realizes the projection of a certain electronic device and a target electronic device (such as an interactive tablet in a conference room, a mobile terminal, and other electronic devices) to achieve synchronous content sharing.
[0042] In one embodiment, each electronic device participating in screen transmission can serve as a screen transmission device. In this case, the screen transmission device can be divided into a transmitting device and a receiving device. The transmitting device and the receiving device project their screens through a screen transmission device. It should be noted that during the screen transmission process, each screen transmission device can implement the screen transmission device upgrade method provided in this embodiment of the application.
[0043] FIG1 is a flow chart of a screen transmitter upgrade method provided by one embodiment of the present application. Referring to FIG1 , the screen transmitter upgrade method is used for a screen transmitter device, which includes a display device and a screen transmitter. The device information of the screen transmitter includes a supplier identification code, a product identification code, and basic device information. The basic device information includes a communication protocol type and a device model. The display device stores screen transmitter firmware corresponding to at least one device model. The screen transmitter upgrade method includes:
[0044] S101. When the display device detects a screen transmitter connected via a USB interface, it obtains a supplier identification and a product identification code of the connected screen transmitter.
[0045] The display device can be understood as a screen transmission device that can display. The screen transmitter can be understood as a screen transmission device that connects two display devices. The screen transmitter needs to write the screen transmission connection information of one of the display devices. When the screen transmitter is connected to the other display device, it can establish a communication connection with the corresponding display device according to the screen transmission connection information. When the screen transmitter is manufactured, the corresponding supplier identification code and product identification code will be recorded. The supplier identification code can be understood as information used to identify the corresponding supplier, and the product identification code (Product IDentifier, PID) can be understood as information used to identify the corresponding product, and the product information includes the corresponding product type information. Therefore, when the screen transmitter is connected to the display device through the USB (Universal Serial Bus) interface, the display device can detect the supplier identification code and product identification code of the connected screen transmitter.
[0046] Since the screen transmitter is connected to the display device through the USB interface, the screen transmitter is a USB standard device. The descriptors of USB standard devices include device descriptors, configuration descriptors, interface descriptors, endpoint descriptors, string descriptors, device limit descriptors and other rate configuration descriptors. The descriptor is the data type information of the field. The vendor identification code and product identification code of the screen transmitter are recorded in the corresponding string descriptor field. The string descriptor field is a non-essential field in the descriptor of the USB standard device. Therefore, recording the corresponding vendor identification code and product identification code in this field does not affect the function of the screen transmitter itself as a USB standard device. When the vendor identification code and product identification code are needed later, the corresponding vendor identification code and product identification code can also be obtained through the corresponding string descriptor field. In addition, the basic information of the device is also recorded in the string descriptor field. The basic information of the device includes the communication protocol type, device model, firmware version number and user ID, etc.
[0047] It should be noted that the USB interface can be any USB type interface, such as a Micro USB interface, a Type-C interface, or a B-5Pin USB interface, etc.
[0048] It should be noted that the above-mentioned product identification code is a product type identification code, which is used to identify the type of the corresponding product. For example, product identification code 1 is used to identify product 1 as a mouse, and product identification code 2 is used to identify product 2 as a screen transmitter. In addition, the above-mentioned product identification code can also identify the type of a lower-level classification. For example, product identification code 1 is used to identify product 1 as a Class A screen transmitter (the interface of this type of screen transmitter is a Micro USB interface), and product identification code 2 is used to identify product 2 as a Class B screen transmitter (the interface of this type of screen transmitter is a Type-C interface). Compared with the related art in which each product corresponds to a product identification code, this embodiment provides a product identification code for each major category of products. Different models of products under the same product identification code are recorded through the preset fields in the device basic information. For example, the product identification code of all screen transmitters is product identification code XXX. Under this product identification code, there can be many screen transmitters with different interfaces, different functions, and different materials, each corresponding to a different model and the model is recorded in the preset fields in the corresponding device basic information. In this way, it is equivalent to using a product identification code (PID) continuously in the production process of the same major product category. As a limited resource that needs to be applied for, the product identification code (PID) can be used for as many screen transmitters as possible, thereby saving product identification code (PID) resources, reducing the cost investment in applying for product identification code (PID) resources, and spreading the cost of applying for product identification code (PID) for each screen transmitter through continuous production.
[0049] When the display device detects a screen transmitter connected through a USB interface, it obtains the supplier identification code and product identification code of the connected screen transmitter, providing an information basis for confirming the type of the subsequently connected product. Only when it is determined that the corresponding supplier identification code and product identification code meet the conditions for subsequent execution of the program can the subsequent screen transmitter upgrade processing steps be performed, thereby avoiding triggering data interaction processes that will not produce actual results and reducing unnecessary data processing processes.
[0050] S102. When the display device confirms that the connected screen transmitter matches any device information in the preset device support list based on the supplier identification code and the product identification code, it obtains basic device information of the connected screen transmitter.
[0051] The display device can obtain the supplier information of the connected product based on the obtained supplier identification code, and can obtain the type information of the connected product based on the product identification code. In order to ensure the effectiveness of the screen transmitter upgrade steps, the corresponding supplier information and product type information must be matched. Only when the connected screen transmitter meets the matching conditions can the subsequent upgrade steps be performed. The display device pre-saves the corresponding device support list, which lists the manufacturer information and corresponding product type information of the devices that meet the matching conditions. When the display device confirms that the connected screen transmitter matches any device information in the preset device support list based on the supplier identification code and product identification code, it obtains the basic device information of the connected screen transmitter.
[0052] The USB device connection process involves powering on and identifying specific devices. When the connection is normal, the host can obtain the descriptor of the connected device. The descriptor determines how the host presents the connected device or what processing it performs on the device. The display device and screen transmitter are connected via a USB interface and follow the common USB device connection process. This means the display device needs to obtain the screen transmitter's descriptor, and the vendor and product identification codes are actually recorded in the descriptor. Some fields in the descriptor specify what information can be recorded, while others can be freely defined based on the product. In this solution, basic device information can be recorded in fields dedicated to recording manufacturer-specific information or in designated fields. The display device obtains basic device information from the descriptor only after confirming that the connected screen transmitter matches any device information in the preset device support list based on the vendor and product identification codes, thereby reducing unnecessary information acquisition. Basic device information is used to record information related to the implementation of this solution.
[0053] Exemplarily, based on the vendor identification code and product identification code of the screen transmitter connected via the USB interface, the display device determines that the supplier of the screen transmitter is supplier A, and that the product type information is Class A. Assuming that a preset device support list includes screen transmitters of supplier A and Class A, and the screen transmitter connected via the USB interface of the display device matches the device information in the preset support list, it is determined that the connected screen transmitter meets the matching criteria, and subsequent upgrade steps can be performed. The display device obtains basic device information of the connected screen transmitter, which includes the communication protocol type and device model, based on the vendor identification code and product identification code of the screen transmitter connected via the USB interface of the display device.
[0054] In one embodiment, the preset device support list may also include information on multiple suppliers and multiple product types. Figure 2 is a schematic diagram of a preset device support list provided by an embodiment of the present application. Referring to Figure 2, it is assumed that the preset device support list includes Class A screen transmitters and Class B screen transmitters corresponding to supplier a, Class A screen transmitters and Class B screen transmitters corresponding to supplier b, Class A screen transmitters and Class B screen transmitters corresponding to supplier c, etc. For example, when the display device determines that the supplier of the screen transmitter is supplier a and the product type information is a Class A screen transmitter based on the supplier identification code and product identification code of the screen transmitter connected to the USB interface, the screen transmitter connected to the display device through the USB interface matches the device information in the preset support list, and obtains the basic device information of the connected screen transmitter, which includes the communication protocol type and device model. For another example, when the display device determines that the supplier of the screen transmitter connected to the USB interface is supplier D and the product type information is a Class A screen transmitter based on the supplier identification code and product identification code of the screen transmitter connected to the USB interface, the screen transmitter connected to the display device through the USB interface does not match the device information in the preset support list, and a matching error reminder control is displayed to alert the user.
[0055] It should be noted that the device information in the preset device support list can be set according to actual conditions, and the above settings of supplier information and product type information are only examples.
[0056] When the display device confirms that the connected screen transmitter matches any device information in the preset device support list based on the vendor identification code and product identification code, it obtains the basic device information of the screen transmitter by reading the string descriptor field in the connected screen transmitter. The basic device information includes the communication protocol type, device model, firmware version number, user ID, etc.
[0057] S103: When the display device confirms that the acquired communication protocol type is a supported protocol type, it searches the stored screen transmitter firmware for screen transmitter firmware that is compatible with the acquired device model.
[0058] After the display device confirms that the connected screen transmitter matches any device information in the preset device support list, it obtains the basic device information of the connected screen transmitter, which includes the communication protocol type and device model, wherein the communication protocol type includes one or more of HID, Socket and IWLP. In the screen transmitter, the communication protocol type recorded therein refers to the communication protocol used for data transmission between it and the host device (i.e., the display device). Based on the communication protocol type in the basic device information of the connected screen transmitter, the display device can confirm whether the communication protocol type of the connected screen transmitter is a supported protocol type. If it is confirmed that the communication protocol type of the connected screen transmitter is a supported protocol type, the display device queries and obtains the screen transmitter firmware compatible with the device model from the stored screen transmitter firmware based on the device model in the basic device information of the connected screen transmitter. Based on the fact that the display device stores screen transmitter firmware of at least one device model, after the display device obtains the device model in the basic device information of the connected screen transmitter, it can query whether there is screen transmitter firmware compatible with the device model from the stored screen transmitter firmware based on the device model. If it is confirmed that the communication protocol type of the connected screen sharer is not a supported protocol type, a matching error reminder control will be displayed to alert the user.
[0059] Exemplarily, the supported protocol type can be determined according to the type of communication protocol supported by the display device itself. Assuming that the display device supports two types of protocol types, HID and socket, and the display device obtains the communication protocol type of the connected screen transmitter as HID based on the basic device information of the connected screen transmitter, then confirms that the communication protocol type of the connected screen transmitter is a supported protocol type, and then queries and obtains the screen transmitter firmware adapted to the device model from the stored screen transmitter firmware based on the device model obtained in the basic device information of the connected screen transmitter. As described above, by presetting the supported protocol types to be multiple communication protocol types, compared with the screen transmitter access method that only supports one specific communication protocol type in the related art, this embodiment supports multiple communication protocol types, thereby improving the compatibility with the connected screen transmitter, thereby improving the success rate of the screen transmitter upgrade, and further improving the user experience.
[0060] S104. The display device sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, and writes the screen transmission connection information to the connected screen transmitter after the upgrade.
[0061] The display device queries the screen transmitter firmware that is compatible with the device model in the device basic information of the connected screen transmitter from the stored screen transmitter firmware. If the screen transmitter firmware that is compatible with the device model can be queried, the screen transmitter firmware is obtained. The device basic information of the screen transmitter also includes the firmware version number. After the display device obtains the screen transmitter firmware that is compatible with the device model of the connected screen transmitter, it needs to confirm whether the firmware version number of the queried screen transmitter firmware is higher than the firmware version number in the obtained screen transmitter. If the display device confirms that the firmware version number of the queried screen transmitter firmware is higher than the firmware version number in the obtained screen transmitter, it proves that the current firmware version number in the screen transmitter is lower, and the firmware can be upgraded through the screen transmitter firmware with the higher firmware version number queried in the display device. The display device sends the obtained screen transmitter firmware to the connected screen transmitter through the USB interface based on the obtained communication protocol type. It should be noted that the communication protocol type is obtained from the basic information of the screen transmitter device. Exemplarily, if the display device obtains the communication protocol type of the connected screen transmitter as HID based on the basic device information, the display device sends the obtained screen transmitter firmware to the screen transmitter via the HID communication protocol, so that the screen transmitter can perform an upgrade process based on the screen transmitter firmware. After the upgrade process is completed, the screen transmitter performs an upgrade process based on the screen transmitter firmware received from the display device. After the upgrade process is completed, the display device feeds back an upgrade completion reminder to the display device. After receiving the upgrade completion reminder, the display device writes the screen transmission connection information to the connected screen transmitter so that when the screen transmitter is inserted into another display device, the other display device can establish a communication connection with the display device based on the screen transmission connection information.
[0062] In one embodiment, in order to improve the security and reliability of firmware upgrades, when the display device queries the screen transmitter firmware that is compatible with the device model, an upgrade reminder control is displayed to remind the user to confirm whether a firmware upgrade is required. For example, FIG3 is a first schematic diagram of a firmware upgrade reminder provided by an embodiment of the present application. Referring to FIG3 , when the display device queries the screen transmitter firmware that is compatible with the device model, the device upgrade reminder control is displayed, showing "Do you need to upgrade?", "Yes," or "No." The user will make a selection based on the displayed content, and the upgrade reminder control receives an upgrade confirmation instruction or a non-upgrade confirmation instruction generated based on the user's selection operation. When the user chooses to confirm the upgrade, the display device receives the upgrade confirmation instruction through the upgrade reminder control, and then sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol, so that the screen transmitter can perform upgrade processing according to the screen transmitter firmware.
[0063] In one embodiment, in order to improve the security and reliability of firmware upgrades, when the display device queries the screen transmitter firmware that is compatible with the device model, a device upgrade reminder control is displayed to remind the user to confirm whether a firmware upgrade is required. For example, FIG4 is a second schematic diagram of a firmware upgrade reminder provided by an embodiment of the present application. Referring to FIG4 , after the display device obtains the screen transmitter firmware that is compatible with the device model of the connected screen transmitter, it is necessary to confirm whether the firmware version number of the queried screen transmitter firmware is higher than the firmware version number of the obtained screen transmitter. If the display device confirms that the firmware version number of the queried screen transmitter firmware is higher than the firmware version number of the obtained screen transmitter, an upgrade reminder control is displayed, displaying "Do you need to upgrade to version 2.0?", "Yes" or "No". The user will make a selection based on the displayed content, and the upgrade reminder control receives an upgrade confirmation instruction or a non-upgrade confirmation instruction generated based on the user's selection operation. When the user chooses to confirm the upgrade, the display device receives the upgrade confirmation instruction through the upgrade reminder control, and then sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol, so that the screen transmitter can perform the upgrade process according to the screen transmitter firmware.
[0064] In one embodiment, before the display device sends the queried screen transmitter firmware to the connected screen transmitter via the USB interface based on the acquired communication protocol, in order to further improve the security and reliability of the firmware upgrade, it is also necessary to confirm the user identity. The basic device information of the screen transmitter also includes a user identifier, and the corresponding display device also stores its own user identifier. The display device confirms whether its own user identifier and / or the user identifier of the queried screen transmitter firmware are the same as the acquired user identifier. If the display device's own user identifier and / or the user identifier of the queried screen transmitter firmware are the same as the acquired user identifier, it proves that the display device and / or the screen transmitter firmware and the screen transmitter are all products of the same user, and the display device can send the queried screen transmitter firmware to the connected screen transmitter via the USB interface based on the acquired communication protocol. If the display device's own user ID and / or the user ID of the queried screen transmitter firmware differ from the acquired user ID, it proves that the display device, / the screen transmitter firmware, and the screen transmitter belong to different users. The display device will then report a device abnormality to the pre-set server, and the display device will not send the queried screen transmitter firmware to the connected screen transmitter. By confirming the user identity, the display device can ensure the consistency of the user of the display device, / the screen transmitter firmware, and the screen transmitter before sending the queried screen transmitter firmware to the connected screen transmitter via the USB interface based on the acquired communication protocol, thereby improving the security and reliability of screen transmitter upgrades.
[0065] As mentioned above, when the display device queries the screen transmitter firmware that is compatible with the corresponding device model, it also confirms whether a firmware upgrade is required through the firmware version number. Regardless of whether the firmware upgrade is performed, the display device can write the screen transmission connection information to the connected screen transmitter to ensure that the screen transmitter can subsequently perform normal pairing and connection through the screen transmission connection information, thereby improving the compatibility of the screen transmitter upgrade. Even if it is a new model of screen transmitter produced later than the display device, the display device may not save the model of the screen transmitter, but it can support connection pairing and realize the transmission of screen transmission data while keeping the overall protocol design the same.
[0066] S105. When the display device fails to query the screen transmitter firmware, the display device writes the screen transmission connection information to the connected screen transmitter.
[0067] Since the screen transmitter is constantly updating and upgrading its product performance, the screen transmitter connected to the display device may be a newer device model, and the display device may only store screen transmitter firmware compatible with the old device model, but not the newer device model. At this time, the display device fails to query the screen transmitter firmware compatible with the device model from the stored screen transmitter firmware based on the device model in the basic device information of the connected screen transmitter, and the screen transmitter firmware cannot be upgraded. However, the communication protocol type of the screen transmitter is the protocol type supported by the display device, and the overall protocol design remains the same. The display device can write the screen transmitter connection information to the screen transmitter through the USB interface, so that when the screen transmitter is inserted into another display device, the other display device can establish a communication connection with the display device based on the screen transmitter connection information.
[0068] It should be noted that if the display device confirms that the version number of the screen transmitter firmware queried is lower than or equal to the firmware version number in the obtained screen transmitter, it proves that the current firmware version number in the screen transmitter is higher, and therefore no firmware upgrade is required. The display device then writes the screen transmission connection information to the screen transmitter through the USB interface, so that when the screen transmitter is inserted into another display device, the other display device can establish a communication connection with the display device based on the screen transmission connection information.
[0069] In one embodiment, in order to improve the security and reliability of firmware upgrades, when the display device queries the screen transmitter firmware that is compatible with the device model, a device upgrade reminder control is displayed to remind the user to confirm whether a firmware upgrade is required. For example, FIG5 is a third schematic diagram of a firmware upgrade reminder provided by an embodiment of the present application. Referring to FIG5, after the display device obtains the screen transmitter firmware that is compatible with the device model of the connected screen transmitter, it is necessary to confirm whether the firmware version number of the queried screen transmitter firmware is higher than the firmware version number in the obtained screen transmitter. If the display device confirms that the version number of the queried screen transmitter firmware is lower than or equal to the firmware version number in the obtained screen transmitter, an upgrade reminder control is displayed, indicating "Currently the latest firmware version". The display device will write the screen transmission connection information to the screen transmitter through the USB interface, so that when the screen transmitter is inserted into another display device, the other display device can establish a communication connection with the display device based on the screen transmission connection information.
[0070] As mentioned above, when the communication protocol between the display device and the screen transmitter remains the same, regardless of whether the display device queries the corresponding screen transmitter firmware, the screen transmitter connection information can be written to the connected screen transmitter to ensure that the screen transmitter can subsequently perform normal pairing and connection through the screen transmitter connection information, thereby improving the compatibility of the screen transmitter upgrade. Even if the new model of the screen transmitter is produced later than the display device, the display device may not have saved the model of the screen transmitter, but it can still support connection pairing and realize the transmission of screen transmitter data while keeping the overall protocol design the same, thereby improving the user experience. In addition, the firmware version number is also used to confirm whether a firmware upgrade is required. When the communication protocol between the display device and the screen transmitter remains the same, the display device can write the screen transmission connection information to the connected screen transmitter regardless of whether the firmware upgrade is performed to ensure that the screen transmitter can subsequently perform normal pairing and connection through the screen transmission connection information. It also improves the compatibility of the screen transmitter upgrade. Even if it is a new model of screen transmitter produced later than the display device, the display device may not have stored the screen transmitter firmware compatible with the new model and cannot perform a firmware upgrade. However, while the overall protocol remains the same, it can support connection pairing and realize the transmission of screen transmission data, thereby improving the user experience.
[0071] FIG6 is a schematic diagram of the structure of a screen transmitter upgrade device provided by an embodiment of the present application. Referring to FIG6, the screen transmitter upgrade device provided by this embodiment is used for a screen transmitter device, which includes a display device and a screen transmitter. The device information of the screen transmitter includes a supplier identification code, a product identification code, and basic device information. The basic device information includes a communication protocol type and a device model. The display device stores screen transmitter firmware corresponding to at least one device model. Specifically, the device includes: an identification code acquisition unit 21, a basic information acquisition unit 22, a screen transmitter firmware acquisition unit 23, a firmware upgrade unit 24, and a connection information writing unit 25.
[0072] The identification code acquisition unit 21 is used to acquire the supplier identification code and product identification code of the screen transmitter connected via the USB interface when the display device detects the screen transmitter connected via the USB interface;
[0073] The basic information acquisition unit 22 is used to obtain basic device information of the connected screen transmitter when the display device confirms that the connected screen transmitter matches any device information in the preset device support list based on the supplier identification code and the product identification code;
[0074] The screen sharing device firmware acquisition unit 23 is configured to query the stored screen sharing device firmware for the screen sharing device firmware that is compatible with the acquired device model when the display device confirms that the acquired communication protocol type is a supported protocol type;
[0075] The firmware upgrade unit 24 is used for the display device to send the queried screen sharing device firmware to the connected screen sharing device through the USB interface based on the acquired communication protocol type for upgrading, and write the screen sharing connection information to the connected screen sharing device after the upgrade;
[0076] The connection information writing unit 25 is used to write the screen transmission connection information to the connected screen transmission device when the display device fails to query the screen transmission device firmware.
[0077] Furthermore, the basic device information also includes the firmware version number;
[0078] Correspondingly, the firmware upgrade unit 24 is also used to confirm that the firmware version number of the screen transmitter firmware queried by the display device is higher than the acquired firmware version number.
[0079] Furthermore, the firmware upgrade unit 24 is further configured to display an upgrade reminder control when the display device queries the screen transmitter firmware;
[0080] When the display device receives the upgrade confirmation instruction through the upgrade reminder control, the queried screen transmitter firmware is sent to the connected screen transmitter for upgrading through the USB interface based on the acquired communication protocol type.
[0081] Furthermore, the basic device information also includes user identification;
[0082] Correspondingly, the firmware upgrade unit 24 is also used to confirm that the display device's own user identification and / or the queried user identification of the screen transmitter firmware is the same as the acquired user identification.
[0083] Furthermore, the firmware upgrade unit 24 is also used to display the device to confirm its own user identification and / or the user identification of the screen transmitter firmware queried, and if it is different from the obtained user identification, it will feedback device abnormality information to the preset server.
[0084] Furthermore, the communication protocol type includes one or more of HID, socket, and IWLP.
[0085] The screen sharing device upgrade apparatus provided in the embodiment of the present application can be used to execute the screen sharing device upgrade method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0086] It is worth noting that in the embodiment of the above-mentioned screen transmission device upgrade device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0087] Figure 7 is a schematic diagram of the structure of a screen sharing device upgrade device provided by one embodiment of the present application. Referring to Figure 7, the screen sharing device includes: a processor 31, a memory 32, a communication module 33, a display screen 34, an input device 35, and an output device 36. The number of processors in the screen sharing device can be one or more, and the number of memories in the screen sharing device can be one or more. The processor, memory, communication module, input device, and output device of the screen sharing device can be connected via a bus or other means.
[0088] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs, and modules, such as the program instructions / modules corresponding to the screen transmission method described in any embodiment of the present application (for example, the identification code acquisition unit, basic information acquisition unit, screen transmission firmware acquisition unit, firmware upgrade unit, and connection information writing unit in the screen transmission device upgrade device). The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to the screen transmission device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0089] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, thereby realizing the above-mentioned screen transmitter upgrade method.
[0090] The communication module 33 is used for data transmission. The display screen 34 can display information according to the instructions of the processor 31, such as displaying an upgrade reminder control. The input device 35 can be used to receive input of digital or character information and generate key signal input related to user settings and function control of the device. It can also include an audio input device. The output device 36 can include an audio output device.
[0091] The screen sharing device upgrade device provided above can be used to execute the screen sharing device upgrade method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0092] One embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform relevant operations in the screen transmission method provided in any embodiment of the present application, and have corresponding functions and beneficial effects.
[0093] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products.
[0094] Therefore, the application can adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The application is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow chart and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instruction executed by the processor of the computer or other programmable data processing device produces a device for realizing the function specified in one flow chart flow or multiple flows and / or one block or multiple blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device that implements the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.
[0095] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0096] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0097] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0098] Note that the above are only preferred embodiments of the present application and the technical principles employed. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the appended claims.
Claims
1. A screen sharing device upgrade method, used for a screen sharing device, wherein: The screen transmission device includes a display device and a screen transmitter, the device information of the screen transmitter records a supplier identification code, a product identification code and basic device information, the basic device information includes a communication protocol type and a device model, and the display device stores a screen transmitter firmware corresponding to at least one device model; the screen transmitter upgrade method includes: When the display device detects a screen transmitter connected via a USB interface, it obtains a supplier identification code and a product identification code of the connected screen transmitter; When the display device confirms, based on the supplier identification code and the product identification code, that the connected screen transmitter matches any device information in the preset device support list, the basic device information of the connected screen transmitter is obtained; When the display device confirms that the acquired communication protocol type is a supported protocol type, it queries the stored screen transmitter firmware for the screen transmitter firmware that is compatible with the acquired device model; The display device sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, and writes screen transmission connection information to the connected screen transmitter after the upgrading; When the display device fails to query the screen transmitter firmware, the display device writes the screen transmission connection information to the connected screen transmitter.
2. The screen sharing device upgrade method according to claim 1, wherein: The basic device information also includes a firmware version number; Accordingly, before the display device sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, it also includes: The display device confirms that the firmware version number of the screen transmitter firmware queried is higher than the acquired firmware version number.
3. The screen sharing device upgrade method according to claim 1 or 2, wherein: The display device sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, including: When the display device queries the screen transmitter firmware, it displays an upgrade reminder control; When the display device receives the upgrade confirmation instruction through the upgrade reminder control, the queried screen transmitter firmware is sent to the connected screen transmitter for upgrading through the USB interface based on the acquired communication protocol type.
4. The screen sharing device upgrade method according to claim 1 or 2, wherein: The basic device information also includes a user identifier; Accordingly, before the display device sends the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, it also includes: The display device confirms that its own user ID and / or the queried user ID of the screen transmitter firmware is the same as the acquired user ID.
5. The screen sharing device upgrade method according to claim 4, wherein: When the display device confirms that its own user ID and / or the user ID of the screen transmitter firmware obtained are different from the acquired user ID, the display device feeds back device abnormality information to the preset server.
6. The screen sharing device upgrade method according to claim 1 or 2, wherein: The communication protocol type includes one or more of HID, socket and IWLP.
7. A screen sharing device upgrade device, used for screen sharing equipment, wherein: The screen transmission device includes a display device and a screen transmitter, the device information of the screen transmitter records a supplier identification code, a product identification code and basic device information, the basic device information includes a communication protocol type and a device model, and the display device stores a screen transmitter firmware corresponding to at least one device model; the screen transmitter upgrade device includes: An identification code acquisition unit, used for acquiring a supplier identification code and a product identification code of a screen transmitter connected via a USB interface when the display device detects the screen transmitter connected via a USB interface; A basic information acquisition unit, used for the display device to obtain basic device information of the connected screen transmitter when confirming that the connected screen transmitter matches any device information in a preset device support list according to the supplier identification code and the product identification code; A screen transmitter firmware acquisition unit, used for querying the screen transmitter firmware compatible with the acquired device model from the stored screen transmitter firmware when the display device confirms that the acquired communication protocol type is a supported protocol type; A firmware upgrade unit, used for the display device to send the queried screen transmitter firmware to the connected screen transmitter through the USB interface based on the acquired communication protocol type for upgrading, and write screen transmission connection information to the connected screen transmitter after the upgrade; The connection information writing unit is used to write the screen transmission connection information to the connected screen transmission device when the display device fails to query the screen transmission device firmware.
8. The device according to claim 7, wherein: The firmware upgrade unit is used to display an upgrade reminder control when the display device queries the screen transmitter firmware; When the display device receives the upgrade confirmation instruction through the upgrade reminder control, the queried screen transmitter firmware is sent to the connected screen transmitter for upgrading through the USB interface based on the acquired communication protocol type.
9. A screen sharing device upgrade device, wherein: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
10. A storage medium storing computer executable instructions, wherein: When the computer executable instructions are executed by a processor, they are used to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Screen transmission processing method and device, equipment and storage medium
CN110442366A
Data transmission method and device
CN112181339A
Screen transmission device
CN216527162U
Transmission system, transmission apparatus, and method
US20110016400A1
Network for updating electronic devices
US8555273B1
