The Queen Black Dragon is fought in four phases. During the first phase, she will attack with melee (if you are within her attack range), Ranged, and Dragonfire. Be aware that this dragonfire attack can hit 700 or higher, so the use of antifire or super antifire potions are a necessity. She will also use a special fire wall attack (shown in the chat box with an orange message). You must pass through the gap in the flames to avoid damage. If this attack does hit, it will hit in the low 200s, dealing damage twice if it passes over you. Running through it may deal damage once, or, timed luckily, may not deal damage at all. In future phases, with multiple waves of flame, reaching a faraway gap may be difficult and running directly through the flames may be a better alternative to taking many hits upon failing to reach the gap. When the health bar for the first stage reaches zero, the Queen will start coughing up level 105 giant grotworms. Touch the dragonkin artefact in the centre of the platform to stop these from appearing. These can hit fairly hard with magic, so it is advised to dispatch them quickly. Avoid letting too many Grotworms spawn by activating the artefact as quickly as possible after depleting the Queen's health bar.
During the second phase, the Queen will summon a level 137 tortured soul to attack. They will use an avoidable attack that hits about 1000 every time, and then attack with melee. Kill the tortured souls, and then attack the Queen. During this phase, the fire wall special attack will cause two consecutive walls of fire to appear, instead of just one. When the Queen's lifebar runs out, she will cough up more worms. A quick player can touch the second artefact, which is on the left side of the chamber, while only allowing about two giant worms to spawn.
It is possible, when tortured souls have been spawned, to run through them and make them hurt themselves. To do this, remember that they will always teleport right before doing their special attack, at this time you should run through them, and the special attack will hit the tortured soul and not you. This takes some practice, but does save you a lot of time, because in the fourth wave it is possible to use the souls' special attacks to kill one of the four spawned souls in one hit.
The third phase is similar to the second. However, the Queen will summon two tortured souls instead of one, and there will be three fire waves, instead of two. Once her lifebar reaches zero for the third time, touch the artefact on the right side as quickly as possible.
The fourth phase is by far the most dangerous. She will summon four tortured souls at once to begin the wave. 4 of them will spawn around you and failing to move out of the way results in you being damaged at least 4000 which is the most common reason for death throughout the whole fight. Also, she will have a few new moves up her sleeve, such as a stronger fire breath and Time Stop. When attempting this phase, move the camera screen as if you are the Queen Black Dragon. Most players are generally busy fighting her they do not notice a soul teleport to one of the corners and therefore die because of this reason. When you are finished taking her health to 0, watch out for any moves if she does use them. She will still summon souls and potentially use her super dragonbreath before she coughs up worms.
This comes from the runscape wiki and there is much more to be found on killing queen black dragon in here: http://runescape.wiki/w/Queen_Black_Dragon/Strategies