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.

Safe language static variables initialization in a multitasking system

A system and method are provided for thread-safe initialization of static variables in a multitasking system. In one embodiment, the static fields of a class may be “virtualized” such that each application that utilizes the class has its own copy of static fields. Each separate copy of the static fields is initialized only once. Instructions for performing the initialization may be embedded in a class constructor. The class constructor may be executed only once for each separate copy of the static fields. A template class may be loaded for each separate copy of the static fields when a copy of the static fields is sought to be initialized. The template class may include a static initializer for one of the separate copies of the static fields. The static initializer may be executed once for each separate copy of the static fields.
Owner:ORACLE INT CORP

Virtual machine memory management

This invention relates to memory management in a virtual machine or operating system and in particular to object creation and garbage collection. There is described a method and system of managing memory in a multi-threaded processing environment such as a java virtual machine comprising: creating an object in a thread heap; associating a status with the object and setting the status as local; using write barriers to change the status to global if the object is assigned to a static variable or if the object is assigned to a field in a global object; changing the status of all objects referenced by that object to global; and performing garbage collection by deleting from the thread heap, when memory space in the thread heap is required, one or more local objects which can not be traced to the thread stack.
Owner:IBM CORP

Method for realizing dynamic loading of program and method and equipment for generating mapping file

The invention discloses a method for realizing dynamic loading of a program in an embedded system. The method comprises the following steps: distributing an internal memory to a mapping file which isloaded based on an embedded system; reading the content of the mapping file into the distributed internal memory; after finishing reading in the content of the mapping file, executing an instruction code of the mapping file; and carrying out the remapping of a global / static variable in the mapping file according to an entry address appointed by an entry function so as to finish the dynamic loadingof the program. Correspondingly, the invention also discloses a method for generating the mapping file based on the embedded system and embedded equipment. By implementing the embodiment of the invention, the global / static variable in the mapping file is remapped so as to realize that the dynamic loading of the mapping file supports the global / static variable, solve the problem that execute exception can occur and cause failed loading when the global / static variable used by the mapping file is loaded and be more convenient for testing the generated mapping file.
Owner:YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD

Automation of Java application using enhanced late-bound support

InactiveUS20070038986A1Enhanced late-bound COM-to-Java supportProgram controlMemory systemsJava classesApplication software
A Java / COM bridge provides enhanced late-bound COM-to-Java support. The Java / COM bridge allows a COM application to make a late bound call to a Java class in a Java application wherein the late bound call contains a parameter indicating that the Java class should not be instantiated. The Java / COM bridge returns to the COM application a static COM proxy representing the Java class without instantiating the Java class. Using the static COM proxy, the COM application can call static methods and reference static variables of the Java class. The COM application can also call constructors of the Java class that take parameters by passing the parameters without specifying a method. The Java / COM bridge will identify the Java class constructor based on the specified parameters and instantiate a Java object by calling the identified constructor with the specified parameters.
Owner:IBM CORP

Virtual machine memory management

This invention relates to memory management in a virtual machine or operating system and in particular to object creation and garbage collection. There is described a method and system of managing memory in a multi-threaded processing environment such as a java virtual machine comprising: creating an object in a thread heap; associating a status with the object and setting the status as local; using write barriers to change the status to global if the object is assigned to a static variable or if the object is assigned to a field in any other object; and performing garbage collection by deleting from the thread heap, when memory space in the thread heap is required, one or more local objects which can not be traced to the thread stack.
Owner:IBM CORP

Server parameter deploying method and device with no need for restarting

The invention discloses a server parameter deploying method with no need for restarting. The server parameter deploying method comprises: step 100, a storage space is allocated in a server, and server parameters are written into the storage space; step 110, the server parameters are loaded into a server internal memory when a server is started; step 120, the storage space is accessed to re-deploy the server parameters. Compared with the prior art, the reading speed of the server parameter deploying method and device with no need for restarting through xml is high, server restating is not needed. When assignment operation of related static variables or key / value pairs is finished, the server parameters are also updated and re-deployed.
Owner:ALIBABA GRP HLDG LTD

Multithreading preloading method for class library in Java virtual machine

The invention provides a multithreading preloading method for a class library in a Java virtual machine. The method comprises the steps that firstly, the class library is connected to generate a preloading list, and the preloading list comprises classes needing to be preloaded when the virtual machine is operated; then, the classes in the preloading list are averagely distributed to all threads according to the number of the threads, meanwhile, the threads are started, the classes in the list are loaded in an internal memory, and static variables in the classes are initialized; finally, the preloaded classes are stored in a shared memory resource. According to the method, the classes which need to be loaded many times or must reside in the memory when a Java program operates are screened and recorded, the preloaded class library is automatically adjusted along with an application program and the change of user use habits, and the operating efficiency of the Java program is effectively improved. Meanwhile, the classes in the preloading list are synchronously loaded through multithreading, and the loading speed of the class library in the starting stage of the Java virtual machine is effectively improved.
Owner:BEIHANG UNIV

Method and system for applying patches to a computer program concurrently with its execution

The present invention relates to a method, a computer program product and a system of adding new static data variables and initialisation routines for these variables as part of a method of replacing a current version of a computer program with a replacement version of the program concurrently with the execution of the program on a computer system. This replacement version consists of new machine code completely replacing the existing version, new static data variables and initialisation routines for these variables. The content of the existing static variables will be preserved during the application of the concurrent patch. The concurrent patch can be revoked and the new static data variables can be removed such that the computer program that was executed before the application of the concurrent patch will be executed again.
Owner:IBM CORP

RTDS simulation system of static variable frequency system

The invention discloses an RTDS simulation system of a static variable frequency system. The RTDS simulation system comprises a real-time digital simulator RTDS, signal interface equipment and static variable frequency control protection equipment, wherein the real-time digital simulator RTDS is connected with the signal interface equipment through an optical fiber, and the signal interface equipment is connected with the cable of the static variable frequency control protection equipment. The RTDS simulation system of the static variable frequency system can check the static variable frequency system capacity, main loop topology, unit start-up time and the like, test the function of static variable frequency system control and protection equipment and test control parameters; when the system topology is changed or the primary system parameters are changed, the experiment can be performed after correcting a simulation model.
Owner:NR ELECTRIC CO LTD +4

System and method for directing recompilation of a class with a JAVA static variable

A system and associated method for directing to recompile a class with a static variable of the class in a Java platform are disclosed. The class is defined with at least two implementations that are selectively compiled and executed a value of the static variable. The value of the static variable of the class is modified to a new value depending on characteristics of a runtime environment in which the method is executed. The class is recompiled and the new value is set for the static variable of the class. A debugger performs a hot code replacement of the class with the recompiled class.
Owner:IBM CORP

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

Intermediate language support for change resilience

In a change-resilient intermediate language code, registers have been allocated but symbolic references and pseudo instructions still use unbound items. Pseudo instructions having a specific location within generated intermediate language code request insertion of machine instruction(s) at the location to perform specified operations. Specified operations may include, for example, operations to perform or facilitate garbage collection, memory allocation, exception handling, various kinds of method calls and execution engine service calls, managed object field access, heap management, generic code, static variable storage access, address mode modification, and / or symbolic reference to types. A binder may transform the intermediate language code into executable code. Little or no register allocation is needed during binding, but unbound items such as offsets, sizes, slots, and the like are determined and specified to produce executable code.
Owner:MICROSOFT TECH LICENSING LLC

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 controlling ultralow-frequency stage of static variable-frequency startup of pumped storage aggregate

The invention discloses a method for controlling an ultralow-frequency stage of static variable-frequency startup of a pumped storage aggregate. The method comprises the following steps: a rotor winding applies an exciting current, and a three-phase stator winding generates an induced electromotive force; when the number of stators is zero, the current of a q axis of a damping winding of a synchronous motor is 0; and the current of a d axis of the damping winding is shown in the specification. By using an algorithm for determining the position of an ultralow-frequency rotor of a static variable-frequency starting motor for pumped storage power stations provided by the invention, a vector area in which the ultralow-frequency rotor is located can be accurately calculated, thereby realizing the correct control on the contravariant side of a current transformer, and ensuring that the motor can start up quickly according to the maximum electromagnetic torque.
Owner:STATE GRID ELECTRIC POWER RES INST +1

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

Optimizing polling system and optimizing polling method for collecting data from plurality of buffer zones

The invention provides an optimizing polling system and an optimizing polling method for collecting data from a plurality of buffer zones. The polling system comprises a polling control module and buffer zones. The polling control module can access the buffer zones and comprises a step array and static variable quantity. The polling method includes adopting polling to control the variable quantity and dynamically adjusting an initial buffer zone of each-time polling and reading step of each buffer zone according to buffer zone loading condition. The optimizing polling system and an optimizing polling method for collecting data from the plurality of buffer zones avoid loading unevenness among the buffer zones and extra expense caused by accessing an empty buffer zone frequently, and improve polling efficiency of collecting data from the plurality of buffer zones.
Owner:DAWNING INFORMATION IND BEIJING +1

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

