Summary of the invention
The problem that the embodiment of the present invention solves is the problem how transmitting important information in time.
For solving the problem, the embodiment of the present invention provides a kind of method of information transmission, comprise: the priority of the priority of the first information received and the second information of current transmission is compared, if the priority of the described first information is not higher than the priority of described second information, continue to the second information described in second communication device transmission; If the priority of the described first information is higher than the priority of described second information, stop described second information of transmission; The Resource Block taken during described second information of release transmission, and by the 3rd information transmission to second communication equipment, the Resource Block of the second information received is abandoned by second communication equipment; The described first information is transferred to described second communication equipment.
Optionally, the priority of the described first information, not higher than the priority of described second information, continues, to the second information described in second communication device transmission, also to comprise: be placed in message queue by the described first information according to priority.
Optionally, the priority of the described first information, higher than the priority of described second information, stops the transmission of described second information, also comprises: the state of described second information reset, described second information be reapposed in message queue according to priority.
Optionally, described 3rd information comprises at least one burst.
Optionally, first burst of described 3rd information comprises: the first data sequence, described first data sequence is arranged on the head of first burst of described 3rd information, and in described first data sequence, the arrangement mode of data is all not identical with the arrangement mode of data in the head of the burst of described second information with the described first information.
For solving the problem, the embodiment of the present invention additionally provides a kind of communication equipment, comprising: receiving element, for receiving the first information; Transmission control unit, for comparing the priority of the priority of the described first information received and the second information of current transmission, if the priority of the described first information is not higher than the priority of described second information, continue to second communication device transmission second information; If the priority of the described first information is higher than the priority of described second information, stop described second information of transmission; Releasing unit, for when described second end-of-message is transmitted, the Resource Block taken during described second information of release transmission; Transmission unit, for giving described second communication equipment by the 3rd information transmission, makes described second communication equipment be abandoned by the Resource Block of described second information received, and for the described first information is transferred to described second communication equipment.
Optionally, the priority of the described first information, not higher than the priority of described second information, continues to the second information described in second communication device transmission, also to comprise: sequencing unit, for being placed in message queue by the described first information according to priority.
Optionally, the priority of the described first information, not higher than the priority of described second information, continues to the second information described in second communication device transmission, also to comprise: sequencing unit, for being placed in message queue by the described first information according to priority.
Compared with prior art, the technical scheme of the embodiment of the present invention has the following advantages:
By judging the pre-information priorities sent, when communication equipment detects the informational needs transmission of high priority, communication equipment stops the information of the low priority transmitted immediately, and the information of prioritised transmission high priority, thus the information of high priority can be transmitted rapidly, effectively avoid the situation that high priority message can not transmit in time.
Embodiment
In some cases, the mode that the existing sequencing arriving the communication equipment time by information transmits successively can have problems.Such as, communication equipment is transmitting the larger information M0 of a data volume, the required time consumed is long, and now communication equipment receives an information M1 more urgent than the information of current transmission, according to current technical scheme, communication equipment could send M1 after M0 must being sent.But communication equipment transmission M0 needs to expend the longer time, if M1 has activationary time point, then when communication equipment receives M1, M1 is expired, now M1 can only be abandoned.
For solving the problem, the embodiment of the present invention is by judging the priority of the pre-information sent, when communication equipment detects the informational needs transmission of high priority, communication equipment stops the information of the low priority transmitted immediately, and the information of prioritised transmission high priority, thus the information of high priority can be transmitted rapidly, the situation effectively avoiding high priority message to be dropped due to waits for too long at communication equipment end occurs.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Embodiment one
Present embodiments provide a kind of method of information transmission, with reference to Fig. 1, be described in detail below by way of concrete steps.
Step S101, compares the priority of the priority of the first information received and the second information of current transmission, if the priority of the described first information is not higher than the priority of described second information, continues to the second information described in second communication device transmission; If the priority of the described first information is higher than the priority of described second information, stop described second information of transmission.
In concrete enforcement, can will send a side of information in communicating pair as the first communication equipment, using a side of the information of reception as second communication equipment.The priority of the first information and the priority of the second information all can preset, can according to the priority of the character set information of information, also can according to the priority of the effect set information of information.Can also according to the priority of the set informations such as the size of the data volume of the urgency level of information, information, or the priority of comprehensive above factor set information.
In the present embodiment, because information is all transmitted with the form of burst, therefore priority can be set according to duration needed for information transmission.Such as, the information that only includes a burst or several burst can be set as the higher information of priority, the information that comprises multiple burst is set as the lower information of priority.Also can arrange priority according to the urgency level of information, such as, the time that can be provided with activates the emergence messages such as the information of point as high priority message, can arrange the non-urgent information such as measuring control information as low-priority information.The priority of different information can be set to identical, also different information can be set to different priority.
Step S102, the Resource Block taken during described second information of release transmission, and by the 3rd information transmission to second communication equipment, the Resource Block of the second information received is abandoned by second communication equipment.
In concrete enforcement, the 3rd information can be made up of one or more burst, and wherein, the head of first burst can comprise the first data sequence, and other bursts can be identical with the sliced fashion of the second information.First data sequence is a default special sequence, and in the first data sequence, the arrangement mode of data is all not identical with the arrangement mode of data in the head of the burst of the second information with the first information.By the arrangement mode that data are different, can dissimilar information be distinguished, therefore, when second communication equipment receives the first data sequence, can know that the information of current reception is the 3rd information, the burst of the second information received is abandoned.
In concrete enforcement, the 3rd information can only include the first data sequence, also can comprise other data sequences except the first data sequence.In embody rule process, point leaf length usually used as the 3rd information is larger, and the first data sequence only takies the head of burst information, can also exist not by space that data sequence takies, therefore can also expand the 3rd information, make the 3rd information can compatible existing information burst.Such as, the partial data sequence of the first information can be write in the 3rd unappropriated space of information, the space of the 3rd information can be made like this to be fully utilized.
Step S103, is transferred to described second communication equipment by the described first information.
Adopt the scheme in the present embodiment, by judging the priority of the pre-information sent, when communication equipment detects the informational needs transmission of high priority, communication equipment stops the information of the low priority transmitted immediately, and the information of prioritised transmission high priority, thus the information of high priority can be transmitted rapidly, effectively avoid the situation that high priority message can not transmit in time.
In concrete enforcement, further expansion can also be done to such scheme, be described in detail below by way of specific embodiment.
Embodiment two
Present embodiments provide a kind of method of information transmission, with reference to Fig. 2, be described in detail below by way of concrete steps.
Step S201, the first communication equipment receives the first information.
In the present embodiment, using being responsible for a side of transmission information in communicating pair as the first communication equipment, the pre-transmission first information M1 received can be transmitted.
Step S202, the priority of the first communication equipment to the priority of the first information and current the second information transmitted compares.
In the present embodiment, the priority of the first communication equipment to the priority of the first information and the second information compares, if the priority of first information M1 is not higher than the priority of the second information M0, performs step S203; If the priority M1 of the first information is higher than the priority of the second information M0, perform step S204.
In the present embodiment, the transmission of the second information M0 can be transmitted by the mode of burst: the first communication equipment to the second information M0 according to G mobile communication (3rd-generation, 3G) agreement is divided into several burst information, and the burst information of carrying the second information M0 is transferred to second communication equipment successively.
Step S203, the first communication equipment continues to second communication device transmission second information, and is placed in message queue by first information M1.
In the present embodiment, first information M1 sorts in the message queue of the first communication equipment according to the priority preset.If now there is the information M2 identical with first information M1 priority in message queue, then the first communication equipment sorts to M1 and M2 according to the time order and function order receiving M1 and M2.
Step S204, the first communication equipment stops to second communication device transmission second information.
In the present embodiment, when the first communication equipment detects the priority of the priority of the first information higher than the second information, stop the transmission of the second information immediately, and perform step S205.
Step S205, the Resource Block taken during first communication equipment release transmission the second information, and the state of the second information is reset.
In the present embodiment, the Resource Block taken when transmitting the second information can be data cell (the Acknowledged Mode Data under affirmation mode, AMD), the all occupied AMD for transmitting the second information of first communication equipment release, and the state of the second information M0 is reset to state when just entering the first communication equipment, the second information M0 is reapposed in message queue by the priority according to presetting.
Step S206, the first communication equipment is to second communication device transmission the 3rd information.
In the present embodiment, the 3rd information can be a burst, comprises the first data sequence, and the first data sequence is positioned at the head of burst.First data sequence can be a default special binary sequence, and in the first data sequence, the arrangement mode of data is all not identical with the arrangement mode of data in the head of the burst of the second information with the first information.When second communication equipment receives the first data sequence, can know that the information of current reception is the 3rd information, the sequence of the AMD of the second information M0 received is abandoned.
Step S207, is transferred to second communication equipment by the first information.
In concrete enforcement, first information M1 can be transferred to second communication equipment in the mode of burst by the first communication equipment.
Embodiment three
Present embodiments provide a kind of communication equipment, with reference to Fig. 3, communication equipment 300 comprises: receiving element 301, transmission control unit 302, releasing unit 303 and transmission unit 304, wherein:
Receiving element 301, for receiving the first information;
Transmission control unit 302, for comparing the priority of the priority of the described first information received and the second information of current transmission, if the priority of the described first information is not higher than the priority of described second information, continue to second communication device transmission second information; If the priority of the described first information is higher than the priority of described second information, stop described second information of transmission;
Releasing unit 303, for when described second end-of-message is transmitted, the Resource Block taken during described second information of release transmission;
Transmission unit 304, for giving described second communication equipment by the 3rd information transmission, makes described second communication equipment be abandoned by the Resource Block of described second information received, and for the described first information is transferred to described second communication equipment.
In concrete enforcement, the priority of the described first information is not higher than the priority of described second information, continuing to the second information described in second communication device transmission, can also comprising: sequencing unit 305, for the described first information being placed in message queue according to priority.
In concrete enforcement, the priority of the described first information is higher than the priority of described second information, stop the transmission of described second information, can also comprise: reset cell 306, for the state of described second information is reset to the state of transmission, described sequencing unit 305 is also for being placed on described second information in message queue according to priority.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.