CN106383708B - Module loading method and system - Google Patents

Module loading method and system Download PDF

Info

Publication number
CN106383708B
CN106383708B CN201610821458.2A CN201610821458A CN106383708B CN 106383708 B CN106383708 B CN 106383708B CN 201610821458 A CN201610821458 A CN 201610821458A CN 106383708 B CN106383708 B CN 106383708B
Authority
CN
China
Prior art keywords
module
loaded
file information
information corresponding
interface
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
CN201610821458.2A
Other languages
Chinese (zh)
Other versions
CN106383708A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610821458.2A priority Critical patent/CN106383708B/en
Publication of CN106383708A publication Critical patent/CN106383708A/en
Application granted granted Critical
Publication of CN106383708B publication Critical patent/CN106383708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • G06F9/4415Self describing peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

A module loading method is applied to electronic equipment, and the method comprises the following steps: acquiring a module to be loaded; acquiring file information corresponding to the module to be loaded; and configuring the module to be loaded into the electronic equipment according to the file information corresponding to the module to be loaded. The invention also provides a module loading system. The invention meets the customized requirements of users, does not need to replace individual parts of the electronic equipment by the users, saves resources and improves the user experience.

Description

Module loading method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a module loading method and system.
Background
At present, most electronic equipment (such as mobile phones and tablet computers) are all integrated machines. Each module of the electronic device cannot be detached or replaced independently, especially some core hardware such as processing device, camera device, storage device (e.g. memory bank, hard disk) and the like. If the user wants to upgrade, only the whole electronic equipment can be replaced. The prior art can not meet the customized requirements of users, the technical difficulty of replacing individual parts of the electronic equipment is high, the cost is high, and the replacement of the whole electronic equipment causes a large amount of waste.
Disclosure of Invention
In view of the above, it is desirable to provide a module loading method and system, which meet the customized requirements of users, and do not require users to replace individual components of electronic devices, thereby saving resources and improving user experience.
A module loading method is applied to electronic equipment, and the method comprises the following steps:
acquiring a module to be loaded;
acquiring file information corresponding to the module to be loaded; and
and configuring the module to be loaded into the electronic equipment according to the file information corresponding to the module to be loaded.
According to a preferred embodiment of the present invention, before configuring the module to be loaded into the electronic device according to the file information corresponding to the module to be loaded, the method further includes:
when detecting that the file information corresponding to the module to be loaded contains the configuration of the necessary parameters, determining that the file information corresponding to the module to be loaded is complete; or
When detecting that the file information corresponding to the module to be loaded does not contain the configuration of the necessary parameters, determining that the file information corresponding to the module to be loaded is incomplete, and reminding a user that the file information of the module to be loaded is incomplete so that the user can check the module to be loaded.
According to a preferred embodiment of the present invention, before configuring the module to be loaded into the electronic device according to the file information corresponding to the module to be loaded, the method further includes:
and prompting a user whether to configure the module to be loaded.
According to a preferred embodiment of the invention, the method further comprises:
and when the situation that the interface of the module to be loaded is in a separation state from the first interface of the electronic equipment is monitored, deleting the file information of the module to be loaded from the electronic equipment.
According to the preferred embodiment of the present invention, the file information includes a driver file and a configuration file corresponding to the module to be loaded.
A module loading system for operation in an electronic device, the system comprising:
the acquisition module is used for acquiring a module to be loaded;
the acquisition module is also used for acquiring file information corresponding to the module to be loaded; and
and the configuration module is used for configuring the module to be loaded into the electronic equipment according to the file information corresponding to the module to be loaded.
According to a preferred embodiment of the invention, the system further comprises:
the determining module is used for determining that the file information corresponding to the module to be loaded is complete when the configuration of the necessary parameters is detected in the file information corresponding to the module to be loaded before the module to be loaded is configured in the electronic equipment according to the file information corresponding to the module to be loaded; or
The determining module is further configured to determine that the file information corresponding to the module to be loaded is incomplete when it is detected that the configuration of the necessary parameters is not included in the file information corresponding to the module to be loaded, and remind a user that the file information of the module to be loaded is incomplete so that the user can check the module to be loaded.
According to a preferred embodiment of the invention, the system further comprises:
and the prompting module is used for prompting a user whether to configure the module to be loaded before the module to be loaded is configured into the electronic equipment according to the file information corresponding to the module to be loaded.
According to a preferred embodiment of the invention, the system further comprises:
and the deleting module is used for deleting the file information of the module to be loaded from the electronic equipment when the condition that the interface of the module to be loaded is separated from the first interface of the electronic equipment is monitored.
According to the preferred embodiment of the present invention, the file information includes a driver file and a configuration file corresponding to the module to be loaded.
According to the technical scheme, the module to be loaded can be detected, the file information corresponding to the module to be loaded is obtained, and the module to be loaded is configured in the system of the electronic equipment according to the file information corresponding to the module to be loaded. Therefore, the invention meets the customized requirements of users, does not need to replace individual parts of the electronic equipment by the users, can replace the parts needing to be replaced by the external hardware module, saves resources and improves the user experience.
Drawings
Fig. 1 is an application environment diagram of an electronic device implementing the module loading method according to the present invention.
FIG. 2 is a flow chart of a preferred embodiment of the module loading method of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the module loading method of the present invention.
FIG. 4 is a functional block diagram of the module loading control system of the present invention.
Description of the main elements
Electronic device 1
Module to be loaded 2
Interface 21
Module loading system 10
Storage device 20
Processing apparatus 30
First interface 40
Acquisition module 100
Detection module 101
Determining module 102
Prompt module 103
Configuration module 104
Delete module 105
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a diagram of an application environment of an electronic device implementing the module loading method according to the present invention. The application environment diagram comprises an electronic device 1 and a module to be loaded 2. The electronic device 1 comprises a first interface 40, and the module to be loaded 2 comprises an interface 21.
Preferably, the module loading method of the present invention can be applied to a plurality of electronic devices 1. The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device 1 may also include, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an Internet Protocol Television (IPTV), an intelligent wearable device, and the like.
In the embodiment of the present invention, the module to be loaded 2 may be one or more hardware modules, for example, a camera, a memory, a display screen, a hard disk, and the like.
FIG. 2 is a flow chart of a preferred embodiment of the module loading method according to the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
S10, the electronic device 1 obtains the module 2 to be loaded.
In an embodiment of the present invention, the module to be loaded 2 may be one or more hardware modules, for example, a camera, a memory, a display screen, a hard disk, and the like. When the module to be loaded 2 is a plurality of hardware modules, the plurality of hardware modules may be integrated into one integrated module. The integrated module comprises a storage chip used for storing file information corresponding to each hardware module.
In one embodiment of the present invention, the electronic device 1 includes one or more first interfaces 40, and the first interfaces 40 are one or more. The first interface 40 is used for connecting with the interface 21 of the module to be loaded 2 or connecting with the interface of the integrated module. The first interface 40 may be a Universal Serial BUS (USB) interface, or a Universal Asynchronous Receiver/Transmitter (UART) interface, when the first interface 40 is a USB interface, the first interface 40 may be connected to the module to be loaded 2 or a USB interface on the integrated module, and when the first interface 40 is a UART interface, the first interface 40 may be connected to the module to be loaded 2 or the UART interface on the integrated module, so as to implement matching connection of interfaces.
In an embodiment of the present invention, when the electronic device 1 detects that a parameter value (e.g., voltage or current) of the first interface 40 is within a preset parameter range, the electronic device 1 determines that a hardware module is connected to the first interface 40, determines that the hardware module is the module to be loaded 2, and the electronic device 1 obtains the module to be loaded 2.
And S11, the electronic device 1 acquires the file information corresponding to the module to be loaded 2.
In an embodiment of the present invention, when the module to be loaded 2 is a hardware module, the electronic device 1 obtains file information corresponding to the module to be loaded 2 from a memory chip of the module to be loaded 2. The file information includes a driver file and a configuration file corresponding to the module 2 to be loaded.
In an embodiment of the present invention, when the module to be loaded 2 is an integrated module integrated by a plurality of hardware modules, the electronic device 1 acquires file information corresponding to each hardware module from a memory chip of the integrated module.
In other embodiments of the present invention, the electronic device 1 detects whether the file information corresponding to the module to be loaded 2 is complete. The electronic device 1 determines whether the file information corresponding to the module to be loaded 2 is complete by detecting whether the file information corresponding to the module to be loaded 2 contains the configuration of necessary parameters (such as the configuration of an interface, the converged configuration with an operating system of the electronic device 1, and the like). When the electronic device 1 detects that the file information corresponding to the module to be loaded 2 includes the configuration of the necessary parameters, the electronic device 1 determines that the file information corresponding to the module to be loaded 2 is complete. When the electronic device 1 detects that the file information corresponding to the module to be loaded 2 does not contain the configuration of the necessary parameters, the electronic device 1 determines that the file information corresponding to the module to be loaded 2 is incomplete, and the electronic device 1 reminds the user that the file information of the module to be loaded 2 is incomplete so that the user can check the module to be loaded 2.
And when the file information corresponding to the module to be loaded 2 is complete, the electronic device 1 prompts a user whether to configure the module to be loaded 2. The electronic device 1 provides a confirmation option for the user to select whether to configure the module to be loaded 2, and when the user selects the option to configure the module to be loaded 2, S12 is executed. When the user does not select the option of configuring the module to be loaded 2, return is made to S10. In other embodiments, the electronic device 1 may also provide a selection interface for the user to select the hardware module to be added. The selection interface displays an identification of a plurality of hardware modules (e.g., names or codes of the hardware modules, etc.).
S12, the electronic device 1 configures the module to be loaded 2 into the system of the electronic device 1 according to the file information corresponding to the module to be loaded 2.
In an embodiment of the present invention, the electronic device 1 configures the module to be loaded 2 into a system of the electronic device 1 according to file information corresponding to the module to be loaded 2, so that the electronic device 1 controls the module to be loaded 2. For example, a pixel of a camera of the electronic device 1 of the user is not high, the user accesses a high definition camera to the electronic device 1, the electronic device 1 acquires a drive file and a configuration file of the high definition camera, and configures the high definition camera into a system of the electronic device according to the drive file and the configuration file of the high definition camera, so that the electronic device 1 can control the high definition camera to meet a camera requirement of the user.
In an embodiment of the present invention, when the electronic device 1 monitors that the interface 21 of the module to be loaded 2 is in a disengaged state from the first interface 40, the electronic device 1 deletes the file information of the module to be loaded 2 from its system. For example, the electronic device 1 may monitor a change in voltage of the first interface 40, and when the voltage of the first interface 40 becomes 0, the electronic device 1 monitors that the interface 21 of the module to be loaded 2 is in a disengaged state from the first interface 40.
The method and the device can detect the module 2 to be loaded, acquire the file information corresponding to the module 2 to be loaded, and configure the module 2 to be loaded into the system of the electronic equipment 1 according to the file information corresponding to the module 2 to be loaded. Therefore, the invention meets the customized requirements of the user, does not need the user to replace individual parts of the electronic equipment 1, saves resources and improves the user experience.
As shown in fig. 3, a schematic structural diagram of an electronic device implementing a module loading method according to a preferred embodiment of the present invention is shown. The electronic device 1 further comprises a module loading system 10. The electronic device 1 further comprises a storage device 20, and a processing device 30. Further, the electronic device 1 may also comprise other elements, such as a display device, a communication interface, etc.
The electronic device 1 may also include, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an Internet Protocol Television (IPTV), an intelligent wearable device, and the like. The Network where the electronic device 1 is located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The module loading system 10 can detect a module to be loaded, acquire file information corresponding to the module to be loaded, and configure the module to be loaded into the system of the electronic device according to the file information corresponding to the module to be loaded. Therefore, the invention meets the customized requirements of users, does not need to replace individual parts of the electronic equipment by the users, saves resources and improves the user experience.
The storage device 20 is used for storing a program and various data of a module loading method, and realizes high-speed and automatic access of the program or the data in the operation process of the electronic device 1. The storage device 20 may be an external storage device and/or an internal storage device of the electronic device 1. Further, the storage device 20 may be a circuit having a storage function without any physical form In an integrated circuit, such as a RAM (Random-Access Memory), a FIFO (First In First Out), and the like. Alternatively, the storage device 11 may also be a storage device in a physical form, such as a memory stick, a TF Card (Trans-flash Card), and the like.
The Processing device 30 is also called a Central Processing Unit (CPU), and is an ultra-large scale integrated circuit, which is an operation Core (Core) and a Control Core (Control Unit) of the electronic device 1. The functions of the processing device 30 are mainly to interpret program instructions and to process data in a module loading method.
As shown in fig. 4, the module loading system 10 includes an obtaining module 100, a detecting module 101, a determining module 102, a prompting module 103, a configuring module 104, and a deleting module 105. The module referred to in the present invention refers to a series of computer program segments capable of being executed by the processing device 30 and performing a fixed function, which are stored in the storage device 20. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The obtaining module 100 obtains the module 2 to be loaded.
In an embodiment of the present invention, the module to be loaded 2 may be one or more hardware modules, for example, a camera, a memory, a display screen, a hard disk, and the like. When the module to be loaded 2 is a plurality of hardware modules, the plurality of hardware modules may be integrated into one integrated module. The integrated module comprises a storage chip used for storing file information corresponding to each hardware module.
In one embodiment of the present invention, the electronic device 1 includes one or more first interfaces 40, and the first interfaces 40 are one or more. The first interface 40 is used for connecting with the interface 21 of the module to be loaded 2 or connecting with the interface of the integrated module. The first interface 40 may be a Universal Serial BUS (USB) interface, or a Universal Asynchronous Receiver/Transmitter (UART) interface, when the first interface 40 is a USB interface, the first interface 40 may be connected to the module to be loaded 2 or a USB interface on the integrated module, and when the first interface 40 is a UART interface, the first interface 40 may be connected to the module to be loaded 2 or the UART interface on the integrated module, so as to implement matching connection of interfaces.
In an embodiment of the present invention, when the obtaining module 100 detects that a parameter value (e.g., voltage or current) of the first interface 40 is within a preset parameter range, the obtaining module 100 determines that a hardware module is connected to the first interface 40, determines that the hardware module is the module to be loaded 2, and the obtaining module 100 obtains the module to be loaded.
The obtaining module 100 obtains file information corresponding to the module to be loaded 2.
In an embodiment of the present invention, when the module to be loaded 2 is a hardware module, the obtaining module 100 obtains file information corresponding to the module to be loaded 2 from a memory chip of the module to be loaded 2. The file information includes a driver file and a configuration file corresponding to the module 2 to be loaded.
In an embodiment of the present invention, when the module to be loaded 2 is an integrated module integrated by a plurality of hardware modules, the obtaining module 100 obtains file information corresponding to each hardware module from a memory chip of the integrated module.
In other embodiments of the present invention, the detecting module 101 detects whether the file information corresponding to the module to be loaded 2 is complete. The detection module 101 determines whether the file information corresponding to the module to be loaded 2 is complete by detecting whether the file information corresponding to the module to be loaded 2 contains the configuration of necessary parameters (such as the configuration of an interface, the converged configuration with the operating system of the electronic device 1, and the like). When the detection module 101 detects that the file information corresponding to the module to be loaded 2 includes the configuration of the necessary parameters, the determination module 102 determines that the file information corresponding to the module to be loaded 2 is complete. When the detection module 101 detects that the file information corresponding to the module to be loaded 2 does not include the configuration of the necessary parameters, the determination module 102 determines that the file information corresponding to the module to be loaded 2 is incomplete, and the determination module 102 reminds the user that the file information of the module to be loaded 2 is incomplete so that the user can check the module to be loaded 2.
When the file information corresponding to the module to be loaded 2 is complete, the prompting module 103 prompts a user whether to configure the module to be loaded 2. The prompt module 103 provides a confirmation option to allow a user to select whether to configure the module to be loaded 2, and when the user selects the option to configure the module to be loaded 2, the configuration module 104 configures the module to be loaded 2 into the system of the electronic device 1 according to the file information corresponding to the module to be loaded 2. When the user does not select the option of configuring the module to be loaded 2, the obtaining module 100 continues to obtain the module to be loaded. In other embodiments, the prompt module 103 may also provide a selection interface for the user to select the hardware module to be added. The selection interface displays an identification of a plurality of hardware modules (e.g., names or codes of the hardware modules, etc.).
In an embodiment of the present invention, the configuration module 104 configures the module to be loaded 2 into the system of the electronic device 1 according to the file information corresponding to the module to be loaded 2, so that the electronic device 1 controls the module to be loaded 2. For example, a pixel of a camera of the electronic device 1 of the user is not high, the user accesses a high definition camera to the electronic device 1, the electronic device 1 acquires a drive file and a configuration file of the high definition camera, and configures the high definition camera into a system of the electronic device according to the drive file and the configuration file of the high definition camera, so that the electronic device 1 can control the high definition camera to meet a camera requirement of the user.
In an embodiment of the present invention, when the deleting module 105 monitors that the interface 21 of the module to be loaded 2 is in a disengaged state from the first interface 40, the deleting module 105 deletes the file information of the module to be loaded 2 from its system. For example, the deleting module 105 may monitor a change in the voltage of the first interface 40, and when the voltage of the first interface 40 becomes 0, the deleting module 105 monitors that the interface 21 of the module to be loaded 2 is in a disengaged state from the first interface 40.
The method and the device can detect the module 2 to be loaded, acquire the file information corresponding to the module 2 to be loaded, and configure the module 2 to be loaded into the system of the electronic equipment 1 according to the file information corresponding to the module 2 to be loaded. Therefore, the invention meets the customized requirements of the user, does not need the user to replace individual parts of the electronic equipment 1, saves resources and improves the user experience.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
In one embodiment of the present invention, the storage device 20 in the electronic device 1 stores a plurality of instructions to implement a module loading method, and the processing device 30 can execute the plurality of instructions to implement: acquiring a module 2 to be loaded; acquiring file information corresponding to the module to be loaded 2; and configuring the module to be loaded 1 into the electronic equipment 1 according to the file information corresponding to the module to be loaded 2.
In a further embodiment, before configuring the module to be loaded 1 into the electronic device 2 according to the file information corresponding to the module to be loaded 1, when it is detected that the file information corresponding to the module to be loaded 2 includes the configuration of the necessary parameters, it is determined that the file information corresponding to the module to be loaded 2 is complete; or
When detecting that the file information corresponding to the module to be loaded 2 does not contain the configuration of the necessary parameters, determining that the file information corresponding to the module to be loaded 2 is incomplete, and reminding a user that the file information of the module to be loaded 2 is incomplete so that the user can check the module to be loaded 2.
In a further embodiment, before configuring the module to be loaded 2 into the electronic device 1 according to the file information corresponding to the module to be loaded 2, a user is prompted whether to configure the module to be loaded 2.
In a further embodiment, when it is monitored that the interface 21 of the module to be loaded 2 is in a disengaged state from the first interface 40 of the electronic device, the file information of the module to be loaded 2 is deleted from the electronic device 1.
In a further embodiment, the file information includes a driver file and a configuration file corresponding to the module to be loaded.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (8)

1. A module loading method is applied to electronic equipment, and is characterized by comprising the following steps:
when detecting that a parameter value of a first interface of the electronic equipment is in a preset parameter range, determining that a hardware module is connected with the first interface, and determining the hardware module as a module to be loaded;
acquiring the module to be loaded;
acquiring file information corresponding to the module to be loaded from a storage chip of the module to be loaded;
configuring the module to be loaded into the electronic equipment according to the file information corresponding to the module to be loaded;
monitoring whether an interface of the module to be loaded and a first interface of the electronic equipment are in a separation state or not;
and when the situation that the interface of the module to be loaded is in a separation state from the first interface of the electronic equipment is monitored, deleting the file information of the module to be loaded from the electronic equipment.
2. The module loading method according to claim 1, wherein before configuring the module to be loaded into the electronic device according to the file information corresponding to the module to be loaded, the method further comprises:
when detecting that the file information corresponding to the module to be loaded contains the configuration of the necessary parameters, determining that the file information corresponding to the module to be loaded is complete; or
When detecting that the file information corresponding to the module to be loaded does not contain the configuration of the necessary parameters, determining that the file information corresponding to the module to be loaded is incomplete, and reminding a user that the file information of the module to be loaded is incomplete so that the user can check the module to be loaded.
3. The module loading method according to claim 1, wherein before configuring the module to be loaded into the electronic device according to the file information corresponding to the module to be loaded, the method further comprises:
and prompting a user whether to configure the module to be loaded.
4. The module loading method according to any one of claims 1 to 3, wherein the file information includes a driver file and a configuration file corresponding to the module to be loaded.
5. A module loading system for operating in an electronic device, the system comprising:
the electronic equipment comprises an acquisition module, a loading module and a loading module, wherein the acquisition module is used for determining that a hardware module is connected with a first interface when detecting that a parameter value of the first interface of the electronic equipment is in a preset parameter range, and determining the hardware module as a module to be loaded;
the obtaining module is further used for obtaining the module to be loaded;
the acquisition module is further used for acquiring file information corresponding to the module to be loaded from a memory chip of the module to be loaded;
the configuration module is used for configuring the module to be loaded into the electronic equipment according to the file information corresponding to the module to be loaded;
the deleting module is used for monitoring whether the interface of the module to be loaded and the first interface of the electronic equipment are in a separation state; and when the monitoring module monitors that the interface of the module to be loaded is in a separation state with the first interface of the electronic equipment, deleting the file information of the module to be loaded from the electronic equipment.
6. The module loading system of claim 5, wherein the system further comprises:
the determining module is used for determining that the file information corresponding to the module to be loaded is complete when the configuration of the necessary parameters is detected in the file information corresponding to the module to be loaded before the module to be loaded is configured in the electronic equipment according to the file information corresponding to the module to be loaded; or
The determining module is further configured to determine that the file information corresponding to the module to be loaded is incomplete when it is detected that the file information corresponding to the module to be loaded does not include the configuration of the necessary parameters, and remind a user that the file information of the module to be loaded is incomplete so that the user can check the module to be loaded.
7. The module loading system of claim 5, wherein the system further comprises:
and the prompting module is used for prompting a user whether to configure the module to be loaded before the module to be loaded is configured into the electronic equipment according to the file information corresponding to the module to be loaded.
8. The module loading system according to any one of claims 5 to 7, wherein the file information includes a driver file and a configuration file corresponding to the module to be loaded.
CN201610821458.2A 2016-09-13 2016-09-13 Module loading method and system Active CN106383708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610821458.2A CN106383708B (en) 2016-09-13 2016-09-13 Module loading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610821458.2A CN106383708B (en) 2016-09-13 2016-09-13 Module loading method and system

Publications (2)

Publication Number Publication Date
CN106383708A CN106383708A (en) 2017-02-08
CN106383708B true CN106383708B (en) 2020-02-21

Family

ID=57936585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610821458.2A Active CN106383708B (en) 2016-09-13 2016-09-13 Module loading method and system

Country Status (1)

Country Link
CN (1) CN106383708B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380603A (en) * 2001-04-10 2002-11-20 英业达股份有限公司 Peripheral equipment with internal driving program and its mounting method
CN1601499A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Peripheral device having built-in drive program management function and its management method
CN102362241A (en) * 2009-02-02 2012-02-22 施克莱无线公司 System and method for multifunction device enumeration
CN102902638A (en) * 2011-07-26 2013-01-30 北大方正集团有限公司 Hardware equipment control method and driving module
CN103914315A (en) * 2012-12-31 2014-07-09 展讯通信(上海)有限公司 Configuration method of drivers
CN104991872A (en) * 2015-06-19 2015-10-21 上海卓易科技股份有限公司 Method and apparatus for implementing driving of intelligent device on peripheral device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380603A (en) * 2001-04-10 2002-11-20 英业达股份有限公司 Peripheral equipment with internal driving program and its mounting method
CN1601499A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Peripheral device having built-in drive program management function and its management method
CN102362241A (en) * 2009-02-02 2012-02-22 施克莱无线公司 System and method for multifunction device enumeration
CN102902638A (en) * 2011-07-26 2013-01-30 北大方正集团有限公司 Hardware equipment control method and driving module
CN103914315A (en) * 2012-12-31 2014-07-09 展讯通信(上海)有限公司 Configuration method of drivers
CN104991872A (en) * 2015-06-19 2015-10-21 上海卓易科技股份有限公司 Method and apparatus for implementing driving of intelligent device on peripheral device

Also Published As

Publication number Publication date
CN106383708A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
US10187872B2 (en) Electronic device and method of providing notification by electronic device
CN105320417B (en) Page switching method and client
CN106445292B (en) Method and system for managing application programs in different body modes
CN108874289B (en) Application history record viewing method and device and electronic equipment
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
US11055107B2 (en) Electronic apparatus and method of executing application program
CN104063125A (en) Managing method and managing device for desktop icons
CN104580375A (en) Method and equipment for determining UI style information of target application
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN108039963B (en) Container configuration method and device and storage medium
CN105631059B (en) Data processing method, data processing device and data processing system
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
WO2022247856A1 (en) Application recommendation method and apparatus, electronic device, and medium
CN106383708B (en) Module loading method and system
CN106502833B (en) Data backup method and device
CN111796736B (en) Application sharing method and device and electronic equipment
CN111857466B (en) Message display method and device
CN110784672B (en) Video data transmission method, device, equipment and storage medium
CN108062401B (en) Application recommendation method and device and storage medium
CN109269628B (en) Method for monitoring motor vibration, terminal device and computer readable storage medium
EP2993596A1 (en) Method and apparatus for index processing
CN106547556B (en) Method and device for starting application program function interface
CN106951478B (en) Data processing method and device
CN108616552B (en) Webpage access method, device and system
CN115712449A (en) Application configuration method, device, system, equipment and storage medium

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