Allocation method and device of static storage

The invention provides an allocation method and device of static storage, and relates to the technical field of data storage, which is invented for solving the technical problem that storage optimization is carried out on the limitation of static variables defined in functions during static storage in the prior art. The method comprises the following steps of: acquiring a module to be optimized, generating a module model according to a coupling relation among the functions; acquiring all function scheduling sequences of the module; acquiring infimum of storage space required for all variablescorresponding to the module under each function scheduling sequence; optimizing the address allocation information of all variables for each function scheduling sequence in a genetic algorithm; selecting the function scheduling sequence of the smallest storage space occupied by all optimized variables; and compiling the module according to the selected function scheduling sequence and the addressallocation information corresponding to the selected function scheduling sequence. The invention can be used for optimizing stored addresses according the global variables of the functions.
Owner:ST ERICSSON SEMICON BEIJING

Method for testing small current of thyristors and pulse trigger loops thereof

The invention discloses a method for testing small current of thyristors and pulse trigger loops thereof. According to the method, a small current test loop is built through applying a test AC power supply outside an AK electrode of a tested thyristor and connecting a current-limiting resistor in series. When the test AC power supply applied to the AK electrode of the thyristor achieves a forwardvoltage peak, a pulse trigger loop of a static variable-frequency starting system valve control device conducts the tested thyristor, so that the tested thyristor is theoretically conducted for 1 / 4 ofa period; and through detecting the conduction time of the tested thyristor, judgment can be carried out to determine whether the tested thyristor and the pulse trigger loop thereof work normally ornot. The method is capable of correctly positioning abnormal thyristor element positions.
Owner:NARI TECH CO LTD

Static variable pitch propeller

The invention discloses a static variable pitch propeller which comprises blades, a propeller shaft and a propeller hub. The blades are provided with blade roots which are provided with blade bevel gears. One end of the propeller shaft is fixedly connected with an engine to transmit power of the engine to the blades, and the propeller hub is fixed to the other end, away from the engine, of the propeller shaft. The propeller hub is internally provided with a linkage bevel gear engaged with the blade bevel gears, and the linkage bevel gear is rotatably connected to the propeller hub. The blade bevel gears are engaged with the linkage bevel gear, and thus when the angles of the blades are adjusted, the blade bevel gears can roll on the linkage bevel gear, that is, the linkage bevel gear rotates relative to the propeller hub to drive all the other blade bevel gears engaged with the linkage bevel gear to rotate by the same angle so that consistency adjustment of the angles of the blades canbe achieved; and furthermore, the adjusting speed of the propeller pitch is increased, that is, the operating efficiency is improved.
Owner:AECC HUNAN AVIATION POWERPLANT RES INST

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

An infrared target detection and tracking method

The invention provides an infrared target detection and tracking method which comprises the following steps: selecting density, rectangularity and geometric invariant moment as static variables, and establishing a static decision criterion; And selecting a target contour area, a perimeter, a speed, a self-adaptive segmentation threshold and an ROI position as dynamic variables, and establishing adynamic decision criterion. a target static variable and a part of dynamic characteristic variable values are calculated by adopting a first-frame target detection algorithm; A subsequent frame firstly utilizes an improved local adaptive threshold segmentation algorithm to segment an image, then utilizes static and dynamic decision criteria to screen out segmented real targets, and finally calculates and updates a to-be-tested target characteristic parameter set. The method has good robustness for complex background update, scene change, and scale, gray scale and contour feature change of thetarget.
Owner:NANJING UNIV OF SCI & TECH

Recompilation of a class with a java static variable

A system and associated method for directing to recompile a class with a static variable of the class in a Java platform are disclosed. The class is defined with at least two implementations that are selectively compiled and executed a value of the static variable. The value of the static variable of the class is modified to a new value depending on characteristics of a runtime environment in which the method is executed. The class is recompiled and the new value is set for the static variable of the class. A debugger performs a hot code replacement of the class with the recompiled class.
Owner:IBM CORP

Small form factor variable optical attenuator with cladding mode suppressing fiber

ActiveUS20130163923A1Negligible degradationCoupling light guidesUltrasound attenuationDouble-clad fiber
The invention relates to an electro-static variable optical attenuator suitable for use in a small form factor pluggable module. A short cladding suppressing fiber, such as a double clad optical fiber, dissipates attenuated light coupled to the cladding to reduce modal interference in the output light, while also reducing PDL and WDL introduced by the off set attenuation mechanism.
Owner:LUMENTUM OPERATIONS LLC
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