Movatterモバイル変換


[0]ホーム

URL:


CN111026457B - Hardware configuration method and device, storage medium and terminal equipment - Google Patents

Hardware configuration method and device, storage medium and terminal equipment
Download PDF

Info

Publication number
CN111026457B
CN111026457BCN201911208117.8ACN201911208117ACN111026457BCN 111026457 BCN111026457 BCN 111026457BCN 201911208117 ACN201911208117 ACN 201911208117ACN 111026457 BCN111026457 BCN 111026457B
Authority
CN
China
Prior art keywords
hardware
identification information
hardware configuration
mobile terminal
information
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
CN201911208117.8A
Other languages
Chinese (zh)
Other versions
CN111026457A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co LtdfiledCriticalHuizhou TCL Mobile Communication Co Ltd
Priority to CN201911208117.8ApriorityCriticalpatent/CN111026457B/en
Publication of CN111026457ApublicationCriticalpatent/CN111026457A/en
Application grantedgrantedCritical
Publication of CN111026457BpublicationCriticalpatent/CN111026457B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application provides a hardware configuration method, a device, a storage medium and a terminal device, wherein the hardware configuration method comprises the following steps: when the mobile terminal is detected to enter the second starting stage, the hardware identification information is obtained from the shared memory area, and then the hardware configuration is carried out on the mobile terminal according to the hardware identification information. According to the hardware configuration method, hardware configuration of the mobile terminal is not required to be performed by reading the universal input/output port, and the problem that hardware configuration cannot be expanded due to the fact that the configuration of the universal input/output port of the mobile terminal cannot be changed is solved, so that the mobile terminal can expand more hardware configurations.

Description

Hardware configuration method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for configuring hardware, a storage medium, and a terminal device.
Background
With the development of terminal technology, the functions of mobile terminals are more and more powerful, and the mobile terminals also become an indispensable part of people's lives gradually, and different operators in different areas have different hardware configurations to meet the differentiated requirements of the areas and the operators.
In the hardware configuration method of the mobile terminal in the prior art, different truth tables are configured on specific general input/output ports of a printed circuit board, when the mobile terminal is started, the numerical values of the general input/output ports in the truth tables are read, and corresponding single-double card configuration and frequency band configuration are loaded according to the numerical values so as to meet the requirements of regions and operators, but the hardware cannot be expanded due to the fact that the configuration of the general input/output ports cannot be changed.
Disclosure of Invention
The application provides a hardware configuration method, a device, a storage medium and a terminal device, which are used for solving the problem that hardware cannot be expanded due to the fact that the configuration of a universal input/output port in a mobile terminal cannot be changed.
In order to solve the above problem, an embodiment of the present application provides a hardware configuration method, where the hardware configuration method includes:
when detecting that the mobile terminal enters a first starting stage, acquiring hardware identification information of the mobile terminal from a product information area, and writing the hardware identification information into a shared memory area;
when detecting that the mobile terminal enters a second starting stage, acquiring the hardware identification information from the shared memory area;
and carrying out hardware configuration on the mobile terminal according to the hardware identification information.
In the hardware configuration method provided in the present application, the step of writing the hardware identification information into a shared memory area specifically includes:
converting the format of the hardware identification information into a preset format;
and writing the converted hardware identification information into a shared memory area.
In the hardware configuration method provided in the present application, the step of performing hardware configuration on the mobile terminal according to the hardware identification information specifically includes:
when detecting that the mobile terminal enters a third starting stage, acquiring hardware configuration information corresponding to the hardware identification information from a hardware compiling area;
and carrying out hardware configuration on the mobile terminal according to the hardware configuration information.
In the hardware configuration method provided in the present application, after the step of performing hardware configuration on the mobile terminal according to the hardware identification information, the method further includes:
when detecting that the hardware identification information and the hardware configuration information are updated, acquiring the updated hardware identification information and the updated hardware configuration information;
and storing the hardware identification information to the product information area, and storing the hardware configuration information to the hardware compiling area.
In the hardware configuration method provided in the present application, after the step of performing hardware configuration on the mobile terminal according to the hardware identification information, the method further includes:
and deleting the hardware identification information in the shared memory area.
In order to solve the above problem, an embodiment of the present application further provides a hardware configuration apparatus, where the hardware configuration apparatus includes:
the first acquisition module is used for acquiring hardware identification information of the mobile terminal when detecting that the mobile terminal enters a first starting stage, and writing the hardware identification information into a shared memory area;
a second obtaining module, configured to obtain the hardware identifier information from the shared memory area when it is detected that the mobile terminal enters a second start stage;
and the configuration module is used for carrying out hardware configuration on the mobile terminal according to the hardware identification information.
In the hardware configuration apparatus provided in the present application, the first obtaining module specifically includes:
the conversion unit is used for converting the format of the hardware identification information into a preset format;
and the writing unit is used for writing the converted hardware identification information into a shared memory area.
In the hardware configuration apparatus provided in the present application, the configuration module specifically includes:
an obtaining unit, configured to obtain hardware configuration information corresponding to the hardware identification information when it is detected that the mobile terminal enters a third start stage;
and the configuration unit is used for carrying out hardware configuration on the mobile terminal according to the hardware configuration information.
In the hardware configuration apparatus provided in the present application, the hardware configuration apparatus further includes a detection module, configured to:
when detecting that the hardware identification information and the hardware configuration information are updated, acquiring the updated hardware identification information and the updated hardware configuration information;
and storing the hardware identification information to the product information area, and storing the hardware configuration information to the hardware compiling area.
In the hardware configuration apparatus provided in the present application, the hardware configuration apparatus further includes a deletion module, configured to:
and deleting the hardware identification information in the shared memory area.
In order to solve the above problem, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute any one of the hardware configuration methods described above.
In order to solve the above problem, an embodiment of the present application further provides a terminal device, which includes a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the steps in the hardware configuration method described in any one of the above.
The beneficial effect of this application does: different from the prior art, the application provides a hardware configuration method, a device, a storage medium and a terminal device, wherein the hardware configuration method comprises the following steps: when the mobile terminal is detected to enter the second starting stage, the hardware identification information is obtained from the shared memory area, and then the hardware configuration is carried out on the mobile terminal according to the hardware identification information. According to the hardware configuration method, hardware configuration of the mobile terminal is not needed to be performed by reading the value corresponding to the universal input/output port, and the problem that hardware configuration cannot be expanded due to the fact that the configuration of the universal input/output port of the mobile terminal cannot be changed is solved, so that the mobile terminal can expand more hardware configurations.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a hardware configuration method according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a hardware configuration method according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a hardware configuration apparatus according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of a hardware configuration apparatus according to an embodiment of the present disclosure.
Fig. 5 is a schematic view of an application scenario of a hardware configuration method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a hardware configuration method, a hardware configuration device, a storage medium and terminal equipment.
Referring to fig. 1, fig. 1 is a schematic flowchart of a hardware configuration method according to an embodiment of the present disclosure, where the hardware configuration method is applied to a terminal device, and the terminal device may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, and a notebook computer. The specific process of the hardware configuration method provided by this embodiment may be as follows:
s101, when the mobile terminal is detected to enter a first starting stage, acquiring hardware identification information of the mobile terminal from a product information area, and writing the hardware identification information into a shared memory area.
After the mobile terminal enters the first boot stage, the BootLoader (boot loader) is booted first, and the subprogram obtains the hardware identification information of the mobile terminal from the product information area and writes the hardware identification information into the shared memory area.
Further, the step S101 may specifically include:
converting the format of the hardware identification information into a preset format;
and writing the converted hardware identification information into a shared memory area.
And S102, when the mobile terminal is detected to enter a second starting stage, acquiring hardware identification information from the shared memory area.
After the mobile terminal enters the second starting stage, a modem chip (used for completing digital-to-analog conversion of data in the terminal, sending, receiving, line signal monitoring and the like) in the mobile terminal is started, and hardware identification information is obtained from the shared memory area.
Further, since only the subprogram of the BootLoader can access the product information area, but the modem cannot access the product information area, after the subprogram of the BootLoader acquires the hardware identification information of the mobile terminal, the hardware identification information is written into a shared memory area that can be accessed by both the subprogram of the BootLoader and the modem, so that the modem can acquire the hardware identification information at a subsequent stage.
And S103, carrying out hardware configuration on the mobile terminal according to the hardware identification information.
Further, the step S103 may specifically include:
when detecting that the mobile terminal enters a third starting stage, acquiring hardware configuration information corresponding to the hardware identification information from a hardware compiling area;
and carrying out hardware configuration on the mobile terminal according to the hardware configuration information.
Referring to fig. 2, fig. 2 is another schematic flow chart of a hardware configuration method according to an embodiment of the present disclosure, where the hardware configuration method is applied to a terminal device, and the terminal device may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The specific process of the hardware configuration method provided by this embodiment may be as follows:
s201, when the mobile terminal is detected to enter a first starting stage, hardware identification information of the mobile terminal is obtained from a product information area, and the format of the hardware identification information is converted into a preset format.
S202, writing the converted hardware identification information into a shared memory area.
For example, if the hardware is for a NA (North America) region and a single-card LTE (Long Term Evolution) frequency band, the hardware identification information stored in the shared memory area in a preset format is the NA _1SIM.
S203, when the mobile terminal is detected to enter the second starting stage, acquiring hardware identification information from the shared memory area.
And S204, when the mobile terminal is detected to enter a third starting stage, acquiring hardware configuration information corresponding to the hardware identification information from a hardware compiling area.
S205, carrying out hardware configuration on the mobile terminal according to the hardware configuration information.
For example, if the hardware identification information acquired by the terminal in the shared memory area is NA _1SIM, the hardware configuration information acquired by the terminal in a HW MBN (hardware modem software configuration) file in the hardware compiling area is NA _1SIM.
In the actual code, the number of HW MBNs is merged according to the actual situation, for example, hardware configuration information for an NA (North America) area and a single card and hardware configuration information for an MEA (Middle East Asia, Asia) area and a single card share one HW MBN file, at this time, hardware configuration information corresponding to the hardware identification information NA _1SIM and the hardware identification information MEA _1SIM are stored in the same HW MBN file, which may be named NA & MEA _1sim.mbn, and when the hardware configuration for the MEA area and the single card is performed, the hardware configuration information for the MEA area and the single card is acquired from NA & MEA _1sim.mbn, and the hardware configuration is performed.
S206, when the update of the hardware identification information and the hardware configuration information is detected, the updated hardware identification information and the updated hardware configuration information are obtained.
And S207, storing the hardware identification information to the product information area, and storing the hardware configuration information to a hardware compiling area.
In addition, the hardware configuration method may further include:
and after the hardware configuration of the mobile terminal is completed, deleting the hardware identification information in the shared memory area.
It can be seen from the above description that, different from the prior art, the hardware configuration method provided in the present application obtains the hardware identification information of the mobile terminal from the product information area and writes the hardware identification information into the shared memory area when it is detected that the mobile terminal enters the first start stage, obtains the hardware identification information from the shared memory area when it is detected that the mobile terminal enters the second start stage, and then performs hardware configuration on the mobile terminal according to the hardware identification information. According to the hardware configuration method, hardware configuration of the mobile terminal is not needed to be performed by reading the value corresponding to the universal input/output port, and the problem that hardware configuration cannot be expanded due to the fact that the configuration of the universal input/output port of the mobile terminal cannot be changed is solved, so that the mobile terminal can expand more hardware configurations.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a hardware configuration apparatus according to an embodiment of the present application, and the hardware configuration apparatus is applied to a terminal device, where the terminal device may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The hardware configuration provided by this embodiment may include: afirst acquisition module 10, asecond acquisition module 20 and aconfiguration module 30, wherein:
(1)first acquisition module 10
The first obtainingmodule 10 is configured to obtain hardware identification information of the mobile terminal when it is detected that the mobile terminal enters the first start stage, and write the hardware identification information into the shared memory area.
After the mobile terminal enters the first boot stage, the BootLoader (boot loader) is booted first, and the subprogram obtains the hardware identification information of the mobile terminal from the product information area and writes the hardware identification information into the shared memory area.
(2)Second acquisition module 20
The second obtainingmodule 20 is configured to obtain the hardware identifier information from the shared memory area when it is detected that the mobile terminal enters the second start stage.
After the mobile terminal enters the second starting stage, a modem chip (used for completing digital-to-analog conversion of data in the terminal, sending, receiving, line signal monitoring and the like) in the mobile terminal is started, and hardware identification information is obtained from the shared memory area.
Further, since only the subprogram of the BootLoader can access the product information area, but the modem cannot access the product information area, after the subprogram of the BootLoader acquires the hardware identification information of the mobile terminal, the hardware identification information is written into a shared memory area that can be accessed by both the subprogram of the BootLoader and the modem, so that the modem can acquire the hardware identification information at a subsequent stage.
(3)Configuration module 30
And theconfiguration module 30 is configured to perform hardware configuration on the mobile terminal according to the hardware identification information.
Further, referring to fig. 4, fig. 4 is another schematic structural diagram of a hardware configuration apparatus according to an embodiment of the present application, where the first obtainingmodule 10 specifically includes:
aconversion unit 11, configured to convert the format of the hardware identification information into a preset format;
and awriting unit 12, configured to write the converted hardware identifier information into the shared memory area.
For example, if the hardware is for a NA (North America) region and a single-card LTE (Long Term Evolution) frequency band, the hardware identification information stored in the shared memory area in a preset format is the NA _1SIM.
Further, referring to fig. 4, theconfiguration module 30 may specifically include:
the acquiringunit 31 is configured to acquire hardware configuration information corresponding to the hardware identification information when it is detected that the mobile terminal enters a third starting stage;
theconfiguration unit 32 is configured to perform hardware configuration on the mobile terminal according to the hardware configuration information.
For example, if the hardware identification information acquired by the terminal in the shared memory area is NA _1SIM, the hardware configuration information acquired by the terminal in a HW MBN (hardware modem software configuration) file in the hardware compiling area is NA _1SIM.
In the actual code, the number of HW MBNs is merged according to the actual situation, for example, hardware configuration information for an NA (North America) area and a single card and hardware configuration information for an MEA (Middle East Asia, Asia) area and a single card share one HW MBN file, at this time, hardware configuration information corresponding to the hardware identification information NA _1SIM and the hardware identification information MEA _1SIM are stored in the same HW MBN file, which may be named NA & MEA _1sim.mbn, and when the hardware configuration for the MEA area and the single card is performed, the hardware configuration information for the MEA area and the single card is acquired from NA & MEA _1sim.mbn, and the hardware configuration is performed.
In addition, the hardware configuration apparatus may further include a detection module configured to:
when detecting that the hardware identification information and the hardware configuration information are updated, acquiring the updated hardware identification information and the updated hardware configuration information;
and storing the hardware identification information into a product information area, and storing the hardware configuration information into a hardware compiling area.
In addition, the hardware configuration apparatus may further include a deletion module configured to:
and deleting the hardware identification information in the shared memory area.
Further, referring to fig. 5, fig. 5 is a schematic view of an application scenario of the hardware configuration method provided in the embodiment of the present application, where the hardware configuration method is applied to any one of the hardware configuration devices provided in the embodiment of the present application, and the hardware configuration device may be integrated in a terminal device, and the terminal device may include a device with a network function, such as a smart phone and a tablet computer.
When the terminal equipment is started, the hardware identification information of the mobile terminal can be obtained from the product information area and written into the shared memory area, when the mobile terminal is detected to enter a second starting stage, the hardware identification information is obtained from the shared memory area, and then hardware configuration is carried out on the mobile terminal according to the hardware identification information.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, different from the prior art, the hardware configuration device provided in the present application, when detecting that the mobile terminal enters the first start stage, obtains the hardware identification information of the mobile terminal from the product information area, converts the format of the hardware identification information into the preset format through theconversion unit 11, and writes the converted hardware identification information into the shared memory area through thewriting unit 12; when it is detected that the mobile terminal enters the second start stage, the hardware identification information is acquired from the shared memory area through thesecond acquisition module 20, and then, when it is detected that the mobile terminal enters the third start stage, the hardware configuration information corresponding to the hardware identification information is acquired through theacquisition unit 31, and then the hardware configuration is performed on the mobile terminal through theconfiguration unit 32 according to the hardware configuration information. According to the hardware configuration method, hardware configuration of the mobile terminal is not needed to be performed by reading the value corresponding to the universal input/output port, and the problem that hardware configuration cannot be expanded due to the fact that the configuration of the universal input/output port of the mobile terminal cannot be changed is solved, so that the mobile terminal can expand more hardware configurations.
In addition, the embodiment of the application further provides a terminal device, and the terminal device can be a smart phone, a tablet computer and other devices. As shown in fig. 6, theterminal device 200 includes aprocessor 201 and amemory 202. Theprocessor 201 is electrically connected to thememory 202.
Theprocessor 201 is a control center of theterminal device 200, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in thememory 202 and calling data stored in thememory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, theterminal device 200 is provided with a plurality of memory partitions, the plurality of memory partitions includes a system partition and a target partition, theprocessor 201 in theterminal device 200 loads instructions corresponding to processes of one or more application programs into thememory 202 according to the following steps, and theprocessor 201 runs the application programs stored in thememory 202, so as to implement various functions:
when detecting that the mobile terminal enters a first starting stage, acquiring hardware identification information of the mobile terminal from the product information area, and writing the hardware identification information into the shared memory area;
when detecting that the mobile terminal enters a second starting stage, acquiring hardware identification information from the shared memory area;
and carrying out hardware configuration on the mobile terminal according to the hardware identification information.
Fig. 7 shows a specific block diagram of a terminal device according to an embodiment of the present invention, where the terminal device may be used to implement the hardware configuration method provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
TheRF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth.RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols that have not yet been developed.
Thememory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and theprocessor 380 executes various functional applications and data processing by running the software programs and modules stored in thememory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. Thememory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples,memory 320 may further include memory located remotely fromprocessor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Theinput unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, theinput unit 330 may include a touch-sensitive surface 331 as well asother input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touchsensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 380, and can receive and execute commands sent by theprocessor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. Theinput unit 330 may compriseother input devices 332 in addition to the touchsensitive surface 331. In particular,other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Thedisplay unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. TheDisplay unit 340 may include aDisplay panel 341, and optionally, theDisplay panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 mayoverlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate toprocessor 380 to determine the type of touch event, andprocessor 380 then provides a corresponding visual output ondisplay panel 341 in accordance with the type of touch event. Although in FIG. 7, touch-sensitive surface 331 anddisplay panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 anddisplay panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least onesensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of thedisplay panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off thedisplay panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360,speaker 361,microphone 362 may provide an audio interface between a user and terminal device 300. Theaudio circuit 360 may transmit the electrical signal converted from the received audio data to thespeaker 361, and the audio signal is converted by thespeaker 361 and output; on the other hand, themicrophone 362 converts the collected sound signal into an electrical signal, which is received by theaudio circuit 360 and converted into audio data, which is then processed by the audiodata output processor 380 and then transmitted to, for example, another terminal via theRF circuit 310, or the audio data is output to thememory 320 for further processing. Theaudio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 7 shows thetransmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Theprocessor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in thememory 320 and calling data stored in thememory 320, thereby performing overall monitoring of the mobile phone. Optionally,processor 380 may include one or more processing cores; in some embodiments,processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled toprocessor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. Thepower supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when detecting that the mobile terminal enters a first starting stage, acquiring hardware identification information of the mobile terminal from the product information area, and writing the hardware identification information into the shared memory area;
when detecting that the mobile terminal enters a second starting stage, acquiring hardware identification information from the shared memory area;
and carrying out hardware configuration on the mobile terminal according to the hardware identification information.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the hardware configuration methods provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any hardware configuration method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any hardware configuration method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
In addition to the above embodiments, other embodiments are also possible. All technical solutions formed by using equivalents or equivalent substitutions fall within the protection scope of the claims of the present application.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (8)

CN201911208117.8A2019-11-302019-11-30Hardware configuration method and device, storage medium and terminal equipmentActiveCN111026457B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911208117.8ACN111026457B (en)2019-11-302019-11-30Hardware configuration method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911208117.8ACN111026457B (en)2019-11-302019-11-30Hardware configuration method and device, storage medium and terminal equipment

Publications (2)

Publication NumberPublication Date
CN111026457A CN111026457A (en)2020-04-17
CN111026457Btrue CN111026457B (en)2021-11-16

Family

ID=70203690

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911208117.8AActiveCN111026457B (en)2019-11-302019-11-30Hardware configuration method and device, storage medium and terminal equipment

Country Status (1)

CountryLink
CN (1)CN111026457B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113905365B (en)*2021-12-132022-03-15龙旗电子(惠州)有限公司Method, device and equipment for configuring single card and double cards of android terminal
CN117131519B (en)*2023-02-272024-06-11荣耀终端有限公司 Information protection method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104143067A (en)*2014-08-052014-11-12广东欧珀移动通信有限公司 Implementation method of a terminal device and software sharing mechanism
CN106648793A (en)*2016-12-292017-05-10宇龙计算机通信科技(深圳)有限公司Loading method and device for configuration files
US9804855B1 (en)*2015-10-082017-10-31Veritas Technologies LlcModification of temporary file system for booting on target hardware
CN107817987A (en)*2016-09-132018-03-20腾讯科技(深圳)有限公司A kind of hardware configuration method, system, terminal and server
CN108234214A (en)*2018-01-112018-06-29上海展扬通信技术有限公司Radio-frequency configuration method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN108958813A (en)*2018-06-132018-12-07北京无线电测量研究所file system construction method, device and storage medium
CN109614157A (en)*2018-12-272019-04-12联想(北京)有限公司A kind of configuration method of system, device and storage medium
CN109783283A (en)*2018-12-112019-05-21中国长城科技集团股份有限公司A kind of processing method, device and the terminal device of hardware detection information
CN109814940A (en)*2017-11-212019-05-28展讯通信(上海)有限公司Configure the method, apparatus and processor of hardware accelerator
CN110377330A (en)*2019-07-222019-10-25国美视界(北京)科技有限公司The operating system configuration method and equipment of electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104143067A (en)*2014-08-052014-11-12广东欧珀移动通信有限公司 Implementation method of a terminal device and software sharing mechanism
US9804855B1 (en)*2015-10-082017-10-31Veritas Technologies LlcModification of temporary file system for booting on target hardware
CN107817987A (en)*2016-09-132018-03-20腾讯科技(深圳)有限公司A kind of hardware configuration method, system, terminal and server
CN106648793A (en)*2016-12-292017-05-10宇龙计算机通信科技(深圳)有限公司Loading method and device for configuration files
CN109814940A (en)*2017-11-212019-05-28展讯通信(上海)有限公司Configure the method, apparatus and processor of hardware accelerator
CN108234214A (en)*2018-01-112018-06-29上海展扬通信技术有限公司Radio-frequency configuration method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN108958813A (en)*2018-06-132018-12-07北京无线电测量研究所file system construction method, device and storage medium
CN109783283A (en)*2018-12-112019-05-21中国长城科技集团股份有限公司A kind of processing method, device and the terminal device of hardware detection information
CN109614157A (en)*2018-12-272019-04-12联想(北京)有限公司A kind of configuration method of system, device and storage medium
CN110377330A (en)*2019-07-222019-10-25国美视界(北京)科技有限公司The operating system configuration method and equipment of electronic equipment

Also Published As

Publication numberPublication date
CN111026457A (en)2020-04-17

Similar Documents

PublicationPublication DateTitle
CN111142711B (en)Firmware configuration method and device, storage medium and mobile terminal
CN111277991B (en)Operator name display method and device, mobile terminal and storage medium
CN111078108A (en)Screen display method and device, storage medium and mobile terminal
CN109714476B (en)Data processing method and device, mobile terminal and storage medium
CN113613310A (en)WIFI connection method and device, storage medium and mobile terminal
CN111026457B (en)Hardware configuration method and device, storage medium and terminal equipment
CN111045737B (en)Equipment identifier acquisition method, device, terminal equipment and storage medium
CN110995324B (en)Bluetooth communication method, device, storage medium and terminal equipment
CN104615451A (en)Application starting method and device
CN111143580B (en)Multimedia data storage method and device, storage medium and electronic equipment
CN109831771B (en)Bluetooth searching method and device, mobile terminal and storage medium
CN110109582B (en)Display method and device of mobile terminal and storage medium
CN112486350A (en)Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110972220B (en)Wireless communication method, device, storage medium and terminal equipment
CN111309605A (en)Terminal testing method and device, storage medium and terminal equipment
CN105988801B (en)Method and device for displaying annotation information
CN105278967B (en)System updating method, device and system of mobile terminal
CN109995441B (en)Communication information processing method, device and storage medium
CN104866287B (en)Method and device for generating function bar
CN111338452B (en)Method, system, storage medium and mobile terminal for simulating acceleration charging of U disk
CN111651313B (en)Conversion method and system of identification card, storage medium and terminal equipment
CN110990606B (en)Picture storage method and device, storage medium and electronic equipment
CN112243269B (en)Method and device for downloading data and mobile terminal
CN111026488B (en)Communication data saving method, device, terminal equipment and storage medium
CN111277642B (en)Method and device for enhancing information transmission speed, storage medium and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp