Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

29 results about "Infinite loop" patented technology

An infinite loop (or endless loop) is a sequence of instructions in a computer program which loops endlessly, either due to the loop having no terminating condition, having one that can never be met, or one that causes the loop to start over. In older operating systems with cooperative multitasking, infinite loops normally caused the entire system to become unresponsive. With the now-prevalent preemptive multitasking model, infinite loops usually cause the program to consume all available processor time, but can usually be terminated by the user. Busy wait loops are also sometimes called "infinite loops". Infinite loops are one possible cause for a computer "freezing"; others include thrashing, deadlock, and access violations.

IDA microcode-based digital multimeter customized code obfuscator construction method and system

The invention relates to the technical field of software security, and discloses an IDA microcode-based digital multimeter customized code obfuscator construction method and system, and the method comprises the steps: carrying out the obfuscation replacement of a measurement algorithm and a data processing method in a digital multimeter code based on an instruction replacement technology; confusing a control flow of the digital multimeter based on a false control flow technology, namely obtaining a calling relation of basic blocks to reconstruct an original program, and avoiding generation of an endless loop in a symbolic execution process through a method of assigning a value to an opaque predicate in advance; randomly modifying variable names, identifiers and function names of the sensitive data information of the digital multimeter based on a variable name confusion algorithm; and carrying out decompilation and code conversion on the obfuscation algorithm based on the IDA microcode, and constructing the digital multimeter customized code obfuscator based on the IDA microcode. The method can be integrated into the development environment of the digital multimeter, the safety protection level of the digital multimeter is improved, and the measurement data is prevented from being illegally stolen.
Owner:YUNNAN POWER GRID CO LTD KUNMING POWER SUPPLY BUREAU

Method and device for processing dead loop, electronic equipment and storage medium

The application provides a dead loop processing method and device, electronic equipment and storage medium, a preset script function is run, and the number of instructions executed when the preset script function is run is monitored; if the number of instructions is greater than a preset number threshold, a function call stack when the preset script function executes instructions is acquired and recorded; the number of times that the function call stack is recorded within a preset time period is determined, if the number of times recorded satisfies a preset condition, the function call stack is determined as a dead loop stack; the dead loop stack is interrupted to remove the current dead loop. Through monitoring the number of instruction executions and the number of times that the function call stack is recorded, the method can realize fault positioning to the function point level, greatly shortening the dead loop positioning time; meanwhile, after the existence of a dead loop problem is found, the method automatically removes the dead loop, improving the server dead loop troubleshooting efficiency.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Position contract delivery method, electronic equipment and medium

The invention discloses a position contract delivery method, and relates to the technical field of informatization management, and the method comprises the steps: carrying out the preprocessing of a plurality of to-be-delivered position contracts, and obtaining a plurality of groups of processed to-be-delivered position contracts of the same user corresponding to the currency type; obtaining the account amount of each currency in the same group and the to-be-delivered amount of the processed to-be-delivered position contract; determining the priority of delivered currencies and the priority of the to-be-delivered position contract corresponding to the currencies according to the currency types of the same group, the account amount of the currencies and the processed to-be-delivered amount of the to-be-delivered position contract by using the thread in the occupation state; delivering according to the currency priority and the priority of the to-be-delivered position contract; and when it is detected that delivery is completed, the resource use state of the corresponding thread is updated to be an idle state. The method has the advantages and characteristics that delivery is orderly, delivery is clean, the account fund utilization rate is high, the delivery amount is large, the delivery speed is high, and delivery is prevented from entering an endless loop.
Owner:HANGZHOU PINGPONG INTELLIGENT TECH CO LTD

A digital simulation optimization method for multi-working-condition direction control strategy of air cylinder

