WO2018086288A1 - 屏幕安装方法、设备主体和屏幕 - Google Patents

屏幕安装方法、设备主体和屏幕 Download PDF

Info

Publication number
WO2018086288A1
WO2018086288A1 PCT/CN2017/077117 CN2017077117W WO2018086288A1 WO 2018086288 A1 WO2018086288 A1 WO 2018086288A1 CN 2017077117 W CN2017077117 W CN 2017077117W WO 2018086288 A1 WO2018086288 A1 WO 2018086288A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
device body
information
driving
message
Prior art date
Application number
PCT/CN2017/077117
Other languages
English (en)
French (fr)
Inventor
张沁峰
王将将
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018086288A1 publication Critical patent/WO2018086288A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of information processing, and in particular, to a screen installation method, a device body, a screen, a computer readable storage medium, and a computer program product.
  • the screen is an important input and output device of the device, and the existing device body is generally fixed for use with a screen model.
  • the screen and the motherboard of the mobile phone are screwed or glued to the mobile phone, and the screen can be used on the mobile phone, and the main board of the mobile phone can only correspond to one type of screen.
  • Embodiments of the present invention provide a screen installation method, a device body, a screen, a computer readable storage medium, and a computer program product for quickly installing a screen on a device body.
  • a first aspect of the embodiments of the present invention provides a screen installation method, where the method is applied to a device body, and the method includes: after the device body is electrically connected to the first screen, the device body acquires the first screen information sent by the first screen, The first screen information includes first driving information, the first driving information is used to indicate the first driving, and the first driving is driving of the first screen. Then, the device body acquires the first driving according to the first driving information, so that the device body loads the first driving to illuminate the first screen.
  • the device may include a device body and a screen, and the device may be a device that needs to use a screen, such as a mobile phone, a tablet computer, an e-reader, and the like.
  • the type of the screen may be a touch screen, an ink screen or the like.
  • the screen can be lit, and the driving information is stored on the screen, so that for different types of screens, as long as there is driving information, the screen is Can be used on the main body of the device, thereby enabling quick installation of the screen on the main body of the device.
  • the method further includes: detecting, by the device body, the first screen and the device body After the power is connected, the device body detects that the second screen is electrically connected to the device body. For example, the user removes the first screen from the device body and then mounts the second screen on the device body. Thereby the device body can detect that the first screen is disconnected from the device body and the second screen is electrically connected to the device body.
  • the device body acquires second screen information sent by the second screen, where the second screen information includes second driving information, the second driving information is used to indicate the second driving, and the second driving is the second driving Screen driver. Then, the device body acquires the second driver according to the second driving information. Thereby, the device body loads the second drive to illuminate the second screen.
  • the first screen is different from the second screen, for example, may be different models
  • the screen in this way, the user can use different screens on the main body of the device by quickly disassembling and disassembling different screens on the main body of the device, thereby satisfying the user's demand for different screens.
  • the device body may obtain screen information sent by the screen by using a protocol, where the protocol has multiple types, where the implementation manner is The screen adaptation protocol is used, and the execution of the screen adaptation protocol is performed on the main body of the device, as described later, that is, the device body acquires the first screen information sent by the first screen, including: the device body is first
  • the screen sends a screen to find the message.
  • the screen discovery message is used to indicate that the screen sending screen provides the message. If the screen feedback screen provides the message, it indicates that the screen supports the screen adaptation protocol. If the screen does not feed back the screen to provide the message, it indicates that the screen does not execute the screen.
  • the protocol is adaptive, so that the device body can determine whether the screen supports the screen adaptation protocol by sending the screen discovery message. If the first screen supports the screen adaptation protocol, the device body obtains a screen providing message sent by the first screen, where the screen provides a message for carrying the first screen information pre-stored on the first screen, where the first screen information includes the first The driving information, or the first screen information includes first driving information and screen specification information of the first screen. This screen provides the message as the response of the first screen to the screen discovery message. In this way, the device body can obtain information identifying the screen.
  • the device body sends a screen request message to the first screen, where the screen request message is used to indicate that the device body has acquired the first screen information, and the device body follows the screen confirmation message sent by the first screen, and the screen confirms the message.
  • the first screen information obtained by the device body is the same as the first screen information pre-stored on the first screen, thereby confirming that the information acquired by the device body is correct.
  • the first driving information is the download of the first driving The address, so that the device body acquires the first driver according to the first driving information, includes: the device body downloads the first driver from the network according to the download address. For example, after the device body connects to the network address indicated by the download address, the device body downloads the first driver from the network address. In this way, the device body can acquire the first driver, and by saving the first driver on the network, the burden of the storage space on the device body is reduced.
  • the first driving information is the identifier of the first driving
  • the information, so that the device body acquires the first driver according to the first driving information includes: determining, by the device body, the first driving of the identification information identifier from the pre-stored driver. In this way, the device body can determine the first driver that needs to be used.
  • the device body and the first The screen is electrically connected, and the device body is electrically connected to the first screen through a jack and a pin, wherein the jack is disposed on the main board of the device body, and the pin is disposed on the first screen.
  • the screen and the device body can realize data transmission through the pin and jack structure, for example, a message of a transmission protocol, a data that the screen needs to display, an instruction generated by a user through a screen, and the like.
  • the device body and the first The screen is electrically connected, and the device body is electrically connected to the first screen through a jack and a pin, wherein the jack is disposed on the first screen, and the pin is disposed on the main board of the device body.
  • the jack is disposed on the first screen
  • the pin is disposed on the main board of the device body.
  • the screen and the device body can realize data transmission through the pin and jack structure, for example, a message of a transmission protocol, a data that the screen needs to display, an instruction generated by a user through a screen, and the like.
  • the method further includes: The device body is electrically connected to the third screen.
  • the device body displays the lighting failure information through the third screen, and the lighting failure information is used to describe the reason why the device body fails to illuminate the first screen. .
  • the lighting failure information includes that the device body fails to supply power to the first screen, the first driving of the first screen is not obtained, the first screen information of the first screen is not obtained, and the like, when the device body detects that the device cannot detect When the first screen is lit, the device body displays the reason for the current lighting failure on the third screen electrically connected to the device body in advance to inform the user of the specific cause of the lighting failure, thereby facilitating the user to subsequently perform the failure reason. deal with.
  • the first screen information is further Includes screen spec parameters for the first screen.
  • the screen specification parameter is used to describe the specification of the first screen, and the screen specification parameter may be, for example, a screen size, a resolution, an ink screen, or the like. In this way, the device body can obtain more information about the screen to perform more types of operations to meet more needs of the user.
  • a second aspect of the embodiments of the present invention provides a screen installation method.
  • the method is applied to a screen.
  • the method includes: after the screen is electrically connected to the device body, the screen sends screen information to the device body, where the screen information includes driving information and driving information. It is used to indicate the target drive, and the target drive is a drive of the screen, so that after the device body acquires the target drive according to the drive information, the target drive is loaded, so that the screen is illuminated under the power supply of the device body.
  • the device may include a device body and a screen, and the device may be a device that needs to use a screen, such as a mobile phone, a tablet computer, an e-reader, and the like.
  • the type of the screen may be a touch screen, an ink screen or the like.
  • the screen pre-stores the screen information, and the screen information includes the driving information of the screen.
  • the device body loads the target driving of the screen according to the obtained driving information, that is, The screen can be illuminated, and the driving information is stored on the screen, so that for different types of screens, as long as there is driving information, the screen can be used on the main body of the device, thereby realizing quick installation of the screen on the main body of the device. .
  • the screen may send the screen information to the device body by using a protocol, where the protocol has multiple types, where the implementation manner is used.
  • the screen adaptation protocol the execution of the screen adaptation protocol, the steps that need to be performed on the screen end, as described later, that is, the screen sends the screen information to the device body, including: the screen acquires the screen discovery message sent by the device body.
  • the screen discovery message is used to indicate that the screen is sent to provide a message.
  • the screen If the screen supports the screen adaptation protocol, the screen sends a screen providing message to the device body, and the screen provides the message for carrying the screen pre-stored screen information, and the screen provides the message as the response of the screen to the screen discovery message.
  • the device body can obtain the information needed to identify the screen.
  • the screen acquires a screen request message sent by the device body, and the screen request message is used to indicate that the device body has acquired the screen information.
  • the screen sends a screen confirmation message to the device body, and the screen confirmation message is used to indicate that the screen information acquired by the device body is the same as the screen information pre-stored on the screen, thereby confirming that the information acquired by the device body is correct.
  • the driving information has multiple specific forms, for example, driving information is targeted.
  • Driven download The address, or drive information, is the target-driven identification information.
  • the target driver can be downloaded from the network according to the download address. If the device body obtains the identifier information of the first driver, the device body can determine the identifier information from the pre-stored driver. The first drive.
  • the screen is electrically connected to the device body, including: The jack and the pin are electrically connected to the main body of the device, the jack is disposed on the screen, and the pin is disposed on the main board of the device body.
  • the jack and the pin are electrically connected to the main body of the device, the jack is disposed on the screen, and the pin is disposed on the main board of the device body.
  • the screen is electrically connected to the device body, including: The jack and the pin are electrically connected to the main body of the device, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the screen.
  • the jack and the pin are electrically connected to the main body of the device, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the screen.
  • the screen and the device body can realize data transmission through the pin and jack structure, for example, a message of a transmission protocol, a data that the screen needs to display, an instruction generated by a user through a screen, and the like.
  • the screen information further includes a screen specification parameter of the screen.
  • the screen specification parameter is used to describe the specification of the screen, and the screen specification parameter may be, for example, a screen size, a resolution, an ink screen, or the like. In this way, the device body can obtain more information about the screen to perform more types of operations to meet more needs of the user.
  • a third aspect of the embodiments of the present invention provides a device body having the function of the device body in the above method.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the device body includes:
  • An information acquiring unit configured to acquire first screen information sent by the first screen, where the first screen information includes first driving information, where the first driving information is used to indicate the first driving, the first driving is driving of the first screen, and the device body Electrically connected to the first screen;
  • a driving acquisition unit configured to acquire the first driving according to the first driving information
  • a loading unit for loading the first driver to illuminate the first screen.
  • the device body includes: a power source, a memory, and a processor.
  • the memory for storing instructions
  • the processor is configured to read an instruction stored in the memory and perform the following actions:
  • the first screen information includes first driving information, the first driving information is used to indicate the first driving, the first driving is driving of the first screen, and the device body is electrically connected to the first screen ;
  • the power source is used to power the first screen.
  • a fourth aspect of an embodiment of the present invention provides a computer storage medium storing program code for indicating execution of the method of the first aspect described above.
  • a fifth aspect of an embodiment of the present invention provides a screen having the function of a screen in the above method.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the screen includes:
  • a sending unit configured to send screen information to the device body, the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, and loads the target driving, the screen Electrically connected to the main body of the device;
  • a bright screen unit for brightening the screen when the main body of the device is powered.
  • the screen includes a memory, a processor, and a display screen.
  • the memory for storing instructions and screen information
  • the processor is configured to read an instruction stored in the memory and the screen information, and perform the following actions:
  • the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, loads the target driving, and the screen is electrically connected with the device body. ;
  • the display is used to brighten the screen under the power of the device body.
  • a sixth aspect of the embodiments of the present invention provides a computer storage medium storing program code for indicating execution of the method of the second aspect described above.
  • Yet another aspect of the present application provides a computer readable storage medium having stored therein instructions that, when run on a device body or a screen, cause the device body or screen to perform the aspects described above Methods.
  • Yet another aspect of the present application provides a computer program product comprising instructions that, when run on a device body or screen, cause the device body or screen to perform the methods described in the various aspects above.
  • the device body acquires first screen information sent by the first screen, where the first screen information includes first driving information, and the first driving information is used to indicate The first driving, the first driving is driving of the first screen, and the device body acquires the first driving according to the first driving information.
  • the device body loads the first driver to illuminate the first screen.
  • the device body can light the screen as long as it can obtain the driving information of the screen electrically connected thereto, and the driving information is stored on the screen, so that for different types of screens, as long as the driving information is stored, the device body can The driver information loads the corresponding driver, and the screen can be used on the device body, thereby realizing quick installation of the screen on the device body.
  • FIG. 1 is a schematic diagram of an apparatus according to an embodiment of the present invention.
  • Figure 2a is a schematic view of the back of the screen of the device shown in Figure 1;
  • Figure 2b is a schematic view of the front side of the apparatus body of the apparatus shown in Figure 1;
  • FIG. 3 is a flowchart of a method for installing a screen according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for installing a screen according to another embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for acquiring a device according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a device body according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of hardware of a device body according to another embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a screen according to another embodiment of the present invention.
  • Embodiments of the present invention provide a screen installation method, a device body, a screen, a computer readable storage medium, and a computer program product for quickly installing a screen on a device body.
  • FIG. 1 is a schematic diagram of a device according to an embodiment of the present invention.
  • the device includes a device body 101 and a screen 102.
  • the screen 102 can be installed on the device body 101.
  • the device body 101 can include components such as a motherboard, and the screen 102 is a display device. After the screen 102 is installed on the device body 101, the device body 101 can display information through the screen 102 or obtain an operation instruction of the user through the screen.
  • the device includes, but is not limited to, a device that uses a screen to a mobile phone, a tablet computer, a notebook computer, an e-reader, and the like.
  • the screen 102 can be a type of a touch screen, an ink screen, or the like, which is not specifically limited in the embodiment of the present invention.
  • the electrical connection manner between the screen 102 and the device body 101 may be a pin and a jack mode.
  • a pin is provided on the screen, and a jack is disposed on the main body of the device body.
  • the pin of the screen is inserted into the main board of the main body of the device, the screen and the main body of the device can be electrically connected, so that the screen and the main body of the device transmit data.
  • FIG. 2a is a schematic view of the back side of the screen 102
  • FIG. 2b is a schematic view of the front side of the apparatus main body 101, wherein after installation, the back side of the screen and the front side of the apparatus main body are fitted to each other.
  • the device body 101 and the screen 102 may be electrically connected through the pin 202 and the jack 201, and the main body of the device may be provided with a jack 201, and the screen 102 is provided.
  • pin 202 there is a pin 202 as long as the pin and the jack are matched, that is, the pin can be inserted into the jack and the screen and the device body are electrically connected.
  • the arrangement of the pins 202 on the screen 102 and the arrangement of the jacks 201 on the apparatus body 101 are various, and the horizontal rows of the pins 202 and 201 shown in FIGS. 2a and 2b are used. The way is just one of the specific ways.
  • the main board of the device body is provided with a pin and the jack is set on the screen, and the setting mode is also possible.
  • the number of the jacks and the pins is not limited in the embodiment of the present invention, the number of the pins may be one or more, and the number of the jacks may also be one or more.
  • a fixed structure is also provided on the screen and the body of the device to prevent damage to the pins.
  • four fixing protrusions 204 are disposed on the screen 102.
  • four receiving cavities 203 are disposed on the main body of the device. After the screen 102 and the device body 101 are connected, the fixing protrusions 204 are stuck. The cavity 203 is received, thereby preventing the force perpendicular to the extending direction of the pin 202 from damaging the pin 202, and connecting the screen 102 and the device body 102 to be more stable and reliable.
  • an anti-missing design is added between the screen and the main body of the device.
  • the arrangement of the plurality of pins of the screen and the plurality of jacks of the device body is asymmetrically designed. If the user reverses the screen and connects to the main body of the device, it will not succeed, thus avoiding the error of connecting the line.
  • the device body 101 leaves a fast-installed pin interface, that is, a jack, on the hardware, thereby physically supporting the quick insertion and removal of the screen 102.
  • the interface of the screen 102 according to the standard design can be directly inserted into the motherboard of the mobile phone, similar to the pin of the CPU (Central Processing Unit), which has a unified requirement in advance.
  • the screen also supports the use of quick plugging.
  • the physical connection mode of the screen and the device body for data transmission may use other methods besides using the above-mentioned pins and jacks, for example, on both the screen and the device body.
  • the matching metal piece interface is set. When the screen and the main body of the device are joined, the metal piece on the screen and the metal piece on the main body of the device can be attached together to transmit data.
  • the data transmitted by the screen and device body may include multiple types, such as messages that identify the screen, data that needs to be displayed on the screen, instructions that the user generates by operating the screen, and the like.
  • a snap-fit structure may be disposed on the device body.
  • the card structure on the device body may be combined with the screen card.
  • the snap-fit structure has various implementations, for example, a protruding snap-fit block is provided on the inner side of the housing edge of the device body, and correspondingly, a card slot is provided at the edge of the screen, when the screen and the device body are engaged, the device The card block of the main body can be engaged with the card slot of the screen, so that the screen is fixed on the main body of the device.
  • the specific form can refer to the connection manner of the back cover of the smart phone of the existing removable battery and the main body of the mobile phone. Alternatively, you can add a buckle next to the jack of the device body. To remove the screen mounted on the main body of the device, you can use the striker to insert and then bounce the buckle to remove the screen.
  • the specific form can be referred to.
  • the existing SIM (Subscriber Identification Module) card slot is taken out.
  • the screen and the apparatus body of the embodiment of the present invention can be easily engaged by the above-described physical structure design.
  • screen information of the screen is pre-stored on the screen, and the screen information includes driving information of the screen, and may also include other types of screen information.
  • the device body can obtain the screen information sent by the screen.
  • the device body and the screen interact using a predefined protocol.
  • the specific protocol type may refer to the content described in FIG. 3 or FIG. 4.
  • intelligent hardware is also provided on the screen, so that the screen can also be provided with the device body of the motherboard for protocol. Interaction.
  • software improvements are also made to the device body and the screen.
  • equipment supports the pre-defined protocol on the software to identify different screen types and adapt dynamically.
  • the screen supports this pre-defined protocol on the software for protocol interaction.
  • the device body can recognize different display data provided by different specification screens. Existing screens are passive and have no intelligent hardware unit. Therefore, dynamic adaptation is not supported.
  • the device of the embodiment of the present invention stores screen information such as driving information on the screen. After the screen is electrically connected to the device body, the screen and the device body can communicate to perform data transmission.
  • the device body can obtain screen information sent by the screen, wherein the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is the driving of the screen. Then, the device body acquires the target driver according to the driving information, and after the device body loads the target driver, the screen can be lit.
  • the device body can obtain the driving information of the screen electrically connected thereto, the screen can be lit, and the driving information is stored on the screen, so that for different types of screens, as long as the driving information is stored, the device body can The corresponding driver is loaded according to the driving information, and the screen can be used on the main body of the device, thereby realizing quick installation of the screen on the device body.
  • FIG. 3 is a flowchart of a method for installing a screen according to an embodiment of the present invention.
  • the screen installation method of the embodiment of the present invention includes:
  • Step 301 The device body acquires screen information sent by the screen.
  • the device body can obtain the screen information sent by the screen.
  • the screen information includes driving information, the driving information is used to indicate that the device body acquires the target driving, and the target driving is the driving of the screen.
  • the device body can obtain the screen information sent by the screen by using a preset communication protocol.
  • the communication protocol includes multiple types, for example, an Inter-Integrated Circuit (I2C), a USB (Universal Serial Bus), and an SPI (Serial).
  • I2C Inter-Integrated Circuit
  • USB Universal Serial Bus
  • SPI Serial
  • Peripheral Interface Serial Peripheral Interface
  • UART Universal Asynchronous Receiver/Transmitter
  • other hardware communication protocols are not specifically limited in this embodiment of the present invention.
  • the device body After the device body detects that the screen is inserted into the main board of the device body, the device body addresses the screen; the device body receives the screen information from the screen; the device body terminates the transmission.
  • the screen sends the first packet (packet) to the device body, declaring the data transfer direction, data transfer address, and data transfer type. Then, the screen sends the 2nd to the Nth packets to the device body, and the packet sent by the screen carries the screen information; finally, the device body returns a packet to the screen, which is an ACK packet, and reports the result of the screen data transmission, for example. Accept information such as errors or successes.
  • N is a positive integer.
  • the screen information may only include drive information. In still other embodiments of the invention, the screen information may also include other types of screen information, such as screen size parameters of the screen.
  • Step 302 The device body acquires the target driver according to the driving information.
  • the target driver can be obtained according to the driving information to use the screen.
  • Step 303 The device body loads the target driver to light the screen.
  • the way the device body loads the target driver can load the target driver to the kernel of the device body for the device body to illuminate the screen. That is, a kernel is provided on the device body, and after the device body acquires the target driver, the target driver is loaded onto the kernel to illuminate the screen, and the screen can be used by the user after the screen is illuminated by the device body.
  • the kernel is the basic access program of the hardware of the device.
  • the kernel is the basic access program of the mobile phone hardware, which is equivalent to the BIOS of the computer.
  • the kernel is the core of the mobile operating system and is responsible for the operation of the system.
  • the device body loading target driver can also be implemented in other manners, such as loading the target driver onto the module unit set for the driver.
  • the device body acquires screen information sent by the screen, wherein the screen information includes driving information, the driving information is used to indicate that the device body acquires the target driving, and the target driving is the driving of the screen. Then, the device body acquires the target drive based on the drive information.
  • This screen is illuminated when the device body is loaded onto the core of the device body.
  • the device body can light the screen as long as it can obtain the driving information of the screen electrically connected thereto, and the driving information is stored on the screen, so that for different types of screens, as long as the driving information is stored, the device body can
  • the driver information loads the corresponding driver onto the kernel, and the screen can be used on the device body, thereby enabling quick installation of the screen on the device body.
  • the screen installation method includes a method applied to a main body portion of a device and a method applied to a screen portion.
  • the screen installation method of the embodiment of the present invention includes:
  • Step 401 When the screen is pulled out from the device body, the device body performs a standby process.
  • the screen and the main body of the device can be disassembled and assembled, and the user can remove the screen from the main body of the device.
  • the main board of the device body detects that the screen is pulled out from the device body, the device body enters a standby process to save power.
  • the user when a user uses a smartphone, accidentally breaks the screen, buys a new screen and replaces the new screen, or replaces the touch screen on the phone with an ink screen or other screen, the user will The screen is unplugged from the main body of the mobile phone, because the connection mode of the mobile phone and the screen is the card connection mode and the pin jack type data communication mode of the embodiment shown in FIG. 1, so that the user can conveniently pull the screen from the main body of the mobile phone.
  • the user uses the pin to open the screen removal lock, so that the screen and the body of the mobile phone are separated from each other, and the screen automatically pops up under the elastic force, and the user manually removes the old screen.
  • the main board on the main body of the mobile phone detects that it cannot be electrically connected to the screen, the main body of the mobile phone enters the standby process in preparation for reinsertion of the screen.
  • Step 402 When the main board of the device body detects that the screen is inserted into the motherboard, the device body sends a screen discovery message to the screen.
  • the SCREEN Discover message is used to indicate the SCREEN Offer message.
  • the main body of the device is electrically connected to the screen through the main board.
  • the main board of the main body of the device detects an insertion event of the screen, that is, the main board detects the electrical connection between the main board and the screen, for example, the user installs the screen onto the main body of the device.
  • the device body and the screen can communicate.
  • the device body acquires and loads the target driver of the screen.
  • the drive information of the screen is pre-stored on the screen.
  • screen information such as screen specification parameters are also pre-stored on the screen.
  • the device body when the main board of the device body detects that the screen is inserted into the motherboard, the device body obtains driving information of the screen from the screen to dynamically identify the model of the screen.
  • the specific identification method can be implemented by a pre-defined protocol, which has various types, such as I2C, USB, SPI, UART and the like.
  • the screen adaptive protocol is taken as an example to describe the screen information sent by the device body to obtain the screen.
  • the device body of the embodiment of the invention supports a screen adaptation protocol on the software, and can identify different screen types to achieve dynamic adaptation. Convenient for subsequent screen upgrades.
  • the device body Under the trigger condition that the motherboard of the device body detects that the screen is inserted into the motherboard, the device body starts the screen adaptation protocol. First, the device body sends a screen discovery message to the screen in a broadcast manner. To determine whether the screen supports the screen adaptation protocol, if the screen provides a message to the device body feedback screen, it indicates that the screen supports the screen adaptation protocol; otherwise, the screen does not support the screen adaptation protocol. That is, the screen discovery message is used to instruct the screen to send a screen to provide a message.
  • the protocol packet format of the embodiment of the present invention has various forms. For example, as shown in Table 1, it shows one specific type of protocol packet format. In this type of packet format, the operation code is used. In the project, 0 refers to the mobile phone end, 1 refers to the screen end; hardware type indicates what hardware is used for communication; hardware address indicates address information.
  • the screen discovery message can be as shown in Table 2.
  • the screen discovery message is initiated by the mobile phone body.
  • the communication interface of the screen and the device body has various forms, for example, in the embodiment shown in FIG. 1 above.
  • the device body and the screen can communicate, so that the device body acquires the screen information sent by the screen to identify the screen specification parameters and determine the screen driving (including the screen size, resolution, Whether it is an ink screen or the like, and the device body can transmit display data to the screen.
  • the pin and the jack structure are taken as an example for description.
  • the device before the device body acquires the screen information sent by the screen, the device The main body is electrically connected to the screen, and the main body of the device is electrically connected to the screen through a jack and a pin, wherein the main body of the device body is provided with the jack, and the screen is provided with the pin.
  • the pin and the jack are matched, that is, the pin can be inserted into the jack and the screen is electrically connected to the device body.
  • the jack and the pin can be in the form of the plug shown in FIG. 2.
  • FIG. 1 the description of the embodiment shown in FIG. 1 , FIG. 2 a and FIG. 2 b above.
  • the pin 1 is fixed on the screen, and the model of the screen is negotiated by the screen recognition protocol by the device body and the screen. 19 and pins are reserved on the screen to facilitate the use of different screens of the data line. Accordingly, the same number of jacks as the pins of the screen are preset on the main board of the apparatus main body, and the pins can be inserted into the jack so that the screen can be electrically connected to the main board of the apparatus main body. If there are 10 screen lines, the actual number of pins used is 11. One of them is used to negotiate the screen type, and the remaining 10 are used to pass the display data.
  • the main board of the device body may be provided with a pin, and correspondingly, a jack may be disposed on the screen, and the jack and the pin device body are electrically connected to the screen.
  • the user After physically using the specific method shown in FIG. 1 on the main body and the screen of the mobile phone, after the user removes the screen from the main body of the mobile phone, the user wants to use a new screen such as a water screen, and the user only needs to use the new screen.
  • the inserted plug is placed in the jack of the main board on the main body of the mobile phone, and the screen is pressed gently to hear the sound of the lock, which means that the card structure on the main body of the mobile phone fixes the screen on the main body of the mobile phone.
  • the main board of the mobile phone body detects that the screen is inserted into the main board, and the main body of the mobile phone sends a screen discovery message to the screen to start the execution of the screen adaptive protocol.
  • condition that the triggering device body initiates the screen adaptation protocol to broadcast the screen discovery message may also be other manners, for example, the device body detects that the screen is electrically connected to the device body, and the like.
  • the screen that is extracted in step 401 and the screen that is inserted into the motherboard in step 402 may be the same screen, or may be different screens, may be screens of the same model, or screens of different models. Since the screen and the device body of the embodiment of the present invention support the screen adaptation protocol, the device body can perform dynamic adaptation to different model screens.
  • Step 403 The screen sends a screen providing message to the device body.
  • the screen provides a message for carrying the screen information pre-stored on the screen.
  • the screen After the screen captures the screen discovery message sent by the device body, if the screen supports the screen adaptation protocol of the embodiment of the present invention, the screen sends a screen providing message to the device body under the trigger of the screen discovery message, so that the screen provides The device body obtains the screen information carried by the screen to provide the message. That is, the screen provides a message for the screen to respond to the screen discovery message.
  • the screen information includes driving information, the driving information is used to indicate that the device body acquires the target driving, and the target driving is the driving of the screen.
  • the driving information has various forms, for example, the driving information is a target driving download address, the target driving download address is used to indicate that the target driving network address is downloaded on the network, or the driving information is the target driving identification information.
  • the screen information also includes screen specification parameters of the screen.
  • the screen specification parameters may include, for example, information such as the manufacturer, resolution, size, and the like of the screen.
  • a message can be used to carry all the screen information. As shown in the screen of Table 3, the screen information can be split into multiple messages, and then the screen sends the messages to the device body.
  • Table 3 provides one of the specific formats of the message.
  • the message format includes information such as driving information and screen specification parameters, wherein the driving information includes target driving identification information, as shown in the Option 10 field, and the target driving download address, as shown in the Option 9 field.
  • the screen specification parameters include the manufacturer of the screen, as shown in the Option1 field; the resolution, as shown in the Option2 field, and the pixel density, brightness range, contrast range, etc., as shown in Table 3, except for the Option 9 and 10 fields. Other Option fields.
  • the screen provides a message to be replied to by the screen.
  • the screen of the embodiment of the invention is provided with intelligent hardware, and the screen supports a screen adaptation protocol, so that protocol interaction can be performed with the device body to implement dynamic adaptation of the screen.
  • Step 404 The device body sends a screen request message to the screen.
  • the SCREEN Request message is used to indicate that the device body has obtained the screen information.
  • the device body After the device body obtains the screen provided by the screen to provide the message, in order to ensure the reliability of the information transmission, the device body sends a screen request message to the screen to notify the screen that the device body has acquired the screen information of the screen.
  • Step 405 The device body acquires a screen confirmation message sent by the screen.
  • the screen After the screen obtains the screen request message sent by the device body, it can confirm that the device body has obtained the screen information, and according to the execution of the process from step 402 to step 404, if the device body and the screen perform step 402 in the screen adaptation protocol, Step 404, the screen may determine that the information acquired by the device body is correct. To this end, the screen sends a screen confirmation (SCREEN ACK) message to the device body, and the screen confirmation message is used to indicate the screen information acquired by the device body and the screen.
  • the pre-stored screen information is the same, thereby making the data transfer of the screen adaptive protocol more reliable.
  • the screen request message fed back to the screen by the device body carries the screen information obtained by the device body from the screen providing the message, so that the screen obtains the screen request message to learn the specific content acquired by the device body.
  • Screen information then, the screen compares the screen information on the screen request message with the screen information pre-stored on the screen itself to determine whether the screen information on the screen request message is the same as the screen information pre-stored on the screen, if the same, Then, the screen sends a screen confirmation message to the device body, indicating that the screen information acquired by the device body is the same as the screen information pre-stored on the screen, so that the device body can use the screen information.
  • the screen may send a screen confirmation message to the device body, because the screen After the sending screen provides the message, the screen starts to wait for the screen request message, and the device body obtains the screen providing the message, and then feeds the screen request message to the screen, so that the screen can provide a message according to the obtained screen to confirm that the current process conforms to the preset.
  • the process confirms that the device body successfully obtains the screen information of the screen, so that the screen sends a screen confirmation message to the device body, and confirms from the process that the screen information acquired by the device body is the same as the screen information pre-stored on the screen.
  • the process of the foregoing steps 402 to 405 is the completed screen adaptation protocol of the embodiment of the present invention.
  • the device body can obtain the screen information sent by the screen.
  • the screen adaptation protocol is only one of the protocols for the device body to obtain the screen information.
  • the device body and the screen can also obtain the screen information of the screen through other specific protocols.
  • the device body obtains the screen information sent by the screen in a specific manner: when the device body detects that the screen is inserted into the main board of the device body, the device body sends a request for requesting screen information to the screen, and then the screen feeds back to the device body according to the request.
  • Carrying feedback information of the screen information or, if there is a detecting part on the screen, and the screen is pulled out of the main body of the device, the detecting part is powered off, and when the screen is engaged with the main body of the device, the screen is electrically connected with the main body of the device and the screen is in the screen In the state, the detecting parts are all energized, so that when the detecting part on the screen is switched from the power-off state to the power-on state, the screen is triggered to directly broadcast a message carrying the screen information to the device body.
  • Step 406 The device body acquires the target driver according to the driving information.
  • the device body acquires the driving information on the screen, so that the required target driving can be acquired according to the driving information to prepare for lighting the screen.
  • the drive information is the download address of the target driver, and the download address of the target driver is used to indicate that the network address of the target driver is downloaded on the network.
  • the drive information is a URL (Uniform Resource Locator) address indicating that the network address of the target driver is downloaded on the network.
  • the device body acquires the target driver according to the driving information, and the device body downloads the target driver from the network according to the download address. That is, the device body connects to the network address indicated by the download address of the target driver, and then the device body downloads the target driver from the network address.
  • a network module such as a WIFI (WIreless-Fidelity) module or a mobile data communication module is disposed on the device body, and the device body can be connected to the network through the network module, so that the device body is connected to the target driver download address indication. website address.
  • WIFI WIreless-Fidelity
  • FIG. 5 is a flowchart of a method for acquiring a device according to an embodiment of the present invention.
  • the mobile phone main body obtains the mobile phone body that is instructed to download the target driver's URL address on the network
  • the mobile phone main body or the mobile phone to which the mobile phone main body belongs is checked whether the local WIFI module is turned on, and if not, the WIFI module is turned on.
  • the WIFI module is turned on, it is checked whether the WIFI module can access the Internet. If the Internet access is available, it is detected whether the URL address is connectable, and if it is connectable, the target driver indicated by the URL address is downloaded. After downloading the target driver, the legality of the target driver can be verified, and if it is legal, step 407 is performed.
  • the WIFI module can not be opened, the WIFI module can not access the Internet, the URL address can not be connected normally, the target driver download fails, etc., as long as one of the situations is realized, the target driver acquisition failure can be determined.
  • the drive information is the target-driven identification information.
  • the driver of the model screen is pre-stored on the device body, and after the device body obtains the driving information of the target-driven identification information, the device body or the device to which the device body belongs can determine the identifier information from the pre-stored driver. Target driven.
  • the mobile phone determines, according to the driver model information, that the target driver is pre-stored locally, and the version verification is correct, step 407 can be performed.
  • the driving information is the target-driven identification information.
  • the device body After the device body obtains the driving information, the device body communicates with the preset server through the network module.
  • the server stores a plurality of drivers in advance, and the device body or the device to which the device body belongs sends the device to the server.
  • the server After the server receives the request, the server determines the target driver from the plurality of drivers according to the driving information that is the identification information, and then sends the target driver to the device body, so that the device body can obtain the request. Go to the target drive.
  • Step 407 The device body loads the target driver onto the kernel of the device body to illuminate the screen.
  • the device body can obtain the target driver according to the driving information, and then the device body loads the target driver supported by the screen into the device. Inside the kernel of the standby body, the screen is illuminated by the body of the device. At this point, the screen will light up normally for normal use by the user.
  • the device body may further perform other operations according to the screen rule parameter, such as displaying the screen specification parameter to the user on the screen, so that the user has an understanding of the performance of the screen. .
  • the device body and the screen complete the recognition of the screen and the loading of the target driver through the execution device body of the screen adaptive protocol described above, and the user can normally use the screen on the device body, for example, the user places the new screen with the mobile phone body.
  • the screen recognition completes the normal loading will enter the lock screen interface, and reminds the user that the screen replacement is successful.
  • the user and the device can repeat the above steps 401 to 407 to perform screen replacement on the device body.
  • the device body can dynamically adapt to the screen, and realize driving of different types of screens, so that the device body can use various types of screens, and the problem that the screen specifications are fixed cannot satisfy the user's use in various scenarios.
  • users also have a wider variety of screens to choose from.
  • the physical connection between the main body of the device and the screen uses components such as pins, jacks, and snap-on structures, which facilitates disassembly and assembly of the screen on the main body of the device, so that the user can quickly perform the screen on the screen after the screen is damaged. replace.
  • the original screen on the main body of the device may be replaced by using the screen of the same model, or the original screen on the main body of the device may be replaced by using a screen of a different model.
  • the device body after the device body sends the screen discovery message to the screen, if the screen does not send the screen providing message to the device body, it indicates that the screen does not support the screen adaptation protocol, and the device body may try to load. Drive the pre-default screen to the kernel to try to light the screen. If the screen cannot be lit at this time, the device body issues an alarm, such as an alarm sound. Then, the device body enters the standby process. Or, when the device body cannot obtain the message provided by the screen, the device body directly issues an alarm and continues to stand by.
  • the device body cannot obtain the target driver according to the driving information.
  • the driving information is the target driving download address
  • the target driver cannot be downloaded; or when the driving information is the target-driven identification information, the target is not pre-stored in the various drivers on the device body. drive.
  • the execution flow of the device body can refer to the above description, for example, the device body issues an alarm and enters standby.
  • the screens in the above steps 402 to 407 may be referred to as the first a screen
  • the driving information of the first screen is referred to as first driving information
  • the driving of the first screen is referred to as a first driving
  • the first screen information includes first driving information
  • the first driving information is used to indicate the first drive.
  • the method of the embodiment of the present invention further includes: the device body detects that the first screen and the device body are disconnected from each other, for example, the user removes the first screen from the device body, and the device body detects The first screen is disconnected from the device body and the device body can now enter the standby process as described in detail in step 401. Then, the device body detects that the second screen is electrically connected to the device body. For example, the user connects to the device body using another model of screen, and the device body can detect that the screen is electrically connected thereto.
  • the device body acquires second screen information sent by the second screen, where the second screen information includes second driving information, and the second driving information is used to indicate the second driving, the second driving Move to the drive of the second screen.
  • the device body acquires the second drive according to the second driving information, and the device body loads the second driving to illuminate the second screen.
  • step 406 and step 407 refer to the detailed description of step 406 and step 407 above.
  • the device body is also electrically connected to other screens before being inserted into the screen. If the inserted screen finally fails to light up, the device body may display the cause of the lighting failure through the pre-connected screen.
  • the screen in the above steps 402 to 407 is referred to as a first screen.
  • the device body is electrically connected to the third screen. When the device body fails to illuminate the first screen, the device body passes the third screen. The screen displays a lighting failure message for describing the reason why the device body fails to light the first screen.
  • the reason why the first screen fails to be lit includes, but is not limited to, the first driving information of the first screen is not obtained by the device body, the first screen does not provide a message to the device body feedback screen, and the device body is first according to the first screen.
  • the driving information does not obtain the first driving of the first screen, the power supply of the device body to the first screen is unsuccessful, and the like.
  • the setting of the third screen may be, for example, that the third screen is fixedly disposed on the back of the mobile phone, and the first screen is detachably used on the front side of the mobile phone.
  • the screen providing message in step 403 may be the identification information of the carrying screen, so that the device body obtains the identification information of the current screen through the execution of the screen adaptive protocol, and then the device body passes the network module.
  • the server determines the screen information indicated by the identification information from the screen information of the plurality of models according to the identification information, and then determines the screen. The information is fed back to the device body or device so that the device body or device can obtain the screen information of the screen.
  • the specific implementation process may refer to the description in the third example above.
  • the device body acquires screen information sent by the screen, wherein the screen information includes driving information, the driving information is used to indicate that the device body acquires the target driving, and the target driving is the driving of the screen. Then, the device body acquires the target drive based on the drive information.
  • This screen is illuminated when the device body is loaded onto the core of the device body.
  • the device body can light the screen as long as it can obtain the driving information of the screen electrically connected thereto, and the driving information is stored on the screen, so that for different types of screens, as long as the driving information is stored, the device body can
  • the driver information loads the corresponding driver onto the kernel, and the screen can be used on the device body, thereby enabling quick installation of the screen on the device body.
  • FIG. 6 is a schematic structural diagram of a device body according to an embodiment of the present invention.
  • the apparatus body may be the apparatus body described in the embodiment shown in FIG. 1, and the apparatus body may be used to perform the method performed by the apparatus body in the embodiment shown in FIG. 3 or FIG.
  • the device body of the embodiment of the present invention includes:
  • the information acquiring unit 601 is configured to acquire first screen information sent by the first screen, where the first screen information includes first driving information, where the first driving information is used to indicate the first driving, and the first driving is driving of the first screen, the device The main body is electrically connected to the first screen;
  • the driving acquisition unit 602 is configured to acquire the first driving according to the first driving information.
  • the loading unit 603 is configured to load the first driving to illuminate the first screen.
  • the device body further includes a detecting unit 604.
  • the detecting unit 604 is configured to detect that the first screen and the device body are disconnected from each other;
  • the detecting unit 604 is further configured to detect that the second screen is electrically connected to the device body;
  • the information acquiring unit 601 is further configured to acquire second screen information that is sent by the second screen, where the second screen information includes second driving information, where the second driving information is used to indicate the second driving, and the second driving is the driving of the second screen;
  • the driving acquisition unit 602 is further configured to acquire the second driving according to the second driving information
  • the loading unit 603 is further configured to load the second driver to illuminate the second screen.
  • the information obtaining unit 601 includes a sending module 605 and a receiving module 606.
  • a sending module 605, configured to send a screen discovery message to the first screen
  • the receiving module 606 is configured to obtain a screen providing message sent by the first screen, where the screen provides a message for carrying the first screen information pre-stored on the first screen, and the screen provides the message as a response of the first screen to the screen found message;
  • the sending module 605 is further configured to send a screen request message to the first screen, where the screen request message is used to indicate that the device body has acquired the first screen information;
  • the receiving module 606 is further configured to obtain a screen confirmation message sent by the first screen, where the screen confirmation message is used to indicate that the first screen information acquired by the device body is the same as the first screen information pre-stored on the first screen.
  • the first driving information is a download address of the first driver
  • the driver obtaining unit 602 is further configured to download the first driver from the network according to the download address.
  • the first driving information is identification information of the first driving
  • the driver obtaining unit 602 is further configured to determine, from the pre-stored driver, the first driver of the identifier information identifier.
  • the main body of the device is electrically connected to the first screen through a jack and a pin, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the first screen.
  • the main body of the device is electrically connected to the first screen through a jack and a pin, and the jack is disposed on the first screen, and the pin is disposed on the main board of the main body of the device.
  • the device body is electrically connected to the third screen, and the device body further includes a display unit 607.
  • the display unit 607 is configured to display a lighting failure information through the third screen when the device body fails to illuminate the first screen, and the lighting failure information is used to describe the reason why the device body fails to illuminate the first screen.
  • the first screen information also includes screen specification parameters of the first screen.
  • the information acquiring unit 601 acquires first screen information sent by the first screen, where the first screen information includes first driving information, and the first driving information is used to indicate the first driving, where the first driving is the first screen. Driven, the device body is electrically connected to the first screen. Then, the driving acquisition unit 602 acquires the first driving according to the first driving information, and after the loading unit 603 loads the first driving, the first screen is illuminated.
  • the device body can light up the screen as long as it can obtain the driving information of the screen electrically connected thereto, and the driving information is stored on the screen, so that for different types of screens, As long as the driving information is stored, the device body can load the corresponding driver according to the driving information, and the screen can be used on the device body, thereby realizing quick installation of the screen on the device body.
  • the embodiment of the present invention further provides a hardware embodiment of the device body. As shown in FIG. 7 , for the convenience of description, only parts related to the embodiment of the present invention are shown. If the specific technical details are not disclosed, refer to the embodiment of the present invention. Method part.
  • the main body of the device may be a main body of any device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the like.
  • FIG. 7 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention.
  • the mobile phone body includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, and a processor. 780, and power supply 1090 and other components.
  • RF radio frequency
  • the structure of the handset shown in FIG. 7 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit 710 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 780 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 710 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • the memory 720 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 720.
  • the memory 720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 730 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 730 may include a touch panel 1031 and other input devices 732.
  • the touch panel 731 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 731 or near the touch panel 731. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 731 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and turns it
  • the coordinates are replaced by the contacts and sent to the processor 780, and the commands sent from the processor 780 can be received and executed.
  • the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 730 may also include other input devices 732.
  • other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 740 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 740 can include a display panel 741.
  • the display panel 741 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 731 can cover the display panel 741. After the touch panel 731 detects a touch operation on or near the touch panel 731, the touch panel 731 transmits to the processor 780 to determine the type of the touch event, and then the processor 1080 according to the touch event. The type provides a corresponding visual output on display panel 741.
  • touch panel 731 and the display panel 741 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 7, in some embodiments, the touch panel 731 can be integrated with the display panel 741. Realize the input and output functions of the phone.
  • the handset body can also include at least one type of sensor 750, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may close the display panel 741 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 760, a speaker 761, and a microphone 762 can provide an audio interface between the user and the handset.
  • the audio circuit 760 can transmit the converted electrical data of the received audio data to the speaker 761 for conversion to the sound signal output by the speaker 761; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal by the audio circuit 760. After receiving, it is converted into audio data, and then processed by the audio data output processor 780, sent to, for example, another mobile phone via the RF circuit 710, or outputted to the memory 720 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 770, which provides users with wireless broadband Internet access.
  • FIG. 7 shows the WiFi module 770, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 780 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 720, and invoking data stored in the memory 720, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 780 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 780.
  • the body of the mobile phone also includes a power source 790 (such as a battery) that supplies power to the various components.
  • a power source 790 such as a battery
  • the power source can pass through the power source.
  • the management system is logically coupled to the processor 780 to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone main body may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit 740 and/or the input unit 730 described above may not be included in the embodiment of the present invention, or may be a display unit that is different from the screen in the embodiment shown in FIG. 1 to FIG.
  • the input unit may be the same as the screen, which is not limited in the embodiment of the present invention, as long as the screen in the embodiment shown in FIG. 1 to FIG. 4 can be disassembled and assembled on the device body of the embodiment of the present invention. .
  • the apparatus main body of the embodiment shown in FIG. 1 and FIG. 2a and FIG. 2b can be configured based on the structure of the apparatus main body of the embodiment of the present invention, and the apparatus main body in the embodiment shown in FIG. 3 or FIG. 4 can be based on the FIG.
  • the structure of the apparatus main body shown in Fig. 6 can be integrated on the structure of the apparatus main body shown in Fig. 7.
  • the device body includes a power source 790, a memory 720, and a processor 780.
  • the memory 720 is configured to store an instruction
  • the processor 780 is configured to read an instruction stored in the memory 720 and perform the following actions:
  • the first screen information includes first driving information, the first driving information is used to indicate the first driving, the first driving is driving of the first screen, and the device body is electrically connected to the first screen ;
  • a power supply 790 is provided for powering the first screen.
  • the processor 780 is further configured to read an instruction stored in the memory, and perform the following actions:
  • the second screen information includes second driving information, the second driving information is used to indicate the second driving, and the second driving is driving of the second screen;
  • the second drive is loaded to light up the second screen.
  • the processor 780 is further configured to read an instruction stored in the memory, and perform the following actions:
  • the first driving information is a download address of the first driver
  • the processor 780 is further configured to read an instruction stored in the memory, and perform the following actions:
  • the first driving information is identification information of the first driving
  • the processor 780 is further configured to read an instruction stored in the memory, and perform the following actions:
  • a first driver identifying the identification information is determined from the pre-stored driver.
  • the main body of the device is electrically connected to the first screen through a jack and a pin, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the first screen.
  • the main body of the device is electrically connected to the first screen through a jack and a pin, and the jack is disposed on the first screen, and the pin is disposed on the main board of the main body of the device.
  • the main body of the device is electrically connected to the third screen
  • the processor 780 is further configured to read an instruction stored in the memory, and perform the following actions:
  • the lighting failure information is displayed through the third screen, and the lighting failure information is used to describe the reason why the device body fails to illuminate the first screen.
  • the first screen information also includes screen specification parameters of the first screen.
  • the processor 780 acquires the first screen information sent by the first screen, where the first screen information includes first driving information, the first driving information is used to indicate the first driving, and the first driving is the driving of the first screen.
  • the device body is electrically connected to the first screen.
  • the processor 780 acquires the first driving according to the first driving information, and after the processor 780 loads the first driving, the first screen is illuminated.
  • the device body can light the screen as long as it can obtain the driving information of the screen electrically connected thereto, and the driving information is stored on the screen, so that for different types of screens, as long as the driving information is stored, the device body can
  • the driver information loads the corresponding driver, and the screen can be used on the device body, thereby realizing quick installation of the screen on the device body.
  • FIG. 8 is a schematic structural diagram of a screen according to an embodiment of the present invention.
  • the screen may be a screen described in the embodiment shown in FIG. 1, FIG. 2a or FIG. 2b, and the screen may be used to perform the method shown in FIG. 3 or FIG. In an embodiment, the method performed by the screen.
  • the screen of the embodiment of the present invention includes:
  • the sending unit 801 is configured to send screen information to the device body, the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, and then loads the target driving.
  • the screen is electrically connected to the main body of the device;
  • the bright screen unit 802 is configured to brighten the screen under the power supply of the device body.
  • the sending unit 801 includes a sending module 803 and a receiving module 804.
  • the receiving module 804 is configured to acquire a screen discovery message sent by the device body.
  • the sending module 803 is configured to send a screen providing message to the device body, and the screen provides the message for carrying the screen pre-stored Screen information, the screen provides a message for the screen to respond to the screen to find the message;
  • the receiving module 804 is further configured to obtain a screen request message sent by the device body, where the screen request message is used to indicate that the device body has obtained the screen information;
  • the sending module 803 is further configured to send a screen confirmation message to the device body, where the screen confirmation message is used to indicate that the screen information acquired by the device body is the same as the screen information pre-stored on the screen.
  • the drive information is the download address of the target drive, or the drive information is the target drive identification information.
  • the screen is electrically connected to the main body of the device through a jack and a pin, and the jack is disposed on the screen, and the pin is disposed on the main board of the main body of the device.
  • the screen is electrically connected to the main body of the device through a jack and a pin, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the screen.
  • the screen information also includes screen specification parameters for the screen.
  • the sending unit 801 sends screen information to the device body, wherein the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, and then loads The target is driven, and the screen is electrically connected to the main body of the device. Then, the bright screen unit 802 is illuminated under the power of the device body. In this way, the screen pre-stores the screen information, and the screen information includes the driving information of the screen.
  • the device body loads the target driving of the screen according to the obtained driving information, that is, The screen can be illuminated, and the driving information is stored on the screen, so that for different types of screens, as long as there is driving information, the screen can be used on the main body of the device, thereby realizing quick installation of the screen on the main body of the device. .
  • the embodiment of the present invention further provides a hardware embodiment of a screen, which may include: the screen may be relatively different due to different configurations or performances, and may include one or more intelligent hardware, such as a processor (central processing units) , CPU) (eg, one or more processors) and memory, one or more storage media that store applications or data (eg, one or one storage device in Shanghai).
  • the memory and the storage medium may be short-term storage or persistent storage.
  • a program stored on a storage medium may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • the processor can be arranged to communicate with the storage medium to perform a series of instruction operations in the storage medium on the device body.
  • This screen can be used to display information input by the user or information provided to the user as well as various menus of the terminal device.
  • the screen may include a display panel.
  • the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel may cover the display panel, and when the touch panel detects a touch operation on or near the touch panel, the processor is transmitted to the terminal device to determine the type of the touch event, and then the processor of the terminal device according to the touch event The type provides the corresponding visual output on the display panel.
  • the touch panel and the display panel can be used as two separate components to realize the input and input functions of the screen, and the touch panel and the display panel can be integrated to realize input and output functions.
  • the screen can be used to electrically connect with the device body of the various embodiments described above such that the screen can interact with the device body and obtain electrical energy from the device body for operation.
  • the screen may also include one or more power supplies, one or more wired or wireless network interfaces, one or more Input and output interfaces, and/or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
  • the screen of the embodiment shown in FIG. 1 and FIG. 2a and FIG. 2b may be based on the structure of the screen of the embodiment of the present invention, and the screen involved in the embodiment of FIG. 3 or FIG. 4 may be based on the screen of the embodiment of the present invention.
  • the structure of the screen of the embodiment shown in Fig. 8 can be integrated on the structure of the screen of the embodiment of the present invention.
  • the screen of the embodiment of the present invention includes a memory, a processor, and a display screen.
  • the memory for storing instructions and screen information
  • the processor is configured to read instructions and screen information stored in the memory, and perform the following actions:
  • the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, loads the target driving, and the screen is electrically connected with the device body. ;
  • the display is used to brighten the screen under the power of the device body.
  • the processor is further configured to read the instruction and the screen information stored in the memory, and perform the following actions:
  • the screen provides a message for carrying the screen pre-stored screen information, and the screen provides the message as a response of the screen to the screen found message;
  • the screen confirmation message is sent to the device body, and the screen confirmation message is used to indicate that the screen information acquired by the device body is the same as the screen information pre-stored on the screen.
  • the driving information is a target-driven download address, or the driving information is target-driven identification information.
  • the screen is electrically connected to the main body of the device through a jack and a pin, and the jack is disposed on the screen, and the pin is disposed on the main board of the device body.
  • the screen is electrically connected to the main body of the device through a jack and a pin, and the jack is disposed on the main board of the main body of the device, and the pin is disposed on the screen.
  • the screen information also includes screen specification parameters of the screen.
  • the processor sends screen information to the device body, wherein the screen information includes driving information, the driving information is used to indicate the target driving, and the target driving is a driving of the screen, so that the device body obtains the target driving according to the driving information, and loads the target.
  • the screen is electrically connected to the main body of the device.
  • the processor then illuminates under power from the device body. In this way, the screen pre-stores the screen information, and the screen information includes the driving information of the screen.
  • the device body loads the target driving of the screen according to the obtained driving information, that is, The screen can be illuminated, and the driving information is stored on the screen, so that for different types of screens, as long as there is driving information, the screen can be used on the main body of the device, thereby realizing quick installation of the screen on the main body of the device. .
  • the computer program product includes one or more computer instructions.
  • the computer can be A general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

提供了一种屏幕安装方法,所述方法包括:设备主体(101)与第一屏幕(102)电连接后,获取第一屏幕(102)发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕(102)的驱动;设备主体根据第一驱动信息获取第一驱动后,加载第一驱动,点亮第一屏幕(102)。对于不同型号的屏幕,只要存有驱动信息,设备主体(101)可根据该驱动信息加载对应的驱动,从而实现在设备主体上快速安装屏幕。还提供了一种设备主体、屏幕、计算机可读存储介质和计算机程序产品。

Description

屏幕安装方法、设备主体和屏幕
本申请要求于2016年11月14日提交中国专利局、申请号为201611000262.3,发明名称为“一种更换移动终端屏幕的方法和设备”的中国专利申请优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及信息处理领域,尤其涉及一种屏幕安装方法、设备主体、屏幕、计算机可读存储介质和计算机程序产品。
背景技术
屏幕是设备的重要输入输出装置,现有的设备主体一般固定与一种屏幕型号配套使用。
例如,在手机上,屏幕和手机的主板用螺丝上紧或者用胶水沾死后,即可将该屏幕用于该手机上,且手机的主板只能与一种型号的屏幕对应。
若用户要更换屏幕时,只能使用该固定型号的屏幕进行更换,从而不方便用户在设备主体上使用不同的屏幕。
发明内容
本发明实施例提供了一种屏幕安装方法、设备主体、屏幕、计算机可读存储介质和计算机程序产品,用于在设备主体上快速安装屏幕。
本发明实施例的第一方面提供一种屏幕安装方法,该方法应用于设备主体上,该方法包括:设备主体与第一屏幕电连接后,设备主体获取第一屏幕发送的第一屏幕信息,其中,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动。然后,设备主体根据第一驱动信息获取第一驱动,从而设备主体加载第一驱动,点亮第一屏幕。在本实现方式中,设备可以包括设备主体和屏幕,该设备可以为手机、平板电脑、电子阅读器等需要使用屏幕的设备。该屏幕的类型可以为触摸屏、水墨屏等。
这样,设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
结合本发明实施例的第一方面,在本发明实施例的第一方面的第一种实现方式中,设备主体点亮第一屏幕之后,方法还包括:设备主体检测第一屏幕和设备主体断开电连接后,设备主体检测第二屏幕和设备主体电连接。例如,用户将第一屏幕从设备主体上拆除,然后将第二屏幕安装在设备主体上。从而设备主体可检测到第一屏幕与设备主体断开电连接,以及第二屏幕与设备主体电连接。为了点亮该第二屏幕,设备主体获取第二屏幕发送的第二屏幕信息,其中,第二屏幕信息包括第二驱动信息,第二驱动信息用于指示第二驱动,第二驱动为第二屏幕的驱动。然后,设备主体根据第二驱动信息获取第二驱动。从而,设备主体加载第二驱动,点亮第二屏幕。第一屏幕和第二屏幕不同,例如可以是不同型号的 屏幕,这样,用户通过在设备主体上快速拆装不同的屏幕,可以在设备主体上使用不同的屏幕,满足了用户对不同屏幕的使用需求。
结合本发明实施例的第一方面,在本发明实施例的第一方面的第二种实现方式中,设备主体可以通过协议获取屏幕发送的屏幕信息,该协议有多种类型,其中本实现方式使用到了屏幕自适应协议,该屏幕自适应协议的执行,在设备主体端需要执行的步骤如后文所述,即设备主体获取第一屏幕发送的第一屏幕信息,包括:设备主体向第一屏幕发送屏幕发现报文。其中,屏幕发现报文用于指示屏幕发送屏幕提供报文,若屏幕反馈屏幕提供报文,则表示该屏幕支持屏幕自适应协议,若屏幕不反馈屏幕提供报文,则表示该屏幕不执行屏幕自适应协议,从而设备主体通过发送该屏幕发现报文,可以判断该屏幕是否支持屏幕自适应协议。若第一屏幕支持屏幕自适应协议,则设备主体获取第一屏幕发送的屏幕提供报文,该屏幕提供报文用于携带第一屏幕预存的第一屏幕信息,该第一屏幕信息包括第一驱动信息,或者该第一屏幕信息包括第一驱动信息和第一屏幕的屏幕规格信息。该屏幕提供报文为第一屏幕对屏幕发现报文的响应。这样,设备主体即可获取到识别屏幕的信息。然后,设备主体向第一屏幕发送屏幕请求报文,屏幕请求报文用于表示设备主体已获取到第一屏幕信息,设备主体跟着获取第一屏幕发送的屏幕确认报文,屏幕确认报文用于表示设备主体获取的第一屏幕信息与第一屏幕预存的第一屏幕信息相同,从而确认设备主体获取的信息正确。
结合本发明实施例的第一方面或者第一方面的第一种或第二种实现方式,本发明实施例的第一方面的第三种实现方式中,第一驱动信息为第一驱动的下载地址,从而设备主体根据第一驱动信息获取第一驱动,包括:设备主体根据下载地址,从网络下载第一驱动。例如,设备主体连接该下载地址指示的网络地址后,设备主体从网络地址下载第一驱动。这样,设备主体即可获取到第一驱动,通过将第一驱动保存在网络上,减少了设备主体上的存储空间的负担。
结合本发明实施例的第一方面或者第一方面的第一种或第二种实现方式,本发明实施例的第一方面的第四种实现方式中,第一驱动信息为第一驱动的标识信息,从而设备主体根据第一驱动信息获取第一驱动,包括:设备主体从预存的驱动中确定标识信息标识的第一驱动。这样,设备主体即可确定出需要用到的第一驱动。
结合本发明实施例的第一方面或者第一方面的第一种至第四种实现方式中的任意一种,本发明实施例的第一方面的第五种实现方式中,设备主体与第一屏幕电连接,包括:设备主体通过插孔和插针与第一屏幕电连接,其中,插孔设于设备主体的主板,插针设于第一屏幕。通过插针和插孔的设置,方便了屏幕在设备主体上的插拔,使得用户可以方便地在设备主体上自行拆装屏幕。且屏幕和设备主体可通过该插针和插孔结构实现数据的传输,例如,传输协议的报文、屏幕需要显示的数据、用户通过屏幕产生的指令等。
结合本发明实施例的第一方面或者第一方面的第一种至第四种实现方式中的任意一种,本发明实施例的第一方面的第六种实现方式中,设备主体与第一屏幕电连接,包括:设备主体通过插孔和插针与第一屏幕电连接,其中,插孔设于第一屏幕,插针设于设备主体的主板。通过插针和插孔的设置,方便了屏幕在设备主体上的插拔,使得用户可以方便 地在设备主体上自行拆装屏幕。且屏幕和设备主体可通过该插针和插孔结构实现数据的传输,例如,传输协议的报文、屏幕需要显示的数据、用户通过屏幕产生的指令等。
结合本发明实施例的第一方面或者第一方面的第一种至第四种实现方式中的任意一种,本发明实施例的第一方面的第七种实现方式中,该方法还包括:设备主体与第三屏幕电连接,当设备主体点亮第一屏幕失败时,设备主体通过第三屏幕显示点亮失败信息,点亮失败信息用于描述设备主体点亮第一屏幕失败时的原因。例如,该点亮失败信息包括该设备主体为第一屏幕供电不成功、获取不到第一屏幕的第一驱动、获取不到第一屏幕的第一屏幕信息等等,当设备主体检测到不能点亮第一屏幕时,设备主体将当前点亮失败的原因在预先与设备主体电连接的第三屏幕上进行显示,以告知用户具体的点亮失败原因,从而方便用户后续进行针对失败原因的处理。
结合本发明实施例的第一方面或者第一方面的第一种至第四种实现方式中的任意一种,本发明实施例的第一方面的第八种实现方式中,第一屏幕信息还包括第一屏幕的屏幕规格参数。该屏幕规格参数用于对第一屏幕的规格进行描述,屏幕规格参数例如可以是屏幕大小、分辨率、是否为水墨屏等。这样,设备主体可以获取到关于屏幕的更多的信息,以执行更多类型的操作,满足用户更多的需求。
本发明实施例的第二方面提供一种屏幕安装方法,该方法应用于屏幕上,该方法包括:屏幕与设备主体电连接后,屏幕向设备主体发送屏幕信息,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,从而屏幕在设备主体供电下亮屏。以供用户使用该屏幕。在本实现方式中,设备可以包括设备主体和屏幕,该设备可以为手机、平板电脑、电子阅读器等需要使用屏幕的设备。该屏幕的类型可以为触摸屏、水墨屏等。
这样,屏幕预先存有屏幕信息,该屏幕信息包括该屏幕的驱动信息,该屏幕向与其电连接的设备主体发送屏幕信息后,该设备主体根据获取到的驱动信息加载该屏幕的目标驱动,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
结合本发明实施例的第二方面,在本发明实施例的第二方面的第一种实现方式中,屏幕可以通过协议向设备主体发送屏幕信息,该协议有多种类型,其中本实现方式使用到了屏幕自适应协议,该屏幕自适应协议的执行,在屏幕端需要执行的步骤如后文所述,即屏幕向设备主体发送屏幕信息,包括:屏幕获取设备主体发送的屏幕发现报文。屏幕发现报文用于指示屏幕发送屏幕提供报文。若该屏幕支持屏幕自适应协议,则屏幕向设备主体发送屏幕提供报文,屏幕提供报文用于携带屏幕预存的屏幕信息,屏幕提供报文为屏幕对屏幕发现报文的响应。这样,设备主体即可获取到识别该屏幕需要用到的信息。然后,屏幕获取设备主体发送的屏幕请求报文,屏幕请求报文用于表示设备主体已获取到屏幕信息。跟着,屏幕向设备主体发送屏幕确认报文,屏幕确认报文用于表示设备主体获取的屏幕信息与屏幕预存的屏幕信息相同,从而确认设备主体获取的信息正确。
结合本发明实施例的第二方面或者第二方面的第一种实现方式,本发明实施例的第二方面的第二种实现方式中,驱动信息有多种具体的形式,例如驱动信息为目标驱动的下载 地址,或者,驱动信息为目标驱动的标识信息。设备主体获取到该下载地址后,即可根据该下载地址从网络中下载目标驱动;若设备主体获取的是第一驱动的标识信息,则设备主体可以从预存的驱动中确定出该标识信息指示的第一驱动。
结合本发明实施例的第二方面或者第二方面的第一或第二种实现方式,本发明实施例的第二方面的第三种实现方式中,屏幕与设备主体电连接,包括:屏幕通过插孔和插针与设备主体电连接,插孔设于屏幕,插针设于设备主体的主板。通过插针和插孔的设置,方便了屏幕在设备主体上的插拔,使得用户可以方便地在设备主体上自行拆装屏幕。且屏幕和设备主体可通过该插针和插孔结构实现数据的传输,例如,传输协议的报文、屏幕需要显示的数据、用户通过屏幕产生的指令等。
结合本发明实施例的第二方面或者第二方面的第一或第二种实现方式,本发明实施例的第二方面的第四种实现方式中,屏幕与设备主体电连接,包括:屏幕通过插孔和插针与设备主体电连接,插孔设于设备主体的主板,插针设于屏幕。通过插针和插孔的设置,方便了屏幕在设备主体上的插拔,使得用户可以方便地在设备主体上自行拆装屏幕。且屏幕和设备主体可通过该插针和插孔结构实现数据的传输,例如,传输协议的报文、屏幕需要显示的数据、用户通过屏幕产生的指令等。
结合本发明实施例的第二方面或者第二方面的第一或第二种实现方式,本发明实施例的第二方面的第五种实现方式中,屏幕信息还包括屏幕的屏幕规格参数。该屏幕规格参数用于对屏幕的规格进行描述,屏幕规格参数例如可以是屏幕大小、分辨率、是否为水墨屏等。这样,设备主体可以获取到关于屏幕的更多的信息,以执行更多类型的操作,满足用户更多的需求。
本发明实施例的第三方面提供一种设备主体,该设备主体具有上述方法中设备主体的功能。该功能可以通过硬件实现,也可能通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
一种可能的实现方式中,该设备主体包括:
信息获取单元,用于获取第一屏幕发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接;
驱动获取单元,用于根据第一驱动信息获取第一驱动;
加载单元,用于加载第一驱动,点亮第一屏幕。
另一种可能的实现方式中,该设备主体包括:电源、存储器和处理器,
该存储器,用于存储指令;
该处理器,用于读取存储在该存储器的指令,执行如下动作:
获取第一屏幕发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接;
根据第一驱动信息获取第一驱动;
加载第一驱动,点亮第一屏幕;
该电源,用于为第一屏幕供电。
本发明实施例的第四方面提供一种计算机存储介质,该计算机存储介质存储有程序代码,该程序代码用于指示执行上述第一方面的方法。
本发明实施例的第五方面提供一种屏幕,该屏幕具有上述方法中屏幕的功能。该功能可以通过硬件实现,也可能通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
一种可能的实现方式中,该屏幕包括:
发送单元,用于向设备主体发送屏幕信息,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接;
亮屏单元,用于在设备主体供电下亮屏。
另一种可能的实现方式中,该屏幕包括存储器、处理器和显示屏,
该存储器,用于存储指令和屏幕信息;
该处理器,用于读取存储在该存储器的指令和该屏幕信息,执行如下动作:
向设备主体发送屏幕信息,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接;
该显示屏,用于在设备主体供电下亮屏。
本发明实施例的第六方面提供一种计算机存储介质,该计算机存储介质存储有程序代码,该程序代码用于指示执行上述第二方面的方法。
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在设备主体或屏幕上运行时,使得设备主体或屏幕执行上述各方面所述的方法。
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在设备主体或屏幕上运行时,使得设备主体或屏幕执行上述各方面所述的方法。
本发明实施例提供的技术方案中,设备主体与第一屏幕电连接后,设备主体获取第一屏幕发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体根据第一驱动信息获取第一驱动。设备主体加载第一驱动,点亮第一屏幕。设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,设备主体可根据该驱动信息加载对应的驱动,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
附图说明
图1为本发明一实施例提供的一种设备的示意图;
图2a为图1所示的设备的屏幕的背面的示意图;
图2b为图1所示的设备的设备主体的正面的示意图;
图3为本发明另一实施例提供的一种屏幕安装方法的方法流程图;
图4为本发明另一实施例提供的一种屏幕安装方法的方法流程图;
图5为本发明另一实施例提供的一种设备获取驱动的方法流程图;
图6为本发明另一实施例提供的一种设备主体的结构示意图;
图7为本发明另一实施例提供的一种设备主体的硬件结构示意图;
图8为本发明另一实施例提供的一种屏幕的结构示意图。
具体实施方式
本发明实施例提供了一种屏幕安装方法、设备主体、屏幕、计算机可读存储介质和计算机程序产品,用于在设备主体上快速安装屏幕。
以下即对本发明的各实施例进行说明。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
图1为本发明实施例提供的一种设备的示意图,该设备包括设备主体101和屏幕102,该屏幕102可以安装在设备主体101上,设备主体101可以包括主板等部件,屏幕102为显示设备,屏幕102安装在设备主体101上后,设备主体101即可通过屏幕102显示信息或者通过屏幕获取用户的操作指令等。其中,该设备包括但不限于手机、平板电脑、笔记本计算机、电子阅读器等使用到屏幕的设备,该屏幕102可以为触摸屏、水墨屏等类型,本发明实施例对此不作具体限定。
其中,在本发明实施例中,屏幕102和设备主体101的电连接方式可以为插针和插孔方式,例如,在屏幕上设有插针,在设备主体的主板上设有插孔,当屏幕的插针插入该设备主体的主板上时,该屏幕和设备主体即可实现电连接,以使得该屏幕和设备主体进行数据的传输。
具体来说,如图2a和图2b所示,图2a为屏幕102的背面的示意图,图2b为设备主体101的正面的示意图,其中在安装后,屏幕的背面和设备主体的正面相互贴合。为了设备主体101和屏幕102之间进行数据的交互,设备主体101和屏幕102可以通过插针202和插孔201进行电连接,可以是设备主体的主板上设有插孔201,屏幕102上设有插针202,只要该插针和插孔相匹配即可,即该插针可插入该插孔,并使得屏幕和设备主体电连接。其中,插针202在屏幕102上的排布和插孔201在设备主体101上的排布的具体方式有多种,图2a和图2b所示的插针202和插孔201使用的横排方式,只是其中一种具体方式。或者,设备主体的主板设置插针而屏幕上设置插孔,设置方式进行对调这也可行。
可以理解,本发明实施例对插孔和插针的数量不作限定,插针的数目可以为一个或多个,插孔的数目也可以为一个或多个。
在本发明有的实施例中,在屏幕和设备主体上还设有固定结构,以防止插针损坏。如图2a所示,在屏幕102上设有四个固定凸块204,相应地,在设备主体上设有四个容置腔203,在屏幕102和设备主体101连接后,固定凸块204卡入容置腔203中,从而防止与插针202的延伸方向垂直的力损坏插针202,并让屏幕102和设备主体102连接得更稳固可靠。
在本发明有的实施例中,屏幕和设备主体间还增加有防接错设计,例如,屏幕的多个插针和设备主体的多个插孔的排布方式使用非对称设计,这样,若用户将屏幕倒转与设备主体进行连接,将不会成功,从而避免了连接线路的出错。
这样,设备主体101在硬件上留有快速安装的插针接口,即插孔,从而在物理上支持屏幕102的快速插拔。屏幕102按照标准设计的接口可以直接插入手机主板上,类似于CPU(Central Processing Unit;中央处理器)的插针,该插针预先有统一要求。从而屏幕也支持快速插拔的使用。
在本发明的一些实施例中,该屏幕和设备主体的用于数据传输的物理连接方式除了使用上述的插针和插孔外,还可以使用其它的方式,例如,在屏幕和设备主体上都设置配套的金属片接口,当屏幕和设备主体进行接合后,屏幕上的金属片和设备主体上的金属片可以贴合在一起,从而进行数据的传输。
可以理解,屏幕和设备主体传输的数据可以包括多种类型,例如为对屏幕进行识别的报文、需要屏幕显示的数据、用户通过操作屏幕产生的指令等等。
在本发明的一些实施例中,为了屏幕和设备主体可以固定地连接,在设备主体上可以设有卡接结构,当屏幕和设备主体连接后,设备主体上的卡接结构即可与屏幕卡接,从而将屏幕固定在设备主体上。该卡接结构有多种实现方式,例如,在设备主体的壳体边缘内侧设有凸出的卡接块,相应的,在屏幕的边缘设有卡槽,当屏幕和设备主体接合时,设备主体的该卡接块可以与屏幕的卡槽卡接,从而使得屏幕固定在设备主体上,具体的形式可以参考现有的可拆卸电池的智能手机的后盖和手机主体的连接方式。或者,也可以在设备主体的插孔旁边增加卡扣,若要拆卸下安装在设备主体上的屏幕,可以使用撞针插入,然后把卡扣弹开,即可以卸下屏幕,具体的形式可以参考现有的SIM(Subscriber Identification Module;客户识别模块)卡槽取出的方式。
这样,通过上述的物理结构的设计,将使得本发明实施例的屏幕和设备主体可以轻易进行扣合。
为了设备主体和屏幕能进行动态的识别过程,在屏幕上预先保存有屏幕的屏幕信息,该屏幕信息包括屏幕的驱动信息,也可以还包括其它类型的屏幕信息。通过前述的插针和插孔作为物理的传输介质,设备主体即可获取到该屏幕发送的屏幕信息。为了能使得设备主体与屏幕间能可靠地进行数据交互,该设备主体和屏幕使用预先定义的协议进行交互,具体的协议类型可参考图3或图4所描述的内容。
为了能实现该数据交互过程,在设备主体和屏幕间除了要增加插针和插孔等物理传送介质外,在屏幕上还要设置智能硬件,从而屏幕可以还设有主板的设备主体进行协议的交互。并且,在本发明实施例中,对该设备主体和屏幕还要进行软件上的改进。例如,设备 主体在软件上支持该预先定义的协议,以识别不同的屏幕类型,做到动态适应。方便后续的屏幕升级;而屏幕在软件上支持该预先定义的协议,以进行协议交互。屏幕与设备主体的主板之间增加了协议后,设备主体可识别不同规格屏幕提供的不同的显示数据。现有的屏幕都是被动操作,没有智能硬件单元。所以也就不支持动态适配。
本发明实施例的设备,在屏幕上存有驱动信息等屏幕信息,在屏幕与设备主体电连接后,屏幕和设备主体可进行通信,以进行数据的传递。设备主体可获取屏幕发送的屏幕信息,其中,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为该屏幕的驱动。然后,设备主体根据驱动信息获取目标驱动,设备主体加载该目标驱动后,即可点亮屏幕。这样,设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,设备主体可根据该驱动信息加载对应的驱动,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
图3为本发明实施例提供的一种屏幕安装方法的方法流程图,参考上述图1所示的使用场景图,以及参阅图3,本发明实施例的屏幕安装方法包括:
步骤301:设备主体获取屏幕发送的屏幕信息。
当屏幕和设备主体电连接后,设备主体即可获取屏幕发送的屏幕信息。其中,屏幕信息包括驱动信息,驱动信息用于指示设备主体获取目标驱动,目标驱动为屏幕的驱动。
具体的,设备主体可以通用预先设定的通信协议获取屏幕发送的屏幕信息,该通信协议包括多种类型,例如,可以为I2C(Inter-Integrated Circuit)、USB(Universal Serial Bus)、SPI(Serial Peripheral Interface;串行外设接口))、UART(Universal Asynchronous Receiver/Transmitter;通用异步收发传输器)或者其它硬件通信协议,本发明实施例对此不作具体限定。
在下述图4所示的实施例中,主要举出了通过屏幕自适应协议设备主体获取屏幕发送的屏幕信息的例子。在其它的协议中,具体的执行过程例如可以为:
1)在I2C协议中,设备主体检测到屏幕插入设备主体的主板后,设备主体寻址屏幕;设备主体从屏幕接收屏幕信息;设备主体终止传输。
2)在USB协议中,屏幕发第1个packet(信息包)给设备主体,声明数据传送方向,数据传输地址,数据传输类型。然后,屏幕发第2个至第N个packet给设备主体,该屏幕发的packet载有屏幕信息;最后,设备主体向屏幕返回一个packet,其为一个ACK包,报告屏幕数据传输的结果,比如接受出错或成功等信息。其中N为正整数。
在本发明的一些实施例中,该屏幕信息可以只包括驱动信息,在本发明还有的实施例中,该屏幕信息还可以包括其它类型的屏幕信息,例如屏幕的屏幕规格参数。
步骤302:设备主体根据驱动信息获取目标驱动。
设备主体获取到驱动信息后,即可根据该驱动信息获取目标驱动,以使用该屏幕。
其中,设备主体根据驱动信息获取目标驱动的具体实现方式有多种,具体可参考下述图3所示的实施例的描述。
步骤303:设备主体加载目标驱动,点亮该屏幕。
设备主体加载目标驱动的方式,可以为设备主体将目标驱动加载到设备主体的内核上,从而点亮屏幕。即在设备主体上设有内核,该设备主体获取到目标驱动后,将该目标驱动加载到该内核上,以点亮该屏幕,屏幕被设备主体点亮后,用户即可使用该屏幕。
其中,内核为设备的硬件的基本访问程序,例如,在手机中,内核为手机硬件的基本访问程序,相当于电脑的BIOS。内核是手机操作系统的核心,负责系统的运作。
可以理解,设备主体加载目标驱动也可以通过其它的方式实现,例如将目标驱动加载到为驱动设置的模块单元上等。
综上所述,设备主体获取屏幕发送的屏幕信息,其中,屏幕信息包括驱动信息,驱动信息用于指示设备主体获取目标驱动,目标驱动为屏幕的驱动。然后,设备主体根据驱动信息获取目标驱动。设备主体跟着将目标驱动加载到设备主体的内核上后,即可点亮该屏幕。设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,设备主体可根据该驱动信息将对应的驱动加载到内核上,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
图4为本发明实施例提供的一种屏幕安装方法的方法流程图,该屏幕安装方法包括应用于设备主体部分的方法和应用于屏幕部分的方法,参考上述图1所示的使用场景图,以及参阅图4,本发明实施例的屏幕安装方法包括:
步骤401:当屏幕从设备主体拔出时,设备主体进行待机流程。
屏幕和设备主体可以进行拆装,用户可以从设备主体上拆卸该屏幕。当设备主体的主板检测出屏幕从设备主体上拔出时,设备主体进入待机流程,以节省电量。
其中,屏幕和设备主体的连接方式可以参考上述图1所示的实施例中对设备主体和屏幕的描述。
例如,用户在使用智能手机时,不小心将屏幕摔坏,买回新屏幕后自己更换新屏幕,或者,需要将该手机上的触摸屏替换为水墨屏或其它屏幕时,用户将手机上原来的屏幕从手机主体上拔出,因该手机与屏幕的连接方式为图1所示实施例的卡接方式和插针插孔式数据通信方式,从而用户可方便地将该屏幕从手机主体上拔出。例如,用户使用插针将屏幕拆卸锁扣打开,使得屏幕和手机主体的卡接结构分离,屏幕在弹性力的作用下自动弹起,用户再手动将旧屏幕拆卸下来。当手机主体上的主板检测到不能与屏幕电连接时,手机主体进入待机流程,以为屏幕的再次插入做准备。
步骤402:当设备主体的主板检测到屏幕插入该主板时,设备主体向屏幕发送屏幕发现报文。
屏幕发现(SCREEN Discover)报文用于指示屏幕发送屏幕提供(SCREEN Offer)报文。
设备主体通过主板与屏幕电连接,在设备主体处于待机流程后,设备主体的主板检测到屏幕的插入事件,即该主板检测到主板和屏幕电连接,例如,用户使用屏幕安装到设备主体上。从而设备主体和屏幕可以进行通信。设备主体为了能点亮屏幕,以使用户能使用该屏幕,设备主体要获取并加载该屏幕的目标驱动。在屏幕上预存有该屏幕的驱动信息, 在有的实施例中,屏幕上还预存有屏幕规格参数等屏幕信息。在本发明实施例中,当设备主体的主板检测到屏幕插入该主板时,设备主体即从屏幕上获取该屏幕的驱动信息,以对该屏幕的型号进行动态的识别。具体的识别方法可通过预先定义的协议实现,该协议有多种类型,例如,I2C、USB、SPI、UART等协议。本发明实施例以屏幕自适应协议为例对设备主体获取屏幕发送的屏幕信息进行说明。
本发明实施例的设备主体在软件上支持屏幕自适应协议,可以识别不同的屏幕类型,做到动态适应。方便后续的屏幕升级。
在屏幕自适应协议中,在触发条件“设备主体的主板检测到屏幕插入该主板”的触发下,设备主体启动该屏幕自适应协议,首先,设备主体向屏幕以广播的方式发送屏幕发现报文,以判断屏幕是否支持屏幕自适应协议,若屏幕向设备主体反馈屏幕提供报文,则表示屏幕支持该屏幕自适应协议,否则,表示屏幕不支持该屏幕自适应协议。也即,屏幕发现报文用于指示屏幕发送屏幕提供报文。
其中,本发明实施例的协议报文格式有多种形式,例如,如表1所示,其示出了协议报文格式的其中一种具体类型,在该类型的报文格式中,操作码项目中,0指代手机端,1指代屏幕端;硬件类型表示通信使用什么硬件;硬件地址表示地址信息。
表1:
Figure PCTCN2017077117-appb-000001
Figure PCTCN2017077117-appb-000002
以表1所示的报文格式为基础,屏幕发现报文可为表2所示。其中屏幕发现报文由手机主体发起。
表2:
Figure PCTCN2017077117-appb-000003
其中,屏幕和设备主体的通信接口有多种形式,例如,利用上述图1所示的实施例中 描述的插针和插孔结构,具体可参考上述相关内容的描述。通过在屏幕与设备主体的主板间增加通信接口可使得设备主体和屏幕间进行通信,从而设备主体获取屏幕发送的屏幕信息,以识别屏幕规格参数和确定屏幕的驱动(包括屏幕大小、分辨率、是否为水墨屏等),以及设备主体可向屏幕传递显示数据。
在本发明的实施例中,以插针和插孔结构为例进行说明,为了屏幕和设备主体能进行数据的传输,在本发明的实施例中,设备主体获取屏幕发送的屏幕信息之前,设备主体与屏幕电连接,具体可以为设备主体通过插孔和插针与屏幕电连接,其中,设备主体的主板设有该插孔,屏幕设有该插针。该插针和插孔相匹配,即该插针可插入该插孔,并使得屏幕和设备主体电连接。其中,该插孔和插针可以为图2所示的排插形式。具体可参考上述图1、图2a和图2b所示的实施例的描述
具体来说,如图2a和图2b所示,在屏幕上固定插针1,设备主体和屏幕间通过该插针采用屏幕识别协议协商屏幕的型号。在屏幕上还预留19跟插针,方便数据线不同的屏幕的使用。相应地,在设备主体的主板上预先设定有与屏幕的插针相同数量的插孔,该插针可插入该插孔,从而屏幕可与设备主体的主板实现电连接。如果说当前屏幕排线有10根,那么实际使用的插针就是11根。其中一根用来协商屏幕类型,剩余10根用来传递显示数据。
在本发明有的实施例中,设备主体的主板可以设置插针,相应地,在屏幕上可以设置插孔,通过该插孔和插针设备主体与屏幕电连接。
例如,在物理结构上手机主体和屏幕使用了图1所示的具体方式后,用户在将屏幕从手机主体上拆卸下来后,用户想使用新的屏幕如水墨屏,用户只要将该新屏幕上设置的插针对准手机主体上的主板的插孔内,轻轻将屏幕按下,听到锁扣卡住的声音,即表示手机主体上的卡接结构将屏幕固定在了手机主体上。然后,手机主体的主板检测到屏幕插入该主板,手机主体向屏幕发送屏幕发现报文,开始屏幕自适应协议的执行。
在本发明有的实施例中,触发设备主体发起屏幕自适应协议以广播屏幕发现报文的条件还可以是其它的方式,例如设备主体检测到屏幕与设备主体通电连接等。
可以理解,步骤401中被拔出的屏幕和步骤402中插入该主板的屏幕可以为同一屏幕,也可以为不同的屏幕,可以为相同型号的屏幕,也可以是不同型号的屏幕。因本发明实施例的屏幕和设备主体支持屏幕自适应协议,从而设备主体可做到对不同型号屏幕的动态适配。
步骤403:屏幕向设备主体发送屏幕提供报文。
屏幕提供报文用于携带屏幕预存的屏幕信息。
屏幕获取设备主体发送的屏幕发现报文后,若该屏幕支持本发明实施例的屏幕自适应协议,则在该屏幕发现报文的触发下,屏幕向该设备主体发送屏幕提供报文,以使设备主体获取该屏幕提供报文携带的屏幕信息。也即屏幕提供报文为屏幕对屏幕发现报文的响应。
其中,屏幕信息包括驱动信息,驱动信息用于指示设备主体获取目标驱动,目标驱动为屏幕的驱动。该驱动信息有多种形式,例如,驱动信息为目标驱动下载地址,目标驱动下载地址用于指示在网络上下载目标驱动的网络地址,或者,驱动信息为目标驱动的标识信息等。
在本发明有的实施例中,屏幕信息还包括屏幕的屏幕规格参数。该屏幕规格参数例如可以包含屏幕的厂商、分辨率、尺寸等信息。
可以理解,可以使用一个报文携带全部的屏幕信息,如表3的屏幕提供报文所示,也可以将屏幕信息拆分到多个报文中,然后由屏幕向设备主体发送这些报文。
屏幕提供报文有多种实现方式,例如可参考表3,表3为屏幕提供报文的其中一种具体格式。在该报文格式中,包括有驱动信息、屏幕规格参数等信息,其中,驱动信息包括有目标驱动的标识信息,如Option10字段所示,以及目标驱动下载地址,如Option9字段所示。屏幕规格参数包括屏幕的厂商,如Option1字段所示;分辨率,如Option2字段所示,以及像素密度、亮度范围、对比度范围等,详见表三中的报文格式除了Option9、10字段外的其它Option字段。屏幕提供报文由屏幕回复。
表3:
Figure PCTCN2017077117-appb-000004
Figure PCTCN2017077117-appb-000005
本发明实施例的屏幕设有智能硬件,该屏幕支持屏幕自适应协议,从而可跟设备主体进行协议交互,实现屏幕的动态适配。
步骤404:设备主体向屏幕发送屏幕请求报文。
屏幕请求(SCREEN Request)报文用于表示设备主体已获取到屏幕信息。
设备主体获取到屏幕发送的屏幕提供报文后,为了保证信息传递的可靠性,设备主体向屏幕发送屏幕请求报文,以通知屏幕,该设备主体已经获取到屏幕的屏幕信息。
步骤405:设备主体获取屏幕发送的屏幕确认报文。
屏幕获取到设备主体发送的屏幕请求报文后,即可确认该设备主体已获取到屏幕信息,根据步骤402至步骤404流程的执行,若设备主体和屏幕执行了屏幕自适应协议中步骤402至步骤404,屏幕可确定该设备主体获取的信息是正确的,为此,屏幕向设备主体发送屏幕确认(SCREEN ACK)报文,屏幕确认报文用于表示该设备主体获取的屏幕信息与该屏幕预存的屏幕信息相同,从而,使得该屏幕自适应协议的数据传递更为可靠。
具体来说,在设备主体向屏幕反馈的屏幕请求报文上携带有设备主体从屏幕提供报文上获取的屏幕信息,这样,屏幕获取到屏幕请求报文即可得知设备主体获取到的具体的屏幕信息,然后,屏幕根据该屏幕请求报文上的屏幕信息和屏幕本身预存的屏幕信息进行比较,以确定该屏幕请求报文上的屏幕信息是否和屏幕预存的屏幕信息相同,若相同,则屏幕向设备主体发送一屏幕确认报文,表示该设备主体获取的屏幕信息与该屏幕预存的屏幕信息相同,从而设备主体可使用该屏幕信息。在本发明有的实施例中,也可以是屏幕获取到设备主体发送的屏幕请求报文后,识别出该报文为屏幕请求报文,则屏幕可向设备主体发送屏幕确认报文,因屏幕发送屏幕提供报文后,屏幕开始等待屏幕请求报文,设备主体获取到屏幕提供报文则向屏幕反馈屏幕请求报文,从而屏幕可根据该获取的屏幕提供报文确认当前流程符合预设的流程,确认设备主体成功获取到该屏幕的屏幕信息,从而屏幕向设备主体发送屏幕确认报文,从流程上确认该设备主体获取的屏幕信息与该屏幕预存的屏幕信息相同。
前述步骤402至步骤405的流程即为本发明实施例的完成的屏幕自适应协议,通过该屏幕自适应协议,设备主体即可获取到屏幕发送的屏幕信息。当然,该屏幕自适应协议只是设备主体获取屏幕信息的其中一个协议,如前所述,设备主体和屏幕还可以通过其它的具体协议获取屏幕的屏幕信息。
例如,设备主体获取屏幕发送的屏幕信息的具体方式如下:当设备主体检测到屏幕插入设备主体的主板时,设备主体向屏幕发送一请求屏幕信息的请求,然后,屏幕根据该请求向设备主体反馈携带屏幕信息的反馈信息;或者,在屏幕上设有一检测零件,屏幕拔出设备主体,则该检测零件断电,当屏幕与设备主体接合时,包括屏幕与设备主体电连接和屏幕处于息屏状态,该检测零件皆为通电,这样,当屏幕上的检测零件从断电状态转为通电状态时,触发该屏幕直接向设备主体广播一携带屏幕信息的报文。
步骤406:设备主体根据驱动信息获取目标驱动。
通过上述方法的执行,设备主体获取到屏幕上的驱动信息,从而可根据该驱动信息获取需要的目标驱动,为点亮屏幕做准备。
其中,如上所述,驱动信息的具体形式有多种,设备主体根据驱动信息获取目标驱动的具体实现方式有多种,现举出其中三个例子以进行说明,如下:
例一
驱动信息为目标驱动的下载地址,目标驱动的下载地址用于指示在网络上下载目标驱动的网络地址。例如该驱动信息为URL(Uniform Resource Locator;统一资源定位符)地址,该URL地址指示在网络上下载目标驱动的网络地址。
从而,设备主体根据驱动信息获取目标驱动,包括:设备主体根据下载地址,从网络下载目标驱动。即设备主体连接目标驱动的下载地址指示的网络地址,然后,设备主体从该网络地址下载目标驱动。
其中,在设备主体上设有WIFI(WIreless-Fidelity;无线保真)模块或移动数据通信模块等网络模块,通过该网络模块,设备主体可连接网络,从而,设备主体连接目标驱动下载地址指示的网络地址。
例如,如图5所示,图5为本发明实施例提供的一种设备获取驱动的方法流程图。参考图5,手机主体获取到指示在网络上下载目标驱动的URL地址后,手机主体或该手机主体所属的手机,检查本地的WIFI模块是否开启,若没开启,则开启该WIFI模块。在WIFI模块开启后,检查该WIFI模块是否可以上网,若可以上网,则检测该URL地址是否可连接,若可连接,则下载该URL地址指示的目标驱动。下载目标驱动后,可验证该目标驱动的合法性,若合法则执行步骤407。
其中,WIFI模块开启不了、WIFI模块不可以上网、URL地址不可以正常连接、目标驱动下载失败等情况,只要实现其中之一种情况,即可确定该目标驱动获取失败。
例二
驱动信息为目标驱动的标识信息。在设备主体上预存有多种型号屏幕的驱动,设备主体在获取到为目标驱动的标识信息的驱动信息后,设备主体或者设备主体所属的设备即可从预存的驱动中确定该标识信息标识的目标驱动。
例如,手机根据驱动型号信息确定出在本地预存有该目标驱动,并且版本验证正确后,即可执行步骤407。
例三
驱动信息为目标驱动的标识信息,设备主体在获取到该驱动信息后,通过网络模块与预设的服务器通信,该服务器预先存储有多种驱动,设备主体或设备主体所属的设备向该服务器发送携带该驱动信息的请求,该服务器获取到该请求后,根据该为标识信息的驱动信息从多种驱动中确定出目标驱动,然后将该目标驱动发送给设备主体,从而该设备主体即可获取到目标驱动。
步骤407:设备主体将目标驱动加载到设备主体的内核上,点亮屏幕。
通过上述内容描述的方法,屏幕向设备主体发送包括驱动信息的屏幕信息后,设备主体根据驱动信息即可获取到目标驱动,然后,设备主体将该屏幕支持的目标驱动加载到设 备主体的内核里面,屏幕被设备主体点亮。此时屏幕即可正常亮起来,以供用户的正常使用。
在屏幕信息还包括屏幕规格参数的实施例中,设备主体还可以根据该屏幕规则参数执行其它的操作,例如在屏幕上向用户展示该屏幕规格参数,以使得用户对该屏幕的性能有所了解。
这样,设备主体和屏幕通过上述的屏幕自适应协议的执行设备主体完成了对屏幕的识别和对目标驱动的加载,用户即可在设备主体上正常使用屏幕,例如,用户将新屏幕与手机主体进行接合后,等待屏幕自适应过程的执行,屏幕识别完成正常加载会进入锁屏界面,并提醒用户屏幕更换成功。当用户还想使用其它的屏幕或者使用会原来的屏幕时,用户和设备可以重复上述的步骤401至步骤407的过程,以在设备主体上进行屏幕的替换。
通过上述方法的执行,设备主体可以对屏幕进行动态适应,实现获取不同型号的屏幕的驱动,从而设备主体可以使用多种型号的屏幕,解决了因屏幕规格固定无法满足用户多种场景下的使用需求的问题,用户也有了更多种类的屏幕进行选择。
并且,设备主体和屏幕之间的物理连接方式使用了插针、插孔以及卡接结构等部件,方便了屏幕在设备主体上的拆装,使得用户在屏幕损坏后可以自行快速地对屏幕进行更换。在本发明实施例中,可以是使用相同型号的屏幕替换设备主体上的原有屏幕,也可以是使用不同型号的屏幕替换设备主体上的原有屏幕。
可以理解,在上述步骤中,设备主体向屏幕发送屏幕发现报文后,若屏幕没向设备主体发送屏幕提供报文,则表示屏幕不支持该屏幕自适应协议,这时,设备主体可以尝试加载预先默认的屏幕的驱动到内核上,以尝试是否能点亮屏幕。若此时还不能点亮屏幕,则设备主体发出报警,例如发出报警音等。然后,设备主体进入待机流程。或者,当设备主体获取不到屏幕提供报文,则设备主体直接发出报警,并继续待机。
可以理解,在上述步骤中,若设备主体根据驱动信息获取不到目标驱动。例如,在驱动信息为目标驱动下载地址时,若设备主体连接不了网络,从而下载不了目标驱动;或者在驱动信息为目标驱动的标识信息时,在设备主体上的多种驱动中恰好没预存目标驱动。这种情况下,设备主体的执行流程可参考上述的描述,例如,设备主体发出报警,进入待机。
通过上述方法的执行,即可实现在设备主体上快速连接使用不同的屏幕,为了对设备主体可使用不同的屏幕进行更直观的说明,可将上述步骤402至步骤407中的屏幕称之为第一屏幕,第一屏幕的驱动信息称之为第一驱动信息,第一屏幕的驱动称之为第一驱动,其中,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动。在设备主体点亮第一屏幕之后,本发明实施例的方法还包括:设备主体检测第一屏幕和设备主体断开电连接,例如,用户将第一屏幕从设备主体上拆除,设备主体检测到第一屏幕和设备主体断开电连接,设备主体此时可进入待机流程,如步骤401的详细描述所述。然后,设备主体检测第二屏幕和设备主体电连接。例如,用户使用另一型号的屏幕与设备主体连接,设备主体可检测到该屏幕与其电连接。跟着,设备主体获取第二屏幕发送的第二屏幕信息,其中,第二屏幕信息包括第二驱动信息,所述第二驱动信息用于指示第二驱动,所述第二驱 动为所述第二屏幕的驱动。具体流程可参考上述的步骤301或者步骤402至步骤405的详细描述。从而,设备主体根据第二驱动信息获取第二驱动,以及设备主体加载第二驱动,点亮第二屏幕。对此,具体可参考上述的步骤406和步骤407的详细描述。
在本发明的一些实施例中,该设备主体在插入屏幕之前还预先与其它屏幕电连接,若该插入的屏幕最终点亮失败,则设备主体可以通过该预先连接的屏幕显示点亮失败的原因。例如,将上述步骤402至步骤407中的屏幕称之为第一屏幕,在步骤402之前,设备主体与第三屏幕电连接,当设备主体点亮第一屏幕失败时,设备主体通过该第三屏幕显示点亮失败信息,该点亮失败信息用于描述设备主体点亮第一屏幕失败时的原因。点亮第一屏幕失败时的原因包括但不限于设备主体获取不到第一屏幕的第一驱动信息、第一屏幕不向该设备主体反馈屏幕提供报文、设备主体根据第一屏幕的第一驱动信息获取不到第一屏幕的第一驱动、设备主体向第一屏幕供电不成功等等。该第三屏幕的设置例如可以是,第三屏幕固定设置在手机的背面,第一屏幕在手机的正面可拆卸使用。
在本发明的一些实施例中,步骤403中的屏幕提供报文可以为携带屏幕的标识信息,从而设备主体通过屏幕自适应协议的执行获取到了当前屏幕的标识信息,然后,设备主体通过网络模块与预定的服务器通信,该服务器预先存储有多种型号屏幕的屏幕信息,有的还存储有屏幕的驱动。
设备主体或设备主体所属的设备向该服务器发送该屏幕的标识信息后,该服务器根据该标识信息从多种型号的屏幕信息中确定出该标识信息指示的屏幕信息,然后将该确定出的屏幕信息反馈给该设备主体或设备,从而该设备主体或设备即可获取到屏幕的屏幕信息。在该服务器包括驱动的场景,具体的执行过程可参考上述例三的描述。
综上所述,设备主体获取屏幕发送的屏幕信息,其中,屏幕信息包括驱动信息,驱动信息用于指示设备主体获取目标驱动,目标驱动为屏幕的驱动。然后,设备主体根据驱动信息获取目标驱动。设备主体跟着将目标驱动加载到设备主体的内核上后,即可点亮该屏幕。设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,设备主体可根据该驱动信息将对应的驱动加载到内核上,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
图6为本发明实施例提供的一种设备主体的结构示意图。该设备主体可为图1所示的实施例描述的设备主体,该设备主体可用于执行图3或图4所示的实施例中,设备主体所执行的方法。参考上述内容和图6,本发明实施例的设备主体,包括:
信息获取单元601,用于获取第一屏幕发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接;
驱动获取单元602,用于根据第一驱动信息获取第一驱动;
加载单元603,用于加载第一驱动,点亮第一屏幕。
可选地,该设备主体还包括检测单元604,
检测单元604,用于检测第一屏幕和设备主体断开电连接;
检测单元604,还用于检测第二屏幕和设备主体电连接;
信息获取单元601,还用于获取第二屏幕发送的第二屏幕信息,第二屏幕信息包括第二驱动信息,第二驱动信息用于指示第二驱动,第二驱动为第二屏幕的驱动;
驱动获取单元602,还用于根据第二驱动信息获取第二驱动;
加载单元603,还用于加载第二驱动,点亮第二屏幕。
可选地,
信息获取单元601,包括发送模块605和接收模块606,
发送模块605,用于向第一屏幕发送屏幕发现报文;
接收模块606,用于获取第一屏幕发送的屏幕提供报文,屏幕提供报文用于携带第一屏幕预存的第一屏幕信息,屏幕提供报文为第一屏幕对屏幕发现报文的响应;
发送模块605,还用于向第一屏幕发送屏幕请求报文,屏幕请求报文用于表示设备主体已获取到第一屏幕信息;
接收模块606,还用于获取第一屏幕发送的屏幕确认报文,屏幕确认报文用于表示设备主体获取的第一屏幕信息与第一屏幕预存的第一屏幕信息相同。
可选地,
第一驱动信息为第一驱动的下载地址;
驱动获取单元602,还用于根据下载地址,从网络下载第一驱动。
可选地,
第一驱动信息为第一驱动的标识信息,
驱动获取单元602,还用于从预存的驱动中确定标识信息标识的第一驱动。
可选地,
设备主体通过插孔和插针与第一屏幕电连接,插孔设于设备主体的主板,插针设于第一屏幕。
可选地,
设备主体通过插孔和插针与第一屏幕电连接,插孔设于第一屏幕,插针设于设备主体的主板。
可选地,
设备主体与第三屏幕电连接,设备主体还包括显示单元607,
显示单元607,用于当设备主体点亮第一屏幕失败时,通过第三屏幕显示点亮失败信息,点亮失败信息用于描述设备主体点亮第一屏幕失败时的原因。
可选地,
第一屏幕信息还包括第一屏幕的屏幕规格参数。
综上所述,信息获取单元601获取第一屏幕发送的第一屏幕信息,其中第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接。然后,驱动获取单元602根据第一驱动信息获取第一驱动,加载单元603加载第一驱动后,即可点亮第一屏幕。设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕, 只要存有驱动信息,设备主体可根据该驱动信息加载对应的驱动,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
本发明实施例还提供了设备主体的硬件实施例,如图7所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该设备主体可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意设备的主体部分,以设备主体为手机主体为例:
图7示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图7,手机主体包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路760、无线保真(wireless fidelity,WiFi)模块770、处理器780、以及电源1090等部件。本领域技术人员可以理解,图7中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图7对手机主体的各个构成部件进行具体的介绍:
RF电路710可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器780处理;另外,将设计上行的数据发送给基站。通常,RF电路710包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器720可用于存储软件程序以及模块,处理器1080通过运行存储在存储器720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元730可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元730可包括触控面板1031以及其他输入设备732。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转 换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732。具体地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元740可包括显示面板741,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。进一步的,触控面板731可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741集成而实现手机的输入和输出功能。
手机主体还可包括至少一种传感器750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板741和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路760、扬声器761,传声器762可提供用户与手机之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710以发送给比如另一手机,或者将音频数据输出至存储器720以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块770,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器780是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器720内的软件程序和/或模块,以及调用存储在存储器720内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器780可包括一个或多个处理单元;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器780中。
手机主体还包括给各个部件供电的电源790(比如电池),优选的,电源可以通过电源 管理系统与处理器780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机主体还可以包括摄像头、蓝牙模块等,在此不再赘述。
可以理解,上述的显示单元740和/或输入单元730,在本发明有的实施例中,可以不包括,或者可以为与上述图1至4所示实施例中的屏幕不相同的显示单元/或输入单元,当然也可以与该屏幕相同,本发明实施例对此不作具体限定,只要上述图1至4所示实施例中的屏幕可以在本发明实施例的设备主体上进行拆装即可。
图1和图2a、图2b所示的实施例的设备主体可基于本发明实施例的设备主体的结构设置,上述图3或图4所示的实施例中的设备主体可以基于该图7所示的设备主体结构。图6所示的设备主体的结构可集成在图7所示的设备主体的结构上。
在本发明实施例中,如上所述,该设备主体包括电源790、存储器720和处理器780,
该存储器720,用于存储指令;
该处理器780,用于读取存储在存储器720的指令,执行如下动作:
获取第一屏幕发送的第一屏幕信息,第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接;
根据第一驱动信息获取第一驱动;
加载第一驱动,点亮第一屏幕;
电源790,用于为第一屏幕供电。
可选地,设备主体点亮第一屏幕之后,处理器780,还用于读取存储在存储器的指令,执行如下动作:
检测第一屏幕和设备主体断开电连接;
检测第二屏幕和设备主体电连接;
获取第二屏幕发送的第二屏幕信息,第二屏幕信息包括第二驱动信息,第二驱动信息用于指示第二驱动,第二驱动为第二屏幕的驱动;
根据第二驱动信息获取第二驱动;
加载第二驱动,点亮第二屏幕。
可选地,
处理器780,还用于读取存储在存储器的指令,执行如下动作:
向第一屏幕发送屏幕发现报文;
获取第一屏幕发送的屏幕提供报文,屏幕提供报文用于携带第一屏幕预存的第一屏幕信息,屏幕提供报文为第一屏幕对屏幕发现报文的响应;
向第一屏幕发送屏幕请求报文,屏幕请求报文用于表示设备主体已获取到第一屏幕信息;
获取第一屏幕发送的屏幕确认报文,屏幕确认报文用于表示设备主体获取的第一屏幕信息与第一屏幕预存的第一屏幕信息相同。
可选地,
第一驱动信息为第一驱动的下载地址;
处理器780,还用于读取存储在存储器的指令,执行如下动作:
根据下载地址,从网络下载第一驱动。
可选地,
第一驱动信息为第一驱动的标识信息,
处理器780,还用于读取存储在存储器的指令,执行如下动作:
从预存的驱动中确定标识信息标识的第一驱动。
可选地,
设备主体通过插孔和插针与第一屏幕电连接,插孔设于设备主体的主板,插针设于第一屏幕。
可选地,
设备主体通过插孔和插针与第一屏幕电连接,插孔设于第一屏幕,插针设于设备主体的主板。
可选地,
设备主体与第三屏幕电连接;
处理器780,还用于读取存储在存储器的指令,执行如下动作:
当设备主体点亮第一屏幕失败时,通过第三屏幕显示点亮失败信息,点亮失败信息用于描述设备主体点亮第一屏幕失败时的原因。
可选地,
第一屏幕信息还包括第一屏幕的屏幕规格参数。
综上所述,处理器780获取第一屏幕发送的第一屏幕信息,其中第一屏幕信息包括第一驱动信息,第一驱动信息用于指示第一驱动,第一驱动为第一屏幕的驱动,设备主体与第一屏幕电连接。然后,处理器780根据第一驱动信息获取第一驱动,处理器780加载第一驱动后,即可点亮第一屏幕。设备主体只要能获取到与其电连接的屏幕的驱动信息,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,设备主体可根据该驱动信息加载对应的驱动,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
图8为本发明实施例提供的一种屏幕的结构示意图,该屏幕可为图1、图2a或图2b所示的实施例描述的屏幕,该屏幕可用于执行图3或图4所示的实施例中,屏幕所执行的方法。参考上述内容和图8,本发明实施例的屏幕,包括:
发送单元801,用于向设备主体发送屏幕信息,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接;
亮屏单元802,用于在设备主体供电下亮屏。
可选地,
发送单元801包括发送模块803和接收模块804,
接收模块804,用于获取设备主体发送的屏幕发现报文;
发送模块803,用于向设备主体发送屏幕提供报文,屏幕提供报文用于携带屏幕预存 的屏幕信息,屏幕提供报文为屏幕对屏幕发现报文的响应;
接收模块804,还用于获取设备主体发送的屏幕请求报文,屏幕请求报文用于表示设备主体已获取到屏幕信息;
发送模块803,还用于向设备主体发送屏幕确认报文,屏幕确认报文用于表示设备主体获取的屏幕信息与屏幕预存的屏幕信息相同。
可选地,
驱动信息为目标驱动的下载地址,或者,驱动信息为目标驱动的标识信息。
可选地,
屏幕通过插孔和插针与设备主体电连接,插孔设于屏幕,插针设于设备主体的主板。
可选地,
屏幕通过插孔和插针与设备主体电连接,插孔设于设备主体的主板,插针设于屏幕。
可选地,
屏幕信息还包括屏幕的屏幕规格参数。
综上所述,发送单元801向设备主体发送屏幕信息,其中屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接。然后,亮屏单元802在设备主体供电下亮屏。这样,屏幕预先存有屏幕信息,该屏幕信息包括该屏幕的驱动信息,该屏幕向与其电连接的设备主体发送屏幕信息后,该设备主体根据获取到的驱动信息加载该屏幕的目标驱动,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
本发明实施例还提供一种屏幕的硬件实施例,该屏幕可包括:该屏幕可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上智能硬件,例如处理器(central processing units,CPU)(例如,一个或一个以上处理器)和存储器,一个或一个以上存储应用程序或数据的存储介质(例如一个或一个以上海量存储设备)。其中,存储器和存储介质可以是短暂存储或持久存储。存储在存储介质的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,处理器可以设置为与存储介质通信,在设备主体上执行存储介质中的一系列指令操作。
该屏幕可用于显示由用户输入的信息或提供给用户的信息以及终端设备的各种菜单。该屏幕可包括显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。进一步的,触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给终端设备的处理器以确定触摸事件的类型,随后终端设备的处理器根据触摸事件的类型在显示面板上提供相应的视觉输出。触控面板与显示面板可以作为两个独立的部件来实现该屏幕的输入和输入功能,也可以将触控面板与显示面板集成而实现输入和输出功能。
该屏幕可用于与上述各实施例的设备主体进行电连接,从而该屏幕可与该设备主体进行数据的交互,以及从该设备主体获取电能以进行工作,在本发明有的实施例中,该屏幕还可以包括一个或一个以上电源,一个或一个以上有线或无线网络接口,一个或一个以上 输入输出接口,和/或,一个或一个以上操作系统,例如Windows Server TM,Mac OS XTM,Unix TM,Linux TM,FreeBSD TM等等。
上述图1和图2a、图2b所示的实施例的屏幕可基于本发明实施例的屏幕的结构,上述图3或图4的实施例中涉及到的屏幕可以基于本发明实施例的屏幕的结构设置。图8所示的实施例的屏幕的结构可集成在本发明实施例的屏幕的结构上。
如上所述,本发明实施例的屏幕包括存储器、处理器和显示屏,
该存储器,用于存储指令和屏幕信息;
该处理器,用于读取存储在存储器的指令和屏幕信息,执行如下动作:
向设备主体发送屏幕信息,屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接;
该显示屏,用于在设备主体供电下亮屏。
可选地,处理器,还用于读取存储在存储器的指令和屏幕信息,执行如下动作:
获取设备主体发送的屏幕发现报文;
向设备主体发送屏幕提供报文,屏幕提供报文用于携带屏幕预存的屏幕信息,屏幕提供报文为屏幕对屏幕发现报文的响应;
获取设备主体发送的屏幕请求报文,屏幕请求报文用于表示设备主体已获取到屏幕信息;
向设备主体发送屏幕确认报文,屏幕确认报文用于表示设备主体获取的屏幕信息与屏幕预存的屏幕信息相同。
可选地,驱动信息为目标驱动的下载地址,或者,驱动信息为目标驱动的标识信息。
可选地,屏幕通过插孔和插针与设备主体电连接,插孔设于屏幕,插针设于设备主体的主板。
可选地,屏幕通过插孔和插针与设备主体电连接,插孔设于设备主体的主板,插针设于屏幕。
可选地,屏幕信息还包括屏幕的屏幕规格参数。
综上所述,处理器向设备主体发送屏幕信息,其中屏幕信息包括驱动信息,驱动信息用于指示目标驱动,目标驱动为屏幕的驱动,以使设备主体根据驱动信息获取目标驱动后,加载目标驱动,屏幕与设备主体电连接。然后,处理器在设备主体供电下亮屏。这样,屏幕预先存有屏幕信息,该屏幕信息包括该屏幕的驱动信息,该屏幕向与其电连接的设备主体发送屏幕信息后,该设备主体根据获取到的驱动信息加载该屏幕的目标驱动,即可将该屏幕点亮,而该驱动信息存储在屏幕上,从而对于不同型号的屏幕,只要存有驱动信息,该屏幕即能在该设备主体上使用,从而实现了在设备主体上快速安装屏幕。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是 通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。

Claims (47)

  1. 一种屏幕安装方法,其特征在于,所述方法应用于设备主体上,所述方法包括:
    所述设备主体获取第一屏幕发送的第一屏幕信息,所述第一屏幕信息包括第一驱动信息,所述第一驱动信息用于指示第一驱动,所述第一驱动为所述第一屏幕的驱动,所述设备主体与所述第一屏幕电连接;
    所述设备主体根据所述第一驱动信息获取所述第一驱动;
    所述设备主体加载所述第一驱动,点亮所述第一屏幕。
  2. 根据权利要求1所述的方法,其特征在于,
    所述设备主体点亮所述第一屏幕之后,所述方法还包括:
    所述设备主体检测所述第一屏幕和所述设备主体断开电连接;
    所述设备主体检测第二屏幕和所述设备主体电连接;
    所述设备主体获取所述第二屏幕发送的第二屏幕信息,所述第二屏幕信息包括第二驱动信息,所述第二驱动信息用于指示第二驱动,所述第二驱动为所述第二屏幕的驱动;
    所述设备主体根据所述第二驱动信息获取所述第二驱动;
    所述设备主体加载所述第二驱动,点亮所述第二屏幕。
  3. 根据权利要求1所述的方法,其特征在于,
    所述设备主体获取第一屏幕发送的第一屏幕信息,包括:
    所述设备主体向所述第一屏幕发送屏幕发现报文;
    所述设备主体获取所述第一屏幕发送的屏幕提供报文,所述屏幕提供报文用于携带所述第一屏幕预存的第一屏幕信息,所述屏幕提供报文为所述第一屏幕对所述屏幕发现报文的响应;
    所述设备主体向所述第一屏幕发送屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述第一屏幕信息;
    所述设备主体获取所述第一屏幕发送的屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的第一屏幕信息与所述第一屏幕预存的第一屏幕信息相同。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,
    所述第一驱动信息为所述第一驱动的下载地址;
    所述设备主体根据所述第一驱动信息获取所述第一驱动,包括:
    所述设备主体根据所述下载地址,从网络下载所述第一驱动。
  5. 根据权利要求1至3任一项所述的方法,其特征在于,
    所述第一驱动信息为所述第一驱动的标识信息,
    所述设备主体根据所述第一驱动信息获取所述第一驱动,包括:
    所述设备主体从预存的驱动中确定所述标识信息标识的第一驱动。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,
    所述设备主体与所述第一屏幕电连接,包括:
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述设备主体的主板,所述插针设于所述第一屏幕。
  7. 根据权利要求1至5任一项所述的方法,其特征在于,
    所述设备主体与所述第一屏幕电连接,包括:
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述第一屏幕,所述插针设于所述设备主体的主板。
  8. 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:
    所述设备主体与第三屏幕电连接;
    当所述设备主体点亮所述第一屏幕失败时,所述设备主体通过所述第三屏幕显示点亮失败信息,所述点亮失败信息用于描述所述设备主体点亮所述第一屏幕失败时的原因。
  9. 根据权利要求1至5任一项所述的方法,其特征在于,
    所述第一屏幕信息还包括所述第一屏幕的屏幕规格参数。
  10. 一种屏幕安装方法,其特征在于,所述方法应用于屏幕上,所述方法包括:
    所述屏幕向所述设备主体发送屏幕信息,所述屏幕信息包括驱动信息,所述驱动信息用于指示目标驱动,所述目标驱动为所述屏幕的驱动,以使所述设备主体根据所述驱动信息获取所述目标驱动后,加载所述目标驱动,所述屏幕与所述设备主体电连接;
    所述屏幕在所述设备主体供电下亮屏。
  11. 根据权利要求10所述的方法,其特征在于,
    所述屏幕向设备主体发送屏幕信息,包括:
    所述屏幕获取所述设备主体发送的屏幕发现报文;
    所述屏幕向所述设备主体发送屏幕提供报文,所述屏幕提供报文用于携带所述屏幕预存的屏幕信息,所述屏幕提供报文为所述屏幕对所述屏幕发现报文的响应;
    所述屏幕获取所述设备主体发送的屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述屏幕信息;
    所述屏幕向所述设备主体发送屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的屏幕信息与所述屏幕预存的屏幕信息相同。
  12. 根据权利要求10或11所述的方法,其特征在于,
    所述驱动信息为所述目标驱动的下载地址,或者,所述驱动信息为所述目标驱动的标识信息。
  13. 根据权利要求10至12任一项所述的方法,其特征在于,
    所述屏幕与设备主体电连接,包括:
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述屏幕,所述插针设于所述设备主体的主板。
  14. 根据权利要求10至12任一项所述的方法,其特征在于,
    所述屏幕与设备主体电连接,包括:
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述设备主体的主板,所述插针设于所述屏幕。
  15. 根据权利要求10至12任一项所述的方法,其特征在于,
    所述屏幕信息还包括所述屏幕的屏幕规格参数。
  16. 一种设备主体,其特征在于,所述设备主体包括:
    信息获取单元,用于获取第一屏幕发送的第一屏幕信息,所述第一屏幕信息包括第一驱动信息,所述第一驱动信息用于指示第一驱动,所述第一驱动为所述第一屏幕的驱动,所述设备主体与所述第一屏幕电连接;
    驱动获取单元,用于根据所述第一驱动信息获取所述第一驱动;
    加载单元,用于加载所述第一驱动,点亮所述第一屏幕。
  17. 根据权利要求16所述的设备主体,其特征在于,
    所述设备主体还包括检测单元,
    所述检测单元,用于检测所述第一屏幕和所述设备主体断开电连接;
    所述检测单元,还用于检测第二屏幕和所述设备主体电连接;
    所述信息获取单元,还用于获取所述第二屏幕发送的第二屏幕信息,所述第二屏幕信息包括第二驱动信息,所述第二驱动信息用于指示第二驱动,所述第二驱动为所述第二屏幕的驱动;
    所述驱动获取单元,还用于根据所述第二驱动信息获取所述第二驱动;
    所述加载单元,还用于加载所述第二驱动,点亮所述第二屏幕。
  18. 根据权利要求16所述的设备主体,其特征在于,
    所述信息获取单元,包括发送模块和接收模块,
    所述发送模块,用于向所述第一屏幕发送屏幕发现报文;
    所述接收模块,用于获取所述第一屏幕发送的屏幕提供报文,所述屏幕提供报文用于携带所述第一屏幕预存的第一屏幕信息,所述屏幕提供报文为所述第一屏幕对所述屏幕发现报文的响应;
    所述发送模块,还用于向所述第一屏幕发送屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述第一屏幕信息;
    所述接收模块,还用于获取所述第一屏幕发送的屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的第一屏幕信息与所述第一屏幕预存的第一屏幕信息相同。
  19. 根据权利要求16至18任一项所述的设备主体,其特征在于,
    所述第一驱动信息为所述第一驱动的下载地址;
    所述驱动获取单元,还用于根据所述下载地址,从网络下载所述第一驱动。
  20. 根据权利要求16至18任一项所述的设备主体,其特征在于,
    所述第一驱动信息为所述第一驱动的标识信息,
    所述驱动获取单元,还用于从预存的驱动中确定所述标识信息标识的第一驱动。
  21. 根据权利要求16至20任一项所述的设备主体,其特征在于,
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述设备主体的主板,所述插针设于所述第一屏幕。
  22. 根据权利要求16至20任一项所述的设备主体,其特征在于,
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述第一屏幕,所述插针设于所述设备主体的主板。
  23. 根据权利要求16至20任一项所述的设备主体,其特征在于,
    所述设备主体与第三屏幕电连接,所述设备主体还包括显示单元,
    所述显示单元,用于当所述设备主体点亮所述第一屏幕失败时,通过所述第三屏幕显示点亮失败信息,所述点亮失败信息用于描述所述设备主体点亮所述第一屏幕失败时的原因。
  24. 根据权利要求16至20任一项所述的设备主体,其特征在于,
    所述第一屏幕信息还包括所述第一屏幕的屏幕规格参数。
  25. 一种屏幕,其特征在于,所述屏幕包括:
    发送单元,用于向所述设备主体发送屏幕信息,所述屏幕信息包括驱动信息,所述驱动信息用于指示目标驱动,所述目标驱动为所述屏幕的驱动,以使所述设备主体根据所述驱动信息获取所述目标驱动后,加载所述目标驱动,所述屏幕与所述设备主体电连接;
    亮屏单元,用于在所述设备主体供电下亮屏。
  26. 根据权利要求25所述的屏幕,其特征在于,
    所述发送单元包括发送模块和接收模块,
    所述接收模块,用于获取所述设备主体发送的屏幕发现报文;
    所述发送模块,用于向所述设备主体发送屏幕提供报文,所述屏幕提供报文用于携带所述屏幕预存的屏幕信息,所述屏幕提供报文为所述屏幕对所述屏幕发现报文的响应;
    所述接收模块,还用于获取所述设备主体发送的屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述屏幕信息;
    所述发送模块,还用于向所述设备主体发送屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的屏幕信息与所述屏幕预存的屏幕信息相同。
  27. 根据权利要求25或26所述的屏幕,其特征在于,
    所述驱动信息为所述目标驱动的下载地址,或者,所述驱动信息为所述目标驱动的标识信息。
  28. 根据权利要求25至27任一项所述的屏幕,其特征在于,
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述屏幕,所述插针设于所述设备主体的主板。
  29. 根据权利要求25至27任一项所述的屏幕,其特征在于,
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述设备主体的主板,所述插针设于所述屏幕。
  30. 根据权利要求25至27任一项所述的屏幕,其特征在于,
    所述屏幕信息还包括所述屏幕的屏幕规格参数。
  31. 一种设备主体,其特征在于,所述设备主体包括电源、存储器和处理器,
    所述存储器,用于存储指令;
    所述处理器,用于读取存储在所述存储器的指令,执行如下动作:
    获取第一屏幕发送的第一屏幕信息,所述第一屏幕信息包括第一驱动信息,所述第一驱动信息用于指示第一驱动,所述第一驱动为所述第一屏幕的驱动,所述设备主体与所述 第一屏幕电连接;
    根据所述第一驱动信息获取所述第一驱动;
    加载所述第一驱动,点亮所述第一屏幕;
    所述电源,用于为所述第一屏幕供电。
  32. 根据权利要求31所述的设备主体,其特征在于,所述设备主体点亮所述第一屏幕之后,
    所述处理器,还用于读取存储在所述存储器的指令,执行如下动作:
    检测所述第一屏幕和所述设备主体断开电连接;
    检测第二屏幕和所述设备主体电连接;
    获取所述第二屏幕发送的第二屏幕信息,所述第二屏幕信息包括第二驱动信息,所述第二驱动信息用于指示第二驱动,所述第二驱动为所述第二屏幕的驱动;
    根据所述第二驱动信息获取所述第二驱动;
    加载所述第二驱动,点亮所述第二屏幕。
  33. 根据权利要求31所述的设备主体,其特征在于,
    所述处理器,还用于读取存储在所述存储器的指令,执行如下动作:
    向所述第一屏幕发送屏幕发现报文;
    获取所述第一屏幕发送的屏幕提供报文,所述屏幕提供报文用于携带所述第一屏幕预存的第一屏幕信息,所述屏幕提供报文为所述第一屏幕对所述屏幕发现报文的响应;
    向所述第一屏幕发送屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述第一屏幕信息;
    获取所述第一屏幕发送的屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的第一屏幕信息与所述第一屏幕预存的第一屏幕信息相同。
  34. 根据权利要求31至33任一项所述的设备主体,其特征在于,
    所述第一驱动信息为所述第一驱动的下载地址;
    所述处理器,还用于读取存储在所述存储器的指令,执行如下动作:
    根据所述下载地址,从网络下载所述第一驱动。
  35. 根据权利要求31至33任一项所述的设备主体,其特征在于,
    所述第一驱动信息为所述第一驱动的标识信息,
    所述处理器,还用于读取存储在所述存储器的指令,执行如下动作:
    从预存的驱动中确定所述标识信息标识的第一驱动。
  36. 根据权利要求31至35任一项所述的设备主体,其特征在于,
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述设备主体的主板,所述插针设于所述第一屏幕。
  37. 根据权利要求31至35任一项所述的设备主体,其特征在于,
    所述设备主体通过插孔和插针与所述第一屏幕电连接,所述插孔设于所述第一屏幕,所述插针设于所述设备主体的主板。
  38. 根据权利要求31至35任一项所述的设备主体,其特征在于,
    所述设备主体与第三屏幕电连接;
    所述处理器,还用于读取存储在所述存储器的指令,执行如下动作:
    当所述设备主体点亮所述第一屏幕失败时,通过所述第三屏幕显示点亮失败信息,所述点亮失败信息用于描述所述设备主体点亮所述第一屏幕失败时的原因。
  39. 根据权利要求31至35任一项所述的设备主体,其特征在于,
    所述第一屏幕信息还包括所述第一屏幕的屏幕规格参数。
  40. 一种屏幕,其特征在于,所述屏幕包括存储器、处理器和显示屏,
    所述存储器,用于存储指令和屏幕信息;
    所述处理器,用于读取存储在所述存储器的指令和所述屏幕信息,执行如下动作:
    向所述设备主体发送屏幕信息,所述屏幕信息包括驱动信息,所述驱动信息用于指示目标驱动,所述目标驱动为所述屏幕的驱动,以使所述设备主体根据所述驱动信息获取所述目标驱动后,加载所述目标驱动,所述屏幕与所述设备主体电连接;
    所述显示屏,用于在所述设备主体供电下亮屏。
  41. 根据权利要求40所述的屏幕,其特征在于,
    所述处理器,还用于读取存储在所述存储器的指令和所述屏幕信息,执行如下动作:
    获取所述设备主体发送的屏幕发现报文;
    向所述设备主体发送屏幕提供报文,所述屏幕提供报文用于携带所述屏幕预存的屏幕信息,所述屏幕提供报文为所述屏幕对所述屏幕发现报文的响应;
    获取所述设备主体发送的屏幕请求报文,所述屏幕请求报文用于表示所述设备主体已获取到所述屏幕信息;
    向所述设备主体发送屏幕确认报文,所述屏幕确认报文用于表示所述设备主体获取的屏幕信息与所述屏幕预存的屏幕信息相同。
  42. 根据权利要求40或41所述的屏幕,其特征在于,
    所述驱动信息为所述目标驱动的下载地址,或者,所述驱动信息为所述目标驱动的标识信息。
  43. 根据权利要求40至42任一项所述的屏幕,其特征在于,
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述屏幕,所述插针设于所述设备主体的主板。
  44. 根据权利要求40至42任一项所述的屏幕,其特征在于,
    所述屏幕通过插孔和插针与所述设备主体电连接,所述插孔设于所述设备主体的主板,所述插针设于所述屏幕。
  45. 根据权利要求40至42任一项所述的屏幕,其特征在于,
    所述屏幕信息还包括所述屏幕的屏幕规格参数。
  46. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-15任意一项所述的方法。
  47. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-15任意一项所述的方法。
