CN104699635B - A kind of electronic equipment and information processing method - Google Patents
A kind of electronic equipment and information processing method Download PDFInfo
- Publication number
- CN104699635B CN104699635B CN201310657211.8A CN201310657211A CN104699635B CN 104699635 B CN104699635 B CN 104699635B CN 201310657211 A CN201310657211 A CN 201310657211A CN 104699635 B CN104699635 B CN 104699635B
- Authority
- CN
- China
- Prior art keywords
- transmitted
- frames
- unit
- hardware queue
- administrative unit
- 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.)
- Active
Links
Landscapes
- Communication Control (AREA)
Abstract
The application solves in the prior art, existing how to realize accurately controls the technical issues of accessing principal access stage sequential, realizes the technique effect for accurately controlling and accessing principal access stage sequential by providing a kind of electronic equipment and information processing method.The electronic equipment includes:Timing unit;Hardware queue administrative unit, the hardware queue administrative unit are connect with the timing unit;Storage unit, for storing data to be transmitted queue, the storage unit is connect with the hardware queue administrative unit;Control module is sent, is connect with the hardware queue administrative unit;Wherein, after the hardware queue administrative unit, which receives first for characterizing N frames to be transmitted in data to be transmitted queue that the timing unit is sent, sends the first time signal of request, and the first pointer of the N frames to be transmitted is sent to the transmission control module when meeting transmission condition by the N frames to be transmitted in the data to be transmitted described in the storage unit.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of electronic equipment and information processing methods.
Background technology
In January, 2013, IEEE(Institute of Electrical and Electronics Engineers, electronics
The Institution of Electrical Engineers)Formally annotates and issued supper-fast, short range wireless transmission standard 802.11ad.802.11ad is short
Distance Transmission provides the transmission speed of 7Gbps, frequency 60GHz.
There is DMG in new 802.11ad agreements in 802.11 other agreements before comparing(Directional
Multi-Gigabit orients more gigabits)Channal access orient the medium access side of more gigabit channel access interfaces
Formula, and include SP in DMG channal access(Service period, service stage)It accesses.Because 802.11ad is assisted
The minimum time interval of view is 1 microsecond and 3 microseconds, and error generally requires within 10%, meanwhile, Jie of 802.11 related protocols
Matter access control sublayer is very strict to timing requirements, therefore this required precision, common embeded processor or individually use
Software carrys out the accurate timing control that control sequential all cannot achieve SP dial-tone stages.However, it is current in the prior art, also
There is no a kind of technology for the SP dial-tone stage timing control disclosure satisfy that the required precision.
Therefore, in the prior art, there is technical issues that how to realize to accurately control and access the principal access stage.
Invention content
The application solves in the prior art by providing a kind of electronic equipment and information processing method, it is existing such as
What realize accurately controls access principal access stage sequential the technical issues of, realize accurately control access the principal access stage when
The technique effect of sequence.
On the one hand, an embodiment of the present invention provides a kind of electronic equipment, including:
Timing unit;
Hardware queue administrative unit, the hardware queue administrative unit are connect with the timing unit;
Storage unit, for storing data to be transmitted queue, the storage unit connects with the hardware queue administrative unit
It connects;
Control module is sent, is connect with the hardware queue administrative unit;
Wherein, when the hardware queue administrative unit receives the to be transmitted for characterizing characterization of the timing unit transmission
After the first of N frames to be transmitted sends the first time signal of request in data queue, and waited for described in the storage unit
When N frames to be transmitted in transmission data meet transmission condition, the first pointer of the N frames to be transmitted is sent to the hair
Send control module, wherein N is the integer more than or equal to 1.
Optionally, the timing unit is specifically used for:
It is timed according to the sending time that the timing unit is written;
At the end of the timing unit timing, the first time signal is sent to the hardware queue administrative unit.
Optionally, the hardware queue administrative unit is specifically used for:
Judge whether the storage unit is empty, obtains the first judging result;
When it is empty that first judging result, which shows the storage unit not, the first of the N frames to be transmitted is obtained
Parameter;
The hardware queue administrative unit judges whether the N frames to be transmitted meet the hair according to first parameter
Condition is sent, the second judging result is obtained;
When second judging result shows that the N frames to be transmitted meet the transmission condition, described first is referred to
Needle is sent to the transmission control module.
Optionally, the transmission condition is specially:
Principal access remaining time is accessed more than or equal to the time required to accessing N frames to be transmitted;
Wherein, the access principal access remaining time be access principal access phases-time subtract access N it is to be transmitted
Before frame the time required to N-1 frame data.
Optionally, the hardware queue administrative unit is specifically additionally operable to:
After sending first pointer, receive the transmission control module transmission is used to characterize the transmission control mould
Block has received the first feedback information of the N frames to be transmitted;
Remove the N frames to be transmitted, and when it is empty that first judging result, which shows the storage unit not, institute
State the of the N+1 frames to be transmitted that hardware queue administrative unit obtains after the N frames to be transmitted in the data to be transmitted
Two parameters, and judge whether to meet the transmission condition according to second parameter, obtain third judging result.
Optionally, when first judging result shows that the storage unit is that empty or described second judging result shows
The N frames to be transmitted are unsatisfactory for the transmission condition or the third judging result shows that the N+1 frames to be transmitted are discontented
When the foot transmission condition, the hardware queue administrative unit visiting for controlling the access main body into the electronic equipment
Ask that first software in stage sends interrupting information, to notify that accessing the principal access stage described in first software terminates.
On the other hand, an embodiment of the present invention provides a kind of information processing methods, are applied in an electronic equipment, wherein
The electronic equipment includes:Timing unit;Hardware queue administrative unit, the hardware queue administrative unit and the timing unit
Connection;Storage unit, for storing data to be transmitted queue, the storage unit is connect with the hardware queue administrative unit;
Control module is sent, is connect with the hardware queue administrative unit, the method includes:
The hardware queue administrative unit receive that the timing unit sends for characterizing N in data to be transmitted queue
The first of frame to be transmitted sends the first time signal of request;
It is described when the N frames to be transmitted in the data to be transmitted described in the storage unit meet transmission condition
First pointer of the N frames to be transmitted is sent to the transmission control module by hardware management unit, wherein N be more than etc.
In 1 integer.
Optionally, the hardware queue administrative unit receives the to be passed for characterizing N of the timing unit transmission
The first of defeated frame sends the first time signal of request, specially:
When the timing unit is timed according to the sending time that the timing unit is written, and at the end of timing,
The hardware queue administrative unit receives the first time signal that the timing unit is sent.
Optionally, the N that is used to characterize that the timing unit is sent is received in the hardware queue administrative unit to wait for
After the first of transmission frame sends the first time signal of request, the hardware management unit is by the N frames to be transmitted
The first pointer be sent to before the transmission control module, the method further includes:
The hardware queue administrative unit judges whether the storage unit is empty, obtains the first judging result;
When it is empty that first judging result, which shows the storage unit not, the hardware queue administrative unit obtains institute
State the first parameter of N frames to be transmitted;
The hardware queue administrative unit judges whether the N frames to be transmitted meet the hair according to first parameter
Condition is sent, the second judging result is obtained;
Wherein, when second judging result shows that the N frames to be transmitted meet the transmission condition, step is executed
Suddenly:First pointer of the N frames to be transmitted is sent to the transmission control module by the hardware management unit.
Optionally, the transmission condition is specially:
Principal access remaining time is accessed more than or equal to the time required to accessing the frame to be transmitted;
Wherein, the access principal access remaining time be access principal access phases-time subtract N frames to be transmitted it
The time required to preceding N-1 frame data.
Optionally, after first pointer for sending the N frames to be transmitted, the method further includes:
The hardware queue administrative unit receives the transmission that is used to characterize that the transmission control module is sent and controls mould
Block receives the first feedback information of the N frames to be transmitted;
The hardware queue administrative unit removes the N frames to be transmitted, and is showing institute when first judging result
When to state unit to be stored not be empty, the N+1 frames to be transmitted after the N frames to be transmitted in the data to be transmitted are obtained
Second parameter, and it is described to judge according to second parameter whether the N+1 frames to be transmitted after the N frames to be transmitted meet
Transmission condition obtains third judging result.
Optionally, when first judging result shows that the storage unit is that empty or described second judging result shows
The N frames to be transmitted are unsatisfactory for the transmission condition or the third judging result shows that the N+1 frames to be transmitted are discontented
When the foot transmission condition, the method further includes:
The hardware queue administrative unit described accesses the principal access stage into the electronic equipment for controlling
First software sends interrupting information, to notify that accessing the principal access stage described in first software terminates.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects
Fruit:
1, in the technical solution of the application, by increasing hardware queue administrative unit, and hardware queue administrative unit is allowed
It is connect with timing unit, storage unit and transmission control module, when hardware queue administrative unit receives timing unit transmission
After the first time signal of the first transmission request for characterizing N frames to be transmitted in data to be transmitted queue, and it is single in storage
When N frames to be transmitted in member in data to be transmitted meet transmission condition, hardware queue administrative unit just can be by N frames to be transmitted
The first pointer be sent to the transmission control module, and then solve in the prior art, it is existing how to realize accurate control
System accesses the technical issues of principal access stage sequential, realizes hardware supported and accesses the principal access stage, to accurately control
Access the technique effect of principal access stage sequential.
2, in the technical solution of the application, when hardware queue administrative unit receives the first time of timing unit transmission
After signal, judge whether storage unit is empty, obtains the first judging result;When the first judging result shows the storage unit not
For sky when, just can further obtain the first parameter of the first frame to be transmitted, so, when storage unit is empty, i.e. storage unit
In when there is no data, the first parameter will not be obtained, but interrupt message is sent to the first software, and then saved hardware resource,
Reduce the work load of electronic equipment.
3, in the technical solution of the application, the first parameter of the first frame to be transmitted is obtained in hardware queue administrative unit
Afterwards, judge whether the first frame to be transmitted meets transmission condition according to the first parameter, obtain the second judging result, wherein send item
Part is specially to access principal access remaining time more than or equal to the time required to accessing the frame to be transmitted, that is to say, that works as visit
When asking that principal access remaining time is not enough to access frame to be transmitted, hardware management queue unit will not then send to transmission unit and wait for
Transmission frame pointer, and then avoid and access the phenomenon that being not enough to access all data remaining time.
4, in the technical method of the application, after having sent the first frame to be transmitted, the first frame to be transmitted is removed, and working as
First judging result shows storage unit not when being empty, and hardware queue administrative unit obtains number to be transmitted after the first frame to be transmitted
Second parameter of the second frame to be transmitted in, and judge whether to meet the transmission condition according to the second parameter, obtain third
Judging result, when third judging result shows that the second frame to be transmitted meets transmission condition by the second pointer of the second frame to be transmitted
It is sent to transmission control module, and then realizes the technique effect that a dial-tone stage accesses multiframe data.
Description of the drawings
Fig. 1 is the electronic devices structure schematic diagram in the embodiment of the present application one;
Fig. 2 is the information processing method flow chart in the embodiment of the present application two.
Specific implementation mode
The application solves in the prior art by providing a kind of electronic equipment and information processing method, it is existing such as
What controls the technical issues of accessing principal access stage sequential with hardware realization, realizes and accurately controls the access principal access stage
The technique effect of sequential.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of electronic equipment, and the electronic equipment includes:
Timing unit;
Hardware queue administrative unit, the hardware queue administrative unit are connect with the timing unit;
Storage unit, for storing data to be transmitted queue, the storage unit connects with the hardware queue administrative unit
It connects;
Control module is sent, is connect with the hardware queue administrative unit;
Wherein, when the hardware queue administrative unit receive that the timing unit sends for characterizing data to be transmitted
After the first of N frames to be transmitted sends the first time signal of request in queue, and it is to be transmitted described in the storage unit
When N frames to be transmitted in data meet transmission condition, the first pointer of the N frames to be transmitted is sent to the transmission and is controlled
Molding block, wherein N is the integer more than or equal to 1.
In the technical solution of the application, hardware queue administrative unit is connect with timing unit;Storage unit, for storing
Data to be transmitted queue is connect with hardware queue administrative unit;Control module is sent, is connect with hardware queue administrative unit;It is logical
Such electronic equipment is crossed, when hardware queue administrative unit receives for characterizing N frames to be transmitted of timing unit transmission
N frames to be transmitted after one sends the first time signal of request, and in the memory unit in data to be transmitted meet transmission article
When part, just the first pointer of N frames to be transmitted can be sent to the transmission control module, and then solve in the prior art
In, existing the technical issues of how controlling access principal access stage sequential with hardware realization, realize hardware supported access
The principal access stage, to accurately control the technique effect for accessing principal access stage sequential.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
Embodiment one:
As shown in Figure 1, the electronic equipment in the embodiment of the present application includes:Timing unit 1;Hardware queue administrative unit 2, institute
Hardware queue administrative unit 2 is stated to connect with the timing unit 1;Storage unit 3, it is described for storing data to be transmitted queue
Storage unit 3 is connect with the hardware queue administrative unit 2;Control module 4 is sent, is connected with the hardware queue administrative unit 2
It connects.
In the embodiment of the present application, it can be SP, A-BFT to access main body(Association BamForming
Training, association beam shaping training)And ATI(Announcement Transmission Interval, between bulletin transmission
Every)The main body in stage, the application are not particularly limited, and will be introduced by taking SP as an example below.
Timing unit 1 specifically in the embodiment of the present application, can be addition timing unit, i.e., be counted since 0s
It calculates, pulse signal is sent out to subsequent cell after timer counter to the time set in advance or changes output end level, such as count
After the completion low level is converted to from high level.In the embodiment of the present application, timing unit 1 can also be subtraction timing unit, i.e.,
The timer counter since the time set sends out pulse signal to subsequent cell after timer counter to 0 or changes output end electricity
It is flat, as be converted to low level from high level after the completion of counting.During specific implementation, still used using addition timing unit
Subtraction timing unit, the application are not particularly limited.
Further, accessing before main body starts access, in electronic equipment control access principal access software can in advance by
Timing unit 1 is written in the sending time of timing unit 1, for example needs timing 3s, 10s or 5.3s, certainly, timing unit 1 is written
Sending time, the application those of skill in the art can be configured according to actual needs, and the application does not limit specifically.
After timing unit 1 is written in sending time, timing unit is receiving the beginning timing of characterization control timing unit 1
Signal proceeds by timing, after timing, that is to say, that when preventing asking that the access time of main body starts, to hardware queue management
Unit 2 sends first time signal, to notify hardware queue administrative unit 2 to carry out subsequent operation.
When in order to avoid not having data in storage unit 3, the operation of hardware queue administrative unit 2 occupies electronic equipment money
Source increases burden, and in the embodiment of the present application, accesses main body before access, hardware queue management 2 first determines whether storage unit
Whether 3 be empty, obtains the first judging result.When, there are when data, the first judging result is no in storage unit 3;When storage is single
When data being not present in member 3, the first judging result is yes.
It is sky to show storage unit 3 not when the first judging result, i.e., there are when data in storage unit 3, hardware queue pipe
Reason unit 2 obtains the first parameter of N frames to be transmitted from storage unit 3.Specifically, in the embodiment of the present application, in order to
Carry out subsequent operation, hardware queue administrative unit 2 is facilitated at least to need to obtain to access needed for the frame to be transmitted from storage unit 3
Time, accessed by control the time required to accessing the frame to be transmitted first software in principal access stage access principal access it
In preceding write storage unit 3.Certainly, hardware queue administrative unit 2 can also obtain described to be passed except accessing from storage unit 3
Other parameters except the time required to defeated frame, such as frame address to be transmitted, described frame data capacity to be transmitted etc., specific real
During now, application those of skill in the art can select according to actual needs, and the application does not limit specifically.
In order to which the data for ensureing transmitted can all be accessed principal access, waited for sending N to transmission control module 4
Before corresponding first pointer of transmission frame, hardware queue administrative unit 2 can judge whether N frames to be transmitted are full according to the first parameter
Foot sends condition, obtains the second judging result.
Specifically, in the embodiment of the present application, transmission condition is specially and access principal access remaining time is more than or waits
The time required to accessing the frame to be transmitted.Wherein, it is to access principal access phases-time to subtract to access principal access remaining time
It goes before N frames to be transmitted the time required to N-1 frame data.In the concrete realization, principal access phases-time is accessed to be visited by control
Ask that first software in principal access stage is written before accessing principal access in hardware queue administrative unit 2.
In the embodiment of the present application, specifically, access of the hardware queue administrative unit 2 first by being stored in itself
Principal access phases-time subtracts N-1 frame data required times before transmission, waits principal access remaining time to be visited.Further,
Compare and accesses whether principal access remaining time is greater than or equal to the time required to accessing N frames to be transmitted.When access main body
When access remaining time is greater than or equal to the time required to accessing N frames to be transmitted, the second judging result is yes;It is led when accessing
When body access remaining time is less than the time required to accessing N frames to be transmitted, the second judging result is no.
Several specific examples are set forth below and illustrate the process for obtaining the second judging result, it is unlimited during specific implementation
Several situations below concrete numerical value:
1)Assuming that being 10 the time required to the 1st frame to be transmitted of access that hardware queue administrative unit 2 is obtained from storage unit 3
μ s, and 200 μ s of principal access phases-time are accessed, due to being to access the 1st frame data, then accessing principal access remaining time just
It is that 200 μ s subtract 10 μ s, as 190 μ s, it is seen then that access 190 μ s of principal access remaining time more than the 1st frame institute to be transmitted of access
Take time 10 μ s, then the second judging result is yes.
2)Assuming that hardware queue administrative unit 2 has had sent eight frame data, 190 μ s are shared, hardware queue management is single
It is 20 μ s the time required to the 9th frame to be transmitted of access that member 2 is obtained from storage unit 3, and when this access principal access stage
Between 200 μ s.It is exactly 10 μ s so to send the 9th frame access principal access remaining time, subtracts 20 μ s, it is clear that access main body at this time
It is negative to access remaining time, and the time required to being less than the 8th frame frame to be transmitted, then the second judging result is no.
3)Assuming that hardware queue administrative unit 2 has had sent eight frame data, 190 μ s are shared, hardware queue management is single
It is 20 μ s the time required to the 9th frame to be transmitted of access that member 2 is obtained from storage unit 3, and when this access principal access stage
Between 210 μ s.It is exactly 20 μ s so to send the 9th frame access principal access remaining time, the time required to being equal to the 9th frame frame to be transmitted,
Then the second judging result is yes.
When the second judging result shows that the first frame to be transmitted meets transmission condition, i.e. access principal access remaining time is enough
The first frame to be sent is accessed, the first pointer is sent to and sends control module 4.Control module 4 is sent further by the first pointer
Subsequent processing units are sent to, subsequent processing units can read the specific number of the first frame to be sent by the first pointer
According to.
After sending control module 4 and receiving the first pointer, sending control module 4 can send to hardware queue administrative unit 2
First feedback information, to notify hardware queue administrative unit 2 to send successfully.Hardware queue administrative unit 2 is receiving the first feedback
After information, N frames to be transmitted are removed, carry out the access of N+1 frames to be transmitted, i.e., are showing storage unit when the first judging result
3 when being not empty, and hardware queue administrative unit 2 obtains the of N+1 frames to be transmitted in data to be transmitted after N frames to be transmitted
Two parameters, and judge whether to meet transmission condition according to the second parameter, obtain third judging result.
The method of above-mentioned acquisition third judging result is identical with the method for second judging result, just repeats no more herein
.
When the first judging result shows that storage unit 3 is that empty or the second judging result shows that N frames to be transmitted are unsatisfactory for sending out
When condition or third judging result being sent to show that N+1 frames to be transmitted are unsatisfactory for transmission condition, hardware queue administrative unit 2 is to electricity
The first software for controlling the access principal access stage in sub- equipment sends interrupting information, to notify the first software institute
State access the principal access stage terminate.
That is, when there is no data in storage unit 2, or access principal access remaining time is not enough to access completely
When one frame data, hardware queue administrative unit 2 sends interrupting information to the first software, to notify this access of the first software
Terminate.And then electronic equipment can be operated, such as:Buffered data in clear buffer domain prepares new data etc..
Embodiment two:
The information processing method that the embodiment of the present application two will be introduced in technical scheme, referring to FIG. 2, this method packet
It includes:
S1:The hardware queue administrative unit 2 receive the transmission of the timing unit 1 for characterizing data to be transmitted queue
In N frames to be transmitted first send request first time signal.
S5:When the N frames to be transmitted in the data to be transmitted described in the storage unit 3 meet transmission condition,
First pointer of the N frames to be transmitted is sent to the transmission control module 4 by the hardware management unit 2.
Wherein, N is the integer more than or equal to 1
Wherein, for step S1, in the embodiment of the present application, specific implementation process is:
When the timing unit 1 is timed according to the sending time that the timing unit 1 is written, and periodically terminating
When, the hardware queue administrative unit 2 receives the first time signal of the transmission of the timing unit 1.
Electronic equipment resource is saved, and ensures that all transmission frames can be accessed principal access, after step S1,
It is further comprising the steps of in the embodiment of the present application before step S5:
S2:The hardware queue administrative unit 2 judges whether the storage unit 3 is empty, obtains the first judging result.
When the first judging result shows that storage unit 3 is empty, step S8 is executed;Otherwise, step S3 is executed.
S3:When it is empty that first judging result, which shows the storage unit 3 not, the hardware queue administrative unit 2
Obtain the first parameter of the N frames to be transmitted.
S4:The hardware queue administrative unit 2 judges whether the N frames to be transmitted meet institute according to first parameter
Transmission condition is stated, the second judging result is obtained.
Specifically, in the embodiment of the present application, it is described to be passed more than or equal to accessing to access principal access remaining time
The time required to defeated frame.Wherein, the access principal access remaining time is to access principal access phases-time to subtract N to be transmitted
Before frame the time required to N-1 frame data.
When the second judging result is to be, step S5 is executed;Otherwise, step S8 is executed.
After executing the step S5, following steps are further also executed:
S6:The hardware queue administrative unit 2 receives the transmission that is used to characterize that the transmission control module 4 is sent and controls
Molding block 4 receives the first feedback information of the N frames to be transmitted;
S7:The hardware queue administrative unit 2 removes the N frames to be transmitted, and when the first judging result table
When the bright unit 3 to be stored is not empty, the N+1 after the acquisition N frames to be transmitted in the data to be transmitted is to be passed
Second parameter of defeated frame, and judge whether the N+1 frames to be transmitted after the N frames to be transmitted are full according to second parameter
The foot transmission condition, obtains third judging result.
When third judging result is to be, step S5 is executed;It is no to then follow the steps S8.
S8:The hardware queue administrative unit is used to control the access principal access stage into the electronic equipment
The first software send interrupting information, with notify described in first software access the principal access stage terminate.
Due to embodiment two and embodiment one be based on a total inventive concept, repeat place and just repeat no more
.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects
Fruit:
1, in the technical solution of the application, by increasing hardware queue administrative unit, and hardware queue administrative unit is allowed
It is connect with timing unit, storage unit and transmission control module, when hardware queue administrative unit receives timing unit transmission
After the first time signal of the first transmission request for characterizing N frames to be transmitted in data to be transmitted queue, and it is single in storage
When N frames to be transmitted in member in data to be transmitted meet transmission condition, hardware queue administrative unit just can be by N frames to be transmitted
The first pointer be sent to the transmission control module, and then solve in the prior art, it is existing how to realize accurate control
System accesses the technical issues of principal access stage sequential, realizes hardware supported and accesses the principal access stage, to accurately control
Access the technique effect of principal access stage sequential.
2, in the technical solution of the application, when hardware queue administrative unit receives the first time of timing unit transmission
After signal, judge whether storage unit is empty, obtains the first judging result;When the first judging result shows the storage unit not
For sky when, just can further obtain the first parameter of the first frame to be transmitted, so, when storage unit is empty, i.e. storage unit
In when there is no data, the first parameter will not be obtained, but interrupt message is sent to the first software, and then saved hardware resource,
Reduce the work load of electronic equipment.
3, in the technical solution of the application, the first parameter of the first frame to be transmitted is obtained in hardware queue administrative unit
Afterwards, judge whether the first frame to be transmitted meets transmission condition according to the first parameter, obtain the second judging result, wherein send item
Part is specially to access principal access remaining time more than or equal to the time required to accessing the frame to be transmitted, that is to say, that works as visit
When asking that principal access remaining time is not enough to access frame to be transmitted, hardware management queue unit will not then send to transmission unit and wait for
Transmission frame pointer, and then avoid and access the phenomenon that being not enough to access all data remaining time.
4, in the technical method of the application, after having sent the first frame to be transmitted, the first frame to be transmitted is removed, and working as
First judging result shows storage unit not when being empty, and hardware queue administrative unit obtains number to be transmitted after the first frame to be transmitted
Second parameter of the second frame to be transmitted in, and judge whether to meet the transmission condition according to the second parameter, obtain third
Judging result, when third judging result shows that the second frame to be transmitted meets transmission condition by the second pointer of the second frame to be transmitted
It is sent to transmission control module, and then realizes the technique effect that a dial-tone stage accesses multiframe data.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
The hardware queue administrative unit receive that the timing unit sends for characterizing N in data to be transmitted queue
The first of frame to be transmitted sends the first time signal of request;
It is described when the N frames to be transmitted in the data to be transmitted described in the storage unit meet transmission condition
First pointer of the N frames to be transmitted is sent to the transmission control module by hardware management unit, wherein N be more than etc.
In 1 integer.
Optionally, what is stored in the storage medium receives the timing with the hardware queue administrative unit described in step
First for characterizing N frames to be transmitted that unit is sent sends the first time signal of request, and corresponding computer instruction exists
During being specifically performed, specially:
When the timing unit is timed according to the sending time that the timing unit is written, and at the end of timing,
The hardware queue administrative unit receives the first time signal that the timing unit is sent.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:The hardware queue administrative unit receive that the timing unit sends for characterizing the first of N frames to be transmitted
After the first time signal for sending request, the hardware management unit sends out the first pointer of the N frames to be transmitted
It is performed before sending to the transmission control module, includes the following steps when executed:
The hardware queue administrative unit judges whether the storage unit is empty, obtains the first judging result;
When it is empty that first judging result, which shows the storage unit not, the hardware queue administrative unit obtains institute
State the first parameter of N frames to be transmitted;
The hardware queue administrative unit judges whether the N frames to be transmitted meet the hair according to first parameter
Condition is sent, the second judging result is obtained;
Wherein, when second judging result shows that the N frames to be transmitted meet the transmission condition, step is executed
Suddenly:First pointer of the N frames to be transmitted is sent to the transmission control module by the hardware management unit.
Optionally, the transmission condition is specially:
Principal access remaining time is accessed more than or equal to the time required to accessing the frame to be transmitted;
Wherein, the access principal access remaining time be access principal access phases-time subtract N frames to be transmitted it
The time required to preceding N-1 frame data.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:It is performed after first pointer for sending the N frames to be transmitted, includes the following steps when executed:
The hardware queue administrative unit receives the transmission that is used to characterize that the transmission control module is sent and controls mould
Block receives the first feedback information of the N frames to be transmitted;
The hardware queue administrative unit removes the N frames to be transmitted, and is showing institute when first judging result
When to state unit to be stored not be empty, the N+1 frames to be transmitted after the N frames to be transmitted in the data to be transmitted are obtained
Second parameter, and it is described to judge according to second parameter whether the N+1 frames to be transmitted after the N frames to be transmitted meet
Transmission condition obtains third judging result.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:When first judging result shows that the storage unit is that empty or described second judging result shows that the N is to be transmitted
Frame is unsatisfactory for the transmission condition or the third judging result shows that the N+1 frames to be transmitted are unsatisfactory for the transmission article
It is performed when part, includes the following steps when executed:
The hardware queue administrative unit described accesses the principal access stage into the electronic equipment for controlling
First software sends interrupting information, to notify that accessing the principal access stage described in first software terminates.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of electronic equipment, the electronic equipment include:
Timing unit;
Hardware queue administrative unit, the hardware queue administrative unit are connect with the timing unit;
Storage unit, for storing data to be transmitted queue, the storage unit is connect with the hardware queue administrative unit;
Control module is sent, is connect with the hardware queue administrative unit;
Wherein, when the hardware queue administrative unit receive that the timing unit sends for characterizing data to be transmitted queue
In N frames to be transmitted first send the first time signal of request after, and the data to be transmitted described in the storage unit
In N frames to be transmitted when meeting transmission condition, the first pointer of the N frames to be transmitted is sent to the transmission and controls mould
Block, wherein N is the integer more than or equal to 1.
2. electronic equipment as described in claim 1, which is characterized in that the timing unit is specifically used for:
It is timed according to the sending time that the timing unit is written;
At the end of the timing unit timing, the first time signal is sent to the hardware queue administrative unit.
3. electronic equipment as described in claim 1, which is characterized in that the hardware queue administrative unit is specifically used for:
Judge whether the storage unit is empty, obtains the first judging result;
When it is empty that first judging result, which shows the storage unit not, the first parameter of the N frames to be transmitted is obtained;
The hardware queue administrative unit judges whether the N frames to be transmitted meet the transmission article according to first parameter
Part obtains the second judging result;
When second judging result shows that the N frames to be transmitted meet the transmission condition, first pointer is sent out
It send to the transmission control module.
4. electronic equipment as claimed in claim 3, which is characterized in that the transmission condition is specially:
Principal access remaining time is accessed more than or equal to the time required to accessing N frames to be transmitted;
Wherein, the access principal access remaining time be access principal access phases-time subtract access N frames to be transmitted it
The time required to preceding N-1 frame data.
5. electronic equipment as claimed in claim 4, which is characterized in that the hardware queue administrative unit is specifically additionally operable to:
After sending first pointer, what the reception transmission control module was sent is used to characterize the transmission control module
Through the first feedback information for receiving the N frames to be transmitted;
Remove the N frames to be transmitted, and when it is empty that first judging result, which shows the storage unit not, it is described hard
Part queue management unit obtains the second ginseng of the N+1 frames to be transmitted in the data to be transmitted after the N frames to be transmitted
Number, and judge whether to meet the transmission condition according to second parameter, obtain third judging result.
6. electronic equipment as claimed in claim 5, which is characterized in that when first judging result shows the storage unit
Show that the N frames to be transmitted are unsatisfactory for the transmission condition or the third judges knot for sky or second judging result
When fruit shows that the N+1 frames to be transmitted are unsatisfactory for the transmission condition, the hardware queue administrative unit is set to the electronics
Interrupting information is sent for controlling first software for accessing the principal access stage in standby, to notify the first software institute
State access the principal access stage terminate.
7. a kind of information processing method, it is applied in an electronic equipment, wherein the electronic equipment includes:Timing unit;Hardware
Queue management unit, the hardware queue administrative unit are connect with the timing unit;Storage unit, for storing number to be transmitted
According to queue, the storage unit is connect with the hardware queue administrative unit;Control module is sent, with the hardware queue management
Unit connects, the method includes:
The hardware queue administrative unit receives the to be passed for characterizing N in data to be transmitted queue of the timing unit transmission
The first of defeated frame sends the first time signal of request;
When the N frames to be transmitted in the data to be transmitted described in the storage unit meet transmission condition, the hardware
First pointer of the N frames to be transmitted is sent to the transmission control module by administrative unit, wherein N is more than or equal to 1
Integer.
8. the method for claim 7, which is characterized in that the hardware queue administrative unit receives the timing list
First for characterizing N frames to be transmitted that member is sent sends the first time signal of request, specially:
It is described when the timing unit is timed according to the sending time that the timing unit is written, and at the end of timing
Hardware queue administrative unit receives the first time signal that the timing unit is sent.
9. method as claimed in claim 8, which is characterized in that receive the timing in the hardware queue administrative unit
After first for characterizing N frames to be transmitted that unit is sent sends the first time signal of request, the hardware pipe
Before first pointer of the N frames to be transmitted is sent to the transmission control module by reason unit, the method further includes:
The hardware queue administrative unit judges whether the storage unit is empty, obtains the first judging result;
When it is empty that first judging result, which shows the storage unit not, the hardware queue administrative unit obtains described the
First parameter of N frames to be transmitted;
The hardware queue administrative unit judges whether the N frames to be transmitted meet the transmission article according to first parameter
Part obtains the second judging result;
Wherein, when second judging result shows that the N frames to be transmitted meet the transmission condition, step is executed:Institute
It states hardware management unit and the first pointer of the N frames to be transmitted is sent to the transmission control module.
10. method as claimed in claim 9, which is characterized in that the transmission condition is specially:
Principal access remaining time is accessed more than or equal to the time required to accessing the frame to be transmitted;
Wherein, the access principal access remaining time is to access principal access phases-time to subtract N-1 before N frames to be transmitted
The time required to frame data.
11. method as claimed in claim 10, which is characterized in that in first pointer for sending the N frames to be transmitted
Later, the method further includes:
The hardware queue administrative unit receives the transmission control module that is used to characterize that the transmission control module is sent and receives
To the first feedback information of the N frames to be transmitted;
The hardware queue administrative unit removes the N frames to be transmitted, and is showing described deposit when first judging result
When storage unit is not empty, the second ginseng of the N+1 frames to be transmitted after the acquisition N frames to be transmitted in the data to be transmitted
Number, and judge whether the N+1 frames to be transmitted after the N frames to be transmitted meet the transmission article according to second parameter
Part obtains third judging result.
12. method as claimed in claim 11, which is characterized in that when first judging result shows that the storage unit is
Sky or second judging result show that the N frames to be transmitted are unsatisfactory for the transmission condition or the third judging result
When showing that the N+1 frames to be transmitted are unsatisfactory for the transmission condition, the method further includes:
First for control the access principal access stage of the hardware queue administrative unit into the electronic equipment
Software sends interrupting information, to notify that accessing the principal access stage described in first software terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310657211.8A CN104699635B (en) | 2013-12-06 | 2013-12-06 | A kind of electronic equipment and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310657211.8A CN104699635B (en) | 2013-12-06 | 2013-12-06 | A kind of electronic equipment and information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104699635A CN104699635A (en) | 2015-06-10 |
CN104699635B true CN104699635B (en) | 2018-10-12 |
Family
ID=53346784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310657211.8A Active CN104699635B (en) | 2013-12-06 | 2013-12-06 | A kind of electronic equipment and information processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104699635B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466334A (en) * | 2002-06-12 | 2004-01-07 | ��Ϊ��������˾ | Method for controlling message transmitting spped rate in router interface |
CN101047432A (en) * | 2006-06-23 | 2007-10-03 | 华为技术有限公司 | Method for distributing uplink resource |
CN101193041A (en) * | 2006-11-28 | 2008-06-04 | 华为技术有限公司 | Network data transmission method, device and system |
CN102255711A (en) * | 2011-07-15 | 2011-11-23 | 东南大学 | MAC layer adaptive retransmission method of UWB system video business transmission |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582818A (en) * | 2008-05-12 | 2009-11-18 | 株式会社Ntt都科摩 | Method and device for reducing spending of control signal in mixed wireless network |
-
2013
- 2013-12-06 CN CN201310657211.8A patent/CN104699635B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466334A (en) * | 2002-06-12 | 2004-01-07 | ��Ϊ��������˾ | Method for controlling message transmitting spped rate in router interface |
CN101047432A (en) * | 2006-06-23 | 2007-10-03 | 华为技术有限公司 | Method for distributing uplink resource |
CN101193041A (en) * | 2006-11-28 | 2008-06-04 | 华为技术有限公司 | Network data transmission method, device and system |
CN102255711A (en) * | 2011-07-15 | 2011-11-23 | 东南大学 | MAC layer adaptive retransmission method of UWB system video business transmission |
Also Published As
Publication number | Publication date |
---|---|
CN104699635A (en) | 2015-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951388A (en) | A kind of DMA data transfer method and system based on PCIe | |
EP2902914B1 (en) | Data transmission method and device | |
JP6239130B2 (en) | System and method for reducing memory bus bandwidth according to workload | |
CN104135741A (en) | Method of Bluetooth low energy communication, Bluetooth devices and system | |
CN105487987B (en) | A kind of concurrent sequence of processing reads the method and device of IO | |
US20110216775A1 (en) | System and Method for Multiple Concurrent Virtual Networks | |
CN105278918B (en) | Reading method of register and register adopting reading method | |
CN112463700B (en) | Method and device for controlling AXI bus bandwidth | |
WO2017054540A1 (en) | Data processing method and device, server, and controller | |
CN110908940A (en) | Method for adjusting serial port communication parameters and terminal equipment | |
KR20180103890A (en) | Bus Ownership Handoff Techniques | |
CN109426623A (en) | A kind of method and device reading data | |
CN109408427A (en) | A kind of clock-domain crossing data processing method and system | |
CN107968848A (en) | A kind of method, terminal device and storage medium for obtaining IP address | |
CN104765792A (en) | Dimension data storing method, device and system | |
CN104699635B (en) | A kind of electronic equipment and information processing method | |
CN113157465A (en) | Message sending method and device based on pointer linked list | |
US9348777B2 (en) | Hardware apparatus for a system, system and memory access method | |
CN106034346B (en) | Information processing method and electronic equipment | |
CN105518617B (en) | Data cached processing method and processing device | |
CN114003544A (en) | Control chip, workload proving system and transmission method | |
KR102338872B1 (en) | Storage apparatus and method for processing a plurality of client data | |
CN104335552A (en) | Data interface sleep mode logic | |
CN112243258A (en) | Method and device for determining user perception rate | |
CN111352868A (en) | Serial port access method and device and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |