CN105867954B - system data updating method, electronic equipment and system - Google Patents

system data updating method, electronic equipment and system Download PDF

Info

Publication number
CN105867954B
CN105867954B CN201510032763.9A CN201510032763A CN105867954B CN 105867954 B CN105867954 B CN 105867954B CN 201510032763 A CN201510032763 A CN 201510032763A CN 105867954 B CN105867954 B CN 105867954B
Authority
CN
China
Prior art keywords
memory
data
electronic device
communication channel
usb
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510032763.9A
Other languages
Chinese (zh)
Other versions
CN105867954A (en
Inventor
宋建华
刘鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510032763.9A priority Critical patent/CN105867954B/en
Publication of CN105867954A publication Critical patent/CN105867954A/en
Application granted granted Critical
Publication of CN105867954B publication Critical patent/CN105867954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides system data updating methods, electronic equipment and a system, wherein the method comprises the steps of configuring a component as a data driving device of a peripheral data interface, acquiring an instruction requesting to identify a memory by using a communication channel between second electronic equipment and the data driving device after the second electronic equipment is connected with the peripheral data interface, responding to the instruction, enabling the second electronic equipment to identify the memory, and acquiring updating data sent by the second electronic equipment by using the communication channel after the second electronic equipment identifies the memory so as to update system data stored in the memory according to the updating data.

Description

system data updating method, electronic equipment and system
Technical Field
The present invention relates to the field of data updating technologies, and in particular, to a system data updating method, a electronic device, and a system.
Background
The System data is stored in the electronic device to support the operation of the System of the electronic device, such as System data of a BIOS (Basic Input Output System), System data of a windows System, System data of an android System, and the like, and the System data is stored in a Memory of the electronic device, such as System data of a BIOS stored in a BIOS ROM (Read-Only Memory).
At present, the method for updating system data mainly includes the steps of starting up an electronic device, and updating the system data in a USB key ( hardware devices with USB interfaces) mode or an AP mode, and for example, when updating the system data loaded in a BIOS ROM, the electronic device needs to be kept in a starting-up state, and then the system data in the BIOS ROM is updated in a USB key mode under a DOS (disk operating system) operating system or in an AP mode under a Windows operating system.
It can be seen that the existing method for updating system data is established in a state that the electronic device can be started, which causes a problem that the updating of the system data cannot be performed when the electronic device cannot be started due to some reason, and the existing method for updating system data is not suitable for a scene that the electronic device cannot be started, so that the problem that methods for updating system data suitable for a scene that the electronic device cannot be started become a problem that needs to be solved urgently by technical personnel in the art.
Disclosure of Invention
In view of this, embodiments of the present invention provide methods for updating system data, electronic devices and systems, so as to solve a problem that an existing system data updating method is not suitable for a scenario in which an electronic device cannot be booted.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
method for updating system data, applied to electronic equipment, wherein the electronic equipment comprises a peripheral data interface, a component and a memory, the component is connected with the peripheral data interface, and a communication channel exists between the component and the memory, the method comprises:
configuring said th component as a data driver of said peripheral data interface;
after a second electronic device is connected with the peripheral data interface, acquiring an instruction for requesting to identify the memory by using a communication channel between the second electronic device and the data driving device, and responding to the instruction to enable the second electronic device to identify the memory;
and after the second electronic equipment identifies the memory, acquiring the updating data sent by the second electronic equipment by using the communication channel so as to update the system data stored in the memory according to the updating data.
The electronic equipment also comprises a south bridge chip, wherein the peripheral data interface is a USB interface, the part is an embedded controller EC, and the EC comprises a USB drive chip and a Flash controller;
the data driving apparatus configuring the th component as the peripheral data interface includes:
and disconnecting the communication channel between the EC and the south bridge chip, connecting a USB drive chip and a Flash controller in the EC through a USB bus, and communicating the communication channel between the USB interface and the USB drive chip, so that the EC is configured as a USB drive device, wherein the Flash controller and the memory have the communication channel.
Wherein the obtaining of the command requesting to identify the memory using the communication channel between the second electronic device and the data driving apparatus includes:
when the second electronic equipment is connected with the USB interface, the USB driving chip is used for driving the USB interface, so that the USB driving chip and the second electronic equipment have a communication channel through the USB interface, and an instruction of requesting for identifying the memory, transmitted to the USB interface by the second electronic equipment, is acquired through the communication channel between the second electronic equipment and the USB driving chip;
the responding to the instruction, causing the second electronic device to identify the memory comprises:
and transmitting the instruction of the memory requested to identify to the Flash controller, and feeding back the address of the memory by responding to the instruction of the memory requested to identify through the Flash controller so that the second electronic equipment can identify the memory.
The obtaining of the update data sent by the second electronic device by using the communication channel to update the system data stored in the memory according to the update data includes:
acquiring update data transmitted to the USB interface by the second electronic equipment through a communication channel between the second electronic equipment and the USB drive chip;
and transmitting the updated data to the Flash controller, and importing the updated data into the memory through the Flash controller so as to update the system data stored in the memory.
The system data updating method further comprises the following steps:
when the th electronic device is started, communicating the communication channel of the EC and the south bridge chip;
and acquiring the update data sent by the second electronic device through the USB interface, and transmitting the update data into the south bridge chip through a communication channel between the EC and the south bridge chip, so that the south bridge chip can guide the update data into the memory to update the system data stored in the memory.
The embodiment of the invention also provides an system data updating method, based on systems, the system comprises electronic equipment and second electronic equipment, wherein the electronic equipment comprises a peripheral data interface, a part and a memory, the part is connected with the peripheral data interface, and a communication channel exists between the part and the memory, the method is applied to the second electronic equipment and comprises the following steps:
after the th electronic device configures the th component as a data driving device of the peripheral data interface, and the second electronic device is connected with the peripheral data interface, an instruction for requesting to identify a memory is sent by using a communication channel between the second electronic device and the data driving device;
obtaining information responding to the instruction fed back by the electronic equipment, and identifying the memory;
and sending update data by using the communication channel so as to update the system data stored in the memory.
The embodiment of the invention also provides electronic equipment, which comprises a peripheral data interface, a th component and a memory, wherein the th component is connected with the peripheral data interface, and a th component and the memory have a communication channel;
the memory is used for storing system data;
the th component is configured to configure the th component as a data driver of the peripheral data interface, obtain an instruction requesting to identify a memory by using a communication channel between the second electronic device and the data driver after the second electronic device is connected to the peripheral data interface, respond to the instruction to enable the second electronic device to identify the memory, and obtain update data sent by the second electronic device by using the communication channel after the second electronic device identifies the memory, so as to update system data stored in the memory according to the update data.
The electronic equipment also comprises a south bridge chip, wherein the peripheral data interface is a USB interface, and the component is an embedded controller EC;
the EC comprises: a USB drive chip and a Flash controller; the Flash controller and the memory have a communication channel; when updating system data stored in the memory, the communication channel between the EC and the south bridge chip is disconnected, the USB drive chip and the Flash controller are connected through a USB bus, and the communication channel between the USB interface and the USB drive chip is communicated, so that the EC is configured as a USB drive device;
the USB driver chip is used for driving the USB interface when the second electronic equipment is connected with the USB interface, so that the USB driver chip and the second electronic equipment have a communication channel through the USB interface, acquiring an instruction of the second electronic equipment, which is transmitted to the USB interface and requests to identify the memory, through the communication channel between the second electronic equipment and the USB driver chip, and transmitting the instruction to the Flash controller; after the second electronic device identifies the memory, acquiring update data transmitted to the USB interface by the second electronic device through a communication channel between the second electronic device and the USB driver chip, and transmitting the update data to the Flash controller;
the Flash controller is used for responding to the instruction of requesting to identify the memory and feeding back the address of the memory so that the second electronic equipment can identify the memory; and importing the updating data into the memory so as to update the system data stored in the memory.
Wherein the th electronic device further comprises:
the communication switch is arranged on a data connecting line of the EC and the south bridge chip; when the communication switch is closed, the EC is communicated with the communication channel of the south bridge chip, and when the communication switch is disconnected, the EC is disconnected with the communication channel of the south bridge chip.
Wherein, the communication switch is arranged in the EC.
The embodiment of the invention also provides an system data updating system, which comprises a second electronic device, a data connecting line and the electronic device, wherein the second electronic device is connected with the electronic device through the data connecting line.
Based on the foregoing technical solution, in the system data updating method provided in the embodiment of the present invention, the th component of the th electronic device may be configured as a data driving apparatus of an external data interface, so that after the second electronic device is connected to the external data interface, an instruction requesting to identify a memory may be obtained through a communication channel between the second electronic device and the data driving apparatus, so that after responding to the instruction, the memory identification of the th device by the second electronic device is implemented, and then, the update data sent by the second electronic device may be obtained through the communication channel, so as to update the system data stored in the memory according to the update data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a system data updating system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a system data updating method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an th electronic device according to an embodiment of the present invention;
FIG. 4 is another flowchart illustrating a method for updating system data according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a further method for updating system data according to an embodiment of the present invention;
FIG. 6 is a flow chart of a further method for updating system data according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for updating system data according to another embodiment of the present invention at ;
fig. 8 is a schematic structural diagram of another of an -th electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a structure of an -th electronic device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an -th electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only partial embodiments of of the present invention, rather than all embodiments.
FIG. 1 is a schematic structural diagram of a system data updating system according to an embodiment of the present invention, and referring to FIG. 1, the system data updating system may include an th electronic device 1, a second electronic device 2, and a data connection line 3, wherein the th electronic device 1 is connected to the second electronic device 2 through the data connection line 3;
optionally, the data connection line 3 may be a USB (Universal Serial Bus) data line, or a data connection line adopting other interface communication protocols;
referring to fig. 1, an -th electronic device 1 may include a peripheral data interface 11, a -th component 12 and a memory 13, wherein the peripheral data interface 11 is connected to the -th component 12, the -th component 12 is connected to the memory 13, and the -th component 12 and the memory 13 have a communication channel;
in the embodiment of the present invention, the th electronic device 1 is an electronic device that needs to perform system data update, and the second electronic device 2 is an electronic device that assists the th electronic device 1 in performing system data update;
optionally, the th electronic device 1 and the second electronic device 2 may be any electronic devices with data processing capability, such as a notebook computer, a PC, a smart phone, a tablet computer, and the like;
optionally, the memory 13 may be a BIOS ROM, or other internal storage device for storing system data;
in the embodiment of the present invention, when updating system data in the memory 13, the th component 12 may be configured as a data driving device of the peripheral data interface 11, after the th electronic device 1 is connected to the second electronic device 2 (for example, after the second electronic device 2 may be connected to the peripheral data interface 11 through the data connection line 3), the th component 12 may drive the peripheral data interface 11, so that the th component 12 has a communication channel with the second electronic device 2 through the peripheral data interface 11, and further obtains an instruction requesting to identify the memory 13 sent by the second electronic device 2 through the communication channel between the second electronic device 2 and the th component 12, and in response to the instruction, the second electronic device 2 identifies the memory 13, and after the second electronic device 2 identifies the memory 13, the th component 12 may obtain update data sent by the second electronic device 2 through the communication channel between the second electronic device 2 and the th component 12, and import the update data, which is sent by the second electronic device 2 and updates the system data stored in the memory 13, thereby importing the update data in the memory 13.
Optionally, the th component 12 may be provided with a data driver chip, so that when the system data in the memory is updated, the th component 12 is configured as a data driver of the peripheral data interface 11 through the data driver chip, where the type of the data driver chip may be selected according to the type of the used interface communication protocol, for example, the data driver chip may be a USB driver chip if a USB communication protocol is used, and for example, the data driver chip may be a driver chip corresponding to the used interface communication protocol if other interface communication protocols (RS-485, etc.) are used;
referring to fig. 2, in conjunction with the system shown in fig. 1, fig. 2 shows a flowchart of a system data updating method provided by an embodiment of the present invention, where the method is applicable to an th electronic device, and the method may include:
step S100, configuring the th component as a data driving device of a peripheral data interface;
optionally, the interface communication protocol according to the embodiment of the present invention may adopt a USB communication protocol, and correspondingly, the peripheral data interface may be a USB interface, and the th component may implement the data driver that configures the th component as the peripheral data interface through a built-in USB driver chip.
Step S110, after a second electronic device is connected with a peripheral data interface, acquiring an instruction for requesting to identify a memory by using a communication channel between the second electronic device and the data driving device, and responding to the instruction to enable the second electronic device to identify the memory;
after the second electronic device is connected with the peripheral data interface, the th component configured as the data driving device can drive the peripheral data interface, so that the data driving device can establish a communication channel with the second electronic device through the peripheral data interface to acquire data transmitted by the second electronic device;
after the second electronic device is connected with the peripheral data interface, a command requesting to identify the memory can be sent to the th electronic device, and the data driving device can receive the command requesting to identify the memory through the peripheral data interface, so that the memory in the th electronic device is identified through a communication channel between the th component and the memory in response to the command.
Step S120, after the second electronic device identifies the memory, acquiring update data sent by the second electronic device by using the communication channel, so as to update the system data stored in the memory according to the update data.
After the memory is identified, the second electronic device may send update data for updating the system data stored in the memory, and the data driving device may obtain the update data through a communication channel between the second electronic device and the data driving device, so as to introduce the update data into the memory, thereby updating the system data stored in the memory.
According to the system data updating method provided by the embodiment of the invention, the th component of the th electronic device can be configured as a data driving device of a peripheral data interface, so that after the second electronic device is connected with the peripheral data interface, a command requesting to identify a memory can be acquired through a communication channel between the second electronic device and the data driving device, so that after the command is responded, memory identification of the second electronic device to the th device is realized, and then updated data sent by the second electronic device can be acquired through the communication channel, so that system data stored in the memory can be updated according to the updated data.
Fig. 3 shows a structural schematic diagram of an th electronic device provided in the embodiment of the present invention, and referring to fig. 3, the th electronic device may include a USB interface 11, an EC (Embedded Controller) 12, a memory 13, and a south bridge chip 14, where the EC12 may include a USB driver chip 121 and a Flash Controller 122;
it can be seen that, in the th electronic device structure shown in fig. 3, the peripheral data interface is specifically a USB interface, and the th component is specifically an EC;
in the embodiment of the present invention, the USB interface 11 is connected to the EC12, the EC12 is connected to the memory 13 and the south bridge chip 14, respectively, the south bridge chip 14 is also connected to the memory 13, the data transmitted by the USB interface 11 has two data transmission directions in the EC12, are transmitted to the south bridge chip 14, and another are transmitted to the memory 13 through the USB driver chip 121 and the Flash controller 122.
In conjunction with the structure shown in fig. 3, fig. 4 shows another flowchart of the system data updating method provided by the embodiment of the present invention, the method is applied to a electronic device, and referring to fig. 4, the method may include:
s200, disconnecting a communication channel between the EC and a south bridge chip, connecting a USB drive chip and a Flash controller in the EC through a USB bus, and communicating the communication channel between a USB interface and the USB drive chip to enable the EC to be configured as a USB drive device, wherein the Flash controller and the memory have the communication channel;
optionally, a communication switch may be disposed between the EC and the south bridge chip, and when the communication switch is closed, the EC is communicated with the south bridge chip, and a communication channel between the EC and the south bridge chip is communicated; when the communication switch is disconnected, the connection between the EC and the south bridge chip is disconnected, and the communication channel between the EC and the south bridge chip is disconnected;
when electronic equipment is not started up to update system data in the memory, the embodiment of the invention can disconnect the communication channel between EC and south bridge chip, connect USB drive chip and Flash controller through USB bus, and connect USB interface and USB drive chip, so that the communication channel between USB interface and USB drive chip is connected, and the communication channel between USB drive chip and Flash controller is connected, thus, the transmission direction of data transmitted by USB interface is transmitted to the memory through USB drive chip and Flash controller.
Step S210, when a second electronic device is connected to the USB interface, driving the USB interface by using the USB driver chip, so that the USB driver chip has a communication channel with the second electronic device through the USB interface, and acquiring an instruction of requesting to identify a memory, which is transmitted to the USB interface by the second electronic device, through the communication channel between the second electronic device and the USB driver chip;
after the second electronic device is connected with the USB interface, the USB driving chip can drive the USB interface, so that the USB interface can acquire data transmitted by the second electronic device, and the USB driving chip can establish a communication channel with the second electronic device through the USB interface, so that the USB driving chip can acquire an instruction, which is sent by the second electronic device and requests to identify the memory, through the communication channel between the second electronic device and the USB driving chip.
Step S220, transmitting the instruction of the memory requested to identify to the Flash controller, responding to the instruction of the memory requested to identify through the Flash controller, and feeding back the address of the memory so that the second electronic equipment can identify the memory;
the USB drive chip can transmit the instruction to the Flash controller, the Flash controller responds to the instruction, the address of the memory is identified through a communication channel between the Flash controller and the memory, and the address of the memory is fed back, so that the memory is identified by the second electronic device.
Step S230, obtaining, through a communication channel between the second electronic device and the USB driver chip, update data transmitted to the USB interface by the second electronic device;
the USB drive chip can acquire the update data sent by the second electronic equipment through a communication channel established between the USB drive chip and the second electronic equipment through a USB interface;
step S240, transmitting the update data to the Flash controller, and importing the update data into the memory through the Flash controller to update the system data stored in the memory.
The USB drive chip can transmit the updated data to the Flash controller, and the updated data is led into the memory by the Flash controller, so that the system data stored in the memory is updated.
Optionally, when the electronic device is powered on, the embodiment of the present invention may further implement updating of system data stored in the memory through the south bridge chip.
With reference to the structure shown in fig. 3, fig. 5 is a flow chart of a system data updating method , which is provided by an embodiment of the present invention and is applied to a electronic device, and with reference to fig. 5, the method may include:
step S300, when an th electronic device is started, communicating communication channels of an EC and a south bridge chip, wherein the south bridge chip and the memory have the communication channels;
optionally, in the embodiment of the present invention, the communication switch between the EC and the south bridge chip may be closed, and the EC and the south bridge chip are communicated, so that the communication channel between the south bridge chip and the memory is communicated; thus, the data acquired by the USB interface can be transmitted to the south bridge chip through the EC.
Step S310, acquiring update data sent by second electronic equipment through a USB interface, and transmitting the update data into the south bridge chip through a communication channel between the EC and the south bridge chip;
step S320, importing the update data into the memory through the south bridge chip to update the system data stored in the memory.
The method shown in FIG. 4 is applicable to the case that the th electronic device cannot be powered on, obviously, the method shown in FIG. 4 is also applicable to the case that the th electronic device is powered on, and the method shown in FIG. 5 is applicable to the case that the th electronic device is powered on.
The embodiment of the present invention further provides system data updating methods applied to the second electronic device, and the system data updating methods applied to the second electronic device described below may be referred to in correspondence with the system data updating methods applied to the th electronic device described above.
Fig. 6 is a flow chart of a system data updating method according to an embodiment of the present invention, the method may be based on the system data updating system described above and applied to a second electronic device, and referring to fig. 6, the method may include:
step S400, after the th electronic device configures the th component as a data driving device of a peripheral data interface, and a second electronic device is connected with the peripheral data interface, an instruction for requesting to identify the memory is sent by using a communication channel between the second electronic device and the data driving device;
optionally, after the second electronic device is connected to the peripheral data interface, the second electronic device may send an instruction requesting to identify the memory through a communication channel established between the peripheral data interface and the data driving device.
Optionally, the peripheral data interface may be a USB interface, and the th component may be an EC.
Step S410, obtaining th electronic equipment feedback information responding to the instruction, and identifying the memory;
optionally, the obtained information responding to the instruction may carry an address of a memory, so as to identify the memory.
Step S420, sending update data through the communication channel to update the system data stored in the memory of the th electronic device.
In a USB scenario, fig. 7 shows another flowchart of a system data updating method provided by an embodiment of the present invention, where the method is applicable to a second electronic device, and referring to fig. 7, the method may include:
step S500, disconnecting a communication channel between the EC and the south bridge chip at th electronic equipment, connecting a USB drive chip and a Flash controller in the EC through a USB bus, and communicating the communication channel between the USB interface and the USB drive chip, so that after the EC is configured as a USB drive device, the second electronic equipment is connected with the USB interface, and sends an instruction for requesting to identify the memory by using the communication channel between the second electronic equipment and the USB drive chip;
step S510, driving a USB interface by using a USB driving chip at th electronic equipment, acquiring the instruction through a communication channel between second electronic equipment and the USB driving chip, responding to the instruction for identifying the memory through the Flash controller, and after feeding back the address of the memory, acquiring the address of the memory fed back by th electronic equipment, and identifying the memory;
step S520, sending update data through a communication channel between the second electronic device and the USB driver chip, so that the th electronic device obtains the update data through the communication channel between the USB driver chip and the second electronic device, and then importing the update data into the memory through the Flash controller to update the system data stored in the memory.
The embodiment of the present invention further provides electronic devices, which may be the electronic device that needs to update system data stored in a memory according to the embodiment of the present invention, and reference may be made to the above corresponding contents for the following description of the electronic device.
Fig. 8 is another schematic diagram of an electronic device according to an embodiment of the present invention, and referring to fig. 8, a electronic device may include a peripheral data interface 11, a unit 12, and a memory 13, where the peripheral data interface 11 is connected to the unit 12, the unit 12 is connected to the memory 13, and the unit 12 and the memory 13 have a communication channel;
the memory 13 is used for storing system data;
an component 12, configured to configure the component as a data driver of the peripheral data interface 11, obtain, by using a communication channel between the second electronic device and the data driver, an instruction requesting to identify the memory after the second electronic device is connected to the peripheral data interface 11, respond to the instruction to enable the second electronic device to identify the memory 13, and obtain, by using the communication channel, update data sent by the second electronic device after the second electronic device identifies the memory 13, so as to update the system data stored in the memory 13 according to the update data.
The structures of the electronic equipment can be shown in FIG. 3, the electronic equipment can further comprise a south bridge chip 14, a peripheral data interface which is a USB interface 11, and a component which is EC12, wherein the EC12 can comprise a USB drive chip 121 and a Flash controller 122, and the Flash controller 122 and the memory 13 have a communication channel;
when updating system data in the memory, the communication channel between the EC12 and the south bridge chip 14 is disconnected, the USB driver chip 121 and the Flash controller 122 are connected through the USB bus, and the communication channel between the USB interface 11 and the USB driver chip 121 is connected, so that the EC12 is configured as a USB driver;
in the embodiment of the present invention, the USB driver chip 121 may be configured to drive the USB interface 11 when the second electronic device is connected to the USB interface 11, so that the USB driver chip 121 and the second electronic device have a communication channel through the USB interface 11, and obtain an instruction of requesting to identify the memory, which is transmitted to the USB interface 11 by the second electronic device, through the communication channel between the second electronic device and the USB driver chip 121, and transmit the instruction to the Flash controller 122; after the second electronic device identifies the memory 13, acquiring update data sent by the second electronic device through a communication channel with the USB driver chip 121, and transmitting the update data to the Flash controller 122;
the Flash controller 122 is configured to feed back an address of the memory 13 in response to the instruction for requesting to identify the memory, so that the second electronic device can identify the memory 13; and importing the update data into the memory 13 to update the system data stored in the memory 13.
FIG. 9 is a schematic diagram of a structure of an -th electronic device according to an embodiment of the present invention, and referring to FIGS. 3 and 9, the -th electronic device may further include a communication switch 15 disposed on a data connection line between the EC12 and the south bridge chip 14;
when the communication switch 15 is closed, the EC12 is communicated with the communication channel of the south bridge chip 14; when the communication switch 15 is turned off, the communication channel between the EC12 and the south bridge chip 14 is disconnected.
The communication switch 15 shown in fig. 9 is disposed within the EC 12; obviously, the communication switch 15 may be disposed not within the EC12, but between the EC12 and the south bridge chip 14, as shown in fig. 10.
An embodiment of the present invention further provides a system data updating system, where a structure of the system data updating system may be as shown in fig. 1, and the system data updating system includes a th electronic device 1, a second electronic device 2 and a data connection line 3, the th electronic device 1 is connected to the second electronic device 2 through the data connection line 3, and introduction of the th electronic device 1 may be as described above, and is not described herein again.
When the th electronic device cannot be started, the th component having a communication channel with the memory of the th electronic device is configured as a data driving device of a peripheral data interface, so that the th electronic device can be integrally regarded as storage devices with the data driving device and the memory, and further the second electronic device can update system data stored in the memory of the th electronic device in a mode of reading and writing data in the storage devices.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of functionality for clarity of explanation of interchangeability of hardware and software.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention.

Claims (11)

  1. The method for updating the system data of is characterized in that the method is applied to electronic equipment, the electronic equipment comprises an external data interface, a component and a memory, the component is connected with the external data interface, and a communication channel exists between the component and the memory, and the method comprises the following steps:
    configuring said th component as a data driver of said peripheral data interface;
    after a second electronic device is connected with the peripheral data interface, acquiring an instruction for requesting to identify the memory by using a communication channel between the second electronic device and the data driving device, and responding to the instruction to enable the second electronic device to identify the memory;
    and after the second electronic equipment identifies the memory, acquiring the updating data sent by the second electronic equipment by using the communication channel so as to update the system data stored in the memory according to the updating data.
  2. 2. The system data updating method according to claim 1,
    the electronic equipment also comprises a south bridge chip, wherein the peripheral data interface is a USB interface, the part is an embedded controller EC, and the EC comprises a USB drive chip and a Flash controller;
    the data driving apparatus configuring the th component as the peripheral data interface includes:
    and disconnecting the communication channel between the EC and the south bridge chip, connecting a USB drive chip and a Flash controller in the EC through a USB bus, and communicating the communication channel between the USB interface and the USB drive chip, so that the EC is configured as a USB drive device, wherein the Flash controller and the memory have the communication channel.
  3. 3. The method of claim 2, wherein the obtaining the command requesting to identify the memory using the communication channel between the second electronic device and the data driving apparatus comprises:
    when the second electronic equipment is connected with the USB interface, the USB driving chip is used for driving the USB interface, so that the USB driving chip and the second electronic equipment have a communication channel through the USB interface, and an instruction of requesting for identifying the memory, transmitted to the USB interface by the second electronic equipment, is acquired through the communication channel between the second electronic equipment and the USB driving chip;
    the responding to the instruction, causing the second electronic device to identify the memory comprises:
    and transmitting the instruction of the memory requested to identify to the Flash controller, and feeding back the address of the memory by responding to the instruction of the memory requested to identify through the Flash controller so that the second electronic equipment can identify the memory.
  4. 4. The method according to claim 3, wherein the acquiring, by using the communication channel, the update data sent by the second electronic device to update the system data stored in the memory according to the update data includes:
    acquiring update data transmitted to the USB interface by the second electronic equipment through a communication channel between the second electronic equipment and the USB drive chip;
    and transmitting the updated data to the Flash controller, and importing the updated data into the memory through the Flash controller so as to update the system data stored in the memory.
  5. 5. The system data updating method of any of claims 2-4, further comprising:
    when the th electronic device is started, communicating the communication channel of the EC and the south bridge chip;
    and acquiring the update data sent by the second electronic device through the USB interface, and transmitting the update data into the south bridge chip through a communication channel between the EC and the south bridge chip, so that the south bridge chip can guide the update data into the memory to update the system data stored in the memory.
  6. 6, system data updating methods, based on systems, the system includes electronic equipment and second electronic equipment, the electronic equipment includes peripheral data interface, part and memory, the part is connected with the peripheral data interface, the part has communication channel with the memory, the method is applied to the second electronic equipment, the method includes:
    after the th electronic device configures the th component as a data driving device of the peripheral data interface, and the second electronic device is connected with the peripheral data interface, an instruction for requesting to identify a memory is sent by using a communication channel between the second electronic device and the data driving device;
    obtaining information responding to the instruction fed back by the electronic equipment, and identifying the memory;
    and sending update data by using the communication channel so as to update the system data stored in the memory.
  7. The electronic equipment of 7 and types is characterized by comprising a peripheral data interface, a th component and a memory, wherein the th component is connected with the peripheral data interface, and a th component and the memory have a communication channel;
    the memory is used for storing system data;
    the th component is configured to configure the th component as a data driver of the peripheral data interface, obtain an instruction requesting to identify a memory by using a communication channel between the second electronic device and the data driver after the second electronic device is connected to the peripheral data interface, respond to the instruction to enable the second electronic device to identify the memory, and obtain update data sent by the second electronic device by using the communication channel after the second electronic device identifies the memory, so as to update system data stored in the memory according to the update data.
  8. 8. The electronic device of claim 7, wherein the electronic device further comprises a south bridge chip, the peripheral data interface is a USB interface, the component is a embedded controller EC;
    the EC comprises: a USB drive chip and a Flash controller; the Flash controller and the memory have a communication channel; when updating system data stored in the memory, the communication channel between the EC and the south bridge chip is disconnected, the USB drive chip and the Flash controller are connected through a USB bus, and the communication channel between the USB interface and the USB drive chip is communicated, so that the EC is configured as a USB drive device;
    the USB driver chip is used for driving the USB interface when the second electronic equipment is connected with the USB interface, so that the USB driver chip and the second electronic equipment have a communication channel through the USB interface, acquiring an instruction of the second electronic equipment, which is transmitted to the USB interface and requests to identify the memory, through the communication channel between the second electronic equipment and the USB driver chip, and transmitting the instruction to the Flash controller; after the second electronic device identifies the memory, acquiring update data transmitted to the USB interface by the second electronic device through a communication channel between the second electronic device and the USB driver chip, and transmitting the update data to the Flash controller;
    the Flash controller is used for responding to the instruction of requesting to identify the memory and feeding back the address of the memory so that the second electronic equipment can identify the memory; and importing the updating data into the memory so as to update the system data stored in the memory.
  9. 9. The electronic device of claim 8, further comprising:
    the communication switch is arranged on a data connecting line of the EC and the south bridge chip; when the communication switch is closed, the EC is communicated with the communication channel of the south bridge chip, and when the communication switch is disconnected, the EC is disconnected with the communication channel of the south bridge chip.
  10. 10. The electronic device of claim 9, wherein the communication switch is disposed within the EC.
  11. The system data update system of , comprising a second electronic device, a data connection line, and the electronic device of any of claims 7-10 and , wherein the second electronic device is connected to the electronic device via the data connection line.
CN201510032763.9A 2015-01-22 2015-01-22 system data updating method, electronic equipment and system Active CN105867954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510032763.9A CN105867954B (en) 2015-01-22 2015-01-22 system data updating method, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510032763.9A CN105867954B (en) 2015-01-22 2015-01-22 system data updating method, electronic equipment and system

Publications (2)

Publication Number Publication Date
CN105867954A CN105867954A (en) 2016-08-17
CN105867954B true CN105867954B (en) 2020-01-31

Family

ID=56623561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510032763.9A Active CN105867954B (en) 2015-01-22 2015-01-22 system data updating method, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN105867954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634633A (en) * 2018-12-05 2019-04-16 无锡睿勤科技有限公司 A kind of electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1430145A (en) * 2002-12-31 2003-07-16 艾威梯软件技术(北京)有限公司 Method of making bluetooth USB adaptor having man-machine interaction function
CN1782998A (en) * 2004-12-04 2006-06-07 鸿富锦精密工业(深圳)有限公司 BIOS updating system and method
CN102461198A (en) * 2009-06-05 2012-05-16 夏普株式会社 Software updating system, electronic devices, and software updating method
CN103795857A (en) * 2014-01-13 2014-05-14 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070261046A1 (en) * 2006-05-04 2007-11-08 Syntax Brillian Corp. Television and display device with a USB port for updating firmware
US8001314B2 (en) * 2006-09-12 2011-08-16 Apple Inc. Storing a driver for controlling a memory
TWI479421B (en) * 2013-02-04 2015-04-01 Wistron Corp Booting method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1430145A (en) * 2002-12-31 2003-07-16 艾威梯软件技术(北京)有限公司 Method of making bluetooth USB adaptor having man-machine interaction function
CN1782998A (en) * 2004-12-04 2006-06-07 鸿富锦精密工业(深圳)有限公司 BIOS updating system and method
CN102461198A (en) * 2009-06-05 2012-05-16 夏普株式会社 Software updating system, electronic devices, and software updating method
CN103795857A (en) * 2014-01-13 2014-05-14 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105867954A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
US7774511B2 (en) Addressing multiple devices on a shared bus
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
WO2018040746A1 (en) Driver installation method, device, and electronic apparatus
EP3208723A1 (en) Usb wireless network card configuration method, host, usb wireless network card and communication system
TW201602911A (en) A bridge module for updating basic input/output system and updating method thereof
US20120144084A1 (en) Data management device and method thereof
US20100049877A1 (en) Peripheral equipment operating method, peripheral equipment and host
CN105867954B (en) system data updating method, electronic equipment and system
JP2005321907A (en) Device driver provision method, information equipment, and peripheral equipment
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN105378692A (en) Universal serial bus data routing
US11005842B2 (en) External storage device that expands a data storage capability of a host device
CN108848182B (en) Updating method of BMC firmware, related equipment and system
JP5468061B2 (en) Electronic device system and electronic device
CN111092765A (en) Intelligent driving method, system, electronic device and readable storage medium
US20130080659A1 (en) Device and method for controlling usb terminal
CN106445571B (en) Mainboard and starting method
US20230359575A1 (en) Electronic apparatus and communication method thereof having both defined and undefined bus communication mechanism
CN114759944B (en) Communication method and device
US7610428B2 (en) System for providing a communication interface
US10803008B2 (en) Flexible coupling of processor modules
KR20130071092A (en) Docking device for connection with mobile terminal, and method for installing software thereof
CN111045632B (en) Audio playing device and operation method thereof
CN108388534A (en) A kind of display and the method for display program upgrading

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant