CN110457180A - Loading method, device and the storage medium of mobile terminal software packet - Google Patents
Loading method, device and the storage medium of mobile terminal software packet Download PDFInfo
- Publication number
- CN110457180A CN110457180A CN201910693321.7A CN201910693321A CN110457180A CN 110457180 A CN110457180 A CN 110457180A CN 201910693321 A CN201910693321 A CN 201910693321A CN 110457180 A CN110457180 A CN 110457180A
- Authority
- CN
- China
- Prior art keywords
- frequency
- mobile terminal
- software package
- signal
- signal generating
- 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.)
- Granted
Links
- 238000011068 loading method Methods 0.000 title claims abstract description 49
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 238000001514 detection method Methods 0.000 claims description 30
- 238000000034 method Methods 0.000 claims description 15
- 230000000630 rising effect Effects 0.000 claims description 9
- 238000009826 distribution Methods 0.000 claims description 3
- 230000015654 memory Effects 0.000 description 21
- 230000006870 function Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
Abstract
This application discloses loading method, device and the storage mediums of a kind of mobile terminal software packet.The mobile terminal includes signal generating module, which comprises detects the frequency variation of the signal generating module output signal;Inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table;The software package is loaded in the mobile terminal and identifies corresponding software package, so as to software package needed for accurately obtaining and loading mobile terminal.
Description
Technical field
This application involves field of computer technology more particularly to a kind of loading method of mobile terminal software packet, device and
Storage medium.
Background technique
Currently, mobile terminal Market competition, mobile terminal manufacturer is in order to reduce production cost often same soft, hard
A plurality of products are derived on part platform, the difference very little between these products, for example, two product just only have camera
(CAMERA) different or near field communication (NFC) function difference is to adapt to the different market demands.For example, there is client A in mobile terminal manufacturer
With client B, the two clients increase by one in addition to CAMERA is different and client A needs are additional for the demand of mobile terminal
Outside near field communication (NFC) function, remaining is all the same.
Since the demand difference of two clients is small, mobile terminal only need to can be above-mentioned two to realize with the same software
The demand of client.The prior art mainly identifies different mobile terminal type by detection voltage, i.e., defeated by power management module
Terminal type detection module is supplied voltage to out, and terminal type detection module exports after dividing by terminal resistance to supply voltage
Branch pressure voltage can recognize mobile terminal style according to the branch pressure voltage, and then load corresponding software package on mobile terminals.
Though above scheme can identify mobile terminal style, when the product quantity that mobile terminal manufacturer is derived is more
When, due to the program in order to consider the factors such as error need by the corresponding terminal type of voltage range (such as 0.6V~
1.0V corresponds to a terminal type), when the product quantity derived is more (the namely small difference demand client of terminal is more),
Each voltage range of the program necessarily will will be easy to cause error detection by compression, lead to the software of mobile terminal loading error
Packet.In addition, can not be detected when the terminal resistance damage for being used to divide in the program, it will also cause error detection.
Summary of the invention
The embodiment of the present application provides loading method, device and the storage medium of a kind of mobile terminal software packet, can be accurate
Software package needed for obtaining and loading mobile terminal.
The embodiment of the present application provides a kind of loading method of mobile terminal software packet, and the mobile terminal includes signal hair
Raw module, which comprises
Detect the frequency variation of the signal generating module output signal;
Inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table;
The software package is loaded in the mobile terminal identifies corresponding software package.
Further, the frequency variation of the detection signal generating module output signal, specifically includes:
When often detecting that the signal generating module exports an echo signal, obtain the echo signal with it is previous defeated
Time difference between the rising edge of signal or failing edge interruption out, and it is inverted to the time difference, occur as the signal
Module exports the frequency of the echo signal;
Obtain the frequency variation that the signal generating module exports multiple echo signals.
Further, the frequency variation includes that frequency is changed by first frequency as second frequency;
The inquiry from preset Frequency Identification table obtains the frequency and changes corresponding software package mark, specific to wrap
It includes:
Detect whether the first frequency and the second frequency are preset effective frequency;
If so, determining that the signal generating module is working properly, inquiry obtains described from preset Frequency Identification table
First frequency variation is the corresponding software package mark of the second frequency.
Further, the method also includes:
When detecting the first frequency or the second frequency is not preset effective frequency, the signal hair is determined
Raw module operation irregularity, Xiang Suoshu mobile terminal send prompt information.
Further, described, inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table
Before knowledge, further includes:
The frequency that any one effective frequency to another effective frequency in preset effective frequency is arranged changes;
Unique software package mark is distributed to each frequency variation of setting;
Each frequency of setting is changed into be stored in the Frequency Identification table corresponding with its software package mark.
The embodiment of the present application also provides a kind of loading device of mobile terminal software packet, the mobile terminal includes signal
Module occurs, described device includes:
Frequency detection module, the frequency for detecting the signal generating module output signal change;
Enquiry module obtains the corresponding software package mark of the frequency variation for inquiring from preset Frequency Identification table
Know;And
Loading module identifies corresponding software package for loading the software package in the mobile terminal.
Further, the frequency detection module includes:
Frequency acquisition unit, when for often detecting that the signal generating module exports an echo signal, described in acquisition
Time difference between the interruption of the rising edge or failing edge of echo signal and previous output signal, and the time difference is taken down
Number, the frequency of the echo signal is exported as the signal generating module;And
Frequency changes acquiring unit, and the frequency variation of multiple echo signals is exported for obtaining the signal generating module.
Further, the frequency variation includes that frequency is changed by first frequency as second frequency;
The enquiry module includes:
Whether detection unit is preset effective frequency for detecting the first frequency and the second frequency;
Query unit, for determining institute when the first frequency and the second frequency are preset effective frequency
It is working properly to state signal generating module, it is described second that inquiry, which obtains the first frequency variation, from preset Frequency Identification table
The corresponding software package mark of frequency;And
Prompt unit, for when detecting the first frequency or the second frequency is not preset effective frequency,
Determine that the signal generating module operation irregularity, Xiang Suoshu mobile terminal send prompt information.
Further, described device further include:
Setup module, for any one effective frequency to be arranged in preset effective frequency to the frequency of another effective frequency
Rate variation;
Distribution module distributes unique software package mark for each frequency variation to setting;And
Preserving module, for each frequency variation of setting corresponding with its software package mark to be stored in the Frequency Identification
In table.
The embodiment of the present application also provides a kind of computer readable storage medium, a plurality of finger is stored in the storage medium
It enables, described instruction is suitable for being loaded by processor to execute the loading method of any of the above-described mobile terminal software packet.
Loading method, device and the storage medium of mobile terminal software packet provided by the present application, are able to detect signal
The frequency variation of module output, and identify that corresponding software package identifies according to frequency variation, to be identified according to software package in movement
Required software package is accurately loaded in terminal;Whether the frequency for detecting signal generating module output is effective frequency, to detect letter
Number occur module whether damage, avoid signal generating module damage caused by error detection, further increase mobile terminal load institute
Need the accuracy of software package.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the flow diagram of the loading method of mobile terminal software packet provided by the embodiments of the present application.
Fig. 2 is another flow diagram of the loading method of mobile terminal software packet provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of the loading device of mobile terminal software packet provided by the embodiments of the present application.
Fig. 4 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Fig. 5 is another structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall in the protection scope of this application.
A kind of loading method of mobile terminal software packet, the mobile terminal include signal generating module, the method packet
It includes: detecting the frequency variation of the signal generating module output signal;Inquiry obtains the frequency from preset Frequency Identification table
Rate changes corresponding software package mark;The software package is loaded in the mobile terminal identifies corresponding software package.
As shown in Figure 1, Fig. 1 is the process signal of the loading method of mobile terminal software packet provided by the embodiments of the present application
Figure, the mobile terminal includes signal generating module, and the detailed process of the loading method of the mobile terminal software packet can be as
Under:
101. detecting the frequency variation of the signal generating module output signal.
In the present embodiment, signal generating module is arranged in the terminal, for the software package according to needed for mobile terminal
Export the signal of different frequency.By the detection to different frequency signals, the frequency variation of signal can be obtained.
It is additionally provided with signal control module in mobile terminal, for powering to signal generating module, makes signal generating module work
Make, or stop powering to signal generating module, signal generating module is made to stop working.It needs to load software package in mobile terminal
When, signal control module is powered to signal generating module, and control signal generating module is started to work, that is, exports the letter of different frequency
Number.
Specifically, step 101 includes:
When often detecting that the signal generating module exports an echo signal, obtain the echo signal with it is previous defeated
Time difference between the rising edge of signal or failing edge interruption out, and it is inverted to the time difference, occur as the signal
Module exports the frequency of the echo signal;
Obtain the frequency variation that the signal generating module exports multiple echo signals.
In the present embodiment, signal generating module after start-up operation with different frequency continuous output signal, for example, signal is sent out
The signal of raw module elder generation output frequency 1, then the signal of output frequency 2, frequency 1 are different from frequency 2.It is successively obtained according to output sequence
Continuous two signals are taken, the time difference between the rising edge or failing edge interruption of continuous two signals are calculated, to this
The time difference inverted frequency that can be used as signal generating module and export continuous two signals.Similarly, signal is calculated
The frequency that module exports other signals occurs, can be obtained the frequency variation of signal generating module output signal.For example, signal is sent out
The frequency that raw module exports first signal to the 4th signal is frequency 1, and the frequency of the 5th signal of output is frequency 2, i.e.,
The frequency variation of signal generating module output signal be can get to be frequency 2 by the variation of frequency 1.
102. inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table.
In the present embodiment, preset Frequency Identification table is the corresponding relationship of the variation of various frequencies with various software packages mark
Table, each frequency variation are only corresponding with a software package mark.Software package is identified as the identification code of software package, each software package
It is identified with unique software package.Software package mark can indicate by the identification number being made of Arabic numerals, can also be with
It is indicated by the authentication code being made of Arabic numerals and letter, as long as different software packet can be distinguished, is not done herein
It is specific to limit.After obtaining software package mark, signal control module stops powering to signal generating module, that is, controls signal
Module stops output signal.
Further, the frequency variation is second frequency by first frequency variation including frequency, and step 102 is specifically wrapped
It includes:
Detect whether the first frequency and the second frequency are preset effective frequency;
If so, determining that the signal generating module is working properly, inquiry obtains described from preset Frequency Identification table
First frequency variation is the corresponding software package mark of the second frequency.
In the present embodiment, preset effective frequency is the frequency of all possible outputs of signal generating module.Detecting letter
Number occur module output signal frequency after, further the validity of frequency is detected.If signal generating module output letter
Number frequency it is effective, i.e., frequency be preset effective frequency, then illustrate that signal generating module is working properly, does not damage, can basis
The frequency variation of signal generating module output signal identifies to inquire corresponding software package.
Further, the method also includes:
When detecting the first frequency or the second frequency is not preset effective frequency, the signal hair is determined
Raw module operation irregularity, Xiang Suoshu mobile terminal send prompt information.
It should be noted that if the frequency of signal generating module output signal is invalid, i.e., frequency is not preset effective frequency
Rate then illustrates that signal generating module work is abnormal, has damaged, and can send the prompt that signal generating module is damaged to mobile terminal
Information replaces signal generating module with prompting mobile terminal.In the signal generating module damage of mobile terminal, no longer obtains and move
The dynamic corresponding software package mark of terminal, to avoid error detection.
103. loading the software package in the mobile terminal identifies corresponding software package.
In the present embodiment, different software package marks are arranged in the demand based on the small difference of mobile terminal, based on different soft
Part packet mark loads the driver of corresponding device, i.e. software package on mobile terminals, to meet the needs of different differences, thus
Avoid voltage range error detection problem caused by compressing when small difference demand is more in the prior art.
It can be seen from the above, the loading method of mobile terminal software packet provided by the present application, is able to detect signal generating module
The frequency of output changes, and identifies that corresponding software package identifies according to frequency variation, to be identified according to software package in mobile terminal
Software package needed for upper accurate load;Whether the frequency for detecting signal generating module output is effective frequency, to detect signal hair
Whether raw module is damaged, error detection caused by avoiding signal generating module from damaging, and further increases soft needed for mobile terminal load
The accuracy of part packet.
As shown in Fig. 2, another process that Fig. 2 is the loading method of mobile terminal software packet provided by the embodiments of the present application is shown
It is intended to, detailed process can be such that
201. are stored in the frequency variation that various effective frequencies form in Frequency Identification table with corresponding software package mark.
Specifically, step 201 includes:
The frequency that any one effective frequency to another effective frequency in preset effective frequency is arranged changes;
Unique software package mark is distributed to each frequency variation of setting;
Each frequency of setting is changed into be stored in the Frequency Identification table corresponding with its software package mark.
For example, preset effective frequency includes frequency 1, frequency 2 and frequency 3, the frequency that frequency 1 arrives frequency 2 can be set
Variation, corresponding software package are identified as 01;The frequency of frequency 1 to frequency 3 changes, and corresponding software package is identified as 02;Frequency 2 arrives
The frequency of frequency 1 changes, and corresponding software package is identified as 03;The frequency of frequency 2 to frequency 3 changes, corresponding software package mark
It is 04;The frequency of frequency 3 to frequency 1 changes, and corresponding software package is identified as 05;The frequency of frequency 3 to frequency 2 changes, corresponding
Software package be identified as 06.In turn, the variation of the frequency of frequency 1 to frequency 2 and software package are identified 01 and corresponding is stored in frequency mark
Know table in, similarly, by other frequencies variation it is corresponding with corresponding software package mark be stored in Frequency Identification table, for subsequent
According to frequency variation query software packet mark.
Signal generating module in 202. starting mobile terminals, makes the signal of signal generating module output variable frequency.
Become it should be noted that the signal generating module in different types of mobile terminal exports different signal frequencies
Change, with software package needed for distinguishing mobile terminal.
The frequency variation of 203. detection signal generating module output signals, and corresponding software package is identified according to frequency variation
Mark.
For example, detecting that the frequency of signal generating module output signal changes to frequency 3 by frequency 1, then frequency can be inquired
Rate identifies table, identifies that frequency 1 changes to the corresponding software package of frequency 3 and is identified as 02.
204. control signal generating modules stop working, and load software package identifies corresponding software on mobile terminals
Packet.
It should be noted that mobile terminal manufacturer often derives on same hardware and software platform to reduce production cost
A plurality of mobile terminals.For example, the discrepancy of four sections of mobile terminals is on the first device, the second device and third device.Wherein,
One device has for one, for two, for three or three suppliers, the second device has for one, for two Liang Jia suppliers, and third device has confession
One, for two, for three, for four or four suppliers, the device used needed for this four sections of mobile terminals is as follows: mobile terminal one is used
For one the first device, using the second device for two, using the third device for three, corresponding software package is identified as 01;It moves
Dynamic terminal two uses the third device for four, corresponding software using the second device for one using the first device for three
Packet is identified as 04;Mobile terminal three uses the third device for one using the second device for two using the first device for three
Part, corresponding software package are identified as 05;Mobile terminal four is used using the first device for two using the second device for two
For two third device, corresponding software package is identified as 06.
Mobile terminal one uses the first signal generating module, and using second signal module occurs for mobile terminal two, mobile whole
End three uses third signal generating module, and using fourth signal module occurs for mobile terminal four.And the first signal generating module is defeated
The frequency of signal is frequency 2 by the variation of frequency 1 out, and the frequency that module output signal occurs for second signal is changed by frequency 2 as frequency
Rate 3, the frequency of third signal generating module output signal are frequency 1 by the variation of frequency 3, and module output signal occurs for fourth signal
Frequency by frequency 3 variation be frequency 2.
Being changed in the frequency for detecting the first signal generating module output signal in mobile terminal one by frequency 1 is frequency
When 2, inquiry obtains corresponding software package and is identified as 01 from Frequency Identification table, to obtain the first device for one, for two
Second device, for three third device relevant information, on mobile terminal one load corresponding device driver, i.e., it is soft
Part packet.Being changed in the frequency for detecting the second signal generation module output signal in mobile terminal two by frequency 2 is frequency 3
When, inquiry obtains corresponding software package and is identified as 04 from Frequency Identification table, thus obtain the first device for three, for one the
Two devices, for four third device relevant information, on mobile terminal two load corresponding device driver.Similarly,
Corresponding software package is loaded in mobile terminal three and mobile terminal four.
It can be seen from the above, the loading method of mobile terminal software packet provided by the present application, is able to detect signal generating module
The frequency of output changes, and identifies that corresponding software package identifies according to frequency variation, to be identified according to software package in mobile terminal
Software package needed for upper accurate load.
The method according to described in above-described embodiment, the present embodiment will be from the angles of the loading device of mobile terminal software packet
It is further described below, the loading device of the mobile terminal software packet can integrate in the terminal, and mobile terminal can wrap
Include mobile phone, tablet computer etc..
Referring to Fig. 3, the loading device of mobile terminal software packet provided by the embodiments of the present application has been described in detail in Fig. 3, it should
The loading device of mobile terminal software packet may include: frequency detection module 10, enquiry module 20 and loading module 30, in which:
(1) frequency detection module 10
Frequency detection module 10, the frequency for detecting the signal generating module output signal change.
In the present embodiment, frequency detection module 10 is integrated in the controller of mobile terminal, the GPIO1 pin of controller with
The OUT pin of signal generating module connects.Described device further includes signal control module 40, signal control module 40 respectively with letter
Number occur module, frequency detection module 10 connect.After signal control module 40, which controls signal generating module, starts to work, pass through
Be arranged GPIO1 locate signal rising edge interrupt, and obtain twice in succession signal rising edge interruption between time difference, inverted meter
The frequency of signal generating module output signal is calculated, and then detects the frequency variation of signal generating module output signal.
Specifically, the frequency detection module 10 includes:
Frequency acquisition unit, when for often detecting that the signal generating module exports an echo signal, described in acquisition
Time difference between the interruption of the rising edge or failing edge of echo signal and previous output signal, and the time difference is taken down
Number, the frequency of the echo signal is exported as the signal generating module;And
Frequency changes acquiring unit, and the frequency variation of multiple echo signals is exported for obtaining the signal generating module.
(2) enquiry module 20
Enquiry module 20 obtains the corresponding software package mark of the frequency variation for inquiring from preset Frequency Identification table
Know.
Further, the frequency variation includes that frequency is changed by first frequency as second frequency;
The enquiry module 20 includes:
Whether detection unit is preset effective frequency for detecting the first frequency and the second frequency;
Query unit, for determining institute when the first frequency and the second frequency are preset effective frequency
It is working properly to state signal generating module, it is described second that inquiry, which obtains the first frequency variation, from preset Frequency Identification table
The corresponding software package mark of frequency;And
Prompt unit, for when detecting the first frequency or the second frequency is not preset effective frequency,
Determine that the signal generating module operation irregularity, Xiang Suoshu mobile terminal send prompt information.
(3) loading module 30
Loading module 30 identifies corresponding software package for loading the software package in the mobile terminal.
Further, described device further include:
Setup module, for any one effective frequency to be arranged in preset effective frequency to the frequency of another effective frequency
Rate variation;
Distribution module distributes unique software package mark for each frequency variation to setting;And
Preserving module, for each frequency variation of setting corresponding with its software package mark to be stored in the Frequency Identification
In table.
It can be seen from the above, the loading device of mobile terminal software packet provided by the present application, is able to detect signal generating module
The frequency of output changes, and identifies that corresponding software package identifies according to frequency variation, to be identified according to software package in mobile terminal
Software package needed for upper accurate load;Whether the frequency for detecting signal generating module output is effective frequency, to detect signal hair
Whether raw module is damaged, error detection caused by avoiding signal generating module from damaging, and further increases soft needed for mobile terminal load
The accuracy of part packet.
In addition, the embodiment of the present application also provides a kind of mobile terminal, which can be smart phone, tablet computer
Etc. equipment.As shown in figure 4, mobile terminal 400 includes processor 401, memory 402.Wherein, processor 401 and memory 402
It is electrically connected.
Processor 401 is the control centre of mobile terminal 400, utilizes various interfaces and the entire mobile terminal of connection
Various pieces by the application program of operation or load store in memory 402, and are called and are stored in memory 402
Data, execute mobile terminal various functions and processing data, thus to mobile terminal carry out integral monitoring.
In the present embodiment, processor 401 in mobile terminal 400 can according to following step, by one or one with
On the corresponding instruction of process of application program be loaded into memory 402, and be stored in memory by processor 401 to run
Application program in 402, to realize various functions:
Detect the frequency variation of the signal generating module output signal;
Inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table;
The software package is loaded in the mobile terminal identifies corresponding software package.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.The mobile terminal 300 can
To include RF circuit 310, memory 320, the input unit for including one or more computer readable storage medium
330, display unit 340, sensor 350, voicefrequency circuit 360, loudspeaker 361, microphone 362, transmission module 370, include
The components such as the processor 380 and power supply 390 of one or more than one processing core.It will be understood by those skilled in the art that
Mobile terminal structure shown in Fig. 5 does not constitute the restriction to mobile terminal, may include than illustrating more or fewer portions
Part perhaps combines certain components or different component layouts.
RF circuit 310 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave
News network or other equipment are communicated.RF circuit 310 may include various existing for executing the circuit elements of these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuit 310 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple
Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time
Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE
802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Memory 320 can be used for storing software program and module, as in above-described embodiment mobile terminal software packet plus
Corresponding program instruction/the module of support method, device, processor 380 by the software program that is stored in memory 320 of operation with
And module realizes the load function of mobile terminal software packet thereby executing various function application and data processing.Memory
320 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, memory 320 can further comprise relative to processor
380 remotely located memories, these remote memories can pass through network connection to mobile terminal 300.The reality of above-mentioned network
Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 330 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 330 may include touching
Sensitive surfaces 331 and other input equipments 332.Touch sensitive surface 331, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 331 or near touch sensitive surface 331), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 331 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 380, and can receive processor 380
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 331.In addition to touch sensitive surface 331, input unit 330 can also include other input equipments 332.Specifically,
Other input equipments 332 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or the information and mobile terminal that are supplied to user
300 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai
It constitutes.Display unit 340 may include display panel 341, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 341.Further, touch sensitive surface 331 can cover display panel 341, when touch sensitive surface 331 detect on it or near
Touch operation after, send processor 380 to determine the type of touch event, be followed by subsequent processing device 380 according to touch event
Type provides corresponding visual output on display panel 341.Although in Fig. 5, touch sensitive surface 331 is with display panel 341
Output and input function as two independent components to realize, but in some embodiments it is possible to by touch sensitive surface 331 with
Display panel 341 is integrated and realizes and outputs and inputs function.
Mobile terminal 300 may also include at least one sensor 350, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 341, proximity sensor can when mobile terminal 300 is moved in one's ear,
Close display panel 341 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 300 etc. other
Sensor, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361 and microphone 362, microphone 362 can provide between user and mobile terminal 300
Audio interface.Electric signal after the audio data received conversion can be transferred to loudspeaker 361, by raising by voicefrequency circuit 360
Sound device 361 is converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, by sound
Frequency circuit 360 is converted to audio data after receiving, then by after the processing of audio data output processor 380, through RF circuit 310 to send out
Such as another terminal is given, or audio data is exported to memory 320 to be further processed.Voicefrequency circuit 360 may be used also
It can include earphone jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 300.
Mobile terminal 300 can help user send and receive e-mail, is clear by transmission module 370 (such as Wi-Fi module)
Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 5 shows transmission mould
Block 370, but it is understood that, and it is not belonging to must be configured into for mobile terminal 300, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 380 is the control centre of mobile terminal 300, utilizes each of various interfaces and connection whole mobile phone
Part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in memory
Data in 320 execute the various functions and processing data of mobile terminal 300, to carry out integral monitoring to mobile phone.It is optional
, processor 380 may include one or more processing cores;In some embodiments, processor 380 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 380.
Mobile terminal 300 further includes the power supply 390 (such as battery) powered to all parts, in some embodiments, electricity
Source can be logically contiguous by power-supply management system and processor 380, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.Power supply 390 can also include one or more direct current or AC power source, recharge
The random components such as system, power failure detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 300 can also include camera (such as front camera, rear camera), bluetooth
Module etc., details are not described herein.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, mobile whole
End further includes having memory and one perhaps more than one program one of them or more than one program being stored in and deposits
In reservoir, and it is configured to execute one or more than one program by one or more than one processor to include for carrying out
The instruction operated below:
Detect the frequency variation of the signal generating module output signal;
Inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table;
The software package is loaded in the mobile terminal identifies corresponding software package.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein storing
There is a plurality of instruction, which can be loaded by processor, any mobile whole provided by the embodiment of the present invention to execute
Hold the step in the loading method of software package.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, can execute any mobile whole provided by the embodiment of the present invention
The step in the loading method of software package is held, it is thereby achieved that any mobile terminal provided by the embodiment of the present invention is soft
Beneficial effect achieved by the loading method of part packet is detailed in the embodiment of front, and details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
It is to sum up somebody's turn to do, although the application is disclosed above with preferred embodiment, above preferred embodiment is not to limit
The application, those skilled in the art are not departing from spirit and scope, can make various changes and profit
Decorations, therefore the protection scope of the application subjects to the scope of the claims.
Claims (10)
1. a kind of loading method of mobile terminal software packet, which is characterized in that the mobile terminal includes signal generating module, institute
The method of stating includes:
Detect the frequency variation of the signal generating module output signal;
Inquiry obtains the corresponding software package mark of the frequency variation from preset Frequency Identification table;
The software package is loaded in the mobile terminal identifies corresponding software package.
2. the loading method of mobile terminal software packet according to claim 1, which is characterized in that the detection signal
The frequency variation that module output signal occurs, specifically includes:
When often detecting that the signal generating module exports an echo signal, obtains the echo signal and previous output is believed
Number rising edge or failing edge interrupt between time difference, and it is inverted to the time difference, as the signal generating module
Export the frequency of the echo signal;
Obtain the frequency variation that the signal generating module exports multiple echo signals.
3. the loading method of mobile terminal software packet according to claim 1, which is characterized in that the frequency, which changes, includes
Frequency is second frequency by first frequency variation;
The inquiry from preset Frequency Identification table obtains the frequency and changes corresponding software package mark, specifically includes:
Detect whether the first frequency and the second frequency are preset effective frequency;
If so, determining that the signal generating module is working properly, inquiry obtains described first from preset Frequency Identification table
Frequency variation is the corresponding software package mark of the second frequency.
4. the loading method of mobile terminal software packet according to claim 3, which is characterized in that the method also includes:
When detecting the first frequency or the second frequency is not preset effective frequency, determine that mould occurs for the signal
Block operation irregularity, Xiang Suoshu mobile terminal send prompt information.
5. the loading method of mobile terminal software packet according to claim 1, which is characterized in that described from preset frequency
Rate identifies the inquiry acquisition frequency in table and changes before corresponding software package mark, further includes:
The frequency that any one effective frequency to another effective frequency in preset effective frequency is arranged changes;
Unique software package mark is distributed to each frequency variation of setting;
Each frequency of setting is changed into be stored in the Frequency Identification table corresponding with its software package mark.
6. a kind of loading device of mobile terminal software packet, which is characterized in that the mobile terminal includes signal generating module, institute
Stating device includes:
Frequency detection module, the frequency for detecting the signal generating module output signal change;
Enquiry module obtains the corresponding software package mark of the frequency variation for inquiring from preset Frequency Identification table;With
And
Loading module identifies corresponding software package for loading the software package in the mobile terminal.
7. the loading device of mobile terminal software packet according to claim 6, which is characterized in that the frequency detection module
Include:
Frequency acquisition unit obtains the target when for often detecting that the signal generating module exports an echo signal
Time difference between signal and the interruption of the rising edge or failing edge of previous output signal, and it is inverted to the time difference, make
The frequency of the echo signal is exported for the signal generating module;And
Frequency changes acquiring unit, and the frequency variation of multiple echo signals is exported for obtaining the signal generating module.
8. the loading device of mobile terminal software packet according to claim 6, which is characterized in that the frequency, which changes, includes
Frequency is second frequency by first frequency variation;
The enquiry module includes:
Whether detection unit is preset effective frequency for detecting the first frequency and the second frequency;
Query unit, for determining the letter when the first frequency and the second frequency are preset effective frequency
Number occur that module is working properly, and it is the second frequency that inquiry, which obtains first frequency variation, from preset Frequency Identification table
Corresponding software package mark;And
Prompt unit, for determining when detecting the first frequency or the second frequency is not preset effective frequency
The signal generating module operation irregularity, Xiang Suoshu mobile terminal send prompt information.
9. the loading device of mobile terminal software packet according to claim 6, which is characterized in that described device further include:
Setup module, the frequency for any one effective frequency to another effective frequency in preset effective frequency to be arranged become
Change;
Distribution module distributes unique software package mark for each frequency variation to setting;And
Preserving module, for each frequency variation of setting corresponding with its software package mark to be stored in the Frequency Identification table
In.
10. a kind of computer readable storage medium, which is characterized in that be stored with a plurality of instruction, the finger in the storage medium
It enables and is suitable for loading the loading method for requiring 1 to 5 described in any item mobile terminal software packets with perform claim by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910693321.7A CN110457180B (en) | 2019-07-30 | 2019-07-30 | Method and device for loading mobile terminal software package and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910693321.7A CN110457180B (en) | 2019-07-30 | 2019-07-30 | Method and device for loading mobile terminal software package and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110457180A true CN110457180A (en) | 2019-11-15 |
CN110457180B CN110457180B (en) | 2024-04-26 |
Family
ID=68483992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910693321.7A Active CN110457180B (en) | 2019-07-30 | 2019-07-30 | Method and device for loading mobile terminal software package and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110457180B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222183A (en) * | 2011-04-28 | 2011-10-19 | 奇智软件(北京)有限公司 | Mobile terminal software package safety detection method and system thereof |
JP2015152976A (en) * | 2014-02-10 | 2015-08-24 | Kddi株式会社 | Communication frequency estimation apparatus, communication frequency estimation system, mobile communication terminal device, communication frequency estimation method, and computer program |
US20150304440A1 (en) * | 2013-06-28 | 2015-10-22 | Tencent Technology (Shenzhen) Company Limited | Systems and Methods for Pushing Applications |
WO2016086654A1 (en) * | 2014-12-03 | 2016-06-09 | 广州广电运通金融电子股份有限公司 | Remote upgrade method and system for software on self-service terminal, and upgrade package creation method |
CN105758441A (en) * | 2016-02-16 | 2016-07-13 | 惠州Tcl移动通信有限公司 | Mobile terminal board type detection method and system |
WO2018094839A1 (en) * | 2016-11-25 | 2018-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for installing preloaded application of mobile terminal |
-
2019
- 2019-07-30 CN CN201910693321.7A patent/CN110457180B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222183A (en) * | 2011-04-28 | 2011-10-19 | 奇智软件(北京)有限公司 | Mobile terminal software package safety detection method and system thereof |
US20150304440A1 (en) * | 2013-06-28 | 2015-10-22 | Tencent Technology (Shenzhen) Company Limited | Systems and Methods for Pushing Applications |
JP2015152976A (en) * | 2014-02-10 | 2015-08-24 | Kddi株式会社 | Communication frequency estimation apparatus, communication frequency estimation system, mobile communication terminal device, communication frequency estimation method, and computer program |
WO2016086654A1 (en) * | 2014-12-03 | 2016-06-09 | 广州广电运通金融电子股份有限公司 | Remote upgrade method and system for software on self-service terminal, and upgrade package creation method |
CN105758441A (en) * | 2016-02-16 | 2016-07-13 | 惠州Tcl移动通信有限公司 | Mobile terminal board type detection method and system |
WO2018094839A1 (en) * | 2016-11-25 | 2018-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for installing preloaded application of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110457180B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107094294B (en) | Network connection method and device | |
CN106340925B (en) | A kind of charge control method, device and terminal | |
WO2016127795A1 (en) | Service processing method, server, and terminal | |
CN107465841B (en) | Fault information reporting method and terminal | |
CN104519485A (en) | Communication method between terminals, devices and system | |
CN107423099B (en) | Key code programming method, server, terminal, key code programming system and storage medium | |
US9961177B2 (en) | Method and device for adding contact information | |
CN104426963A (en) | Terminal associating method and terminal | |
CN103489303A (en) | Remote control method and device | |
CN105138239A (en) | Application operation method and device and terminal device | |
CN110830127B (en) | Radio frequency parameter processing method and device, mobile terminal and storage medium | |
CN106500751B (en) | The calibration method and mobile terminal of proximity sensor | |
CN109413256B (en) | Contact person information processing method and device, storage medium and electronic equipment | |
CN106484141B (en) | The setting method and mobile terminal of threshold value | |
CN112199246A (en) | Terminal testing method and device, storage medium and mobile terminal | |
CN106020945B (en) | Shortcut item adding method and device | |
CN105162670B (en) | Routing device connection method and device | |
CN109348425B (en) | Positioning information updating method, device, equipment and storage medium | |
CN110062074A (en) | Display screen detection method, device, mobile terminal and storage medium | |
CN108737619A (en) | A kind of call control method of terminal, device and terminal | |
CN110849407B (en) | Sensor testing method and device, storage medium and electronic equipment | |
CN110457180A (en) | Loading method, device and the storage medium of mobile terminal software packet | |
CN112286849A (en) | Wireless charging base data switching method and system, storage medium and terminal equipment | |
CN113961380A (en) | Cross-application repair method, device, equipment and storage medium | |
CN105279225A (en) | Method and device for establishing communication group |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240401 Address after: 404-6, Floor 4, Building A, Management Center, No. 1, Qihui Avenue Road, Liuwu New District, Lhasa, Xizang Autonomous Region, 850000 Applicant after: Xizang Songyan Technology Co.,Ltd. Country or region after: China Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Applicant before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. Country or region before: China |
|
GR01 | Patent grant | ||
GR01 | Patent grant |