Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

67 results about "Static variable" patented technology

In computer programming, a static variable is a variable that has been allocated "statically", meaning that its lifetime (or "extent") is the entire run of the program. This is in contrast to shorter-lived automatic variables, whose storage is stack allocated and deallocated on the call stack; and in contrast to objects, whose storage is dynamically allocated and deallocated in heap memory.

Intermediate auxiliary function-based method and intermediate auxiliary function-based system for dynamically updating software

The invention discloses an intermediate auxiliary function-based method for dynamically updating software. The method comprises the following steps: generating an intermediate auxiliary function by analyzing to-be-updated functions in integrated new/old version of code source files; respectively updating to-be-updated functions located at a function call stack, to-be-updated functions not located at the function call stack and to-be-updated static variables by utilizing the intermediate auxiliary function and a binary rewriting mechanism. Correspondingly, the invention also discloses a corresponding system. According to the method and the system disclosed by the invention, system loss and deadlock problems brought by inserting a plurality of check points are effectively solved; while updating security is ensured, real-time dynamic updating can be performed on a program, and operation complexity of a user and system overheads are obviously reduced; meanwhile, rollback can be finished when any exception occurs during updating to ensure reliability of an updating process. The method and the system disclosed by the invention are suitable for application services which need high-reliability continuous demands, and are capable of reducing loss caused by system restart due to version updating.
Owner:HUAZHONG UNIV OF SCI & TECH

Coordinated control method, frequency converter, excitation equipment and static variable frequency starting system

The invention provides a coordinated control method, a frequency converter, excitation equipment and a static variable frequency starting system. The static variable frequency starting system comprises the frequency converter, the excitation equipment, a monitoring system and synchronous grid-connected equipment. Coordinated control of the frequency converter and the excitation equipment can be realized, and different operation modes can be selected according to different operation conditions of the synchronous motor so that the operation mode is flexible, the operation range is wide and operation has high reliability. Before the first critical switching point of the synchronous motor, the frequency converter and the excitation equipment are independently controlled so that the interference of harmonic waves and other external clutters on the analog signals can be effectively reduced, the accuracy of excitation control can be enhanced and thus the success rate of commutation of the frequency converter in the pulse commutation phase can be enhanced. Besides, the control process is simple and clear, control is facilitated and the starting rate and the stability of the synchronous motor in the natural commutation phase can be enhanced.
Owner:STATE GRID CORP OF CHINA +2

Method for designing multi-card mobile phone application software

The invention discloses a method for designing multi-card mobile phone application software, comprising the following steps of: S1, designing an intermediate-layer software adaption layer and converting the data structure of each wireless module into a uniform data structure; S2, extending all global variables or static variables operated by non-reentrant functions in the intermediate layer and an MMI (Man Machine Interface) layer according to the number of extended UIM/SIM (User Identity Module/Subscriber Identity Module) cards; and S3, accessing the global variables or the static variables in a uniform data pointer manner. The method for designing multi-card mobile phone application software is a method for designing mobile phone application software capable of supporting a plurality of cards (more than three mobile phone cards), thus satisfying the third generation mobile communication network environment in which a plurality of networks coexist in China. The number of cards supported by the mobile phone application software designed by the method is unlimited. The data pointer is invented, and efficient and stable multi-card supporting mobile phone application software which occupies small internal memory and powerful in function is designed at lowest code alternation quantity and by multiplexing previous stable platform codes.
Owner:SHANGHAI CHENXING ELECTRONICS SCI & TECH CO LTD

Implementation of thread-static data in multi-threaded computer systems

One of the primary difficulties that result from using static variables in multi-threaded computer programs is that changes to a static variable made by one thread will be seen by all other threads operating within the same process. Multiple threads cannot use static variables separately because other threads within the process can overwrite the values stored at the variable memory location. Thus, the development of multi-threaded programs using static variables often requires explicit thread harmonization by the programmer. Another problem is that threads within the same process must use unique static variable IDs to avoid reading or writing to the location of another static variable. This also requires thread harmonization by the programmer. Accordingly, in view of the shortcomings associated with existing thread-static data implementations, there remains a need for an efficient thread-static data implementation that can be used on most modern operating systems. The present invention provides embodiments of a method, data processing system, and computer program product that efficiently implements thread-static data without registering pointers. The present invention efficiently implements static thread data in a multi-threaded program. The static thread data of each thread is allocated to the top of the virtual memory block belonging to the corresponding stack of each thread. An address mask is created for each thread so as to extract the base address of the static thread data region of the stack for each thread from the corresponding stack pointer. When a thread in execution needs to access its static thread data, it accesses the static thread data variable according to the virtual memory address extracted from the stack pointer using the address mask.
Owner:IBM CORP

Cold start method of gas-and-steam combined cycle power generating unit

The invention relates to a cold start method of a gas-and-steam combined cycle power generating unit. The cold start method specifically comprises the following steps that 1, under dragging of a static variable-frequency starting device, the rotating speed of a gas turbine is stabilized at m rpm; 2, steam is fed from adjacent machines, specifically, a turbine conducts impulse starting on a warmingturbine through an intermediate-pressure cylinder, at this time, a high-pressure cylinder forwards or reversely feeds steam, the rotating speed of the turbine is stabilized at m rpm, an SSS clutch begins to be engaged in place, the steam fed from the adjacent machines conducts impulse starting on the turbine, and the gas turbine is driven by the SSS clutch; 3, the output of the static variable-frequency starting device of the gas turbine is reduced to be 0, the quantity of the steam fed from the adjacent machines is increased, and the rotating speed of the medium-speed warming turbine is maintained for turbine warming; 4, when the calculation temperature of an intermediate-pressure shaft in the turbine is larger than 200 DEG C, the medium-speed warming turbine stage is finished, or the turbine warming time of the medium-speed warming turbine stage is determined according to the actual on-site working conditions; and 5, after the medium-speed warming turbine stage is finished, the output of the static variable-frequency starting device of the gas turbine is gradually increased, the quantity of the steam, fed from the adjacent machines, of the turbine is gradually decreased to be 0,the turning states of the gas turbine and the turbine are restored, or the turbine is controlled to be smaller than the gas turbine in ignition rotating speed, the gas turbine slows down to directlyignite, and then the combined cycle power generating unit is started in a warm or hot start mode.
Owner:ZHUHAI YUHAI ELECTRIC POWER CO LTD +1

Aircraft ground miniaturization power supply suitable for multiple power supply modes

The invention provides an aircraft ground miniaturization power supply suitable for multiple power supply modes. The aircraft ground miniaturization power supply comprises a three-phase intermediate-frequency static variable power supply circuit, a DC static conversion power supply circuit, a power network voltage sampling circuit, a voltage interval judgment circuit, a serial and parallel connection control circuit and a primary-side winding serial and parallel connection switching circuit. The aircraft ground miniaturization power supply capable of separately providing an AC power supply or a DC power supply and also capable of simultaneously providing the AC power supply and the DC power supply completely covers active-service aircrafts, serves several purposes, saves investment and is convenient to use. Commercial AC power supplies of various countries around the world or AC generators can be adopted to provide power, and self power supply of the active-service aircrafts at home and abroad can be met; and a battery pack can also be adopted to provide power, and field or military applications are convenient. A circuit topological structure is simple, the whole body of equipment is miniaturized, vehicle type housing with rollers is designed, on-board engine-driven transferring is convenient, and the aircraft ground miniaturization power supply has great application value in military.
Owner:山东芯驰能源科技有限公司

Method and system for detecting CPU (Central Processing Unit) occupancy rate of vxWorks

The invention provides a method for detecting the CPU (Central Processing Unit) occupancy rate of vxWorks. The method comprises the steps: (S1) starting a task with the lowest priority before starting a user task, and progressively increasing a static variable and recording count values at the start of a statistical time until the statistical time ends; (S2) saving the recorded static variable count value to a comparison base number corresponding to the end of the statistical time, and resetting the static variable; (S3) progressively increasing the static variable and recording the count values in a statistical time during the task with the lowest priority when the vxWorks is idle; (4) starting a task with relatively high priority, and calculating the increment value of the static variable in each statistical time; (S5) calculating the CPU occupancy rate by using the ratio of the recorded static variable increment value to the comparison base number. The invention further provides a corresponding system for detecting the CPU occupancy rate of the vxWorks. The method and the system, provided by the invention, have the advantages that a high-precision clock is not required, and the cost is reduced; the implementation is simple and easy, the flexibility is high, and the universality is strong.
Owner:BANGYAN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products