CN110309374A - A kind of analytic method, system, terminal device and computer readable storage medium - Google Patents
A kind of analytic method, system, terminal device and computer readable storage medium Download PDFInfo
- Publication number
- CN110309374A CN110309374A CN201910431553.5A CN201910431553A CN110309374A CN 110309374 A CN110309374 A CN 110309374A CN 201910431553 A CN201910431553 A CN 201910431553A CN 110309374 A CN110309374 A CN 110309374A
- Authority
- CN
- China
- Prior art keywords
- character string
- target code
- matching degree
- memory
- analysis request
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90344—Query processing by using string matching techniques
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application involves a kind of analytic method, system, terminal device and computer readable storage mediums, it the described method comprises the following steps: receiving analysis request, and the parameter information of the memory chip carried in the analysis request is obtained, the parameter information includes at least one character string;Judge whether there is target code corresponding with each character string;Target code corresponding with each character string if it exists then feeds back parsing result corresponding with the analysis request, carries the target code in the parsing result.The application is encoded by saving the parsing of memory chip in advance in the database, corresponding target code is obtained according to the character string for the memory chip to be parsed in analysis request, improve the code parsing efficiency of memory chip, increase parsing accuracy rate, time and human cost have been saved, code identification, management and the application of memory chip can be more easily carried out.
Description
Technical field
This application involves field of computer technology more particularly to a kind of analytic method, system, terminal device and computer can
Read storage medium.
Background technique
DRAM (Dynamic Random Access Memory, dynamic random access memory) is a kind of most common
Installed System Memory, can by check Installed System Memory storage memory grain model, and parsing memory grain model, according to solution
The meaning for analysing obtained each numerical digit carrys out the amount of capacity of computing system memory.
The model analytic method of existing memory grain is usually the Technical specification and memory according to memory grain
The model name rule of grain is manually parsed, according to parsing result, by the model storage of obtained memory grain to database
It is managed, existing this artificial analytic method is there are analyzing efficiency and parsing accuracy rate is lower and human cost is higher
The shortcomings that.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides a kind of solutions
Analysis method, system, terminal device and computer readable storage medium.
In view of this, in a first aspect, the described method comprises the following steps this application provides a kind of analytic method:
Analysis request is received, and obtains the parameter information of the memory chip carried in the analysis request, the parameter letter
Breath includes at least one character string;
Judge whether there is target code corresponding with each character string;
If it exists, then parsing result corresponding with the analysis request is fed back, carries the mesh in the parsing result
Mark coding.
With reference to first aspect, in first aspect in the first possible embodiment, it is described judge whether there is with it is each
Before the corresponding target code of the character string further include:
Each character string is split according to different coding rule, is obtained corresponding with each coding rule
Multiple substrings.
With reference to first aspect, in second of first aspect possible embodiment, it is described judge whether there is with it is each
The corresponding target code of the character string further include:
Search the mapping table of default substring and pre-arranged code;
Each substring is successively matched with the default substring in the mapping table, obtain to
A few matching degree;
Judge whether each matching degree meets the matching degree threshold value of setting;
If each matching degree meets the matching degree threshold value of setting, it is determined that exist corresponding with each character string
Target code.
With reference to first aspect, in first aspect in the third possible embodiment, the method also includes:
Detect whether that receiving format generates request;
If receiving the format generates request, obtains the format and generate the object format carried in request;
It sends the parsing result in file corresponding with the object format;
The parsing result in the file is shown in the designated position of graphical interfaces.
With reference to first aspect, in the 4th kind of possible embodiment of first aspect, the method also includes:
If not receiving the format generates request, the parsing knot is directly displayed in the designated position of graphical interfaces
Fruit.
Second aspect, this application provides a kind of resolution system, the system comprises:
Acquiring unit is configured to receive analysis request, and obtains the ginseng of the memory chip carried in the analysis request
Number information, the parameter information includes at least one character string;
Judging unit is configured to judge whether there is target code corresponding with each character string;
Feedback unit is configured to target code corresponding with each character string if it exists, then feedback and the solution
Corresponding parsing result is requested in analysis, carries the target code in the parsing result.
In conjunction with second aspect, in second aspect in the first possible embodiment, before the judging unit further include:
Cutting unit is configured to be split each character string according to different coding rule, obtain with it is each
The corresponding multiple substrings of the coding rule.
In conjunction with second aspect, in second of second aspect possible embodiment, the judging unit further include:
Subelement is searched, is configured to search the mapping table of default substring and pre-arranged code;
Coupling subelement, be configured to by each substring successively with the pre-arranged code in the mapping table
It is matched, obtains at least one matching degree;
Judgment sub-unit is configured to judge the matching degree threshold value whether each matching degree reaches setting;
Subelement is determined, if being configured to the matching degree threshold value that each matching degree reaches setting, it is determined that exist with
The corresponding target code of each character string.
Third invention, this application provides a kind of terminal device, the terminal device includes: at least one processor, deposits
Reservoir, at least one network interface and user interface;
At least one described processor, memory, at least one network interface and user interface are coupled by bus system
Together;
The program or instruction that the processor is stored by the calling memory, for executing as described in relation to the first aspect
The step of analytic method.
Fourth aspect, this application provides a kind of computer readable storage medium, on the computer readable storage medium
The step of being stored with analysis program, analytic method as described in relation to the first aspect realized when the analysis program is executed by processor.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
A kind of analytic method, system, terminal device and computer readable storage medium provided by the embodiments of the present application, the party
Method obtains the parameter information of the memory chip carried in analysis request by receiving analysis request, and parameter information includes at least
One character string;Judge whether there is target code corresponding with each character string;Mesh corresponding with each character string if it exists
Mark coding then feeds back parsing result corresponding with analysis request, carries target code in the parsing result.The application by
The parsing coding for saving memory chip in database in advance, obtains according to the character string for the memory chip to be parsed in analysis request
Corresponding target code improves the code parsing efficiency of memory chip, increases parsing accuracy rate, saved time and manpower
Cost can more easily carry out code identification, management and the application of memory chip.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
The hardware configuration signal of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is a kind of flow diagram for analytic method that the application one embodiment provides;
Fig. 3 is a kind of flow diagram for analytic method that another embodiment of the application provides;
Fig. 4 is a kind of flow diagram for analytic method that another embodiment of the application provides;
Fig. 5 is a kind of structural schematic diagram of resolution system provided by one embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided by one embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
It is a kind of analytic method provided by one embodiment of the present invention referring to Fig. 2, Fig. 2, it may include following steps S201 is extremely
Step S204:
S201, analysis request is received, and obtains the parameter information of the memory chip carried in analysis request, parameter information packet
Include at least one character string.
The analysis request of received server-side mobile terminal, and the user carried in analysis request is obtained in mobile terminal
The parameter information of the memory chip of the input window input of graphical interfaces, the parameter information are the letter for describing memory chip
Breath, the parameter information can be used to describe the character string of memory chip, the input mode of multiple character strings for one or more
Including but not limited to: interval input, line feed input etc., e.g., user inputs two character strings in input window, wherein the first word
Symbol string is absvm, and the second character string is zvml, can input several spaces, so after having inputted the first character string absvm
Input the second character string zvml again afterwards;It can also change to next line after having inputted the first character string absvm and input the second character
Go here and there zvml, the embodiment of the present application to the input modes of multiple character strings without limitation.
Memory chip is a kind of for storing up stored electronic product, is parsed, is obtained by the coding to memory chip
To the meaning of each main numerical digit of coding, the memory chip, e.g., each number of the coding of some memory chip can be identified
The meaning of position are as follows: the 1st --- chip functions K, representative are memory chips;2nd --- chip type 4 represents DRAM;3rd
Position --- the further type declaration of chip, S, which represents SDRAM, H and represents DDR, G, represents SGRAM;4th, 5 --- capacity
And refresh rate, the identical memory of capacity use different refresh rates, also will use different numbers, 64,62,63,65,
66,67,6A represents the capacity of 64Mbit;28,27,2A represents the capacity of 128Mbit;56,55,57,5A represents the appearance of 256Mbit
Amount;51 represent the capacity of 512Mbit.6th, 7 --- data wire pin number, 08 represents 8 data;16 represent 16 digits
According to;32 represent 32 data;64 represent 64 data.11st --- line "-".14th, 15 --- the rate of chip, such as
60 be 6ns;70 be 7ns;7B is 7.5ns (CL=3);7C is 7.5ns (CL=2);80 be 8ns;10 be 10ns (66MHz).
The capacity of the memory chip, e.g., a DDR memory can also be calculated according to the meaning of the certain numerical digits of memory chip
Chip is encapsulated using 16 samsungk4h280838b-tcb0 particles, and the 4th, 5 " 28 " of coding, which represents the memory chip, is
128mbits, it is 8 data bandwidths that the 6th, 7 " 08 ", which represents the memory chip, we can calculate the memory chip in this way
Capacity be 128mbits (million numerical digits) × 16/8bits=256mb (Mbytes).Wherein, " bit " is " numerical digit ", and " b " is
Byte " byte ", a byte are when 8 data bandwidths then calculate divided by 8.
S202, target code corresponding with each character string is judged whether there is, and if it exists, then follow the steps S203;It is no
Then, step S204 is executed.
S203, feedback parsing result corresponding with analysis request carry target code in parsing result.
Optionally, the position for determining the display window in graphical interfaces, shows in parsing result in display window and carries
Target code.
S204, end.
A kind of analytic method provided by the embodiments of the present application by receiving analysis request, and is obtained in analysis request and is carried
Memory chip parameter information, parameter information includes at least one character string;It judges whether there is corresponding with each character string
Target code;Target code corresponding with each character string if it exists then feeds back parsing result corresponding with analysis request, should
Target code is carried in parsing result.The application is encoded by saving the parsing of memory chip in advance in the database, according to
The character string for the memory chip to be parsed in analysis request obtains corresponding target code, improves the code parsing of memory chip
Efficiency increases parsing accuracy rate, has saved time and human cost, and the coding that can more easily carry out memory chip is known
Not, management and application.
Referring to Fig. 3, Fig. 3 is a kind of analytic method that another embodiment of the present invention provides, this method implementation shown in Fig. 2
On the basis of example, comprising the following steps:
S301, analysis request is received, and obtains the parameter information of the memory chip carried in analysis request, parameter information packet
Include at least one character string.
S302, each character string is split according to different coding rule, is obtained corresponding with each coding rule more
A substring.
Such as, according to the first coding rule, the first character string absvm is split, obtained multiple substrings are
Ab and svm is split the second character string zvml, and obtained multiple substrings are z and vml;It is advised according to second of coding
Then the first character string absvm is split, obtained multiple substrings are a and bsvm, are carried out to the second character string zvml
Segmentation, obtained multiple substrings are zv and ml;Absvm segmentation is carried out to the first character string according to the third coding rule,
Obtained multiple substrings be ab, sv and m, the second character string zvml is split, obtained multiple substrings be z,
V, ml etc..Optionally, above-mentioned character string can be split using specified separator, it can also be according to other coding rules pair
Character string is split, and the embodiment of the present application does not limit this.
S303, the mapping table for searching default substring and pre-arranged code.
The corresponding relationship of default substring and pre-arranged code is previously stored in the mapping table of the embodiment of the present application,
The mapping table facilitates the string segmentation for inputting the keyword with user to obtain using specific substring as keyword
To substring matched to obtain corresponding parsing result.
S304, each substring is successively matched with the default substring in mapping table, is obtained at least
One matching degree.
S305, judge whether each matching degree meets the matching degree threshold value of setting, if so, executing step S306;Otherwise, it holds
Row step S308.
Such as, for the matching degree threshold value set as 80%, the substring that the first character string absvm is divided is ab and svm,
The substring that second character string zvml is divided is z and vml, and the default substring in ab and mapping table is carried out
Matching, the first obtained matching degree are 82%;Default substring in svm and corresponding relationship is matched, obtained
Two matching degrees are 85%;Default substring in z and mapping table is matched, obtained third matching degree is
86%;Default substring in vml and mapping table is matched, the 4th obtained matching degree is 90%;Due to
One matching degree, the second matching degree, third matching degree and the 4th matching degree are all larger than the matching degree threshold value that sets as 80%, it is determined that
Each matching degree meets the matching degree threshold value of setting.
S306, it determines there is target code corresponding with each character string, executes step S307.
S307, feedback parsing result corresponding with analysis request carry target code in parsing result.
Optionally, which is corresponding with the matched default substring of each substring in mapping table
Coding.
S308, it determines there is no target code corresponding with each character string, executes step S309.
S309, end.
Referring to Fig. 4, Fig. 4 is a kind of analytic method that another embodiment of the invention provides, this method implementation shown in Fig. 2
On the basis of example, comprising the following steps:
S401, analysis request is received, and obtains the parameter information of the memory chip carried in analysis request, parameter information packet
Include at least one character string.
S402, target code corresponding with each character string is judged whether there is, and if it exists, execute step S403;Otherwise
Execute step S408.
S403, detect whether that receiving format generates request, if so, executing step S404;Otherwise, step S407 is executed.
S404, the object format carried in format generation request is obtained.
Optionally, object format includes but is not limited to txt format.
S405, will and the corresponding parsing result of analysis request be sent in file corresponding with object format, parsing result
In carry target code.
Such as, it sends parsing result in the file of txt format.
S406, the parsing result in file is shown in the designated position of graphical interfaces.
S407, parsing result is directly displayed in the designated position of graphical interfaces.
S408, end.
It is a kind of resolution system that another embodiment of the application provides referring to Fig. 5, Fig. 5, system includes:
Acquiring unit 11 is configured to receive analysis request, and obtains the parameter of the memory chip carried in analysis request
Information, parameter information include at least one character string;
Judging unit 12 is configured to judge whether there is target code corresponding with each character string;
Feedback unit 13 is configured to target code corresponding with each character string if it exists, then feedback and analysis request
Corresponding parsing result carries target code in parsing result.
In another embodiment of the application, before judging unit 12 further include:
Cutting unit is configured to be split each character string according to different coding rule, obtain and each coding
The corresponding multiple substrings of rule.
In another embodiment of the application, judging unit 12 further include:
Subelement is searched, is configured to search the mapping table of default substring and pre-arranged code;
Coupling subelement, be configured to by each substring successively in mapping table pre-arranged code carry out
Match, obtains at least one matching degree;
Judgment sub-unit is configured to judge the matching degree threshold value whether each matching degree reaches setting;
Subelement is determined, if being configured to the matching degree threshold value that each matching degree reaches setting, it is determined that exist with it is each
The corresponding target code of character string.
The embodiment of the present invention also provides a kind of computer readable storage medium, and solution is stored on computer readable storage medium
Program is analysed, the method as provided by each method embodiment is realized when analysis program is executed by processor, for example,
Analysis request is received, and obtains the parameter information of the memory chip carried in analysis request, parameter information includes extremely
A few character string;
Judge whether there is target code corresponding with each character string;
Target code corresponding with each character string if it exists then feeds back parsing result corresponding with analysis request, parsing
As a result target code is carried in.
Fig. 6 is the structural schematic diagram for the mobile terminal that another embodiment of the present invention provides.Mobile terminal shown in fig. 6
600 include: at least one processor 601, memory 602, at least one network interface 604 and other users interface 603.It is mobile
Various components in terminal 600 are coupled by bus system 605.It is understood that bus system 605 is for realizing these groups
Connection communication between part.Bus system 605 further includes power bus, control bus and state in addition to including data/address bus
Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 605 in Fig. 6.
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).Memory 602 described herein is intended to include but is not limited to these to be suitble to any other
The memory of type.
In some embodiments, memory 602 stores following element, and unit or data structure can be performed, or
Their subset of person or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 402 to store, specifically, can be application
The program or instruction stored in program 6022, processor 401 are used to execute method and step provided by each method embodiment, such as
Include:
Analysis request is received, and obtains the parameter information of the memory chip carried in analysis request, parameter information includes extremely
A few character string;
Judge whether there is target code corresponding with each character string;
Target code corresponding with each character string if it exists then feeds back parsing result corresponding with analysis request, parsing
As a result target code is carried in.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601.
Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in 5 processors 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software unit combination execute completion.Software unit can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 602, and processor 601 reads the information in memory 602, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP),
Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD),
Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller
In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the techniques described herein can be realized by executing the unit of function described herein.Software generation
Code is storable in memory and is executed by processor.Memory can in the processor or portion realizes outside the processor.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of analytic method, which is characterized in that the described method comprises the following steps:
Analysis request is received, and obtains the parameter information of the memory chip carried in the analysis request, the parameter information packet
Include at least one character string;
Judge whether there is target code corresponding with each character string;
Target code corresponding with each character string if it exists, then feed back parsing result corresponding with the analysis request,
The target code is carried in the parsing result.
2. the method according to claim 1, wherein it is described judge whether there is it is corresponding with each character string
Target code before further include:
Each character string is split according to different coding rule, is obtained corresponding multiple with each coding rule
Substring.
3. according to the method described in claim 2, it is characterized in that, it is described judge whether there is it is corresponding with each character string
Target code further include:
Search the mapping table of default substring and pre-arranged code;
Each substring is successively matched with the default substring in the mapping table, obtains at least one
A matching degree;
Judge whether each matching degree meets the matching degree threshold value of setting;
If each matching degree meets the matching degree threshold value of setting, it is determined that there is target corresponding with each character string
Coding.
4. the method according to claim 1, wherein the method also includes:
Detect whether that receiving format generates request;
If receiving the format generates request, obtains the format and generate the object format carried in request;
It sends the parsing result in file corresponding with the object format;
The parsing result in the file is shown in the designated position of graphical interfaces.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If not receiving the format generates request, the parsing result is directly displayed in the designated position of graphical interfaces.
6. a kind of resolution system, which is characterized in that the system comprises:
Acquiring unit is configured to receive analysis request, and obtains the parameter letter of the memory chip carried in the analysis request
Breath, the parameter information includes at least one character string;
Judging unit is configured to judge whether there is target code corresponding with each character string;
Feedback unit is configured to target code corresponding with each character string if it exists, then feedback is asked with the parsing
Corresponding parsing result is sought, the target code is carried in the parsing result.
7. system according to claim 6, which is characterized in that before the judging unit further include:
Cutting unit is configured to be split each character string according to different coding rule, obtain with it is each described
The corresponding multiple substrings of coding rule.
8. system according to claim 7, which is characterized in that the judging unit further include:
Subelement is searched, is configured to search the mapping table of default substring and pre-arranged code;
Coupling subelement is configured to successively carry out each substring with the pre-arranged code in the mapping table
Matching, obtains at least one matching degree;
Judgment sub-unit is configured to judge the matching degree threshold value whether each matching degree reaches setting;
Subelement is determined, if being configured to the matching degree threshold value that each matching degree reaches setting, it is determined that exist with it is each
The corresponding target code of the character string.
9. a kind of terminal device, which is characterized in that the terminal device include: at least one processor, memory, at least one
Network interface and user interface;
At least one described processor, memory, at least one network interface and user interface are coupled in one by bus system
It rises;
The processor is used to execute as any in claim 1 to 5 by the program or instruction of calling the memory to store
The step of analytic method described in one.
10. a kind of computer readable storage medium, which is characterized in that be stored with parsing journey on the computer readable storage medium
Sequence, the step of analytic method as described in any one of claims 1 to 5 is realized when the analysis program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431553.5A CN110309374A (en) | 2019-05-22 | 2019-05-22 | A kind of analytic method, system, terminal device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910431553.5A CN110309374A (en) | 2019-05-22 | 2019-05-22 | A kind of analytic method, system, terminal device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110309374A true CN110309374A (en) | 2019-10-08 |
Family
ID=68074800
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910431553.5A Pending CN110309374A (en) | 2019-05-22 | 2019-05-22 | A kind of analytic method, system, terminal device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110309374A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111130653A (en) * | 2019-11-19 | 2020-05-08 | 北京航天测控技术有限公司 | Automatic calibration method, system, terminal device and computer readable storage medium |
CN111859860A (en) * | 2020-07-21 | 2020-10-30 | 国家计算机网络与信息安全管理中心 | Data analysis method and device, storage medium, and electronic device |
CN112181889A (en) * | 2020-09-08 | 2021-01-05 | 河南翔宇医疗设备股份有限公司 | Serial port data analysis method, serial port data analysis device, serial port data analysis equipment and storage medium |
CN112395877A (en) * | 2020-11-04 | 2021-02-23 | 苏宁云计算有限公司 | Character string detection method and device, computer equipment and storage medium |
CN112560120A (en) * | 2020-11-25 | 2021-03-26 | 深圳市金泰克半导体有限公司 | Secure memory bank and starting method thereof |
CN112600946A (en) * | 2020-11-30 | 2021-04-02 | 青岛海尔科技有限公司 | Method and device for determining equipment code, storage medium and electronic device |
CN114390025A (en) * | 2021-12-09 | 2022-04-22 | 湖北省信产通信服务有限公司数字科技分公司 | Industrial internet identification analysis method, system, storage medium and electronic equipment |
CN115358210A (en) * | 2022-08-18 | 2022-11-18 | 中国兵器装备集团西南技术工程研究所 | Character data stream self-adaptive analysis method, platform and system |
CN115859916A (en) * | 2023-03-08 | 2023-03-28 | 北京合创三众能源科技股份有限公司 | Method, system, terminal and storage medium for automatically adding energy-using equipment data |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023846A1 (en) * | 1999-07-08 | 2003-01-30 | Broadcom Corporation | Classification engine in a cryptography acceleration chip |
CN1561522A (en) * | 2001-09-28 | 2005-01-05 | 睦塞德技术公司 | Circuit and method for performing variable width searches in a content addressable memory |
CN1716443A (en) * | 2004-06-18 | 2006-01-04 | 尔必达存储器股份有限公司 | Semiconductor memory device and error correction method thereof |
TW200608393A (en) * | 2004-08-27 | 2006-03-01 | Via Tech Inc | Method for deciding parameters of DRAM |
CN1797360A (en) * | 2004-12-30 | 2006-07-05 | 英业达股份有限公司 | Memory reliability detection system and method |
CN102306127A (en) * | 2011-08-05 | 2012-01-04 | 烽火通信科技股份有限公司 | Novel method for identifying and initializing DDRIII (double-data-rate III) memory |
CN103324582A (en) * | 2013-06-17 | 2013-09-25 | 华为技术有限公司 | Memory migration method, memory migration device and equipment |
CN104599719A (en) * | 2014-12-15 | 2015-05-06 | 海太半导体(无锡)有限公司 | Memory test analysis system |
CN104615459A (en) * | 2015-01-05 | 2015-05-13 | 上海凌云天博光电科技有限公司 | MoCA equipment parameter configuration method and device |
CN105095100A (en) * | 2015-07-24 | 2015-11-25 | 东南大学 | Device for hash linked list hardware implementation |
CN204949042U (en) * | 2015-06-18 | 2016-01-13 | 周义波 | Recognition device with code |
CN107436911A (en) * | 2017-05-24 | 2017-12-05 | 阿里巴巴集团控股有限公司 | Fuzzy query method, device and inquiry system |
CN107678798A (en) * | 2017-09-30 | 2018-02-09 | 努比亚技术有限公司 | A kind of SIM card fast initializing method, device and computer-readable recording medium |
CN109408681A (en) * | 2018-10-11 | 2019-03-01 | 广东工业大学 | A kind of character string matching method, device, equipment and readable storage medium storing program for executing |
CN109525249A (en) * | 2018-09-30 | 2019-03-26 | 湖南瑞利德信息科技有限公司 | Coding-decoding method, system, readable storage medium storing program for executing and computer equipment |
-
2019
- 2019-05-22 CN CN201910431553.5A patent/CN110309374A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023846A1 (en) * | 1999-07-08 | 2003-01-30 | Broadcom Corporation | Classification engine in a cryptography acceleration chip |
CN1561522A (en) * | 2001-09-28 | 2005-01-05 | 睦塞德技术公司 | Circuit and method for performing variable width searches in a content addressable memory |
CN1716443A (en) * | 2004-06-18 | 2006-01-04 | 尔必达存储器股份有限公司 | Semiconductor memory device and error correction method thereof |
TW200608393A (en) * | 2004-08-27 | 2006-03-01 | Via Tech Inc | Method for deciding parameters of DRAM |
US20060047892A1 (en) * | 2004-08-27 | 2006-03-02 | Joe Lin | Method for resolving parameters of dram |
CN1797360A (en) * | 2004-12-30 | 2006-07-05 | 英业达股份有限公司 | Memory reliability detection system and method |
CN102306127A (en) * | 2011-08-05 | 2012-01-04 | 烽火通信科技股份有限公司 | Novel method for identifying and initializing DDRIII (double-data-rate III) memory |
CN103324582A (en) * | 2013-06-17 | 2013-09-25 | 华为技术有限公司 | Memory migration method, memory migration device and equipment |
CN104599719A (en) * | 2014-12-15 | 2015-05-06 | 海太半导体(无锡)有限公司 | Memory test analysis system |
CN104615459A (en) * | 2015-01-05 | 2015-05-13 | 上海凌云天博光电科技有限公司 | MoCA equipment parameter configuration method and device |
CN204949042U (en) * | 2015-06-18 | 2016-01-13 | 周义波 | Recognition device with code |
CN105095100A (en) * | 2015-07-24 | 2015-11-25 | 东南大学 | Device for hash linked list hardware implementation |
CN107436911A (en) * | 2017-05-24 | 2017-12-05 | 阿里巴巴集团控股有限公司 | Fuzzy query method, device and inquiry system |
CN107678798A (en) * | 2017-09-30 | 2018-02-09 | 努比亚技术有限公司 | A kind of SIM card fast initializing method, device and computer-readable recording medium |
CN109525249A (en) * | 2018-09-30 | 2019-03-26 | 湖南瑞利德信息科技有限公司 | Coding-decoding method, system, readable storage medium storing program for executing and computer equipment |
CN109408681A (en) * | 2018-10-11 | 2019-03-01 | 广东工业大学 | A kind of character string matching method, device, equipment and readable storage medium storing program for executing |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111130653A (en) * | 2019-11-19 | 2020-05-08 | 北京航天测控技术有限公司 | Automatic calibration method, system, terminal device and computer readable storage medium |
CN111859860A (en) * | 2020-07-21 | 2020-10-30 | 国家计算机网络与信息安全管理中心 | Data analysis method and device, storage medium, and electronic device |
CN112181889A (en) * | 2020-09-08 | 2021-01-05 | 河南翔宇医疗设备股份有限公司 | Serial port data analysis method, serial port data analysis device, serial port data analysis equipment and storage medium |
CN112395877A (en) * | 2020-11-04 | 2021-02-23 | 苏宁云计算有限公司 | Character string detection method and device, computer equipment and storage medium |
CN112560120A (en) * | 2020-11-25 | 2021-03-26 | 深圳市金泰克半导体有限公司 | Secure memory bank and starting method thereof |
CN112560120B (en) * | 2020-11-25 | 2024-04-05 | 深圳市金泰克半导体有限公司 | Secure memory bank and method for starting secure memory bank |
CN112600946A (en) * | 2020-11-30 | 2021-04-02 | 青岛海尔科技有限公司 | Method and device for determining equipment code, storage medium and electronic device |
CN112600946B (en) * | 2020-11-30 | 2023-08-22 | 青岛海尔科技有限公司 | Method and device for determining equipment code, storage medium, and electronic device |
CN114390025A (en) * | 2021-12-09 | 2022-04-22 | 湖北省信产通信服务有限公司数字科技分公司 | Industrial internet identification analysis method, system, storage medium and electronic equipment |
CN114390025B (en) * | 2021-12-09 | 2024-03-01 | 湖北省信产通信服务有限公司数字科技分公司 | Industrial Internet identification analysis method, system, storage medium and electronic equipment |
CN115358210A (en) * | 2022-08-18 | 2022-11-18 | 中国兵器装备集团西南技术工程研究所 | Character data stream self-adaptive analysis method, platform and system |
CN115859916A (en) * | 2023-03-08 | 2023-03-28 | 北京合创三众能源科技股份有限公司 | Method, system, terminal and storage medium for automatically adding energy-using equipment data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309374A (en) | A kind of analytic method, system, terminal device and computer readable storage medium | |
CN107786732A (en) | Terminal applies method for pushing, mobile terminal and computer-readable recording medium | |
CN107360327A (en) | Audio recognition method, device and storage medium | |
CN107809526A (en) | End application sorting technique, mobile terminal and computer-readable recording medium | |
CN110321474A (en) | Recommended method, device, terminal device and storage medium based on search term | |
CN108268835A (en) | sign language interpretation method, mobile terminal and computer readable storage medium | |
CN107832652A (en) | Two-dimensional code identification method, terminal and computer-readable recording medium | |
CN109885764A (en) | A kind of subscription information processing method, mobile terminal and computer readable storage medium | |
CN107633051A (en) | Desktop searching method, mobile terminal and computer-readable recording medium | |
CN108733800A (en) | A kind of global search method, terminal and computer readable storage medium | |
CN107229389A (en) | A kind of method of shared file, equipment and computer-readable recording medium | |
CN107450744B (en) | Personal information input method and mobile terminal | |
CN107402964A (en) | A kind of information recommendation method, server and terminal | |
CN107818282A (en) | Two-dimensional code identification method, terminal and computer-readable recording medium | |
CN107888768A (en) | One kind solution lock control method, terminal and computer-readable recording medium | |
CN108536638A (en) | Setting method, mobile terminal, system and the readable storage medium storing program for executing of intelligent bookmark | |
CN108241467A (en) | Application combination operating method, mobile terminal and computer readable storage medium | |
CN107391172A (en) | A kind of terminal control method, terminal and computer-readable recording medium | |
CN107450795A (en) | Status bar icon loading method, terminal and computer-readable recording medium | |
CN107566769A (en) | A kind of video recording method and mobile terminal | |
CN107888759A (en) | A kind of method, equipment and computer-readable recording medium realized information and sent | |
CN107479815A (en) | Realize the method, terminal and computer-readable recording medium of split screen screen control | |
CN107817934A (en) | A kind of method for information display, terminal and computer-readable recording medium | |
CN108062669A (en) | A kind of method of payment, terminal and computer readable storage medium | |
CN107422853A (en) | A kind of gesture identification method, mobile terminal and computer-readable recording medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191008 |