CN108920480A - A kind of processing method and equipment, computer storage medium of file system exception - Google Patents

A kind of processing method and equipment, computer storage medium of file system exception Download PDF

Info

Publication number
CN108920480A
CN108920480A CN201810341695.8A CN201810341695A CN108920480A CN 108920480 A CN108920480 A CN 108920480A CN 201810341695 A CN201810341695 A CN 201810341695A CN 108920480 A CN108920480 A CN 108920480A
Authority
CN
China
Prior art keywords
file system
electronic equipment
unloading
equipment
sent
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
CN201810341695.8A
Other languages
Chinese (zh)
Other versions
CN108920480B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810341695.8A priority Critical patent/CN108920480B/en
Publication of CN108920480A publication Critical patent/CN108920480A/en
Application granted granted Critical
Publication of CN108920480B publication Critical patent/CN108920480B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of processing method of file system exception, this method includes:The unloading command for file system that receiving control apparatus is sent;Wherein, the unloading command is issued by the control equipment when completing the test before the assembling for the electronic equipment;Based on the unloading command, the file system in the electronic equipment is unloaded, is occurred to avoid the file system abnormal.The embodiment of the present invention also discloses the equipment and computer readable storage medium of a kind of processing of file system exception.

Description

A kind of processing method and equipment, computer storage medium of file system exception
Technical field
The present invention relates to the processing method and equipment of operation system technology field more particularly to a kind of file system exception, Computer storage medium.
Background technique
Electronic equipment can all carry out the test of some basic functions before being assembled into complete machine to the electronic equipment, to guarantee Electronic equipment before assembly being capable of normal use;If do not tested the electronic equipment before installation, complete to install Not the problem of not being available later, it may be difficult to fault point, while also needing to tear open machine maintenance when necessary, cause testing efficiency It is low.Therefore, it is very necessary for carrying out test to electronic equipment before electronic equipment is assembled into complete machine.
In the technology of existing test, the electricity of electronic equipment would generally be directly cut off after completing corresponding test content Source, that is to say, that make the improper power down of electronic equipment after completing test;But since the improper power down of electronic equipment can allow just Stop suddenly in the program of operation, triggered file system data loss, destruction or the incomplete situation of structure, so that electronics is set The problem of for that can not read the correct data in file system on startup, electronic equipment is caused not start normally;So urgently Wait need a kind of processing method of file system exception, the file caused by improper power down during testing for electrical equipment is solved The problem of system exception.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of processing method of file system exception and setting Standby, computer storage medium.
The embodiment of the present invention provides a kind of processing method of file system exception, the method application and electronic equipment, should Method includes:
The unloading command for file system that receiving control apparatus is sent;Wherein, the unloading command is by the control Equipment is issued when completing the test before the assembling for the electronic equipment;
Based on the unloading command, the file system in the electronic equipment is unloaded, to avoid file system appearance It is abnormal.
The embodiment of the present invention provides a kind of processing method of file system exception, and the method is applied and controls equipment, should Method includes:
When completing the test before assembling for electronic equipment, refer to electronic equipment transmission for the unloading of file system It enables;Wherein, the unloading command, for unloading the file system in the electronic equipment, to avoid file system appearance It is abnormal.
The embodiment of the invention also provides a kind of electronic equipment, including the first receiving unit and processing unit, wherein:
First receiving unit, the unloading command for file system sent for receiving control apparatus;Wherein, described to unload Instruction is carried to be issued by the control equipment when completing the test of the mainboard before the assembling for the electronic equipment;
Processing unit unloads the file system in the electronic equipment, for being based on the unloading command to avoid described File system occurs abnormal.
The embodiment of the invention also provides a kind of control equipment, including:Second transmission unit, wherein:
Second transmission unit, for being sent to the electronic equipment in the test before completing to assemble for electronic equipment For the unloading command of file system;Wherein, the unloading command, for unloading the file system in the electronic equipment, with The file system is avoided to occur abnormal.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, described The step of any of the above-described method is realized when computer program is executed by processor.
The processing method and equipment, computer storage medium of file system exception provided in an embodiment of the present invention, connect first Receive the unloading command for file system that control equipment is sent, wherein the unloading command is completed by control equipment for electricity It is issued when test before the assembling of sub- equipment, is then based on unloading command, unload the file system in electronic equipment;In this way, After being completed to testing for electrical equipment and before cutting off electronic equipment power source, unload in the electronic equipment internal disk partition File system so that electronic equipment deletes file system before improper power down, in this way, can to avoid it is non-just The file system in disk partition is damaged in the case where normal power down, and then can be effectively reduced the probability of the damage of file system, It ensure that the normal starting of electronic equipment.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the processing method of file system exception provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the processing method of another file system exception provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of processing method provided in an embodiment of the present invention and another file system exception;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram for controlling equipment provided in an embodiment of the present invention;
Fig. 6 is the hardware configuration composition schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware configuration composition schematic diagram for controlling equipment provided in an embodiment of the present invention.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, with reference to the accompanying drawing to this hair The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the embodiment of the present invention.
Under normal conditions, all basic function can be carried out to unassembled electronic equipment in bulk before electronic equipment factory Test, to determine whether the electronic equipment meets factory calibration.Here basic function test may include parametric calibration, electric current Test and integration test etc.;In a practical situation, in order to seek higher efficiency, electronic equipment is surveyed in testing producing lines The power supply that electronic equipment would generally be directly cut off after the completion of examination, carries out down again after can't waiting each electronic equipment normal shutdown The processing of one step;Therefore, the electronic equipment of improper power down can cause damage to a certain extent to the file system being currently running It is bad, the problem of causing electronic equipment that can not start.
It is such because of file system exception caused by improper power down in testing producing lines, present invention implementation to solve the problems, such as Example provides a kind of processing method of file system exception, is somebody's turn to do after the factory test to electronic equipment is completed, and in cutting Before the power supply of electronic equipment, the file system in electronic equipment is unloaded, so as to avoid the problem of file system exception.
Fig. 1 is the flow diagram of the processing method of file system exception provided in an embodiment of the present invention, as shown in Figure 1, This approach includes the following steps:
The unloading command for file system that step 101, receiving control apparatus are sent.
Wherein, unloading command is issued by control equipment when completing the test before the assembling for electronic equipment.
In other embodiments of the invention, the unloading for file system that step 101 receiving control apparatus is sent refers to Order can be realized by electronic equipment;Here, which can be the equipment including at least CPU and storage device;In reality In the application of border, which may include:Smart phone, tablet computer and computer equipment etc., the present invention does not do this It limits.Control equipment can be the equipment that controlling electronic devices is tested;In practical applications, which can wrap It includes:Personal computer (Personal Computer, PC) etc..
In a step 101, communication connection can be established by data line by controlling between equipment and electronic equipment, can also be led to The mode for crossing WiFi or bluetooth establishes communication connection, and in the present embodiment, the main function of the communication connection includes but is not limited to Realize that the control signal and data of control equipment to electronic equipment, can be also used for the information and data of realizing electronic equipment Transmission to control equipment.Wherein, control equipment may include display screen, for showing the phase of electronic equipment during the test Information is closed, such as the information such as test process, test result, unloading process and unloading result that can show electronic equipment.
File system is to be responsible for file storage and to deposit for organizing and distributing in electronic equipment the space for storing equipment The file system being protected and retrieved;For example, file system refers to being placed in by file Attach Title and instruction file System of the position to be stored and be retrieved.Before using file system, needing will be pre- in file system and electronic equipment If catalogue connects, a mapping relations are established.In this way, electronic equipment is by reading the data in predetermined directory, and then reading Get this document system.
Wherein, unloading command is used to unload the file system in electronic equipment;Wherein, which is in control equipment It completes to be issued after the test of electronic equipment by control equipment.Specifically, electronic equipment is after testing is complete to control equipment The information that transmission test is completed, control equipment are receiving test completion information, are sending unloading command to electronic equipment.
Step 102 is based on unloading command, unloads the file system in electronic equipment, occurs to avoid file system abnormal.
Wherein, step 102 is based on unloading command, unloads the file system in electronic equipment, to avoid file system appearance Exception can be realized by electronic equipment.
Specifically, before electronic equipment assembling factory, control equipment controls the electronic equipment and carries out various types of surveys Examination;Under normal conditions, after above-mentioned test completion, control equipment cuts off the power supply of electronic equipment directly to complete test step Suddenly;But in the present embodiment, electronic equipment is completed after testing, it is also necessary to the file system in electronic equipment is unloaded, After completing unloading, control equipment directly cuts away the power supply of electronic equipment.
In other embodiments of the invention, electronic equipment is based on unloading command, to the file system in the electronic equipment It is unloaded.Here, step 102 may include:
Step 102a, electronic equipment traverses file destination to obtain mount point catalogue of the file system in file destination.
Wherein, under the file system mounted predetermined directory in file destination.
Here, electronic equipment can read file system all in electronic equipment by file destination.That is, It may include the information of All Files system in electronic equipment in file destination.In the present embodiment, file destination may include Read-write subregion;Such as file destination may include/proc/mounts.It should be noted that the operating system of electronic equipment can All to regard resource all in electronic equipment as file, therefore, the resource of entire electronic equipment can be integrated into one big File directory;When we need to access system file, it is necessary to the system file is connected in electronic equipment and had existed Catalogue on, then by access this catalogue, to access file system.
Mount point is the entrance catalogue of file system, and here, carry is to be associated with file system in file destination to preset The process of catalogue, that is, file system and predetermined directory are established to the process of mapping relations.Wherein, all texts in electronic equipment Under predetermined directory of the part system carry in read-write subregion, i.e., All Files system is and in read-write subregion in electronic equipment Predetermined directory establish connection.
Step 102b, electronic equipment deletes file system corresponding mount point catalogue in file destination.
Wherein, electronic equipment can by call umount function, to the function passes obtain file destination in extension Loading point catalogue, to realize the unloading of file system.
What the processing method of file system exception provided in an embodiment of the present invention, first receiving control apparatus were sent is directed to text The unloading command of part system, wherein mainboard of the unloading command by control equipment before completing the assembling for electronic equipment It is issued when test, is then based on unloading command, unload the file system in electronic equipment;In this way, complete to testing for electrical equipment At later and before powering off to electronic equipment, the file system in electronic equipment internal disk partition is unloaded, so that electric Sub- equipment deletes file system before improper power down, in this way, can damage to avoid in the case where improper power down File system in disk partition, and then can be effectively reduced the probability of the damage of file system, it ensure that electronic equipment just Often starting.
Based on previous embodiment, the embodiment of the present invention provides a kind of processing method of file system exception, such as Fig. 2 institute Show, this approach includes the following steps:
When step 201, completion are directed to the test before electronic equipment assembling, unloading for file system is sent to electronic equipment Carry instruction.
Wherein, unloading command occurs different for unloading the file system in electronic equipment to avoid the file system Often.
Wherein, it when step 201 completes the test before assembling for electronic equipment, is sent to electronic equipment and is directed to file system Unloading command can be realized by control equipment;The control equipment can be the equipment that controlling electronic devices is tested;? In practical application, which may include:Personal computer (Personal Computer, PC) etc..
It in some embodiments, may include receiving the test that electronic equipment is sent to complete information before step 201.
In other embodiments of the invention, communication can be established by data line between equipment and electronic equipment by, which controlling, connects It connects, communication connection can also be established by way of WiFi or bluetooth, in the present embodiment, the main function packet of the communication connection It includes but is not limited to realize that the control signal and data of control equipment to electronic equipment, can be also used for realizing electronic equipment The transmission of information and data to control equipment.Wherein, control equipment may include display screen, for showing that electronic equipment is being tested Relevant information in the process, such as can show test process, test result, unloading process and the unloading result of electronic equipment Etc. information.
The processing method of file system exception provided in an embodiment of the present invention is completed for the survey before electronic equipment assembling When examination, the unloading command for being directed to file system is sent to electronic equipment;Wherein, unloading command, for unloading in electronic equipment File system occurs abnormal to avoid the file system;In this way, being set after being completed to testing for electrical equipment and to electronics Before standby power-off, control equipment instruction electronic equipment unloads the file system in electronic equipment internal disk partition, so that Electronic equipment deletes file system before improper power down, in this way, can damage to avoid in the case where improper power down File system in bad disk partition, and then can be effectively reduced the probability of the damage of file system, it ensure that electronic equipment Normal starting.
Based on previous embodiment, the embodiment of the present invention provides a kind of processing method of file system exception, such as Fig. 3 institute Show, this approach includes the following steps:
When step 301, control equipment complete the test before assembling for electronic equipment, is sent to electronic equipment and be directed to file The unloading command of system.
Wherein, unloading command occurs abnormal for unloading the file system in electronic equipment to avoid file system.
The unloading command for file system that step 302, electronic equipment receiving control apparatus are sent.
Wherein, unloading command is issued by control equipment when completing the test before the assembling for the electronic equipment.
Step 303, electronic equipment traversal file destination are to obtain mount point catalogue of the file system in file destination.
Wherein, under the file system mounted predetermined directory in file destination.Here, file destination includes read-write point Area;Correspondingly, in electronic equipment under predetermined directory of the All Files system carry in the read-write subregion.
Step 304, electronic equipment delete file system corresponding mount point catalogue in file destination.
If step 305, electronic equipment unloading of file system fail, the failure of the file system in electronic equipment will be unloaded As a result it is sent to control equipment, so that control equipment is handled for the electronic equipment of non-unloading of file system.
Wherein, it unloads the file system in electronic equipment and unsuccessfully includes at least unfinished uninstall file system within a preset time System.
Here, preset time can be the maximum time of the execution unloading of file system of control equipment setting, set in electronics During standby execution unloading command, the occurrence of inevitably will appear electronic equipment and do not respond, that is, crash;It can manage Solution, electronic equipment do not complete unloading of file system within a preset time, are largely because electronic equipment and are crashed The case where.Therefore, electronic equipment crashes in order to prevent, influences efficiency, when executing the maximum of unloading command for electronic equipment setting Length is very necessary.In the present embodiment, preset time can using equipment by the normal unloading of file system of electronic equipment time-consuming Between 3-4 times.
Step 306, control equipment if the unloading of file system failure for receiving electronic equipment transmission as a result, if to electronics Equipment sends the unloading command that n-th is directed to file system.
Wherein, n is the natural number greater than 1 and less than N, and N is maximum execution number.
In other embodiments of the invention, equipment is controlled after information is completed in the test for receiving electronic equipment transmission, Unloading command is sent, controlling electronic devices unloads the file system of electronic equipment;It is to be understood that in step 301 The unloading command that test is sent when completing is the 1st unloading command for controlling equipment and sending.If electronic equipment is based on the 1st unloading Instruction, unloading of file system failure, then can control electronics after controlling the result of equipment reception unloading of file system failure Equipment unloads its file system again;Therefore, the 2nd unloading command can be sent to electronic equipment, control electronics is set It is standby that 2nd unloading is executed to file system;After if electronic equipment executes the 2nd unloading command, still dismount failure, then After controlling the result that equipment receives unloading of file system failure, the 3rd unloading command is sent to electronic equipment again;With such It pushes away, until control equipment sends the unloading command that n-th is directed to file system.
In above process, if the success of electronic equipment unloading of file system, the electricity can directly be cut off by controlling equipment The power supply of sub- equipment exits the unloading process.
It should be noted that the case where endless loop occurs in unloading process in order to prevent, control equipment needs to be arranged maximum and unloads Carry number, i.e., it is maximum to execute times N.That is, after control equipment sends n-th unloading command, regardless of electronic equipment unloads Success or not is carried, unloading command is not retransmited.Wherein, the value of N can be 3-4.
The n-th unloading command for file system that step 307, electronic equipment receiving control apparatus are sent.
Wherein, n is the natural number greater than 1 and less than N, and N is maximum execution number.
In other embodiments of the invention, electronic equipment after test completion, controls what equipment was sent based on receiving Unloading command unloads the file system of electronic equipment;It can be understood as in step 302 after electronic equipment completes test The unloading command received is the 1st unloading command.
It should be noted that N is the maximum unloading number of control equipment setting, it is mainly used for preventing unloading process appearance from extremely following The case where ring.That is, the number that electronic equipment receives unloading command is up to n times.Wherein, the value of N can be 3-4.
Step 308, electronic equipment are based on n-th unloading command, unload the file system in electronic equipment.
It should be noted that in the present embodiment, if being based on n-th unloading command, unloading the file system in electronic equipment System failure, then the result by unloading of file system failure is sent to control equipment, executes step 306 and 307;If based on the N times unloading command unloads the file system success in electronic equipment, illustrates the unloading for completing file system, then control equipment and cut The power supply of disconnected electronic equipment, exits the unloading process.
If after step 309, electronic equipment execute n-th unloading command, the file system dismount failure in electronic equipment will The result of unloading of file system failure is sent to control equipment.
Wherein, after executing n-th unloading command, the file system dismount failure in electronic equipment is it is to be understood that electronics Unloading after equipment performs n times unloading command in total, still without completing file system.
If receiving the uninstall file system of electronic equipment transmission after step 310, control equipment send n-th unloading command Unite failing as a result, then sending the label of characterization file system exception to electronic equipment.
Wherein, control equipment still receives unloading of file system mistake after having sent n times unloading command to electronic equipment It is losing as a result, control equipment sends text to the electronic equipment it may be considered that the file system in the electronic equipment is abnormal The label of part system exception, for identifying electronic device file system exception.
Step 311, electronic equipment receive the label that the control equipment sends characterization file system exception.
It should be noted that the explanation in the present embodiment with same steps in other embodiments or related notion is referred to Description in other embodiments, details are not described herein again.
What the processing method of file system exception provided in an embodiment of the present invention, first receiving control apparatus were sent is directed to text The unloading command of part system, wherein mainboard of the unloading command by control equipment before completing the assembling for electronic equipment It is issued when test, is then based on unloading command, unload the file system in electronic equipment;In this way, complete to testing for electrical equipment At later and before powering off to electronic equipment, the file system in electronic equipment internal disk partition is unloaded, so that electric Sub- equipment deletes file system before improper power down, in this way, can damage to avoid in the case where improper power down File system in disk partition, and then can be effectively reduced the probability of the damage of file system, it ensure that electronic equipment just Often starting.
The method of embodiment to realize the present invention, the embodiment of the invention also provides a kind of electronic equipment, as shown in figure 4, The electronic equipment 4 includes the first receiving unit 41 and processing unit 42, wherein:
First receiving unit 41, the unloading command for file system sent for receiving control apparatus;Wherein, it unloads Instruction is issued by control equipment when completing the test before the assembling for electronic equipment;
Processing unit 42 unloads the file system in electronic equipment, for being based on unloading command to avoid the file system System occurs abnormal.
In some embodiments, processing unit 42, specifically for traversal file destination to obtain file system in target text Mount point catalogue in part;Wherein, under the file system mounted predetermined directory in file destination;File system is deleted in target Corresponding mount point catalogue in file.
In some embodiments, electronic equipment can also include the first transmission unit 41.
Wherein, the first transmission unit 43, for after the file system failure in unloading electronic equipment, unloading electronics to be set The result of file system failure in standby is sent to control equipment, so that control equipment is directed to the electronics of non-unloading of file system Equipment is handled;
Wherein, it unloads the file system in electronic equipment and unsuccessfully includes at least unfinished uninstall file system within a preset time System.
In some embodiments, the first receiving unit 41 be also used to receiving control apparatus transmission for the of file system N times unloading command;Wherein, n is the natural number greater than 1 and less than N, and N is maximum execution number;
Processing unit 42 is also used to, and is based on n-th unloading command, unloads the file system in file destination.
In some embodiments, the first transmission unit 43, if after being also used to execute n-th unloading command, in electronic equipment File system dismount failure, by unloading of file system failure result be sent to control equipment;
First receiving unit 41, if the file system in the electronic equipment is unloaded after being also used to execute n-th unloading command Failure is carried, then receives the label that the control equipment sends characterization file system exception.
In exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage mediums, for example including meter The first memory 51 of calculation machine program, above-mentioned computer program can be executed by the first processor 52 of electronic equipment 50, to complete Step described in preceding method.Computer readable storage medium can be magnetic RAM (FRAM, Ferromagnetic random access memory), read-only memory (ROM, Read Only Memory), it is programmable only Read memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory) etc. Memory.
The method of embodiment to realize the present invention, the embodiment of the invention also provides a kind of control equipment, as shown in fig. 6, The control equipment includes the second receiving unit 61 and the second transmission unit 62, wherein:
Second transmission unit 62, for sending needle to electronic equipment in the test before completing to assemble for electronic equipment To the unloading command of file system;Wherein, unloading command, for unloading the file system in electronic equipment, to avoid file system System occurs abnormal.
Wherein, information is completed in the second receiving unit 61, the test that can be used for receiving electronic equipment;
Second receiving unit 61 is also used to receive the result for the unloading of file system failure that the electronic equipment is sent;
Second transmission unit 62 is also used to after the result for receiving the unloading of file system failure that electronic equipment is sent, to Electronic equipment sends the unloading command that n-th is directed to file system;Wherein, n is the natural number greater than 1 and less than N, and N is maximum Execute number.
In some embodiments, the second receiving unit 61 is also used to after sending n-th unloading command, receives the electricity The result for the unloading of file system failure that sub- equipment is sent;
Second transmission unit 62 is also used to after sending n-th unloading command and receives the unloading of electronic equipment transmission After the result of file system failure, the label of characterization file system exception is sent to electronic equipment.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The second memory 71 of computer program, above-mentioned computer program can be executed by the second processor 72 of control equipment 70, with complete At step described in preceding method.Computer readable storage medium can be magnetic RAM (FRAM, Ferromagnetic random access memory), read-only memory (ROM, Read Only Memory), it is programmable only Read memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory) etc. Memory.
It, in the absence of conflict, can be in any combination between technical solution documented by the embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Ke Yitong Other modes are crossed to realize.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as:Multiple units or components can be tied It closes, or is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each group Can be through some interfaces at the mutual coupling in part or direct-coupling or communication connection, equipment or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a second processing unit, It is also possible to each unit individually as a unit, can also be integrated in one unit with two or more units; Above-mentioned integrated unit both can take the form of hardware realization, can also add the form of SFU software functional unit real using hardware It is existing.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (18)

