Apple filed a lawsuit alleging Samsung violated patents and trademarks of its iPhone and iPad

Samsung Electronics Co has filed patent lawsuits against Apple over the U.S. firm's iPhone and iPad in a tit-for-tat case after Apple claimed Samsung's smartphones and tablets "slavishly" copied its products.

Apple filed a lawsuit last Friday alleging Samsung violated patents and trademarks of its iPhone and iPad, as the popular gadgets are being threatened by the fast rise of rival devices based on Google's free Android operating system.

The legal battle between Apple and Samsung could jeopardize business ties between the two technology companies, as the Cupertino, California-based company depends heavily on Samsung for components such as chips and LCD displays.

Operating systems have emerged as the key battlefield for dominance of the world's smartphone market.

Android became the most popular smartphone software in the United States in the three months ending in February, ahead of Apple and Research in Motion, according to a recent survey by research firm comScore.

Samsung is one of the fastest growing smartphone makers on the back of the Android boom and has emerged as Apple's strongest competitor in the tablet market, with models in three sizes.