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

38results about How to "Avoid memory leaks" patented technology

Memory management method of embedded system

The invention relates to a memory management method of an embedded system, which comprises the steps of: (1), opening up a physical memory, managing the physical memory by using a turnover thread heap management system, and allocating a memory space for data requirement from the tail end and the head end of a thread heap free memory by the thread heap management system, wherein the thread heap free memory has a normal state N and a turnover state F; (2), dividing all data requirements into a temporary space requirement and an output space requirement, and allocating one end of the thread heap free memory to be a temporary end or an output end by a type thread heap management system according to the data requirements; (3), allocating a head end memory to data required in a temporary space by the thread heap management system; and (4), when a superior function calls a subordinate function, controlling the thread heap free memory to turn over by the thread heap management system, when exiting the subordinate function, releasing a temporary space at the current temporary end, preserving the output space of the output end and merging with the temporary space of the temporary end of the superior function. The invention can realize timely release of the memory, has high operating efficiency, does not generate memory fragments, and can operate stably and efficiently for a long time.
Owner:TSINGHUA UNIV

Distributing method and device of bullet-screen message, terminal and storage medium

The embodiment of the invention discloses a distributing method and device of a bullet-screen message, a terminal and a storage medium. The method includes: if a starting indication is received againafter a first live streaming room is destroyed, calling a lifecycle creation function of the first live streaming room, and sending first identification information and a corresponding current first reference relationship to a bullet-screen distributing object; replacing a historical reference relationship, which is of the first live streaming room and is already stored in a preset key value paircollection object, with the current first reference relationship by the bullet-screen distributing object according to the first identification information, wherein the current first reference relationship is inherited from a preset listener interface protocol, and the preset listener interface protocol includes a receiving method of the bullet-screen message; and distributing the bullet-screen message to the first live streaming room by the bullet-screen distributing object on the basis of the current first reference relationship through calling the receiving method of the bullet-screen message. Through adopting the above technical solution, the problem of memory leakage is solved on the basis of distributing the bullet-screen message to the currently running live streaming room.
Owner:WUHAN DOUYU NETWORK TECH CO LTD

A method, device, terminal and storage medium for distributing barrage messages

The embodiment of the invention discloses a barrage message distribution method, device, terminal and storage medium. The method includes: after the first live broadcast room is destroyed, if the activation instruction is received again, calling the life cycle creation function of the first live broadcast room, and sending the first identification information and the corresponding current first reference to the barrage distribution object relationship; the barrage distribution object replaces the historical reference relationship of the first live broadcast room stored in the preset key-value pair set object with the current first reference relationship according to the first identification information; wherein, the current first reference relationship inherits from the preset Set up the listener interface protocol, and the preset listener interface protocol includes the receiving method of the bullet chat message; the bullet chat distribution object distributes the bullet chat message to the first live broadcast by calling the receiving method of the bullet chat message based on the current first reference relationship between. By adopting the above technical solution, the problem of memory leak is solved on the basis of distributing the barrage messages to the running live broadcast room.
Owner:WUHAN DOUYU NETWORK TECH CO LTD

Method for realizing fly wire effect based on web front-end technology

The invention provides a method for realizing a fly wire effect based on a web front-end technology. The method comprises the steps of setting a data filtering condition a1; according to the filteringconditions a1, receiving the request data, establishing a data processing queue A, sending the obtained request data to the data processing queue A, drawing a flying wire from the advanced data of the request data in the data processing queue A, positioning a source address and a destination address on a map according to the addresses contained in the advanced data, drawing the flying wire between the source address and the destination address on the map, and counting 1; storing the drawn data, the fly wires and the counts as the fly wire data in a reserved fly wire library. According to themethod, by acquiring the data in the recent preset time in real time, drawing the data in a queue form, and displaying the data on the map, the source address and the destination address of the real-time data meeting the conditions is emphatically displayed, and the method has the advantages of high efficiency, good performance, good interaction effect, prevention of memory leakage and improvementof data processing efficiency.
Owner:HANGZHOU ANHENG INFORMATION TECH CO LTD
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