1. a kind of processing method of file system exception, the method is applied to electronic equipment, the method includes:
The unloading command for file system that receiving control apparatus is sent;Wherein, the unloading command is by the control equipment It is issued when completing the test before the assembling for the electronic equipment;
Based on the unloading command, the file system in the electronic equipment is unloaded, is occurred to avoid the file system abnormal.
2. unloading the electronics the method according to claim 1, wherein described be based on the unloading command and setting File system in standby, including:
File destination is traversed to obtain mount point catalogue of the file system in the file destination;Wherein, the file Under predetermined directory of the system carry in the file destination;
Delete the file system corresponding mount point catalogue in the file destination.
3. according to the method described in claim 2, it is characterized in that, the file destination includes read-write subregion;Wherein, described In electronic equipment under predetermined directory of the All Files system carry in the read-write subregion.
4. either method according to claim 1 to 3, wherein the method also includes:
If unloading the file system failure in the electronic equipment;Wherein, the file system in the unloading electronic equipment Failure includes at least does not complete the unloading file system within a preset time;
Then the result by the file system unloaded in the electronic equipment failure is sent to the control equipment, so that the control Control equipment is handled for the electronic equipment of non-unloading of file system.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Receive the n-th unloading command for file system that the control equipment is sent;Wherein, n is greater than 1 and less than N's Natural number, N are maximum execution number;
Based on the n-th unloading command, the file system in the electronic equipment is unloaded.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If the file system dismount failure in the electronic equipment will unload the file system after executing n-th unloading command The result of failure is sent to the control equipment, and receives the label that the control equipment sends characterization file system exception.
7. a kind of processing method of file system exception, the method is applied to control equipment, the method includes:
When completing the test before assembling for electronic equipment, the unloading command for being directed to file system is sent to the electronic equipment; Wherein, the unloading command occurs different for unloading the file system in the electronic equipment to avoid the file system Often.
8. the method according to the description of claim 7 is characterized in that the method also includes:
If receive the unloading file system failure that the electronic equipment is sent as a result, if send to the electronic equipment N-th is directed to the unloading command of file system;Wherein, n is the natural number greater than 1 and less than N, and N is maximum execution number.
9. according to the method described in claim 8, it is characterized in that, the method also includes:
If after sending n-th unloading command, receive the unloading file system failure that the electronic equipment is sent as a result, The label of characterization file system exception is then sent to the electronic equipment.
10. a kind of electronic equipment, the electronic equipment include:First receiving unit and processing unit, wherein:
First receiving unit, the unloading command for file system sent for receiving control apparatus;Wherein, the unloading refers to It enables and being issued by the control equipment when completing the test of the mainboard before the assembling for the electronic equipment;
Processing unit unloads the file system in the electronic equipment, for being based on the unloading command to avoid the file System occurs abnormal.
11. electronic equipment according to claim 10, which is characterized in that wherein,
The processing unit, specifically for traversal file destination to obtain carry of the file system in the file destination Point catalogue;Wherein, under the file system mounted predetermined directory in the file destination;The file system is deleted in institute State corresponding mount point catalogue in file destination.
12. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that the electronic equipment further includes:
First transmission unit, for the electronic equipment will to be unloaded after unloading the file system failure in the electronic equipment In the result of file system failure be sent to the control equipment so that the control equipment is for non-unloading of file system Electronic equipment handled;
Wherein, the file system in the unloading electronic equipment unsuccessfully includes at least does not complete unloading institute within a preset time State file system.
13. according to electronic equipment described in right 12, which is characterized in that
First receiving unit is also used to, and receives the n-th unloading command for file system that the control equipment is sent; Wherein, n is to be greater than and 1 natural number for being less than N, and N is maximum to execute number;
The processing unit is also used to, and is based on the n-th unloading command, is unloaded the file system in the file destination.
14. electronic equipment according to claim 13, which is characterized in that
First transmission unit is also used to, if the file system unloading after executing n-th unloading command, in the electronic equipment The result for unloading the file system failure is sent to the control equipment by failure;
First receiving unit is also used to, and receives the label that the control equipment sends characterization file system exception.
15. a kind of control equipment, the control equipment include:Second transmission unit, wherein:
Second transmission unit, for being sent to the electronic equipment in the test before completing to assemble for electronic equipment For the unloading command of file system;Wherein, the unloading command, for unloading the file system in the electronic equipment, with The file system is avoided to occur abnormal.
16. control equipment according to claim 15, which is characterized in that the control equipment further includes the second reception list Member, wherein
Second receiving unit, for receiving the result for the unloading file system failure that the electronic equipment is sent;
Second transmission unit is also used in the result for receiving the unloading file system failure that the electronic equipment is sent Afterwards, the unloading command that n-th is directed to file system is sent to the electronic equipment;Wherein, n is the nature greater than 1 and less than N Number, N are maximum execution number.
17. control equipment according to claim 16, which is characterized in that
Second receiving unit is also used to after sending n-th unloading command, receives the unloading that the electronic equipment is sent The result of the file system failure;
Second transmission unit is also used to after sending n-th unloading command and receives unloading for the electronic equipment transmission After the result for carrying the file system failure, the label of characterization file system exception is sent to the electronic equipment.
18. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor The step of any one of Shi Shixian claim 1 to 9 the method.
CN201810341695.8A 2018-04-17 2018-04-17 Processing method and device for file system exception and computer storage medium Expired - Fee Related CN108920480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810341695.8A CN108920480B (en) 2018-04-17 2018-04-17 Processing method and device for file system exception and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810341695.8A CN108920480B (en) 2018-04-17 2018-04-17 Processing method and device for file system exception and computer storage medium