PCT/CN2017/077117 2016-11-14 2017-03-17 屏幕安装方法、设备主体和屏幕 WO2018086288A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611000262 2016-11-14
CN201611000262.3 2016-11-14

Publications (1)

Publication Number Publication Date
WO2018086288A1 true WO2018086288A1 (zh) 2018-05-17

Family

ID=62110107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077117 WO2018086288A1 (zh) 2016-11-14 2017-03-17 屏幕安装方法、设备主体和屏幕

Country Status (1)

Country Link
WO (1) WO2018086288A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641316A (zh) * 2021-07-08 2021-11-12 瑞芯微电子股份有限公司 一种屏自适应兼容方法和存储设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404147A (zh) * 2008-11-17 2009-04-08 上海华勤通讯技术有限公司 实现手机液晶显示模块即插即用的方法及液晶显示模块
WO2012148087A2 (ko) * 2011-04-29 2012-11-01 주식회사 케이티 외부 디바이스와 도킹 연결되는 휴대 단말 및 화면 변경 방법
US20140033061A1 (en) * 2007-10-01 2014-01-30 Quickbiz Holdings Limited Application programming interface for providing native and non-native display utility
CN105975227A (zh) * 2016-04-27 2016-09-28 深圳市索力科技有限公司 一种驱动显示屏的方法、系统及显示设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140033061A1 (en) * 2007-10-01 2014-01-30 Quickbiz Holdings Limited Application programming interface for providing native and non-native display utility
CN101404147A (zh) * 2008-11-17 2009-04-08 上海华勤通讯技术有限公司 实现手机液晶显示模块即插即用的方法及液晶显示模块
WO2012148087A2 (ko) * 2011-04-29 2012-11-01 주식회사 케이티 외부 디바이스와 도킹 연결되는 휴대 단말 및 화면 변경 방법
CN105975227A (zh) * 2016-04-27 2016-09-28 深圳市索力科技有限公司 一种驱动显示屏的方法、系统及显示设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113641316A (zh) * 2021-07-08 2021-11-12 瑞芯微电子股份有限公司 一种屏自适应兼容方法和存储设备

