Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-thread software concurrent design method

A design method and multi-threading technology, applied in the direction of program control device, program loading/starting, etc., can solve the problem of lack of good thread synchronization, mutual exclusion relationship, etc., and achieve the effect of avoiding crashes

Inactive Publication Date: 2012-01-11
SHANGHAI CHENXING ELECTRONICS SCI & TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to overcome the defect that there is no good method in the prior art to design the synchronization and mutual exclusion relationship between threads, and to provide a multi-threaded software concurrent design method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-thread software concurrent design method
  • Multi-thread software concurrent design method
  • Multi-thread software concurrent design method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0023] like Figures 1a-1d As shown, firstly introduce various thread synchronization methods, among the various operations of a program, often only part of the order is required, there are both parallel execution parts and serial execution parts. In this embodiment, the situation of using UML technology to design a synchronous timing relationship for a multi-threaded software is shown. In the figure, 'S' and 'F' represent the start and end respectively, and P1-P7 represent each thread.

[0024] UML activity diagrams can contain forking control of concurrent threads. Concurrent threads represent activities that can be performed concurrently by different objects and people in the system. Usually concurrency originates from aggregation, where each object has its own thread, and these th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a multi-thread software concurrent design method, which comprises the following steps of: 1, designing a user interface (UI) lane, a downloading thread lane and a java virtual machine thread lane; 2, downloading a java application program in the downloading thread lane through a browser, and transmitting a uniform resource locator (URL) of a java archive (JAR) to the browser in the java virtual machine thread lane in a call-back mode; and 3, downloading the JAR in the downloading thread lane by using the browser, and calling a third party asynchronous interface to install the java application program after the JAR is downloaded. In the software concurrent design method, threads are divided into different lanes, and steps which are needed to be executed in the lanes are designed in the lanes, so that synchronization and mutex relationships among the threads can be comprehensively designed; and severe phenomena such as crash, black screen, fixed screen, restart and the like due to improper processing are avoided.

Description

technical field [0001] The invention relates to a multi-thread software concurrent design method, in particular to a multi-thread software concurrent design method based on UML technology. Background technique [0002] In the prior art, there are many software platforms supporting multithreading, such as Datang ARENA, and there are complex synchronization and mutual exclusion relationships between software based on this platform. The high-level business software part of the mobile phone also interacts more with the network, and network programming generally adopts four calling methods: asynchronous, synchronous, blocking, and non-blocking. At the same time, the platform notifies the upper layer software of various interruptions in the form of channel messages, such as closing the cover, rotating the screen, PUSH messages, alarm clocks, etc. [0003] High-level business software such as WAP, MMS, JAVA, and streaming media mostly use LIB libraries provided by third parties. T...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/445
Inventor 刘美红
Owner SHANGHAI CHENXING ELECTRONICS SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products