CN106921464A - A kind of information method of adjustment and device - Google Patents

A kind of information method of adjustment and device Download PDF

Info

Publication number
CN106921464A
CN106921464A CN201510997790.XA CN201510997790A CN106921464A CN 106921464 A CN106921464 A CN 106921464A CN 201510997790 A CN201510997790 A CN 201510997790A CN 106921464 A CN106921464 A CN 106921464A
Authority
CN
China
Prior art keywords
data
error code
link
information
adjustment
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
Application number
CN201510997790.XA
Other languages
Chinese (zh)
Other versions
CN106921464B (en
Inventor
吕锐新
王玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510997790.XA priority Critical patent/CN106921464B/en
Publication of CN106921464A publication Critical patent/CN106921464A/en
Application granted granted Critical
Publication of CN106921464B publication Critical patent/CN106921464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Digital Magnetic Recording (AREA)

Abstract

The embodiment of the invention discloses a kind of information method of adjustment, methods described includes:Judge whether data to be tested link carried out information adjustment;If the data to be tested link did not carried out information adjustment, then obtain the error code in the data to be tested link, and be based on dynamically referring to according to the quantity of the error code/logarithm adjustment algorithm is adjusted to the first information of the data-signal of the data to be tested link.The embodiment of the present invention also discloses a kind of information adjusting apparatus simultaneously.

Description

A kind of information method of adjustment and device
Technical field
The present invention relates to the information adjustment technology in computer realm, more particularly to a kind of information method of adjustment and Device.
Background technology
System for serial small computer interface (Serial Attached Small are used the form of current server more Computer System Interface, SAS) controller and expansion equipment Expander, for different clothes The memory topology that Wu Qi customers use is different, the corresponding hard disk number of controller, device type, and There are various possibility in the hard disk number of Expander docking.Because production welding, cable technique cannot accomplish It is complete fine, with the increase of server production quantity, often occur due to reading caused by physical link flash Input/output (Input/Output, IO) mistake, the problem that file system is read-only, multiple hard disks fall disk are write, And then service disconnection can be caused, increase O&M and R&D costs.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention is expected to provide a kind of information method of adjustment and device, Solve read-write I O error, file system caused by physical link flash present in prior art it is read-only, Hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and R&D costs.
The technical proposal of the invention is realized in this way:
A kind of information method of adjustment, methods described includes:
Judge whether data to be tested link carried out information adjustment;
If the data to be tested link did not carried out information adjustment, in obtaining the data to be tested link Error code, and be based on dynamically referring to according to the quantity of the error code/logarithm adjustment algorithm is to the data to be tested chain The first information of the data-signal on road is adjusted.
Optionally, if the data to be tested link did not carried out information adjustment, obtain described to be checked The error code surveyed in data link, and be based on dynamically referring to according to the quantity of the error code/logarithm adjustment algorithm is to described The first information of the data-signal of data to be tested link is adjusted, including:
If the data to be tested link did not carried out information adjustment, what transmission test frame and basis were received Frame number obtains the quantity of error code present in the data to be tested link;
Judge the quantity of the error code whether more than the first predetermined threshold value;
If the quantity of the error code is more than first predetermined threshold value ,/logarithm adjustment calculation is referred to using the dynamic Method carries out n times adjustment to the first information of the data-signal, until in the data to be tested link In the absence of error code and the N less than/be equal to preset times or the N is more than the preset times;Wherein, The first information includes:It is the pre emphasis factor of the data-signal of the data to be tested link, described to be checked Survey the balance parameters of the data-signal of data link.
Optionally, methods described also includes:
If the quantity of the error code is more than first predetermined threshold value, removes the error code and record the mistake The quantity of code;
Judge the quantity of the error code whether more than the second predetermined threshold value;
If the quantity of the error code is less than or equal to second predetermined threshold value, referred to using the dynamic/ Logarithm adjustment algorithm calculated for the first interval time, and the number to be detected is detected after first interval time According in link whether there is error code;Wherein, first predetermined threshold value is less than second predetermined threshold value;
If error code is still present in the data to be tested link after the interval time, continues to remove and miss Code simultaneously refers to/logarithm adjustment algorithm the second interval time of calculating using the dynamic, until the data to be tested chain Do not exist error code in road.
Optionally, methods described also includes:
If the quantity of the error code is more than second predetermined threshold value, fault alarm signal is produced, in order to Inform that the error code in data to be tested link described in user cannot be removed and be decided whether to be treated described in disabling by user The corresponding physical layer of detection data link.
Optionally, methods described also includes:
The first information writing controller of the data to be tested link after being adjusted, and change institute The identification information in controller is stated for the data to be tested link has completed adjustment.
A kind of information adjusting apparatus, described device includes:Judging unit and first processing units, wherein:
The judging unit, for judging whether data to be tested link carried out information adjustment;
The first processing units, if not carrying out information adjustment for the data to be tested link, obtain The error code in the data to be tested link is taken, and is based on dynamically referring to/logarithm adjustment according to the quantity of the error code Algorithm is adjusted to the first information of the data-signal of the data to be tested link.
Optionally, the first processing units include:Acquisition module, the first judge module and the first treatment mould Block, wherein:
The acquisition module, if not carrying out information adjustment for the data to be tested link, sends and surveys The quantity of examination frame and the error code according to present in the frame number acquisition data to be tested link for receiving;
First judge module, for judging the quantity of the error code whether more than the first predetermined threshold value;
The first processing module, if being more than first predetermined threshold value for the quantity of the error code, adopts Referred to the dynamic/logarithm adjustment algorithm carries out n times adjustment to the first information of the data-signal, directly To in the data to be tested link in the absence of error code and the N less than/be equal to preset times or the N More than the preset times;Wherein, the first information includes:The data letter of the data to be tested link Number pre emphasis factor, the balance parameters of the data-signal of the data to be tested link.
Optionally, the first processing units also include:Remove module, the second judge module and second processing Module, wherein:
The removing module, if being more than first predetermined threshold value for the quantity of the error code, removes institute State error code and record the quantity of the error code;
Second judge module, for judging the quantity of the error code whether more than the second predetermined threshold value;
The Second processing module, if being less than or equal to second predetermined threshold value for the quantity of the error code, / logarithm adjustment algorithm the first interval time of calculating is then referred to using the dynamic, and after first interval time Detect in the data to be tested link with the presence or absence of error code;Wherein, first predetermined threshold value is less than described Second predetermined threshold value;
The Second processing module, if being additionally operable to after the interval time in the data to be tested link still So there is error code, then continue to remove error code and referred to using the dynamic/logarithm adjustment algorithm is when calculating second and being spaced Between, until not existing error code in the data to be tested link.
Optionally, the first processing units also include:3rd processing module, wherein:
3rd processing module, if being more than second predetermined threshold value for the quantity of the error code, produces Raw fault alarm signal, the error code in order to inform in data to be tested link described in user cannot remove and by User decides whether to disable the corresponding physical layer of the data to be tested link.
Optionally, described device also includes:Second processing unit, wherein:
The second processing unit, for that will be adjusted after the data to be tested link first letter Breath writing controller, and the identification information in the controller is changed for the data to be tested link has been completed Adjustment.
Information method of adjustment and device that embodiments of the invention are provided, including judge data to be tested link Whether information adjustment was carried out, if data to be tested link did not carried out information adjustment, number to be detected was obtained According to the error code in link, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to data to be tested chain The first information of the data-signal on road is adjusted;So, for the data link of any memory topology structure, The first information in the data link can be adjusted according to dynamic, in farthest reducing the data link Error code, solve read-write I O error, file caused by physical link flash present in prior art System is read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, at the same reduce O&M cost and R&D costs.
Brief description of the drawings
A kind of schematic flow sheet of information method of adjustment that Fig. 1 is provided for embodiments of the invention;
The schematic flow sheet of another information method of adjustment that Fig. 2 is provided for embodiments of the invention;
The schematic flow sheet of another information method of adjustment that Fig. 3 is provided for embodiments of the invention;
A kind of structural representation of information adjusting apparatus that Fig. 4 is provided for embodiments of the invention;
The structural representation of another information adjusting apparatus that Fig. 5 is provided for embodiments of the invention;
The structural representation of another information adjusting apparatus that Fig. 6 is provided for embodiments of the invention;
A kind of structural representation of information adjusting apparatus that Fig. 7 is provided for another embodiment of the present invention;
The structural representation of another information adjusting apparatus that Fig. 8 is provided for another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by.
Embodiments of the invention provide a kind of application program channel information acquisition methods, shown in reference picture 1, should Method is comprised the following steps:
Step 101, judge data to be tested link whether carried out information adjustment.
Specifically, it can be by information that step 101 judges whether data to be tested link carried out information adjustment Adjusting apparatus are realized.Data to be tested link preferably can be SAS link, can be by controller In adjustment flag come obtain SAS link whether carried out information adjustment.
If step 102, data to be tested link did not carried out information adjustment, data to be tested link is obtained In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted.
Specifically, step 102 obtains the error code in data to be tested link, and it is based on according to the quantity of error code Dynamically refer to/logarithm adjustment algorithm is adjusted to the first information of the data-signal of data to be tested link can be with Realized by information adjusting apparatus.Wherein, carried out if data to be tested link is SAS link Information is adjusted, then directly terminate the adjustment of the first information to the data-signal in SAS link.The first information Can include:The information such as pre emphasis factor, the balance parameters of SAS signals of SAS signals.
The information method of adjustment that embodiments of the invention are provided, including judge whether data to be tested link enters Information of going is adjusted, if data to be tested link did not carried out information adjustment, obtains data to be tested link In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted;So, for the data link of any memory topology structure, all may be used According to the dynamic first information adjusted in the data link, farthest to reduce the mistake in the data link Code, solves read-write I O error, file system caused by physical link flash present in prior art Read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and research and development Cost.
Embodiments of the invention provide a kind of information method of adjustment, and shown in reference picture 2, the method includes following Step:
Step 201, information adjusting apparatus judge whether data to be tested link carried out information adjustment.
Wherein, step 201 judge data to be tested link whether carried out information adjustment after, can select Step 202 or step 203~207 are performed, adjustment performed step if data to be tested link carried out information 202, if data to be tested link did not carried out information, adjustment performed step 203~207;
If step 202, data to be tested link carried out information adjustment, information adjusting apparatus terminate logarithm It is believed that number the first information adjustment.
If step 203, data to be tested link did not carried out information adjustment, information adjusting apparatus send to be surveyed The quantity of examination frame and the error code according to present in the frame number acquisition data to be tested link for receiving.
Specifically, server can obtain the quantity of error code present in SAS link by test frame.Clothes Business device can send test frame to hard disk, and detect the frame number of the test frame received in hard disk, while basis Corresponding relation between the frame number and error code quantity of the test frame for pre-setting is obtained present in the SAS link The quantity of error code.
Whether step 204, information adjusting apparatus judge the quantity of error code more than the first predetermined threshold value.
Wherein, step 204 judges that whether the quantity of error code, more than after the first predetermined threshold value, can select to hold Row step 205 or step 206~207, if the quantity of error code is performed less than or equal to the first predetermined threshold value Step 205, if the quantity of error code performs step 206~207 more than the first predetermined threshold value;
Wherein, the first predetermined threshold value is to ensure that SAS link optimal transmission data in practical application, The quantitative value for pre-setting.
If step 205, the quantity of error code are less than or equal to the first predetermined threshold value, information adjusting apparatus knot Adjustment of the beam to the first information of data-signal.
If step 206, the quantity of error code are more than the first predetermined threshold value, information adjusting apparatus using dynamically referring to/ Logarithm adjustment algorithm carries out n times adjustment to the first information of data-signal, until in data to be tested link not There is error code and N is less than/is equal to preset times or N is more than preset times.
Wherein, the first information includes:It is the pre emphasis factor of the data-signal of data to be tested link, to be detected The balance parameters of the data-signal of data link.
Specifically, dynamically refer to/structure of logarithm adjustment algorithm is: Wherein, in this implementation F in examplenThe adjustment amplitude for being this to the first information, fn-1It it is the last time to the adjustment amplitude of the first information, k0 It is empirical coefficient (0.5<k0<1), k1It is the trust coefficient to last time adjustment, k2It is that result was adjusted to last time Penalty coefficient, k3It is attenuation coefficient (k3<0.5),With ln (k+fn-1) for correction operator, (k is Natural number more than 3, preferably 5), r+It is the trust reward rate to the adjustment of last time information, r-It is to upper The trust penalty rate of secondary information adjustment.It should be noted that n is the positive integer more than 1, for the first time to The adjustment amplitude of one information can be predetermined amplitude set in advance.
Wherein, step 207 can be performed after step 202, step 205 and step 206;
The first information of data to be tested link after step 207, information adjusting apparatus will be adjusted is write Enter controller, and change the identification information in controller for data to be tested link has completed adjustment.
It should be noted that the description in the present embodiment with same steps in other embodiments is referred to other Description in embodiment, here is omitted.
The information method of adjustment that embodiments of the invention are provided, including judge whether data to be tested link enters Information of going is adjusted, if data to be tested link did not carried out information adjustment, obtains data to be tested link In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted;So, for the data link of any memory topology structure, all may be used According to the dynamic first information adjusted in the data link, farthest to reduce the mistake in the data link Code, solves read-write I O error, file system caused by physical link flash present in prior art Read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and research and development Cost.
Embodiments of the invention provide a kind of information method of adjustment, and shown in reference picture 3, the method includes following Step:
Step 301, information adjusting apparatus judge whether data to be tested link carried out information adjustment.
Wherein, step 301 judge data to be tested link whether carried out information adjustment after, can select Step 302 or step 303~308 are performed, adjustment performed step if data to be tested link carried out information 202, if data to be tested link did not carried out information, adjustment performed step 203~208;
If step 302, data to be tested link carried out information adjustment, information adjusting apparatus terminate logarithm It is believed that number the first information adjustment.
If step 303, data to be tested link did not carried out information adjustment, information adjusting apparatus send to be surveyed The quantity of examination frame and the error code according to present in the frame number acquisition data to be tested link for receiving.
Whether step 304, information adjusting apparatus judge the quantity of error code more than the first predetermined threshold value.
If step 305, the quantity of error code are more than the first predetermined threshold value, information adjusting apparatus remove error code simultaneously Record the quantity of error code.
Whether step 306, information adjusting apparatus judge the quantity of error code more than the second predetermined threshold value.
Second predetermined threshold value is to ensure that SAS link optimal transmission data in practical application, in advance The quantitative value for setting is different from the first predetermined threshold value.
Wherein, step 306 judges that whether the quantity of error code, more than after the second predetermined threshold value, can select to hold Row step 307 or step 308, if the quantity of error code performs step less than or equal to the second predetermined threshold value 307, if the quantity of error code performs step 308 more than the second predetermined threshold value;
If step 307, the quantity of error code are less than or equal to the second predetermined threshold value, information adjusting apparatus are adopted With dynamically referring to/logarithm adjustment algorithm calculated for the first interval time, and number to be detected detected after the first interval time According in link whether there is error code.
Wherein, the first predetermined threshold value is less than the second predetermined threshold value.
Specifically, dynamically refer to/structure of logarithm adjustment algorithm is: Wherein, in this implementation F in examplenIt is the interval time between this detection error code quantity and last detection error code quantity, fn-1For upper Interval time between one-time detection error code quantity and upper last detection error code quantity, k0It is empirical coefficient (0.5<k0<1), k1It is the trust coefficient to last time adjustment, k2It is the penalty coefficient that result was adjusted to last time, k3It is attenuation coefficient (k3<0.5),With ln (k+fn-1) for correction operator, (k is oneself more than 3 So count, preferably 5), r+It is the trust reward rate to the adjustment of last time information, r-It is that last time information is adjusted Trust penalty rate.It should be noted that n is the positive integer more than 1, for the first time in detection SAS link Interval time with the presence or absence of error code quantity can be set in advance.
If step 308, the quantity of error code are more than the second predetermined threshold value, information adjusting apparatus produce failure to accuse Alert signal, in order to inform that the error code in user's data to be tested link cannot be removed and decided whether by user The corresponding physical layer of disabling data to be tested link.
Specifically, providing the mode of physical layer disabling on the premise of guaranteeing data integrity, can prevent out Service disconnection and the problem of operating system collapse caused by the link error code that maximum probability is encountered in existing maintenance process
It should be noted that the description in the present embodiment with same steps in other embodiments is referred to other Description in embodiment, here is omitted.
The information method of adjustment that embodiments of the invention are provided, including judge whether data to be tested link enters Information of going is adjusted, if data to be tested link did not carried out information adjustment, obtains data to be tested link In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted;So, for the data link of any memory topology structure, all may be used According to the dynamic first information adjusted in the data link, farthest to reduce the mistake in the data link Code, solves read-write I O error, file system caused by physical link flash present in prior art Read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and research and development Cost.
Embodiments of the invention provide a kind of information adjusting apparatus, can apply to the corresponding embodiment in Fig. 1~3 In a kind of information method of adjustment for providing, shown in reference picture 4, the device includes:Judging unit 41 and first Processing unit 42, wherein:
Judging unit 41, for judging whether data to be tested link carried out information adjustment.
First processing units 42, if not carrying out information adjustment for data to be tested link, obtain to be checked The error code surveyed in data link, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to number to be detected It is adjusted according to the first information of the data-signal of link.
The information adjusting apparatus that embodiments of the invention are provided, including judge whether data to be tested link enters Information of going is adjusted, if data to be tested link did not carried out information adjustment, obtains data to be tested link In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted;So, for the data link of any memory topology structure, all may be used According to the dynamic first information adjusted in the data link, farthest to reduce the mistake in the data link Code, solves read-write I O error, file system caused by physical link flash present in prior art Read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and research and development Cost.
Further, shown in reference picture 5, first processing units 42 include:Acquisition module 421, first judges Module 422 and first processing module 423, wherein:
Acquisition module 421, if not carrying out information adjustment for data to be tested link, sends test frame And according to the quantity for obtaining error code present in data to be tested link for receiving.
First judge module 422, for judging the quantity of error code whether more than the first predetermined threshold value.
First processing module 423, if being more than the first predetermined threshold value for the quantity of error code, using dynamically referring to/ Logarithm adjustment algorithm carries out n times adjustment to the first information of data-signal, until in data to be tested link not There is error code and N is less than/is equal to preset times or N is more than preset times.
Wherein, the first information includes:It is the pre emphasis factor of the data-signal of data to be tested link, to be detected The balance parameters of the data-signal of data link.
Further, shown in reference picture 6, first processing units 42 also include:Removing module 424, second are sentenced Disconnected module 425 and Second processing module 426, wherein:
Module 424 is removed, if being more than the first predetermined threshold value for the quantity of error code, error code is removed and is recorded The quantity of error code.
Second judge module 425, for judging the quantity of error code whether more than the second predetermined threshold value.
Second processing module 426, if being less than or equal to the second predetermined threshold value for the quantity of error code, uses Dynamically refer to/logarithm adjustment algorithm the first interval time of calculating, and data to be tested are detected after the first interval time Whether there is error code in link.
Wherein, the first predetermined threshold value is less than the second predetermined threshold value.
Second processing module 426, if being additionally operable to that mistake is still present in data to be tested link after interval time Code, then continue to remove error code and using/logarithm adjustment algorithm the second interval time of calculating is dynamically referred to, until to be checked Survey and do not exist error code in data link.
Further, shown in reference picture 7, first processing units 42 also include:3rd processing module 427, its In:
3rd processing module 427, if being more than the second predetermined threshold value for the quantity of error code, produces failure to accuse Alert signal, in order to inform that the error code in user's data to be tested link cannot be removed and decided whether by user The corresponding physical layer of disabling data to be tested link.
Further, shown in reference picture 8, the device also includes:Second processing unit 43, wherein:
Second processing unit 43, for that will be adjusted after data to be tested link the first information write-in Controller, and the identification information in controller is changed for data to be tested link has completed adjustment.
It should be noted that the interaction in the present embodiment between each unit and module, is referred to Fig. 1~3 Interaction in a kind of information method of adjustment that corresponding embodiment is provided, here is omitted.
The information adjusting apparatus that embodiments of the invention are provided, including judge whether data to be tested link enters Information of going is adjusted, if data to be tested link did not carried out information adjustment, obtains data to be tested link In error code, and be based on dynamically referring to according to the quantity of error code/logarithm adjustment algorithm is to the number of data to be tested link It is believed that number the first information be adjusted;So, for the data link of any memory topology structure, all may be used According to the dynamic first information adjusted in the data link, farthest to reduce the mistake in the data link Code, solves read-write I O error, file system caused by physical link flash present in prior art Read-only, hard disk falls the problem of disk, it is ensured that the normal operation of business, while reducing O&M cost and research and development Cost.
In actual applications, the judging unit 41, first processing units 42, acquisition module 421, first At judge module 422, first processing module 423, removing module 424, the second judge module 425, second Reason module 426, the 3rd processing module 427 and second processing unit 43 can be set by being sent positioned at wireless data Central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor in standby Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field-programmable Gate array (Field Programmable Gate Array, FPGA) etc. is realized.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.And, the present invention can be used and wherein include calculating at one or more Computer-usable storage medium (the including but not limited to magnetic disk storage and optical storage of machine usable program code Device etc.) on implement computer program product form.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product Flow chart and/or block diagram describe.It should be understood that flow chart and/or side can be realized by computer program instructions The knot of flow in each flow and/or square frame and flow chart and/or block diagram and/or square frame in block diagram Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing devices is producing a machine so that by computer or other can The instruction of the computing device of programming data processing equipment is produced for realizing in one flow of flow chart or multiple The device of the function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices In the computer-readable memory for working in a specific way so that storage is in the computer-readable memory Instruction is produced includes the manufacture of command device, and the command device is realized in one flow of flow chart or multiple streams The function of being specified in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps performed on computer or other programmable devices to produce computer implemented treatment, So as to the instruction performed on computer or other programmable devices is provided for realizing in one flow of flow chart Or specified in multiple one square frame of flow and/or block diagram or multiple square frames function the step of.
The above, only presently preferred embodiments of the present invention is not intended to limit protection model of the invention Enclose.

Claims (10)

1. a kind of information method of adjustment, it is characterised in that methods described includes:
Judge whether data to be tested link carried out information adjustment;
If the data to be tested link did not carried out information adjustment, in obtaining the data to be tested link Error code, and be based on dynamically referring to according to the quantity of the error code/logarithm adjustment algorithm is to the data to be tested chain The first information of the data-signal on road is adjusted.
2. method according to claim 1, it is characterised in that if the data to be tested link The information of not carrying out is adjusted, then obtain the error code in the data to be tested link, and according to the error code Quantity is based on dynamically referring to/logarithm adjustment algorithm is to the first information of the data-signal of the data to be tested link It is adjusted, including:
If the data to be tested link did not carried out information adjustment, what transmission test frame and basis were received Frame number obtains the quantity of error code present in the data to be tested link;
Judge the quantity of the error code whether more than the first predetermined threshold value;
If the quantity of the error code is more than first predetermined threshold value ,/logarithm adjustment calculation is referred to using the dynamic Method carries out n times adjustment to the first information of the data-signal, until in the data to be tested link In the absence of error code and the N less than/be equal to preset times or the N is more than the preset times;Wherein, The first information includes:It is the pre emphasis factor of the data-signal of the data to be tested link, described to be checked Survey the balance parameters of the data-signal of data link.
3. method according to claim 2, it is characterised in that methods described also includes:
If the quantity of the error code is more than first predetermined threshold value, removes the error code and record the mistake The quantity of code;
Judge the quantity of the error code whether more than the second predetermined threshold value;
If the quantity of the error code is less than or equal to second predetermined threshold value, referred to using the dynamic/ Logarithm adjustment algorithm calculated for the first interval time, and the number to be detected is detected after first interval time According in link whether there is error code;Wherein, first predetermined threshold value is less than second predetermined threshold value;
If error code is still present in the data to be tested link after the interval time, continues to remove and miss Code simultaneously refers to/logarithm adjustment algorithm the second interval time of calculating using the dynamic, until the data to be tested chain Do not exist error code in road.
4. method according to claim 3, it is characterised in that methods described also includes:
If the quantity of the error code is more than second predetermined threshold value, fault alarm signal is produced, in order to Inform that the error code in data to be tested link described in user cannot be removed and be decided whether to be treated described in disabling by user The corresponding physical layer of detection data link.
5. method according to claim 1 and 2, it is characterised in that methods described also includes:
The first information writing controller of the data to be tested link after being adjusted, and change institute The identification information in controller is stated for the data to be tested link has completed adjustment.
6. a kind of information adjusting apparatus, it is characterised in that described device includes:Judging unit and the first treatment Unit, wherein:
The judging unit, for judging whether data to be tested link carried out information adjustment;
The first processing units, if not carrying out information adjustment for the data to be tested link, obtain The error code in the data to be tested link is taken, and is based on dynamically referring to/logarithm adjustment according to the quantity of the error code Algorithm is adjusted to the first information of the data-signal of the data to be tested link.
7. device according to claim 6, it is characterised in that the first processing units include:Obtain Modulus block, the first judge module and first processing module, wherein:
The acquisition module, if not carrying out information adjustment for the data to be tested link, sends and surveys The quantity of examination frame and the error code according to present in the frame number acquisition data to be tested link for receiving;
First judge module, for judging the quantity of the error code whether more than the first predetermined threshold value;
The first processing module, if being more than first predetermined threshold value for the quantity of the error code, adopts Referred to the dynamic/logarithm adjustment algorithm carries out n times adjustment to the first information of the data-signal, directly To in the data to be tested link in the absence of error code and the N less than/be equal to preset times or the N More than the preset times;Wherein, the first information includes:The data letter of the data to be tested link Number pre emphasis factor, the balance parameters of the data-signal of the data to be tested link.
8. device according to claim 7, it is characterised in that the first processing units also include: Module, the second judge module and Second processing module are removed, wherein:
The removing module, if being more than first predetermined threshold value for the quantity of the error code, removes institute State error code and record the quantity of the error code;
Second judge module, for judging the quantity of the error code whether more than the second predetermined threshold value;
The Second processing module, if being less than or equal to second predetermined threshold value for the quantity of the error code, / logarithm adjustment algorithm the first interval time of calculating is then referred to using the dynamic, and after first interval time Detect in the data to be tested link with the presence or absence of error code;Wherein, first predetermined threshold value is less than described Second predetermined threshold value;
The Second processing module, if being additionally operable to after the interval time in the data to be tested link still So there is error code, then continue to remove error code and referred to using the dynamic/logarithm adjustment algorithm is when calculating second and being spaced Between, until not existing error code in the data to be tested link.
9. device according to claim 8, it is characterised in that the first processing units also include: 3rd processing module, wherein:
3rd processing module, if being more than second predetermined threshold value for the quantity of the error code, produces Raw fault alarm signal, the error code in order to inform in data to be tested link described in user cannot remove and by User decides whether to disable the corresponding physical layer of the data to be tested link.
10. the device according to claim 6 or 7, it is characterised in that described device also includes:The Two processing units, wherein:
The second processing unit, for that will be adjusted after the data to be tested link first letter Breath writing controller, and the identification information in the controller is changed for the data to be tested link has been completed Adjustment.
CN201510997790.XA 2015-12-25 2015-12-25 Information adjusting method and device Active CN106921464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510997790.XA CN106921464B (en) 2015-12-25 2015-12-25 Information adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510997790.XA CN106921464B (en) 2015-12-25 2015-12-25 Information adjusting method and device

Publications (2)

Publication Number Publication Date
CN106921464A true CN106921464A (en) 2017-07-04
CN106921464B CN106921464B (en) 2020-08-14

Family

ID=59455158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510997790.XA Active CN106921464B (en) 2015-12-25 2015-12-25 Information adjusting method and device

Country Status (1)

Country Link
CN (1) CN106921464B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614288A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 High-speed link error code alarm method, device, equipment and readable storage medium storing program for executing
CN115333979A (en) * 2022-08-12 2022-11-11 济南浪潮数据技术有限公司 Link error code processing method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060008279A1 (en) * 2004-07-09 2006-01-12 Infinera Corporation Pattern-dependent error counts for use in correcting operational parameters in an optical receiver
CN102629898A (en) * 2012-04-11 2012-08-08 华为技术有限公司 Data transmission method and device as well as system
CN103929340A (en) * 2014-04-18 2014-07-16 浪潮电子信息产业股份有限公司 Method for analyzing FPGA link parameters
CN103944584A (en) * 2014-04-24 2014-07-23 胡建国 Method and device for decoding two-dimension codes
CN104980316A (en) * 2015-06-16 2015-10-14 硅谷数模半导体(北京)有限公司 Data link monitoring method and data link monitoring device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060008279A1 (en) * 2004-07-09 2006-01-12 Infinera Corporation Pattern-dependent error counts for use in correcting operational parameters in an optical receiver
CN102629898A (en) * 2012-04-11 2012-08-08 华为技术有限公司 Data transmission method and device as well as system
CN103929340A (en) * 2014-04-18 2014-07-16 浪潮电子信息产业股份有限公司 Method for analyzing FPGA link parameters
CN103944584A (en) * 2014-04-24 2014-07-23 胡建国 Method and device for decoding two-dimension codes
CN104980316A (en) * 2015-06-16 2015-10-14 硅谷数模半导体(北京)有限公司 Data link monitoring method and data link monitoring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614288A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 High-speed link error code alarm method, device, equipment and readable storage medium storing program for executing
CN115333979A (en) * 2022-08-12 2022-11-11 济南浪潮数据技术有限公司 Link error code processing method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN106921464B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN108089814B (en) Data storage method and device
CN104598342B (en) The detection method and device of memory
CN102866971A (en) Data transmission device, system and method
CN104601770A (en) Terminal and smoothness evaluation method thereof
CN107908744A (en) A kind of method of abnormality detection and elimination for big data cleaning
CN109462517A (en) A kind of method, system and the equipment of the data monitoring towards digital electric network business
CN109871312A (en) A kind of interface test method, device, equipment and readable storage medium storing program for executing
CN106649342A (en) Data processing method and apparatus in data acquisition platform
CN104579548B (en) Transmission method and device based on management data input and output multi-source agreement
CN108322917B (en) Wireless network access fault positioning method, device, system and storage medium
JP2022521930A (en) Providing user guidance regarding selection of erasure processing based on accumulated erasure reports
CN106921464A (en) A kind of information method of adjustment and device
CN106372026A (en) Link detection method and receiving device
CN108234441A (en) Determine method, apparatus, electronic equipment and the storage medium of forgery access request
CN118244989A (en) Log processing method, device, equipment and readable storage medium
CN105022663B (en) Power system monitoring and control system
CN104407806B (en) The amending method and device of RAID group hard disc information
CN105654101B (en) A kind of information processing method and electronic equipment
US9791509B2 (en) Monitoring microprocessor interface information for a preset service using an address based filter
CN117076295A (en) Database detection method, system, electronic equipment and storage medium
CN109947728A (en) A kind of processing method and processing device of journal file
CN106844003B (en) Virtual machine mirror image verification method and device
CN104767658A (en) Method and device for online detecting message transmission error
CN114219486A (en) Batch transaction processing method and device, computer equipment and storage medium
CN107562599A (en) A kind of parameter detection method and device

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
GR01 Patent grant
GR01 Patent grant