摘要:
An external controller for delaying screen locking of a computing device, the screen of the computing device is automatically locked after a preset period of inactivity of the computing device. The external controller includes a detection unit and a control unit. The detection unit accounts a period of time of how long the computing device is inactive, and detects whether at least one authorized user is in front of the screen when the accounted period of time is greater than a predetermined time period. The control unit generates a control command for interrupting the inactivity mode of the computing device to delay the screen from automatically locking for the preset period, when the at least one authorized user is detected in front of the screen.
摘要:
Methods and systems are provided for analyzing parallelism of program code. According to a method, the sequential execution of the program code is simulated so as to trace the execution procedure of the program code, and parallelism of the program code is analyzed based on the result of the trace to the execution procedure of the program code. Execution information of the program code is collected by simulating the sequential execution of the program code, and parallelism of the program code is analyzed based on the collected execution information, so as to allow programmers to perform parallel task partitioning of the program code with respect to a multi-core architecture more effectively, thus increasing the efficiency of parallel software development.
摘要:
A method of transforming relational queries of a database into on a data processing system includes receiving a series of relational queries, transforming first parts of the queries into a continuous query embodied as a streaming application, sending parameters in second parts of the queries in the series to the streaming application as a data stream, and executing the continuous query based on the received data stream to generate query results for the series of relational queries. Each query in the series includes a first part and a second part. The first parts are a pattern common to all the queries in the series and the second parts each have one or more parameters that are not common to all of the queries in the series.
摘要:
A method of transforming relational queries of a database into on a data processing system includes receiving a series of relational queries, transforming first parts of the queries into a continuous query embodied as a streaming application, sending parameters in second parts of the queries in the series to the streaming application as a data stream, and executing the continuous query based on the received data stream to generate query results for the series of relational queries. Each query in the series includes a first part and a second part. The first parts are a pattern common to all the queries in the series and the second parts each have one or more parameters that are not common to all of the queries in the series.
摘要:
This invention provides a system enabling Transactional Memory with overflow prediction mechanism, comprising: prediction unit for predicting the mode for the next execution of a transaction based on the final status of the previous execution of the transaction; execution unit for executing the transaction in the execution mode predicted by the prediction unit, wherein the execution mode comprises overflow mode and non-overflow made. According to this invention, before a transaction is executed, it is predicted whether or not the transaction will overflow, and therefore, the execution of the transaction which is necessary to determine whether or not an overflow will occur is saved and the system performance can be improved.
摘要:
A method for performing rapid memory management unit emulation of a computer program in a computer system, wherein address injection space of predefined size is allocated in the computer system and a virtual page number and a corresponding physical page number are stored in said address injection space, said method comprising steps of: comparing the virtual page number of the virtual address of a load/store instruction in a code segment in said computer program with the virtual address page number stored in said address injection space; if the two virtual page numbers are the same, then obtaining the corresponding physical address according to the physical page number stored in said address injection space; otherwise, performing address translation lookaside buffer search, that is, TLB search to obtain the corresponding physical address; and reading/writing data from/to said obtained corresponding physical address. The present invention also provides an apparatus and computer program product for implementing the method described above.
摘要:
A method for determining travel time of a vehicle on a road, wherein the vehicle is operable within a mobile communication network, comprising: collecting historical communication events of a mobile user in order to obtain travel samples, wherein the historical communication events indicate when the mobile user travelled along a monitored road; determining a cell handover sequence from the historical communication events; determining from the cell handover sequence, one of more road segments of the monitored road; determining the travel time of the one or more road segments according to the travel time samples; selecting, for an undetermined road segment of the monitored road for which the real-time travel time is not determined from the collected historical communication events, a candidate mobile user that is most likely to appear on the undetermined road segment; actively positioning the candidate mobile user to obtain positioning information; and returning to the step of collecting communication events of a mobile user currently on a monitored road with the active positioning as one communication event for the candidate mobile user, to determine the real-time travel time of the undetermined road segment.
摘要:
A holding apparatus for holding an object, includes a support mechanism, a driven mechanism slidably coupled to the support mechanism and slidable between a first position and a second position, a driving mechanism slidably coupled to the support mechanism and adapted to drive the driven mechanism to slide between the first position and the second position, and a clamping mechanism rotatably secured to the driven mechanism and the support mechanism. When the driven mechanism is slid to the second position, the clamping mechanism moves inwards to clamp the object, and the driven mechanism clamps the support mechanism to prevent the driven mechanism from moving relative to the support mechanism so the clamping mechanism can hold the object firmly. When the driven mechanism is slid to the first position, the clamping mechanism expands out to allow the object to be released.
摘要:
A connecting structure received in a main device for connecting an auxiliary apparatus. The connecting structure includes a retracting part formed on a bottom board of the main device and close to a sidewall of the main device and a clamping part. The clamping part is pivotablly mounted on the bottom board and pivotally connected to the retracting part. The retracting part drives the clamping part to extend out of the main device via an opening defined on the sidewall for connecting the auxiliary apparatus when the auxiliary apparatus needs to be mounted on the main device. The retracting part retracts the clamping part into the main device when the auxiliary apparatus is unmounted from the main device.
摘要:
A holding apparatus for holding an object, includes a support mechanism, a driven mechanism slidably coupled to the support mechanism and slidable between a first position and a second position, a driving mechanism slidably coupled to the support mechanism and adapted to drive the driven mechanism to slide between the first position and the second position, and a clamping mechanism rotatably secured to the driven mechanism and the support mechanism. When the driven mechanism is slid to the second position, the clamping mechanism moves inwards to clamp the object, and the driven mechanism clamps the support mechanism to prevent the driven mechanism from moving relative to the support mechanism so the clamping mechanism can hold the object firmly. When the driven mechanism is slid to the first position, the clamping mechanism expands out to allow the object to be released.