Similar Documents

Publication Publication Date Title
US10963211B2 (en) Electronic device and method for controlling audio path thereof
US10628271B2 (en) Method for information processing and related device
CN110362328B (zh) Ota升级的方法、装置和计算机设备
US11989365B2 (en) Electronic device including electronic pen and method of controlling communication connection between electronic device and electronic pen
KR102554037B1 (ko) 전자 장치와 충전 장치간의 연결을 제어하는 방법 및 이를 제공하는 장치
CN111142711B (zh) 一种固件配置方法、装置、存储介质及移动终端
CN108235754B (zh) 一种提示用户更新应用版本的方法及设备
CN104598262A (zh) 一种移动应用更新方法及装置
WO2015081905A1 (zh) 数据更新的方法、用户端及数据更新系统
US10430174B2 (en) Terminal device and charge control method
WO2019011324A1 (zh) 确定移动终端接入方式的方法、存储介质及移动终端
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN109144596B (zh) 快捷启动方法、装置、终端、服务器及系统
CN114565070A (zh) 一种标签绑定方法、装置及移动终端
CN106933636B (zh) 启动插件服务的方法、装置和终端设备
KR101504654B1 (ko) 외부 디바이스와 이에 도킹되는 휴대 단말 사이의 연결 수립 방법
CN106095423B (zh) 提供浏览服务的方法、终端及服务器
WO2018086288A1 (zh) 屏幕安装方法、设备主体和屏幕
CN107122204B (zh) 应用的卸载状态检测方法及装置
CN106933626B (zh) 应用关联方法及装置
CN115756530A (zh) 设备升级方法、装置、存储介质、电子设备及服务器
KR101485156B1 (ko) 외부 디바이스와 도킹되는 휴대 단말 및 그 제어 방법
US10403938B2 (en) Terminal device and charge control method using dual processor with bidirectional communication
CN108280798B (zh) 一种浏览器内核渲染显示的方法和装置
KR101485154B1 (ko) 외부 디바이스와 이에 도킹되는 휴대 단말의 웨이크 업 모드 전환 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17870022

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17870022

Country of ref document: EP

Kind code of ref document: A1