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

16 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.

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

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 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

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

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

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

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