CN107393594A - A kind of multinuclear solid state hard disc adjustment method and system - Google Patents
A kind of multinuclear solid state hard disc adjustment method and system Download PDFInfo
- Publication number
- CN107393594A CN107393594A CN201710626042.XA CN201710626042A CN107393594A CN 107393594 A CN107393594 A CN 107393594A CN 201710626042 A CN201710626042 A CN 201710626042A CN 107393594 A CN107393594 A CN 107393594A
- Authority
- CN
- China
- Prior art keywords
- access request
- serial port
- resource
- cpu core
- port resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/04—Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
- G11C29/08—Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
- G11C29/12—Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
- G11C29/44—Indication or identification of errors, e.g. for repair
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of multinuclear solid state hard disc adjustment method and system, including:Serial ports is set to export lock resource label position for the public storage area of solid state hard disc, when detecting the serial port resource access request that CPU core is sent, determine the state of serial ports output lock resource label position, when its state shows that the serial port resource of current public storage area is unoccupied, receive the access request of the CPU core of transmission serial port resource access request, export serially printing.This programme for the public storage area of solid state hard disc by setting serial ports to export lock resource label position, when detecting the access request of CPU core, the flag bit state is confirmed, so that only when flag bit shows that serial port resource is unoccupied, just allow to access, the serially printing of the CPU core is carried out, mess code occurs so as to avoid multiple CPU cores while access printing caused by serial port resource, the problem of effect of AccessPort application can not be played.
Description
Technical field
The present invention relates to debugging field, more particularly to a kind of multinuclear solid state hard disc adjustment method and system.
Background technology
With the development of the technologies such as internet, cloud computing, Internet of Things, solid state hard disc is wide as storage device of new generation
General application.In the solid state hard disc software system development stage, one of serially printing debugging method important as embedded device, tool
It is significant.
For the solid state hard disc of multicore architecture, i.e., there are multiple CPU cores in the board chip of solid state hard disc, in each CPU
The core process independent equivalent to one, multiple processes can be run simultaneously.
When being debugged for multinuclear solid state hard disc, multiple CPU cores access serial port resource simultaneously, and serial ports just occurs
During output, content mix it is miscellaneous together, so as to cause serially printing the problem of mess code occur, the due effect of AccessPort can not be played
Fruit.
The content of the invention
In view of this, the present invention provides a kind of multinuclear solid state hard disc adjustment method and system, right in the prior art to solve
When multinuclear solid state hard disc is debugged, multiple CPU access serial port resource simultaneously, cause serially printing mess code occur, can not play
The problem of effect of AccessPort application, its concrete scheme is as follows:
A kind of multinuclear solid state hard disc adjustment method, applied to solid state hard disc, including:
Serial ports is set to export lock resource label position for the public storage area of the solid state hard disc;
When detecting the serial port resource access request that CPU core is sent, the serial ports output lock resource label position is determined
State;
The state that lock resource label position is exported when the serial ports shows that the serial port resource of current public storage area is not occupied
Used time, receive the access request of the CPU core for sending serial port resource access request, export serially printing.
Further, in addition to:
The state that lock resource label position is exported when the serial ports shows that the serial port resource of current public storage area is occupied
When, be not responding to it is described transmission serial port resource access request CPU core access request.
Further, the string for showing current public storage area when the state of serial ports output lock resource label position
When mouth resource is unoccupied, receive the access request of the CPU core for sending serial port resource access request, including:
The state that lock resource label position is exported when the serial ports shows that the serial port resource of current public storage area is not occupied
Used time, it is determined that the quantity of the CPU core of the transmission serial port resource access request detected;
When the quantity of the CPU core detected is no less than two, it is determined that what is detected described is no less than two
The priority orders of CPU core;
Receive the access request no less than priority orders highest CPU core in two CPU cores.
Further, it is determined that the priority orders for being no less than two CPU cores detected, including:
It is determined that the time for being no less than two CPU cores and sending serial port resource access request detected;
Time order and function according to the serial port resource access request determines described suitable no less than the priority of two CPU cores
Sequence.
Further, the state of the serial ports output lock resource label position shows the serial port resource of current public storage area
It is whether occupied, including:
When it is 1 that the serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is occupied;
When it is 0 that the serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is not occupied
With.
Further, when the access request of the CPU core for receiving the transmission serial port resource access request, also wrap
Include:
It is 1 that the serial ports is exported into lock resource label position.
Further, in addition to:
At the end of the serial port resource of the public storage area is occupied, the serial ports is exported into lock resource label position
For 0.
A kind of multinuclear solid state hard disc debugging system, applied to solid state hard disc, including:Setting unit, determining unit, printing list
Member, wherein:
The setting unit is used to set serial ports to export lock flag bit for the public storage area of the solid state hard disc;
The determining unit is used to, when detecting the serial port resource access request that CPU core is sent, determine the serial ports
The state of output lock resource label position;
The print unit is used for when the state of serial ports output lock resource label position shows current public storage area
Serial port resource it is unoccupied when, receive it is described send serial port resource access request CPU core access request, export serial ports
Printing.
Further, the print unit is additionally operable to:
The state that lock resource label position is exported when the serial ports shows that the serial port resource of current public storage area is occupied
When, be not responding to it is described transmission serial port resource access request CPU core access request.
Further, the print unit is additionally operable to:
When receiving the access request of the CPU core for sending serial port resource access request, the serial ports is exported and locked
Resource label position is occupied state;
At the end of the serial port resource of the public storage area is occupied, the serial ports is exported into lock resource label position
For unoccupied state.
It can be seen from the above technical proposal that multinuclear solid state hard disc adjustment method disclosed in the present application and system, including:For
The public storage area of solid state hard disc sets serial ports to export lock resource label position, when the serial port resource for detecting CPU core transmission
During access request, the state of serial ports output lock resource label position is determined, when its state shows the serial ports of current public storage area
When resource is unoccupied, receives to send the access request of the CPU core of serial port resource access request, export serially printing.We
Case is detecting the access of CPU core by setting serial ports to export lock resource label position for the public storage area of solid state hard disc
During request, the flag bit state is confirmed, so that only just permitting when flag bit shows that serial port resource is unoccupied
Perhaps access, carry out the serially printing of the CPU core, caused by having avoided multiple CPU cores while accessing serial port resource
Printing there is mess code, can not play AccessPort application effect the problem of.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of multinuclear solid state hard disc adjustment method disclosed in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of multinuclear solid state hard disc adjustment method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of multinuclear solid state hard disc debugging system disclosed in the embodiment of the present invention.
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 clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The invention discloses a kind of multinuclear solid state hard disc adjustment method, applied to solid state hard disc, wherein, the plate of solid state hard disc
There are multiple CPU cores in the core of the card piece, during being debugged to solid state hard disc, it may appear that multiple CPU cores access simultaneously
Serial port resource, content mix it is miscellaneous mess code just occurs in serially printing together, the effect that AccessPort can not be played.
And this application discloses a kind of multinuclear solid state hard disc adjustment method, exactly in order to solve this problem, its flow chart
As shown in figure 1, including:
Step S11, it is the public storage area setting serial ports output lock resource label position of solid state hard disc;
Each CPU core has its corresponding dram space in solid state hard disc, in addition, is additionally provided with solid state hard disc
One public storage area, for carrying out serially printing.
Set serial ports to export lock resource label position for public storage area, i.e., when public storage area is occupied, other
CPU core can not conduct interviews again, until public storage area is not occupied, could receive the access of other CPU cores, carry out
Serially printing.
Step S12, when detecting the serial port resource access request that CPU core is sent, serial ports output lock resource mark is determined
The state of will position;
Step S13, the state that lock resource label position is exported when serial ports shows the serial port resource of current public storage area not
When occupied, receive to send the access request of the CPU core of serial port resource access request, export serially printing.
When there is the access request that CPU core sends serial port resource, it is necessary first to it is determined that current serial ports output lock resource mark
The state of will position, i.e., whether current public storage area is occupied, if unoccupied, receives the access request of the CPU core,
Carry out serially printing;If occupied, the access request of the CPU can not be responded, or, send feedback information makes to the CPU core
The clearly current serial port resource of the CPU core is occupied, cannot respond to its access request.
Specifically, when CPU core sends serial port resource access request, access request is not received and is received, or in the CPU
Core is not allowed to access public storage area, or after receiving the occupied information of serial port resource, the CPU core can continue to send out
Access request is sent, until the CPU core is allowed access to public storage area.
Further, it is at the end of the serial port resource of public storage area is taken by one of CPU core, serial ports is defeated
It is idle condition to go out to lock resource label position, until the access for receiving the CPU core of the transmission serial port resource access request please
When asking, it is occupied state that serial ports is exported into lock resource label position.
Wherein, the state of serial ports output lock resource label position shows whether the serial port resource of current public storage area is occupied
With, including:When it is 1 that serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is occupied;Work as string
When mouth output lock resource label position is 0, show that the serial port resource of current public storage area is unoccupied.
When receiving the access request of CPU core of the transmission serial port resource access request, serial ports is exported into lock resource mark
Will position is 1;At the end of the serial port resource of public storage area is occupied, it is 0 that serial ports is exported into lock resource label position.
Specifically, it can also show whether the serial port resource of current public storage area is occupied using other modes, such as:
Serial ports is directly exported into lock resource label position and is arranged to seizure condition, or unoccupied state, or:Only serial ports is set to export
Lock, when serial ports output lock is lock-out state, shows that the serial port resource of public storage area is occupied, locked when the serial ports exports
For open mode when, show that the serial port resource of public storage area is unoccupied.
Multinuclear solid state hard disc adjustment method disclosed in the present embodiment, including:Set for the public storage area of solid state hard disc
Serial ports output lock resource label position, when detecting the serial port resource access request that CPU core is sent, determine serial ports output lock money
The state of source indicator position, when its state shows that the serial port resource of current public storage area is unoccupied, receive to send serial ports
The access request of the CPU core of resource access request, export serially printing.This programme passes through the common storage area for solid state hard disc
Domain sets serial ports to export lock resource label position, when detecting the access request of CPU core, the flag bit state is carried out true
Recognize, so that only just allowing to access, carrying out the serial ports of the CPU core when flag bit shows that serial port resource is unoccupied
Printing, there is mess code so as to avoid multiple CPU cores while access printing caused by serial port resource, serial ports can not be played and adjusted
The problem of trying the effect of application.
Multinuclear solid state hard disc adjustment method disclosed in the present embodiment, applied to solid state hard disc, its flow chart as shown in Fig. 2
Including:
Step S21, it is the public storage area setting serial ports output lock resource label position of solid state hard disc;
Step S22, when detecting the serial port resource access request that CPU core is sent, serial ports output lock resource mark is determined
The state of will position;
Step S23, the state that lock resource label position is exported when serial ports shows the serial port resource of current public storage area not
When occupied, it is determined that the quantity of the CPU core of the transmission serial port resource access request detected;
Step S24, when the quantity of the CPU core detected is no less than two, it is determined that what is detected is no less than two
The priority orders of CPU core;
When the CPU core for sending serial port resource access request is 1, exports lock resource label position in serial ports and show currently
When the serial port resource of public storage area is unoccupied, directly receive the access request of the CPU core, export serially printing;When
Send serial port resource access request CPU core quantity be more than 1, i.e., no less than two when, it is necessary to from this be no less than two
Chosen in CPU core one of as the CPU core to be conducted interviews to serial port resource.
Specifically, the priority orders no less than two CPU cores are determined, according to corresponding to receiving its priority orders
The access request of CPU core.
Further, the priority orders no less than two CPU cores, Ke Yiwei are determined:It is determined that detect this not
Less than two CPU cores send the time of serial port resource access request, are determined according to the time order and function of serial port resource access request
No less than the priority orders of two CPU cores.
Specifically, when CPU core transmission serial port resource access request, when not receiving response, if CPU core is persistently sent
Serial port resource access request, then, system records the time that the CPU core sends serial port resource access request first, during by this
Between the CPU core that arrives as system detectio send time of serial port resource access request;Visited when CPU core sends serial port resource
Request is asked, when not receiving response, the CPU core does not retransmit serial port resource access request, but records the transmission by system
The CPU core information of serial port resource access request and time, serial ports is sent using the time as the CPU core that system detectio arrives
The time of resource access request, and according to priority orders using the CPU core as during the CPU core of the first priority, root
The CPU core information recorded when sending serial port resource access request according to it responds thereto.
Wherein, according to corresponding to receiving priority orders CPU core access request, specifically, determine send serial ports money
The sequencing of the CPU core of source access request, earliest CPU core for sending serial port resource access request is excellent as first
First level, and priority orders are arranged in order according to time order and function order, the state that lock resource label position is exported when serial ports shows to work as
When the serial port resource of preceding storage region is unoccupied, since the first priority, it is allowed to which corresponding CPU core accesses serial ports money
Source.
Step S25, the access request no less than priority orders highest CPU core in two CPU cores, output are received
Serially printing.
Multinuclear solid state hard disc adjustment method disclosed in the present embodiment, including:Set for the public storage area of solid state hard disc
Serial ports output lock resource label position, when detecting the serial port resource access request that CPU core is sent, determine serial ports output lock money
The state of source indicator position, when its state shows that the serial port resource of current public storage area is unoccupied, receive to send serial ports
The access request of the CPU core of resource access request, export serially printing.This programme passes through the common storage area for solid state hard disc
Domain sets serial ports to export lock resource label position, when detecting the access request of CPU core, the flag bit state is carried out true
Recognize, so that only just allowing to access, carrying out the serial ports of the CPU core when flag bit shows that serial port resource is unoccupied
Printing, there is mess code so as to avoid multiple CPU cores while access printing caused by serial port resource, serial ports can not be played and adjusted
The problem of trying the effect of application.
Present embodiment discloses a kind of multinuclear solid state hard disc debugging system, and applied to solid state hard disc, its structural representation is such as
Shown in Fig. 3, including:
Setting unit 31, determining unit 32 and print unit 33.
Setting unit 31 is used to set serial ports to export lock flag bit for the public storage area of solid state hard disc.
Each CPU core has its corresponding dram space in solid state hard disc, in addition, is additionally provided with solid state hard disc
One public storage area, for carrying out serially printing.
Set serial ports to export lock resource label position for public storage area, i.e., when public storage area is occupied, other
CPU core can not conduct interviews again, until public storage area is not occupied, could receive the access of other CPU cores, carry out
Serially printing.
Determining unit 32 is used for when detecting the serial port resource access request that CPU core is sent, and determines serial ports output lock
The state of resource label position.
Print unit 33 is used for when the state of serial ports output lock resource label position shows the serial ports of current public storage area
When resource is unoccupied, receives to send the access request of the CPU core of serial port resource access request, export serially printing.
When there is the access request that CPU core sends serial port resource, it is necessary first to it is determined that current serial ports output lock resource mark
The state of will position, i.e., whether current public storage area is occupied, if unoccupied, receives the access request of the CPU core,
Carry out serially printing;If occupied, the access request of the CPU can not be responded, or, send feedback information makes to the CPU core
The clearly current serial port resource of the CPU core is occupied, cannot respond to its access request.
Specifically, when CPU core sends serial port resource access request, access request is not received and is received, or in the CPU
Core is not allowed to access public storage area, or after receiving the occupied information of serial port resource, the CPU core can continue to send out
Access request is sent, until the CPU core is allowed access to public storage area.
Further, it is at the end of the serial port resource of public storage area is taken by one of CPU core, serial ports is defeated
It is idle condition to go out to lock resource label position, until the access for receiving the CPU core of the transmission serial port resource access request please
When asking, it is occupied state that serial ports is exported into lock resource label position.
Wherein, the state of serial ports output lock resource label position shows whether the serial port resource of current public storage area is occupied
With, including:When it is 1 that serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is occupied;Work as string
When mouth output lock resource label position is 0, show that the serial port resource of current public storage area is unoccupied.
When receiving the access request of CPU core of the transmission serial port resource access request, serial ports is exported into lock resource mark
Will position is 1;At the end of the serial port resource of public storage area is occupied, it is 0 that serial ports is exported into lock resource label position.
Specifically, it can also show whether the serial port resource of current public storage area is occupied using other modes, such as:
Serial ports is directly exported into lock resource label position and is arranged to seizure condition, or unoccupied state, or:Only serial ports is set to export
Lock, when serial ports output lock is lock-out state, shows that the serial port resource of public storage area is occupied, locked when the serial ports exports
For open mode when, show that the serial port resource of public storage area is unoccupied.
Print unit 33 is specifically used for:The state that lock resource label position is exported when serial ports shows current public storage area
When serial port resource is unoccupied, it is determined that the quantity of the CPU core of the transmission serial port resource access request detected, when what is detected
When the quantity of CPU core is no less than two, it is determined that the priority orders no less than two CPU cores detected, receive not
Less than the access request of priority orders highest CPU core in two CPU cores..
When the CPU core for sending serial port resource access request is 1, exports lock resource label position in serial ports and show currently
When the serial port resource of public storage area is unoccupied, directly receive the access request of the CPU core, export serially printing;When
Send serial port resource access request CPU core quantity be more than 1, i.e., no less than two when, it is necessary to from this be no less than two
Chosen in CPU core one of as the CPU core to be conducted interviews to serial port resource.
Specifically, the priority orders no less than two CPU cores are determined, according to corresponding to receiving its priority orders
The access request of CPU core.
Further, the priority orders no less than two CPU cores, Ke Yiwei are determined:It is determined that detect this not
Less than two CPU cores send the time of serial port resource access request, are determined according to the time order and function of serial port resource access request
No less than the priority orders of two CPU cores.
Specifically, when CPU core transmission serial port resource access request, when not receiving response, if CPU core is persistently sent
Serial port resource access request, then, system records the time that the CPU core sends serial port resource access request first, during by this
Between the CPU core that arrives as system detectio send time of serial port resource access request;Visited when CPU core sends serial port resource
Request is asked, when not receiving response, the CPU core does not retransmit serial port resource access request, but records the transmission by system
The CPU core information of serial port resource access request and time, serial ports is sent using the time as the CPU core that system detectio arrives
The time of resource access request, and according to priority orders using the CPU core as during the CPU core of the first priority, root
The CPU core information recorded when sending serial port resource access request according to it responds thereto.
Wherein, according to corresponding to receiving priority orders CPU core access request, specifically, determine send serial ports money
The sequencing of the CPU core of source access request, earliest CPU core for sending serial port resource access request is excellent as first
First level, and priority orders are arranged in order according to time order and function order, the state that lock resource label position is exported when serial ports shows to work as
When the serial port resource of preceding storage region is unoccupied, since the first priority, it is allowed to which corresponding CPU core accesses serial ports money
Source.
Multinuclear solid state hard disc debugging system disclosed in the present embodiment, including:Set for the public storage area of solid state hard disc
Serial ports output lock resource label position, when detecting the serial port resource access request that CPU core is sent, determine serial ports output lock money
The state of source indicator position, when its state shows that the serial port resource of current public storage area is unoccupied, receive to send serial ports
The access request of the CPU core of resource access request, export serially printing.This programme passes through the common storage area for solid state hard disc
Domain sets serial ports to export lock resource label position, when detecting the access request of CPU core, the flag bit state is carried out true
Recognize, so that only just allowing to access, carrying out the serial ports of the CPU core when flag bit shows that serial port resource is unoccupied
Printing, there is mess code so as to avoid multiple CPU cores while access printing caused by serial port resource, serial ports can not be played and adjusted
The problem of trying the effect of application.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (10)
- A kind of 1. multinuclear solid state hard disc adjustment method, applied to solid state hard disc, it is characterised in that including:Serial ports is set to export lock resource label position for the public storage area of the solid state hard disc;When detecting the serial port resource access request that CPU core is sent, the shape of the serial ports output lock resource label position is determined State;When the state that the serial ports exports lock resource label position shows that the serial port resource of current public storage area is unoccupied, Receive the access request of the CPU core of the transmission serial port resource access request, export serially printing.
- 2. according to the method for claim 1, it is characterised in that also include:When the state that the serial ports exports lock resource label position shows that the serial port resource of current public storage area is occupied, no Respond the access request of the CPU core of the transmission serial port resource access request.
- 3. according to the method for claim 1, it is characterised in that described when the state of serial ports output lock resource label position When showing that the serial port resource of current public storage area is unoccupied, receive in the CPU for sending serial port resource access request The access request of core, including:When the state that the serial ports exports lock resource label position shows that the serial port resource of current public storage area is unoccupied, It is determined that the quantity of the CPU core of the transmission serial port resource access request detected;When the quantity of the CPU core detected is no less than two, it is determined that what is detected described is no less than in two CPU The priority orders of core;Receive the access request no less than priority orders highest CPU core in two CPU cores.
- 4. according to the method for claim 3, it is characterised in that it is determined that what is detected described is no less than two CPU cores Priority orders, including:It is determined that the time for being no less than two CPU cores and sending serial port resource access request detected;Time order and function according to the serial port resource access request determines the priority orders no less than two CPU cores.
- 5. according to the method for claim 1, it is characterised in that the state of the serial ports output lock resource label position shows to work as Whether the serial port resource of preceding public storage area is occupied, including:When it is 1 that the serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is occupied;When it is 0 that the serial ports, which exports lock resource label position, show that the serial port resource of current public storage area is unoccupied.
- 6. according to the method for claim 5, it is characterised in that send serial port resource access request when the receiving is described During the access request of CPU core, in addition to:It is 1 that the serial ports is exported into lock resource label position.
- 7. according to the method for claim 5, it is characterised in that also include:At the end of the serial port resource of the public storage area is occupied, it is 0 that the serial ports is exported into lock resource label position.
- A kind of 8. multinuclear solid state hard disc debugging system, applied to solid state hard disc, it is characterised in that including:Setting unit, it is determined that single Member, print unit, wherein:The setting unit is used to set serial ports to export lock flag bit for the public storage area of the solid state hard disc;The determining unit is used for when detecting the serial port resource access request that CPU core is sent, and determines the serial ports output Lock the state of resource label position;The print unit is used for when the state of serial ports output lock resource label position shows the string of current public storage area When mouth resource is unoccupied, receive the access request of the CPU core for sending serial port resource access request, output serial ports is beaten Print.
- 9. system according to claim 8, it is characterised in that the print unit is additionally operable to:When the state that the serial ports exports lock resource label position shows that the serial port resource of current public storage area is occupied, no Respond the access request of the CPU core of the transmission serial port resource access request.
- 10. system according to claim 8, it is characterised in that the print unit is additionally operable to:When receiving the access request of the CPU core for sending serial port resource access request, the serial ports is exported into lock resource Mark position is occupied state;At the end of the serial port resource of the public storage area is occupied, the serial ports is exported into lock resource label position as not Occupied state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626042.XA CN107393594A (en) | 2017-07-27 | 2017-07-27 | A kind of multinuclear solid state hard disc adjustment method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626042.XA CN107393594A (en) | 2017-07-27 | 2017-07-27 | A kind of multinuclear solid state hard disc adjustment method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107393594A true CN107393594A (en) | 2017-11-24 |
Family
ID=60341854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710626042.XA Pending CN107393594A (en) | 2017-07-27 | 2017-07-27 | A kind of multinuclear solid state hard disc adjustment method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107393594A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090509A (en) * | 2019-12-06 | 2020-05-01 | 深圳震有科技股份有限公司 | MDIO resource access method, storage medium and intelligent terminal |
CN111813718A (en) * | 2020-06-30 | 2020-10-23 | 济南浪潮数据技术有限公司 | Log output method, device and equipment and readable storage medium |
CN112380000A (en) * | 2020-10-23 | 2021-02-19 | 成都佰维存储科技有限公司 | Serial port sharing method and device, readable storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060064511A1 (en) * | 2003-05-28 | 2006-03-23 | Noriyasu Fukatsu | Programmable controller |
CN1922597A (en) * | 2003-12-30 | 2007-02-28 | 索尼爱立信移动通讯股份有限公司 | Multiprocessor mobile terminal with shared memory arbitration |
CN101493808A (en) * | 2009-02-26 | 2009-07-29 | 华为技术有限公司 | Serial using method and multi-core processor |
CN103294630A (en) * | 2013-05-07 | 2013-09-11 | 福建鑫诺通讯技术有限公司 | Method for realizing serial port multiplexing in embedded LINUX system |
CN103778014A (en) * | 2012-10-25 | 2014-05-07 | 中兴通讯股份有限公司 | Multi-core terminal resource sharing method and device |
-
2017
- 2017-07-27 CN CN201710626042.XA patent/CN107393594A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060064511A1 (en) * | 2003-05-28 | 2006-03-23 | Noriyasu Fukatsu | Programmable controller |
CN1922597A (en) * | 2003-12-30 | 2007-02-28 | 索尼爱立信移动通讯股份有限公司 | Multiprocessor mobile terminal with shared memory arbitration |
CN101493808A (en) * | 2009-02-26 | 2009-07-29 | 华为技术有限公司 | Serial using method and multi-core processor |
CN103778014A (en) * | 2012-10-25 | 2014-05-07 | 中兴通讯股份有限公司 | Multi-core terminal resource sharing method and device |
CN103294630A (en) * | 2013-05-07 | 2013-09-11 | 福建鑫诺通讯技术有限公司 | Method for realizing serial port multiplexing in embedded LINUX system |
Non-Patent Citations (2)
Title |
---|
王春森: "《系统设计师(高级程序员)教程》", 31 December 2001 * |
韩振宇等: "《先进制造理论研究与工程技术系列机床数控技术》", 31 August 2013, 哈尔滨工业大学出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090509A (en) * | 2019-12-06 | 2020-05-01 | 深圳震有科技股份有限公司 | MDIO resource access method, storage medium and intelligent terminal |
CN111090509B (en) * | 2019-12-06 | 2023-08-11 | 深圳震有科技股份有限公司 | MDIO resource access method, storage medium and intelligent terminal |
CN111813718A (en) * | 2020-06-30 | 2020-10-23 | 济南浪潮数据技术有限公司 | Log output method, device and equipment and readable storage medium |
CN112380000A (en) * | 2020-10-23 | 2021-02-19 | 成都佰维存储科技有限公司 | Serial port sharing method and device, readable storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190172026A1 (en) | Cross blockchain secure transactions | |
CN103458036B (en) | Access device and method of cluster file system | |
EP3779760B1 (en) | Blockchain-based data processing method and apparatus, and electronic device | |
Chiang et al. | c‐Bottlenecks in serial production lines: Identification and application | |
CN106354544A (en) | Virtual machine creating method and system and host | |
US9516093B2 (en) | Data sharing methods and portable terminals | |
US20070260545A1 (en) | Trusted platform module data harmonization during trusted server rendevous | |
CN107393594A (en) | A kind of multinuclear solid state hard disc adjustment method and system | |
CN103441861B (en) | A kind of data record generation method and device | |
CN109005226A (en) | The acquisition methods of sensing data, acquisition system and relevant apparatus in server | |
CN113204530B (en) | Data writing method, device, equipment and medium of distributed file system | |
CN110515706A (en) | A kind of request processing method, device, equipment and readable storage medium storing program for executing | |
CN109543459A (en) | A kind of data deposit card method and apparatus | |
CN109246248B (en) | Data credible safety sharing system and method based on block chain technology | |
CN110445765A (en) | Data sharing method, terminal device and medium based on block chain | |
CN110380857A (en) | Digital certificate processing method and processing device, block chain node, storage medium | |
US7761468B2 (en) | Supporting multiple security mechanisms in a database driver | |
TWI362002B (en) | Method and computer program product for automated generation of message exchange pattern simulation code | |
CN107368351A (en) | A kind of automatic upgrade expanding method of virtual machine configuration and device | |
CN107623699A (en) | A kind of encryption system based on cloud environment | |
CN107133499A (en) | A kind of software copyright protecting method, client, service end and system | |
CN106708445A (en) | Link selection method and device | |
CN112950341A (en) | Accounting system based on block chain | |
CN102904946A (en) | Method and device for managing nodes in cluster | |
CN110413322A (en) | A kind of server network interface management method, system and baseboard management controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |