WO2020134833A1 - Procédé, dispositif, équipement et système de partage de données - Google Patents

Procédé, dispositif, équipement et système de partage de données Download PDF

Info

Publication number
WO2020134833A1
WO2020134833A1 PCT/CN2019/121554 CN2019121554W WO2020134833A1 WO 2020134833 A1 WO2020134833 A1 WO 2020134833A1 CN 2019121554 W CN2019121554 W CN 2019121554W WO 2020134833 A1 WO2020134833 A1 WO 2020134833A1
Authority
WO
WIPO (PCT)
Prior art keywords
service data
area
message
processor
address
Prior art date
Application number
PCT/CN2019/121554
Other languages
English (en)
Chinese (zh)
Inventor
刘毛
刘海军
Original Assignee
深圳云天励飞技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳云天励飞技术有限公司 filed Critical 深圳云天励飞技术有限公司
Publication of WO2020134833A1 publication Critical patent/WO2020134833A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data sharing method, device, device, and system.
  • multiple processors are often used to accelerate video frame processing. For example, use the application processor and decoder to decode the video frame, and then send the video frame to the visual processor and corresponding accelerator for processing. After processing, the application processor sends the video frame to the upper-layer application for processing. Due to the large amount of video frame data, different processors often transfer data by copying. A large number of copies will occupy a large amount of system bandwidth, reduce system throughput, and affect system performance.
  • the present application provides a data sharing method, device, equipment, and system, which can reduce the copying of business data, circumvent the transmission of large amounts of data between processors at the same time, and improve the data of the data sharing system Processing efficiency and system throughput.
  • the present application provides a data sharing method, the method including:
  • the device divides the shared memory into a first area and a second area through the first processor; the first area is used to store service data acquired by the first processor; and the second area is used to store A message containing the address of the business data;
  • the device dynamically applies for a third area in the first area to store the first service data through the first processor, and stores the first message containing the address of the first service data in the The second area
  • the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and reads The first service data is read out from the obtained address of the first service data.
  • the device Before the device dynamically applies for a third area in the first area to store the first service data through the first processor, the device further includes:
  • the device obtains the first service data through the first processor, and writes the first service data into the cache of the device through a Map cache mechanism.
  • the storing the first message containing the address of the first service data before the second area further includes:
  • the device encapsulates the address of the first service data into a first message containing the address of the first service data through the first processor, and uses the Map cache mechanism through the first processor Write the first message to the cache of the device.
  • the device encapsulates the address of the first service data into a first message containing the address of the first service data through the first processor, including:
  • the device encapsulates the address of the first service data into a first message in the message queue containing the address of the first service data through the first processor.
  • the message includes a number associated with the message; different messages are associated with different numbers;
  • the first message includes a first number associated with the first message
  • the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and reads After the obtained address of the first service data reads the first service data, the method further includes:
  • the device processes the read first service data through a second processor to obtain The first processing result of the first number, and write the first processing result into the second area; the first processing result is used to notify the first processor to release the cache storage of the device The first service data and the first message containing the address of the first service data;
  • the device If the device reads the first processing result including the first number from the first area through the first processor, the device releases the device through the first processor Cache the stored first service data and the first message containing the address of the first service data.
  • the first processor releases the first information stored in the cache, the information includes: the first service data Or a first message containing the address of the first service data.
  • the first processor releases the information with the lowest priority in the cache, the information includes: the first service data Or a first message containing the address of the first service data.
  • the present application provides a data sharing device, which includes:
  • a dividing unit configured to divide the shared memory into a first area and a second area; the first area is used to store the business data obtained by the obtaining unit; the second area is used to store the The message of the address of the business data;
  • an application unit for dynamically applying for a third area in the first area
  • a storage unit configured to store the first service data and the first message including the address of the first service data in the third area dynamically applied by the application unit;
  • the first service data is Data in the service data;
  • the first message is a message in the second area;
  • a reading unit configured to read the first message in the second area to read out the address of the first service data in the first message, and pass the The first service data is read from the address of the first service data.
  • [0036] further comprising: a writing unit for dynamically applying for a third area in the first area to store the first business data Before, the obtaining unit obtains the first service data, and writes the first service data into the cache of the device through the Map cache mechanism.
  • the method further includes:
  • an encapsulation unit configured to store the first message containing the address of the first service data before the second area, and encapsulate the address of the first service data into a message queue containing the first service data The first message of the address.
  • the method further includes: a release unit, where
  • the message contains the number associated with the message; different message associations have different numbers.
  • the first message includes a first number associated with the first message
  • the writing unit is further configured to process the read first service data to obtain the first processing result including the first number, and then write the first processing result into the second area; the first processing result It is used to notify the first processor to release the cached first service data of the device and the first message containing the address of the first service data.
  • the releasing unit is configured to release the first service data stored in the cache of the device and the first message containing the address of the first service data after reading the first processing result containing the first number from the first area.
  • the present application provides a data sharing device, including an input device, an output device, a processor, and a memory, where the processor, input device, output device, and memory are connected to each other, wherein the memory is used To store the application program code supporting the device to execute the data sharing method, the processor is configured to execute the data sharing method provided in the first aspect.
  • the present application provides a computer-readable storage medium for storing one or more computer programs, the one or more computer programs include instructions, and when the above computer program runs on a computer, The above instruction is used to execute the data sharing method provided in the above first aspect.
  • the present application provides a computer program, the computer program includes a data sharing instruction, and when the computer program is executed on a computer, the foregoing machine learning instruction is used to perform the data sharing provided in the first aspect method.
  • the present application provides a data sharing method, device, and equipment.
  • the device The shared memory is divided into a first area and a second area; the first area is used to store service data acquired by the first processor; and the second area is used to store messages containing addresses of the service data.
  • the device dynamically applies for the third area in the first area to store the first service data through the first processor, and stores the first message containing the address of the first service data in the second area; the first service data Is the data in the service data; the first message is a message in the second area.
  • the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and reads out the first message through the read address of the first service data 1.
  • the second processor reads the address of the first service data from the second area, and thus reads the first service data from the first area through the address of the first service data, thereby implementing the second processing
  • the sharing of business data between the processor and the first processor reduces the amount of business data between processors
  • the processors avoiding the transmission of a large amount of data between processors at the same time (if there is a large amount of data transmission between the processors at the same time, it will occupy a large amount of system bandwidth and reduce the system throughput), improving the system The efficiency of data processing and the throughput of the system.
  • FIG. 1 is a schematic structural diagram of a data sharing system provided by the present application.
  • FIG. 2 is a schematic diagram of a division of a shared area provided by the present application.
  • FIG. 3 is a schematic flowchart of a data sharing provided by the present application.
  • FIG. 4 is a schematic block diagram of an apparatus provided by the present application.
  • FIG. 5 is a schematic block diagram of a device provided by the present application.
  • the term “if” may be interpreted as “when” or “once” or “in response to a determination” or “in response to” detected”.
  • the phrase “if determined” or “if [described condition or event] is detected” can be interpreted in the context to mean “once determined” or “in response to determination” or “once detected [described condition or event ]” or “In response to detection of [the described condition or event]”.
  • the devices described in this application include but are not limited to other portable devices such as mobile phones, laptop computers, or tablet computers with touch-sensitive surfaces (eg, touch screen displays and/or touch pads) . It should also be understood that, in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (eg, touch screen display and/or touch pad)
  • the device supports various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, game applications , Phone apps, video conferencing apps, email apps, instant messaging apps, exercise support apps, photo management apps, digital camera apps, digital camera apps, web browsing apps, digital music players Application and/or digital video player application.
  • Various applications that can be executed on the device may use at least one common physical user interface device such as a touch-sensitive surface.
  • One or more functions of the touch-sensitive surface and the corresponding information displayed on the device can be adjusted and/or changed between applications and/or within the corresponding application.
  • the common physical architecture of the device eg, touch-sensitive surface
  • FIG. 1 is an architectural diagram of a data sharing system provided by this application.
  • the system may include, but is not limited to: a first processor, a second processor, and a shared memory, where the shared memory may include but is not limited to: a first area and a second area.
  • the first processor divides the shared memory into a first area and a second area; the first area is used to store service data obtained by the first processor; the second area It is used to store the message containing the address of the business data.
  • the device may include but is not limited to: a first processor and a second processor.
  • the first processor may be an application processor
  • the second processor may be a visual processor. That is to say, the vision processor and corresponding accelerator can share the video frame decoded by the application processor and the decoder.
  • Sharing data through the first processor and the second processor may include but is not limited to the following steps:
  • the third area is a part of the memory area in the first area, which is used to store the first service data, where the first service data may include but is not limited to: data such as video frames or face pictures .
  • the first processor encapsulates the address of the first service data into a first message in the message queue that contains the address of the first service data.
  • the message includes the number associated with the message; different messages are associated with different numbers.
  • the first message contains the first number associated with the first message.
  • the first processor uses the Map cache mechanism to write the first message to the cache of the device.
  • the first processing result is written to the second area; the first processing result is used to notify the first processor to release the cached first service data of the device and the address containing the first service data First news.
  • the first processor releases the first information stored in the cache, and the information includes: first service data or an address containing the first service data First news.
  • the first processor releases the information with the lowest priority in the cache, the information includes: the first service data or the first message containing the address of the first service data .
  • FIG. 2 exemplarily shows a schematic diagram of division of a shared area.
  • the first processor may divide the shared area into a first area and a second area.
  • the first area is usually placed in a double-rate synchronous dynamic random access memory (Synchronous Dynamic Random Access Memory (DDR SDRAM))
  • the second area is usually placed in a static random access memory (SRAM) with faster speed and smaller capacity.
  • DDR SDRAM Double-rate synchronous dynamic random access memory
  • SRAM static random access memory
  • data1 is service data stored in the first area
  • *data1 indicates that the address of data1 is stored in the second area.
  • Seq can be expressed as the number of the message containing the service data.
  • the device divides the shared memory into a first area and a second area through the first processor; the first area is used to store the service data acquired by the first processor; the second area is used For storing messages containing addresses of business data. Then, the device dynamically applies for the third area in the first area to store the first service data through the first processor, and stores the first message containing the address of the first service data in the second area; the first service data Is the data in the service data; the first message is a message in the second area. Finally, the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and reads out the first message through the read address of the first service data 1. Business data.
  • the second processor reads the address of the first service data from the second area, thereby reading the first service data from the first area through the address of the first service data,
  • the sharing of business data between the second processor and the first processor (5 see the technology, the sharing of data in shared memory, or mainly through the method of copying data in shared memory), reducing a large amount of business between processors
  • the copying between data avoids the transmission of a large amount of data between processors at the same time (if there is a large amount of data transmission between processors at the same time, it will occupy a large amount of system bandwidth and reduce the system throughput), improve
  • the data processing efficiency of the system and the throughput rate of the system are included.
  • FIG. 2 is only used to explain embodiments of the present application, and should not be limited to this application.
  • FIG. 3 is a schematic flowchart of a data sharing method provided by the present application. As shown in FIG. 3, the method may include at least the following steps:
  • the device divides the shared memory into a first area and a second area through the first processor.
  • the first area is used to store service data acquired by the first processor; the second area is used to store messages containing addresses of the service data.
  • the data may include, but is not limited to, data such as video frames and face pictures.
  • the shared memory may include other memory areas in addition to the first area and the second area [0095] It should be noted that the device may include, but is not limited to: a first processor and a second processor.
  • the first processor may be an application processor
  • the second processor may be a visual processor. That is to say, the vision processor and the corresponding accelerator can share the video frame decoded by the application processor and the decoder.
  • the device dynamically applies for the third area in the first area through the first processor to store the first service data, and stores the first message containing the address of the first service data in the second area.
  • the first service data is data in the service data; the first message is a message in the second area.
  • the device Before the device dynamically applies for the third area in the first area to store the first service data through the first processor, the device further includes the following steps:
  • Step 1 The device obtains the first service data through the first processor.
  • Step 2 The device writes the obtained first service data into the device's cache through the Map cache mechanism through the first processor.
  • the method Before storing the first message containing the address of the first service data in the second area, the method further includes the following steps:
  • Step 1 The device encapsulates the address of the first service data into a first message containing the address of the first service data through the first processor.
  • the device encapsulates the address of the first service data into the first message in the message queue containing the address of the first service data through the first processor.
  • Step 2 The device uses the Map cache mechanism to write the first message to the device's cache through the first processor.
  • the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and through the read The address reads the first business data.
  • the message may include, but is not limited to: an address containing service data and a number associated with the message
  • the message association number is the unique identifier of the message association; the number can be a string of numbers, text or letters.
  • the first message includes the first number associated with the first message.
  • the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and passes the read first service After reading the first service data from the data address, the following work steps are also included:
  • Working step 1 The device processes the read first service data through a second processor to obtain a first processing result including a first number.
  • Working step 2 Write the first processing result to the second area; the first processing result may be used to notify the first processor to release the cached first service data and the device containing the first service data The first message of the address.
  • Working step 3 If the device reads the first processing result containing the first number from the first area through the first processor, the first processor releases the cached first service data stored in the device and contains the first The first message of the address of the business data.
  • the first processor releases the first information stored in the cache, and the information includes: first service data or an address containing the first service data First news.
  • the first processor releases the information with the lowest priority in the cache, the information includes: the first service data or the first message containing the address of the first service data .
  • the device divides the shared memory into a first area and a second area through the first processor; the first area is used to store the service data obtained by the first processor ; The second area is used to store messages containing addresses of business data. Then, the device dynamically applies for the third area in the first area to store the first service data through the first processor, and stores the first message containing the address of the first service data in the second area; the first service data is a service The data in the data; the first message is a message in the second area. Finally, the device reads the first message in the second area through the second processor to read out the address of the first service data in the first message, and reads out the first message through the read address of the first service data 1.
  • the second processor reads the address of the first service data from the second area, thereby reading from the first area through the address of the first service data Obtain the first business data, and realize the sharing of business data between the second processor and the first processor (see 5 in the art, the sharing of data in shared memory, or mainly through the method of copying data in shared memory)
  • the device 40 includes: an obtaining unit 401, a dividing unit 402, an application unit 403, a storage unit 404, and a reading unit 405. among them:
  • the obtaining unit 401 is configured to obtain service data.
  • the dividing unit 402 is used to divide the shared memory into a first area and a second area; the first area is used to store the business data acquired by the obtaining unit; the second area is used to store the message containing the address of the business data.
  • the application unit 403 is used to dynamically apply for the third area in the first area.
  • the storage unit 404 is used to store the first business data and the first message containing the address of the first business data in a third area dynamically applied by the application unit 403; the first business data is data in the business data; The first message is a message in the second area.
  • the reading unit 405 is configured to read the first message in the second area to read out the address of the first service data in the first message, and read through the read address of the first service data The first business data.
  • the apparatus 40 includes: an acquisition unit 401, a division unit 402, an application unit 403, a storage unit 404, and a reading unit 405, and further includes: a writing unit.
  • a writing unit used to dynamically apply for a third area in the first area to store the first service data
  • the acquiring unit 401 After acquiring the first service data, the acquiring unit 401 writes the first service data into the cache of the device through the Map cache mechanism.
  • the apparatus 40 includes: an acquisition unit 401, a division unit 402, an application unit 403, a storage unit 404, a reading unit 405, and a writing unit, and further includes: a packaging unit.
  • an encapsulation unit for storing the first message containing the address of the first service data in the second area Before the domain, the address of the first service data is encapsulated into the first message in the message queue containing the address of the first service data.
  • the writing unit is also used to write the first message to the cache of the device by using the Map caching mechanism.
  • the device 40 includes: an acquisition unit 401, a division unit 402, an application unit 403, a storage unit 404, a reading unit 405, and a writing unit, and further includes: a releasing unit.
  • the message contains the number associated with the message; different messages are associated with different numbers.
  • the first message includes a first number associated with the first message
  • the writing unit is further configured to process the read first service data to obtain the first processing result including the first number, and then write the first processing result into the second area; the first processing result It is used to notify the first processor to release the cached first service data of the device and the first message containing the address of the first service data.
  • the releasing unit is configured to release the first service data stored in the cache of the device and the first message containing the address of the first service data after reading the first processing result containing the first number from the first area.
  • the device 40 divides the shared memory into a first area and a second area through the dividing unit 402; the first area is used to store the service data obtained by the obtaining unit 401; the second The area is used to store messages containing addresses of business data. Then, the device 40 dynamically applies for the third area in the first area through the application unit 403 to store the first service data, and the device 40 stores the first message containing the address of the first service data in the second area through the storage unit 404; The first service data is data in the service data; the first message is a message in the second area.
  • the device 40 reads the first message in the second area through the reading unit 405 to read the address of the first service data in the first message, and reads out the address of the read first service data The first business data.
  • the device 40 reads the address of the first service data from the second area through the reading unit 405, so that the first service data is read from the first area through the address of the first service data, It realizes the sharing of business data between different processing units for processing business data in the device 40, reduces the copying of a large amount of business data between the processing units, and avoids the existence of a large amount of data between processors at the same time point Between transmissions, the system's data processing efficiency and system throughput are improved. [0138] It should be understood that the device 40 is only an example provided by the embodiments of the present application, and the device 40 may have more or fewer components than those shown, and two or more components may be combined, or Realize with different configurations of components.
  • FIG. 5 is a schematic structural diagram of a data sharing device provided by the present application.
  • the device may include a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a smart wearable device (such as a smart watch, smart bracelet), etc.
  • PDA Personal Digital Assistant
  • MID mobile Internet Device
  • smart wearable device such as a smart watch, smart bracelet
  • the device 50 may include: a baseband chip 501, a memory 502 (one or more computer-readable storage media), and a peripheral system 503. These components can communicate on one or more communication buses 504.
  • the baseband chip 501 may include, but is not limited to: a processor 505 and a processor 506.
  • the device 50 divides the shared memory into a first area and a second area through the processor 505; the first area is used to store the service data obtained by the processor 505; the second area is used to store the message containing the address of the service data .
  • the device 50 dynamically applies for the third area in the first area to store the first service data through the processor 505, and stores the first message containing the address of the first service data in the second area; the first service data is Data in service data; the first message is a message in the second area.
  • the device 50 reads the first message in the second area through the processor 506 to read the address of the first service data in the first message, and reads out the address of the read first service data The first business data.
  • the memory 502 is coupled to the processor 505 and the processor 506, and may be used to store various software programs and/or multiple sets of instructions.
  • the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 502 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 502 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more device devices, and one or more network devices.
  • the memory 502 can also store a user interface program, which can vividly display the content of the application program through a graphical operation interface Come, and receive the user's control of the application through input controls such as menus, dialog boxes, and keys
  • the memory 502 may be used to store an implementation code that implements a data sharing method.
  • the memory 502 may also store one or more application programs. As shown in Figure 5, these applications may include: social applications (such as Facebook), image management applications (such as albums), map applications (such as Google Maps), browsers (such as Safari, Google Chrome), etc. .
  • social applications such as Facebook
  • image management applications such as albums
  • map applications such as Google Maps
  • browsers such as Safari, Google Chrome
  • the peripheral system 503 is mainly used to realize the interaction function between the user/external environment of the device 50, mainly including the input and output devices of the device 50.
  • the peripheral system 503 may include: a touch screen controller 507, a camera controller 508, and an audio controller 509. Among them, each controller can be coupled with their corresponding peripheral devices (such as touch screen 510, camera 511, and audio circuit 52).
  • the display screen may be a display screen 1 configured with a self-capacitive floating touch panel, or may be a touch screen configured with an infrared floating touch panel.
  • the camera 511 may be a 3D camera. It should be noted that the peripheral system 503 may also include other I/O peripherals.
  • the device 50 divides the shared memory into the first area and the second area through the processor 505; the first area is used to store the service data obtained by the processor 505; The second area is used to store messages containing addresses of business data. Then, the device 50 dynamically applies for the third area in the first area to store the first service data through the processor 505, and stores the first message containing the address of the first service data in the second area; the first service data is a service The data in the data; the first message is a message in the second area.
  • the device 50 reads the first message in the second area through the processor 506 to read out the address of the first service data in the first message, and reads out the first message through the read address of the first service data 1.
  • Business data Using the embodiment of the present application, the processor 506 reads the address of the first service data from the second area, thereby reading the first service data from the first area through the address of the first service data, and implements the processor
  • the sharing of business data between 506 and processor 505 reduces the copying of large amounts of business data between processors, avoids the transmission of large amounts of data between processors at the same time, and improves the data sharing system The efficiency of data processing and the throughput of the system.
  • the present application provides a computer-readable storage medium that stores a computer program, which is implemented when executed by a processor.
  • the computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or a memory of the device.
  • the computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), a Secure Digital (SD) card, or a flash memory card (Flash Card) etc.
  • the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
  • the computer-readable storage medium is used to store computer programs and other programs and data required by the device.
  • the computer-readable storage medium can also be used to temporarily store data that has been or will be output.
  • the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing the computer program, the computer program is operable to cause the computer to perform any of the methods described in the above embodiments Part or all of the steps of a method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division, and in actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as the unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple networks On the unit. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware, or in the form of a software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology, or all or part of the technical solution can be embodied in the form of a software product
  • the computer software product is stored in a storage medium
  • several instructions are included to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention concerne un procédé, un dispositif, un équipement et un système de partage de données, le procédé comprenant les étapes suivantes : un équipement divise une mémoire partagée en une première zone et en une deuxième zone au moyen d'un premier processeur (S301), la première zone étant utilisée pour stocker des données de service acquises par le premier processeur, et la deuxième zone étant utilisée pour stocker un message contenant l'adresse des données de service ; l'équipement sollicite dynamiquement une troisième zone dans la première zone au moyen du premier processeur de manière à stocker des premières données de service, et stocke un premier message comprenant l'adresse des premières données de service dans la deuxième zone (S302), les premières données de service étant des données dans les données de service, et le premier message étant un message dans la deuxième zone ; et l'équipement lit le premier message dans la deuxième zone au moyen du second processeur de façon à lire l'adresse des premières données de service dans le premier message, et lit les premières données de service au moyen de l'adresse ainsi lue des premières données de service (S303). Avec le procédé décrit, les copies de données de service peuvent être réduites, et l'efficacité de traitement des données du système et le débit du système sont améliorés.
PCT/CN2019/121554 2018-12-29 2019-11-28 Procédé, dispositif, équipement et système de partage de données WO2020134833A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811653675.0A CN109857573B (zh) 2018-12-29 2018-12-29 一种数据共享方法、装置、设备及系统
CN201811653675.0 2018-12-29

Publications (1)

Publication Number Publication Date
WO2020134833A1 true WO2020134833A1 (fr) 2020-07-02

Family

ID=66893771

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/121554 WO2020134833A1 (fr) 2018-12-29 2019-11-28 Procédé, dispositif, équipement et système de partage de données

Country Status (2)

Country Link
CN (1) CN109857573B (fr)
WO (1) WO2020134833A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857573B (zh) * 2018-12-29 2021-03-05 深圳云天励飞技术有限公司 一种数据共享方法、装置、设备及系统
CN112765085A (zh) * 2020-12-29 2021-05-07 紫光展锐(重庆)科技有限公司 数据传输方法及相关装置
CN114035743B (zh) * 2021-10-14 2024-05-14 长沙韶光半导体有限公司 机器人传感数据的存储方法及相关设备
CN114115732A (zh) * 2021-11-10 2022-03-01 深圳Tcl新技术有限公司 数据处理方法、装置及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551761A (zh) * 2009-04-30 2009-10-07 浪潮电子信息产业股份有限公司 一种异构多处理器中共享流内存的方法
US20100312802A1 (en) * 2005-05-24 2010-12-09 Turbo Data Laboratories, Inc. Shared-memory multiprocessor system and method for processing information
CN102541805A (zh) * 2010-12-09 2012-07-04 沈阳高精数控技术有限公司 一种基于共享内存的多处理器通信方法及其实现装置
CN109857573A (zh) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 一种数据共享方法、装置、设备及系统

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2331379A (en) * 1997-11-13 1999-05-19 Advanced Telecommunications Mo Controlling access to a shared memory by dual mapping
JP2001357022A (ja) * 2000-06-15 2001-12-26 Nec Corp 複数プロセッサ間のデータ通信装置、及び、そのデータ通信方法
JP4715219B2 (ja) * 2005-02-10 2011-07-06 ソニー株式会社 共有メモリ装置
CN100458757C (zh) * 2005-07-28 2009-02-04 大唐移动通信设备有限公司 嵌入式实时操作系统中多核处理器的核间通信方法及装置
US20070121499A1 (en) * 2005-11-28 2007-05-31 Subhasis Pal Method of and system for physically distributed, logically shared, and data slice-synchronized shared memory switching
CN100377118C (zh) * 2006-03-16 2008-03-26 浙江大学 基于sram的嵌入式文件系统的实现方法
CN101504617B (zh) * 2009-03-23 2011-05-11 华为技术有限公司 一种基于处理器共享内存的数据发送方法及装置
CN101853238A (zh) * 2010-06-01 2010-10-06 华为技术有限公司 通信处理器间消息通信方法和系统
CN101976217B (zh) * 2010-10-29 2014-06-04 中兴通讯股份有限公司 网络处理器异常检测方法及系统
CN107577539B (zh) * 2016-07-05 2021-03-16 阿里巴巴集团控股有限公司 用于内核态和用户态通讯的共享内存结构及其应用
CN108366111B (zh) * 2018-02-06 2020-04-07 西安电子科技大学 一种用于交换设备的数据包低时延缓存装置与方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312802A1 (en) * 2005-05-24 2010-12-09 Turbo Data Laboratories, Inc. Shared-memory multiprocessor system and method for processing information
CN101551761A (zh) * 2009-04-30 2009-10-07 浪潮电子信息产业股份有限公司 一种异构多处理器中共享流内存的方法
CN102541805A (zh) * 2010-12-09 2012-07-04 沈阳高精数控技术有限公司 一种基于共享内存的多处理器通信方法及其实现装置
CN109857573A (zh) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 一种数据共享方法、装置、设备及系统

Also Published As

Publication number Publication date
CN109857573A (zh) 2019-06-07
CN109857573B (zh) 2021-03-05

Similar Documents

Publication Publication Date Title
WO2020134833A1 (fr) Procédé, dispositif, équipement et système de partage de données
US9910977B2 (en) Data sharing between multiple applications running on a mobile device
US9733980B1 (en) Virtual machine management using I/O device logging
EP2831727B1 (fr) Accès à un dispositif sur une machine distante
WO2019201077A1 (fr) Procédé, système et appareil de génération de tatouage numérique uniquement dans une zone liée à un secret, et support
WO2018119955A1 (fr) Procédé de codage et de décodage de données multimédias inter-système, appareil, dispositif électronique, et produit programme d'ordinateur
WO2020042769A1 (fr) Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique
CN111108487B (zh) 管理程序直接存储器访问
TWI569141B (zh) 虛擬記憶體支援之壓縮控制面
WO2021098823A1 (fr) Appareil d'isolation de mémoire, procédé d'isolation de mémoire et dispositif apparenté
WO2018209465A1 (fr) Procédé de commande d'accès à une page web et dispositif de passerelle
WO2023087875A1 (fr) Procédé de planification de processus et dispositif terminal
US20130073779A1 (en) Dynamic memory reconfiguration to delay performance overhead
TW201926053A (zh) 在多根輸入輸出虛擬化環境中虛擬機器即時遷移的方法、系統及其計算主機
WO2017210015A1 (fr) Amélioration du débit dans des environnements openfabrics
KR102223446B1 (ko) 비특권 애플리케이션에 의한 그래픽 작업부하 실행의뢰
WO2019205703A1 (fr) Procédé de capture d'image et terminal
JP2013246575A (ja) 情報処理装置、情報処理方法、及びプログラム
CN117242763A (zh) 用于缓存文件系统内部结构的网络接口卡
TWI556167B (zh) 用於多重本機軟體應用程式使用者介面組成之系統及方法
WO2017036220A1 (fr) Procédé et dispositif de stockage de réseau sécurisé
US11606437B2 (en) System and method for boosting up performance of NVMe-TCP transport
US11606339B1 (en) Privacy protecting transaction engine for a cloud provider network
TW202349214A (zh) 輸入/輸出裝置的位址變換預取出
TW201903615A (zh) 資料處理方法、分配方法、電子設備、用戶端和儲存媒介

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19903075

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19903075

Country of ref document: EP

Kind code of ref document: A1