The application relates to the field of pneumatic control and digital simulation technology, and discloses a digital simulation optimization method for a cylinder multi-working-condition direction control strategy, which comprises the following steps: building a working-condition transition directed graph and configuring local control parameters from multi-working-condition continuous sequence parameters; obtaining a steady-state node ideal boundary constraint vector according to an equation group; separating a preposed constraint and a residual feedforward to obtain an actual injection initial value vector and a virtual truncated residual vector; integrating the initial value to obtain a transient operation curve and a final state and updating the residual feedforward; converting the truncated residual into a penalty energy, combining the equivalent fluid mechanical impact dissipation energy to synthesize total hysteresis dissipation energy measurement to update the control parameters, and over-limit reconstructing the directed graph, which is sent to a bottom programmable logic controller after convergence. The application guarantees integral stability through residual separation and energy conversion, realizes multi-working-condition continuous transition optimization by combining physical dissipation limitation and topological dynamic reconstruction, and avoids calculation divergence and solutionless dead cycle.
Owner:SHENZHEN JIARUI IND AUTOMATION CO LTD

Energy friendly event processing task model

An RTOS includes an event processor construct. The event processor has a task priority and an event processor handler. A stack for the event processor is allocated by the RTOS. The event processor handler is called by the RTOS each time an event is posted by an interrupt request handler or another task. Once processing of the event completes, the event processor handler returns (as opposed to remaining in an infinite loop) thereby allowing the stack allocated to the event processor to not be retained on entry into a sleep state and the memory bank containing the stack to be powered down during a sleep state.
Owner:SILICON LABORATORIES INC

A NOR flash-based memory management method and system

The application relates to the technical field of data processing, in particular to a NOR Flash-based storage management method and system. When a read-write instruction is received after a NOR FLASH is powered off and reset, it is first judged whether a preset read-write space meets a read-write operation, and in the case of meeting, it is judged whether a read-write data length exists an out-of-bound condition, if the out-of-bound condition exists, a loop read-write mode is adopted, specifically, a part corresponding to no out-of-bound in the read-write data is directly read and written from a read-write address obtained in step S1, and a part corresponding to the out-of-bound is read and written from a start position of the preset read-write space, so that after power-off, the read-write can be continued, power-off is not felt, and infinite loop read-write is achieved in limited space.
Owner:FUJIAN CENTM INFORMATION

A data linkage control method and related device

PendingCN122347124APathPingData acquisition
The application discloses a data linkage control method and related device, relates to the technical field of data processing, and responds to a data modification operation of a user on a current form, determines a global operation version number of the current form, and then determines a global influence field of the global operation version number according to a linkage trigger relationship graph; the preset dimension version number set containing a target state version number, a trigger state version number and a data acquisition state version number is used for anti-repetition calculation, dependent waiting calculation and anti-expiration calculation of a target field in each asynchronous linkage path in an asynchronous linkage path determined by an initial field corresponding to the data modification operation and the global influence field; and a trigger version is monitored in real time to identify and interrupt a linkage loop. Through multi-dimensional version number management and control and state machine evolution, the application can effectively reduce redundant calculation of a complex form, prevent a logic dead loop, ensure data consistency in a high-concurrency environment, and significantly improve system performance and resource utilization.
Owner:FAN RUAN SOFTWARE CO LTD

Chip, chip starting method and electronic equipment

The invention discloses a chip, a chip starting method and electronic equipment, and belongs to the technical field of electronics. The chip comprises a memory and a processor, a plurality of starting programs used for starting the function modules are stored in the memory, and the processor is connected with the memory and the controller. Wherein the processor sequentially runs a plurality of starting programs, and under the condition that a first starting program corresponding to the first function module is trapped in an endless loop, the controller updates control information and indicates a chip starting strategy adopted when the first function module is in an abnormal state through the control information. Therefore, the processor can execute a corresponding chip starting strategy based on the updated control information so as to control the first starting program to quickly jump out of the endless loop. By quickly jumping out of the endless loop in the process of starting the chip, the starting efficiency of the chip can be improved while the normal starting of the chip is ensured.
Owner:HYGON YUNXIN INTEGRATED CIRCUIT DESIGN (SHANGHAI) CO LTD

Hardware-in-the-loop test method and device based on data infinite loop playback

This application provides a hardware-in-the-loop (HIL) testing method and apparatus based on infinite data loop playback, comprising: acquiring a data sequence group for hardware-in-the-loop testing; determining the warm-up window, data offset time, and loop start time of the loop playback sequence to be constructed based on the data sequence group and the hardware-in-the-loop testing system, wherein the loop start time is the timestamp of the last frame data of the last data sequence in the data sequence group that has been replayed; constructing a loop playback sequence based at least on the data sequence group, the warm-up window of the loop playback sequence, the data offset time, and the loop start time; inputting the loop playback sequence into the hardware-in-the-loop testing system for data loop testing processing of the domain controller under test, and obtaining test results. This solves the problem that existing HIL testing data backfeeding schemes have limited backfeeding data volume, which cannot meet the requirements of long-term continuous testing.
Owner:BEIJING XIAOMA ZHIXING TECH CO LTD

Video monitoring based filling station control method and system

The application discloses a filling station control method and system based on video monitoring, and particularly relates to the technical field of industrial process control, and is used for solving the problem of logical dead loop caused by video verification failure due to equipment shutdown in the existing filling station control; a standby judgment signal is generated when the sensor is abnormally overlimited, a thermodynamic entropy increase trajectory is generated based on real-time video stream calculation of fault area pixel entropy value, when the entropy increase slope is over the threshold value, a standby power supply independent power supply video system is started, the quantum state fidelity attenuation characteristics of video light quantum distribution and the chaos index of fluid motion are synchronously analyzed under the standby power supply, when the fidelity attenuation conforms to the quantum effect characteristic curve and the chaos index is over the critical threshold value, a shutdown instruction is generated, otherwise, a main power supply recovery instruction is generated, and finally the corresponding instruction is executed; the method realizes decoupling of fault verification and equipment shutdown, avoids the risk of secondary accidents, and improves fault discrimination accuracy through a physical characteristic double verification mechanism.
Owner:LIAONING PAISHANLOU GOLD MINE

A method for serial data transmission using time fragments

The application discloses a method for serial port data transmission by using time fragments, creates a ring memory buffer A, divides the ring memory buffer into N blocks averagely, and sequentially numbers each block buffer as A x , creates a length variable L x for each block buffer, counts the data length to be sent in the block, creates a pointer P x pointing to the start address of the block, sets X=1, 2...N, sets the current sent data as the data in the A C th block buffer, sets that there are L0 data to be sent in the A C th block, sets the address of the current sent data as the address pointed by the sending pointer P0, and fills the data in the A u th block next time. The application automatically sends serial port data by using time fragments, avoids invalid waiting time, adopts block processing of non-dead loop, can send serial port data and fill the data to be sent at the same time, and can execute other tasks of the program at the same time, and greatly improves the running efficiency of the program.
Owner:BEIJING RUIXING YUANCHANG TECH CO LTD

Task repetition scheduling method and device, computer equipment and storage medium

The embodiment of the invention provides a task repetitive scheduling method and device, computer equipment and a storage medium. The method comprises the steps that a target task is selected according to the priority and waiting duration of each task in a preset ready queue; scheduling and executing the target task, when the target task fails to be executed, setting the state of the target task to be suspended, moving the target task out of the ready queue and moving the target task into a suspended queue, and monitoring whether the target task meets a preset rescheduling condition or not in real time; when a preset rescheduling condition is met, the state of the target task is set to be ready, the target task is moved out of the suspended queue and moved into the ready queue, the target task is rescheduled and executed until the target task is successfully executed, and task scheduling is conducted in combination with the priority, the task waiting duration, the double-queue structure and state control. The problem of scheduling endless loop caused by insufficient resources or unsatisfied dependence of high-priority tasks is solved, and the task scheduling efficiency and stability are improved.
Owner:SHANGHAI SMARTLOGIC TECHNOLOGY LTD

Method to detecting infinite loops in real-time logs from a continuous integration environment

Methods, system, and non-transitory processor-readable storage medium for a log analysis system are provided herein. An example method includes monitoring, by a log analysis system, execution of a continuous integration system on an information system. The log analysis system analyzes an output log of the continuous integration system to determine a trend associated with the execution of the continuous integration system, and identifies a job executing within the continuous integration system, that is executing in an infinite loop, based on the determined trend.
Owner:DELL PROD LP

Game AI automatic test robot system and method

The invention relates to the field, and discloses a game AI automatic test robot system and method, and the system comprises an initialization module which is used for shielding an interference process, configuring a game test environment and importing a model; the detection module is used for capturing a game picture at the frequency of 30fps, analyzing the picture through a CNN-LSTM scene analysis model, and outputting a scene state vector; the behavior module is used for selecting an optimal action through an epsilon-greedy strategy, mapping the optimal action into an operating system level instruction and executing the operating system level instruction, and obtaining a new scene state vector; the log module is used for monitoring whether the game is stuck, endless loop and state disorder exceptions or not, calling an Apriori model to mine association rules of exceptions, actions and states, and generating a structured log; the control circulation module is used for dynamically adjusting the test priority and resource allocation according to the checkpoint abnormal frequency and the test completion rate, and performing circulation execution; according to the invention, the test efficiency and scene coverage are improved, and the manual troubleshooting cost is reduced.
Owner:SHENZHEN BENDAO TECH CO LTD

Embedded task status detection methods, devices, systems, and storage media

This application provides an embedded task state detection method, device, system, and storage medium. In this application, when a task transitions from a non-ready state to a ready state, the ready time of the task in the ready state is recorded. The length of the ready time represents the time during which the task cannot be scheduled. Monitoring whether a task has timed out by using the time during which it cannot be scheduled provides higher accuracy and avoids false alarms. For example, if task C is starved due to an infinite loop between tasks A and B, it will be detected when the ready time of task C exceeds a set time threshold, preventing false alarms. As another example, if task A in the system has a heavy load exceeding the CPU utilization threshold (e.g., 90%), but other tasks with lighter loads are also scheduled, the ready times of the other tasks with lighter loads will not exceed the set time threshold, thus preventing false alarms about task A's heavy load causing a scheduling timeout.
Owner:ALIBABA GROUP HOLDING LTD

Filling station control method and system based on video monitoring

The invention discloses a filling station control method and system based on video monitoring, particularly relates to the technical field of industrial process control, and is used for solving the logic endless loop problem of video verification failure caused by equipment shutdown in existing filling station control. A standby judgment signal is generated when a sensor exceedingly exceeds a limit, a pixel entropy value of a fault area is calculated based on a real-time video stream to generate a thermodynamic entropy increasing track, and when the entropy increasing slope exceeds a threshold value, a standby power supply independent power supply video system is started. The quantum state fidelity attenuation characteristic of video light quantum distribution and the chaos index of fluid motion are synchronously analyzed under the power supply of a standby power supply, a shutdown instruction is generated when the fidelity attenuation accords with a quantum effect characteristic curve and the chaos index is supercritical threshold, otherwise, a main power supply recovery instruction is generated, and finally the corresponding instruction is executed; fault verification and equipment shutdown decoupling are ensured, the secondary accident risk is avoided, and meanwhile, the fault judgment precision is improved through a physical feature double-verification mechanism.
Owner:LIAONING PAISHANLOU GOLD MINE

A data file detection method and device, electronic equipment and storage medium

Embodiments of the present application disclose a data file detection method and device, electronic equipment and storage medium, and relate to the technical field of computer network security, which can solve the problem that the detection logic of a traditional anti-virus manufacturer is limited by the number of layers to skip data file detection, or the data file is infinitely disassembled to fall into a dead loop, affecting the overall detection time and detection efficiency, and causing space waste. The data file detection method comprises obtaining a data file to be detected, disassembling the data file to be detected layer by layer to obtain a plurality of layers of derivative data, judging whether there is a data link cycle in the plurality of layers of derivative data, and if there is a data link cycle, determining that the data file is a malicious file. The present application is applicable to the detection scene of data files with derivative data, and can further improve the detection efficiency.
Owner:HARBIN ANTIY TECH

Method of synchronization for universal serial bus and system thereof

A method of synchronization in a training state of Universal Serial Bus (USB) includes sending SLOS1 ordered sets by a transmitter in a LOCK1 state, receiving the SLOS1 ordered sets by a receiver in the LOCK1 state, stopping the transmitter from sending training ordered sets according to a lane adapter state machine (LASM) if the transmitter sends the training ordered sets in the LOCK1 state continuously in an infinite loop. The training ordered sets include the SLOS1 ordered sets. The method further includes sending new SLOS1 ordered sets by the transmitter, receiving the new SLOS1 ordered sets by a receiver, and the transmitter and the receiver entering a LOCK2 state. The length of the new SLOS1 ordered sets is different from the length of the SLOS1 ordered sets.
Owner:MEDIATEK INC

Service state synchronization method, system and device, computer equipment and storage medium

The invention relates to a service state synchronization method, system and device, computer equipment and a storage medium. The method comprises the following steps: receiving a first state synchronization signal sent by a first main state machine unit in a first state machine module; the first state synchronization signal is used for representing that a service corresponding to the first main state machine unit is completed; determining a first target state machine unit in the second state machine module according to the first state synchronization signal; forwarding the first state synchronization signal to a first target state machine unit; the first target state machine unit returns a first state synchronization return signal to the first main state machine unit, so that the first state machine module outputs a first indication signal in response to the first state synchronization return signal; and outputting a second indication signal, wherein the second indication signal is used for indicating to execute the next service of the second instance. By adopting the method, an infinite loop waiting phenomenon can be avoided, and service state synchronization and continuous processing are ensured.
Owner:MOORE THREADS TECH CO LTD

Bidirectional data synchronization method, device and equipment for same-type databases and medium

The invention relates to the technical field of data backup, and discloses a bidirectional data synchronization method for databases of the same type, which comprises the following steps: analyzing and processing a first database, and extracting a first logic log record; analyzing and processing the first logic log record to generate first splicing incremental data; transmitting the first splicing incremental data to a second database and executing the first splicing incremental data to generate a second logic log record; analyzing and processing the second logic log record, and extracting second incremental data; splicing the second incremental data to obtain second spliced incremental data; and transmitting the second splicing incremental data to a first database and executing the second splicing incremental data, generating a first logic log record, and completing data two-way synchronization. According to the method, the specific identifier is marked in the database archiving log, so that the data synchronization endless loop is avoided, and the data two-way synchronization performance is improved.
Owner:JINZHUAN INFORMATION TECHNOLOGY CO LTD

Detecting infinite loops in a programmable atomic transaction

Disclosed in some examples are systems, methods, devices, and machine-readable mediums to detect and terminate programmable atomic transactions that are stuck in an infinite loop. In order to detect and terminate these transactions, the programmable atomic unit may use an instruction counter that increments each time an instruction is executed during execution of a programmable atomic transaction. If the instruction counter meets or exceeds a threshold instruction execution limit without reaching the termination instruction, the programmable atomic transaction may be terminated, all resources used (e.g., memory locks) may be freed, and a response may be sent to a calling processor.
Owner:MICRON TECHNOLOGY INC

Alarm linkage endless loop detection method and system in rule trigger chain

The invention belongs to the technical field of information management, and provides an alarm linkage endless loop detection method and system in a rule trigger chain, and the technical scheme is as follows: defining a unique identifier of an alarm rule, an input condition set and an output condition set; directed trigger matching between the rules is carried out according to the input condition and the output condition of each alarm rule, and a dependency graph is generated based on directed trigger matching results between the rules; and constructing an accessed rule set and a current recursive stack set, traversing the dependency graph based on the accessed rule set and the current recursive stack set, detecting whether a ring formed by mutual triggering of rules exists in the dependency graph, and if so, determining that an endless loop exists. And the endless loop detection problem in the rule trigger chain is efficiently solved.
Owner:SHANDONG YOU INTERNET OF THINGS CO LTD

Method and device for acquiring virtual ring data, electronic equipment and storage medium

The application discloses a virtual ring data acquisition method and device, electronic equipment and a storage medium, and relates to the technical field of virtual machines. The method comprises the following steps: acquiring a plurality of historical input and output information corresponding to a target moment of a virtual ring between a host and a virtual machine in a historical time period and a first polling frequency at which the host polls the virtual ring; inputting the target moment and a historical data size into a preset prediction model to predict a predicted data size corresponding to the target moment in a current time period; acquiring an actual data size of input and output data sent by the virtual machine to the virtual ring at the target moment in the current time period; adjusting the polling frequency according to the predicted data size, the actual data size and the first polling frequency to obtain a target polling frequency; and polling the virtual ring according to the target polling frequency to acquire virtual ring data. The application can solve the problems of poor virtual machine performance caused by the failure to acquire virtual ring data in time and processor resource waste caused by the dead loop polling to acquire virtual data.
Owner:JINAN INSPUR DATA TECH CO LTD

A master-slave node data bidirectional synchronization method, system, device and medium

The present disclosure relates to the technical field of data bidirectional synchronization, and particularly to a master-slave node data bidirectional synchronization method, system, device and medium. The master-slave node data bidirectional synchronization method comprises L1. Setting a master node partition table and a master node non-partition table for a master node database, and setting a slave node partition table and a slave node non-partition table for a slave node database, wherein the master node partition table is used to record data related to regional resources in the master node database, the master node non-partition table is used to record data unrelated to regional resources in the master node database, the slave node partition table is used to record data related to regional resources in the slave node database, and the slave node non-partition table is used to record data unrelated to regional resources in the slave node database; L2. Setting a synchronization judgment unit for the master node partition table, the master node non-partition table, the slave node partition table and the slave node non-partition table. The present disclosure enables master-slave node data to be bidirectionally synchronized and updated without a dead loop.
Owner:CHINA TELECOM CLOUD TECH CO LTD

In-orbit high-reliability two-dimensional rotating mechanism control method and on-board software

This invention relates to a highly reliable on-orbit two-dimensional rotating mechanism control method and its onboard software, belonging to the field of on-orbit two-dimensional rotating mechanism control technology. The method mainly includes the following steps: controlling the two-dimensional rotating mechanism to acquire and track the sun based on the on-orbit exploration mission and solar angle. During the control process of the two-dimensional rotating mechanism, an anomaly handling mechanism and a flexible mode switching method are implemented; a search mode is set to ensure that even under conditions where new offsets exist between the mechanical structures of the two-dimensional rotating mechanism during satellite launch, or when ground experiments cannot be completely consistent with on-orbit conditions, the remote sensing instrument can achieve the greatest possible success in acquiring the sun. These measures ensure the successful completion of the exploration mission by the remote sensing instrument. The timed waiting mechanism of the mode ensures that the two-dimensional rotating structure control process can still execute normally even when the control software returns a chaotic state, ensuring that the onboard software does not enter an infinite loop, thus guaranteeing the completion of the entire on-orbit mission.
Owner:CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI

Electric control box for hydraulic circuit reversing

The utility model discloses a hydraulic circuit reversing electric control box which comprises a box body connected with a hydraulic circuit, and an electromagnetic valve, an infinite loop time relay capable of controlling a valve core of the electromagnetic valve and a circuit breaker are arranged in the box body. The electromagnetic valve is connected with the circuit breaker; a power supply selection switch is arranged on the outer wall of the box body; the power supply selection switch is connected with the infinite loop time relay; the infinite loop time relay body is provided with a device for setting the loop time and the number of times. Automatic reversing of a hydraulic circuit is achieved through different positions of the valve element, manual reversing is replaced with an electric control mode, so that the assembling risk is reduced, and the working efficiency is improved.
Owner:SHANGHAI W IBEDA HIGH TECH DEV

Code inspection method under weak memory ordering architecture and corresponding device

This application discloses a code inspection method, including: obtaining first source code and test code, where the first source code includes a blocking mark, the first source code corresponds to a plurality of threads, the plurality of threads have at least one shared memory; generating, based on the first source code and the condition indicated by the test code, a plurality of execution flows under the weak memory ordering architecture for the plurality of threads that operate a same shared memory, where a busy-wait loop exists in a target execution flow that includes the blocking mark and that is in the plurality of execution flows; and determining the busy-wait loop in the target execution flow as an infinite loop if a read operation executed by a target thread in one iteration of the busy-wait loop cannot reference an unreferenced write operation.
Owner:HUAWEI TECH CO LTD