Publications (2)

Publication Number Publication Date
CN108920480A true CN108920480A (en) 2018-11-30
CN108920480B CN108920480B (en) 2021-09-03

Family

ID=64402953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810341695.8A Expired - Fee Related CN108920480B (en) 2018-04-17 2018-04-17 Processing method and device for file system exception and computer storage medium

Country Status (1)

Country Link
CN (1) CN108920480B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727528A (en) * 2019-08-22 2020-01-24 深圳市元征科技股份有限公司 Memory failure recovery method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866211A (en) * 2005-05-17 2006-11-22 韩国电子通信研究院 Method for forced unloading of file system
US20100198843A1 (en) * 2009-02-03 2010-08-05 Bmc Software, Inc. Software Title Discovery
CN102799519A (en) * 2012-06-07 2012-11-28 浪潮电子信息产业股份有限公司 Automatic test method for cluster file system
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
CN106126272A (en) * 2016-06-15 2016-11-16 北京小米移动软件有限公司 File system discharging method and device
CN106776161A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 A kind of method for preventing power failure data from losing, device and mobile terminal
CN107656871A (en) * 2017-09-30 2018-02-02 郑州云海信息技术有限公司 A kind of rear end storage performance automated testing method based on Postmark

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866211A (en) * 2005-05-17 2006-11-22 韩国电子通信研究院 Method for forced unloading of file system
US20100198843A1 (en) * 2009-02-03 2010-08-05 Bmc Software, Inc. Software Title Discovery
CN102799519A (en) * 2012-06-07 2012-11-28 浪潮电子信息产业股份有限公司 Automatic test method for cluster file system
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
CN106126272A (en) * 2016-06-15 2016-11-16 北京小米移动软件有限公司 File system discharging method and device
CN106776161A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 A kind of method for preventing power failure data from losing, device and mobile terminal
CN107656871A (en) * 2017-09-30 2018-02-02 郑州云海信息技术有限公司 A kind of rear end storage performance automated testing method based on Postmark

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727528A (en) * 2019-08-22 2020-01-24 深圳市元征科技股份有限公司 Memory failure recovery method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108920480B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN108399132B (en) Scheduling test method, device and storage medium
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN103455352B (en) The method of application deployment software and application software dispose device
CN102567015A (en) Method and system for DYNAMIC SOFTWARE VERSION SELECTION
CN105760200A (en) Terminal device and system updating method thereof
CN108491322A (en) Automated testing method, device and storage medium
CN107577472B (en) Software installation method and device and computer readable storage medium
CN110147241A (en) Program configures update method, electronic device, computer equipment and storage medium
CN103067459A (en) Field programmable gate array (FPGA) remote loading device based on digital signal processor
CN108519934A (en) Board test method, device, readable storage medium storing program for executing and computer equipment
CN106648685A (en) Processing method and device of intelligent terminal system and intelligent terminal
CN105786562A (en) Method and device for integrating plug-in
CN107911741A (en) Free memory method for improving, smart television and computer-readable recording medium
CN104081311A (en) Apparatus and method for managing operation of a mobile device
CN109783390A (en) PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium
CN109582337A (en) A kind of method, apparatus and computer readable storage medium of firmware upgrade
CN103577215A (en) Method and system of uninstalling and installing software
CN108920480A (en) A kind of processing method and equipment, computer storage medium of file system exception
US11797184B2 (en) SD card hot plugging identification method, SD card identification module and electronic device
CN109376072A (en) Application development method and apparatus based on third party's Component Gallery
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN115422091B (en) Firmware debugging method and device, electronic equipment and storage medium
CN111782236A (en) System software upgrading method and device, storage medium and all-in-one machine equipment
CN109558179A (en) Program code on-line loaded method, program code online upgrading method and system
CN109783261A (en) The collapse processing method and processing device of terminal applies, electronic equipment, storage 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210903