Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for realizing memory optimization

A memory, stored technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems affecting equipment performance, and achieve the effect of saving memory, optimizing memory, and ensuring performance and compatibility

Active Publication Date: 2017-05-03
ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the prior art that improving the memory optimization effect will affect the performance of the device, the present invention provides a method and device for realizing memory optimization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for realizing memory optimization
  • A method and device for realizing memory optimization
  • A method and device for realizing memory optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Embodiment 1 of the present invention provides a method for implementing memory optimization, which is specifically realized by fragmentation on-demand reorganization, such as figure 1 shown, including:

[0035] Step S10: When the receiving end receives the fragmented data packet, judge whether the received fragmented data packet is the first fragmented data packet, if yes, execute step S11, otherwise execute step S12;

[0036] In this embodiment, the fragmentation data packet includes the fragmentation length, the complete data packet length, the offset of the fragmentation in the complete data packet, and judges whether the received fragmentation data packet is the first fragmentation data packet. It is: judge whether the received fragmented data packet is the first fragmented data packet according to the offset of the fragment in the complete data packet, if the offset of the fragment in the complete data packet is 0, then the received fragment The fragmented data p...

Embodiment 2

[0054] Embodiment 3 of the present invention provides a device for realizing memory optimization, such as Figure 5 shown, including:

[0055] A receiving module 501, configured to receive fragmented data packets;

[0056] The second judging module 502 is used to judge whether the fragmented data packet received is the first fragmented data packet, if so, trigger the first judging module 503, otherwise trigger the storage and reorganization module 506;

[0057] In this embodiment, the second judging module 502 is specifically configured to judge whether the received fragmented data packet is the first fragmented data packet according to the offset of the fragment in the fragmented data packet in the complete data packet, If the offset of the fragment in the complete data packet is 0, the received fragmented data packet is the first fragmented data packet, otherwise the received fragmented data packet is not the first fragmented data packet;

[0058] The first judging module ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory optimization implementation method and device and relates to the technical field of bluetooth. The method includes: when a receiving end receives a first fragmentation data packet, judging whether the first fragmentation data packet is resolvable or not, if yes, sending the first fragmentation data packet to an upper layer through the receiving end, otherwise, storing the first fragmentation data packet into a buffer region, and continuing waiting for receiving other fragmentation data packets; when the receiving end receives the other fragmentation data packets, storing the other fragmentation data packets into the buffer region, restructuring the other fragmentation data packets with the fragmentation data packet stored in the buffer region to obtain a new fragmentation data packet, judging whether the new fragmentation data packet is resolvable or not, if yes, sending the new fragmentation data packet to the upper layer, otherwise, storing the new fragmentation data packet into the buffer region, and continuing waiting for receiving other fragmentation data packets. By the method and device, the received fragmentation data packets are restructured without presetting massive restructuring buffer regions when restructuring is needed, and memory is saved.

Description

technical field [0001] The invention relates to the technical field of bluetooth, in particular to a method and device for realizing memory optimization. Background technique [0002] Bluetooth technology has a history of more than ten years and is widely used in mobile phones, wireless headsets and other fields. In recent years, due to the release of Bluetooth protocol 4.0, the low-power specification has promoted Bluetooth technology to a wider range of low-cost applications, such as instrument monitoring. Reducing the memory of the Bluetooth protocol stack not only reduces the hardware cost of the device, but also reduces the power consumption of the device and prolongs the use time of the device, which is of great significance for Bluetooth low-power devices. [0003] In the prior art, reducing the memory of the Bluetooth protocol stack is generally achieved through reorganization, that is, data packets are transmitted in fragments when being transmitted, and are reorga...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04B5/00H04L29/06H04L12/861
Inventor 李晓辉胡胜发
Owner ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
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