WO2020042769A1 - Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique - Google Patents

Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique Download PDF

Info

Publication number
WO2020042769A1
WO2020042769A1 PCT/CN2019/095433 CN2019095433W WO2020042769A1 WO 2020042769 A1 WO2020042769 A1 WO 2020042769A1 CN 2019095433 W CN2019095433 W CN 2019095433W WO 2020042769 A1 WO2020042769 A1 WO 2020042769A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory space
image
image memory
application
address
Prior art date
Application number
PCT/CN2019/095433
Other languages
English (en)
Chinese (zh)
Inventor
王健
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020042769A1 publication Critical patent/WO2020042769A1/fr

Links

Images

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
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Definitions

  • the present application relates to the technical field of electronic devices, and in particular, to a method, a device, a storage medium, and an electronic device for transmitting image information.
  • the augmented reality technology is a method that combines real world information and virtual world information.
  • the new technology of "seamless" integration is to use physical information (visual information, sound, taste, touch, etc.) that is difficult to experience in a certain time and space range in the real world, and then use computer and other scientific technologies to simulate the simulation.
  • Superposition applying virtual information to the real world and being perceived by human senses, thereby achieving a sensory experience beyond reality.
  • Real environment and virtual objects are superimposed on the same picture or space in real time.
  • mobile phones need to capture the current image in real time through the camera component and transmit the current image to the augmented reality component in a process.
  • the augmented reality component renders the received current image by correspondingly augmented reality graphics to achieve the display effect of augmented reality.
  • the shooting pixels of the camera are getting higher and higher, the storage space of the captured images is correspondingly getting larger and larger.
  • the efficiency of image transmission across processes is limited, which will lead to an increase in the transmission time of the image, or even a failure of the transmission.
  • the embodiments of the present application provide a method, a device, a storage medium, and an electronic device for transmitting image information, which can save the transmission time of the image information, thereby improving the transmission efficiency of the image information.
  • an embodiment of the present application provides a method for transmitting image information, including:
  • an embodiment of the present application provides a device for transmitting image information, including:
  • An adjustment unit configured to adjust a corresponding software development kit in the camera application, so that the image memory space of the image saved by the camera application is shared with a third-party application;
  • a determining unit configured to obtain the image memory space and determine corresponding handle information of the image memory space
  • a loading unit configured to load the handle information when an image transmission instruction of a third-party application is detected to determine a corresponding image memory space
  • the transmission unit is configured to access the image memory space to transmit image information in the image memory space to a third-party application.
  • an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is run on a computer, the computer is caused to execute image information provided by any embodiment of the present application. Transmission method.
  • an embodiment of the present application provides an electronic device including a processor and a memory, where the processor executes steps by calling a computer program stored in the memory:
  • FIG. 1 is a system architecture diagram of an electronic device running according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for transmitting image information according to an embodiment of the present application.
  • FIG. 3 is another schematic flowchart of a method for transmitting image information according to an embodiment of the present application.
  • FIG. 4 is another system architecture diagram of an electronic device running according to an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of an image information transmission device according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another module of an image information transmission apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • module can be considered as a software object executing on the computing system.
  • the different components, modules, engines, and services described in this article can be considered as implementation objects on this computing system.
  • the device and method described herein are preferably implemented in software, and of course, they can also be implemented in hardware, which are all within the protection scope of this application.
  • FIG. 1 is a system architecture diagram of an electronic device running according to an embodiment of the present invention.
  • the system architecture is an Android system architecture.
  • the system architecture may also be Apple (iphone Operating System). , IOS) system framework.
  • the Android system architecture is the Android system architecture.
  • the Android system architecture like its operating system, uses a layered architecture that is divided into four layers. From high to low are the Android application layer and the Android application framework. Layer (Application Framework), Android system running layer and Linux kernel layer.
  • Application layer An application is a program written in the Java language and running on a virtual machine, such as a camera application, Email client, SMS short message program, and calendar.
  • Application framework layer This layer is an application programming interface (API) framework used when writing core applications published by Google. Developers can also use these frameworks to develop their own applications, which simplifies Structural design of program development, but must adhere to the development principles of its framework.
  • API application programming interface
  • Linux kernel layer Android's core system services are given to the Linux 2.6 kernel, such as security, memory management, process management, network protocol stack, and driver model, etc. all depend on this kernel, such as the Binder IPC (Internet Process Connection Connection) driver , A special driver for Android, with a separate device node that provides inter-process communication.
  • the Binder IPC Internet Process Connection Connection
  • Binder is an Android cross-process communication method.
  • the transmission efficiency is low, which will cause the AR application to wait too long and cause the AR application to run at a reduced speed.
  • cross-process is Under normal circumstances, memory cannot be shared between applications in the Android system. The data exchange between different applications is called cross-process.
  • the transmission device of image information may be specifically integrated into an electronic device, such as a mobile phone, a tablet computer, a personal digital assistant (PDA, Personal Assistant), and the like.
  • PDA personal digital assistant
  • An embodiment of the present invention provides a method for transmitting image information, including:
  • the step of determining corresponding handle information of the image memory space may include:
  • the step of determining the first address and the number of memory addresses corresponding to the image memory space may include:
  • the step of loading the handle information to determine a corresponding image memory space may include:
  • the step of adjusting a corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with a third-party application may include:
  • the access right of the image memory space of the camera application is adjusted through the software development kit, and the sharing permission of the image memory space of the camera application to the third-party application is opened.
  • the step of adjusting a corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with a third-party application may include:
  • the corresponding image memory space of the camera application is shared to third-party applications.
  • the third-party application is an augmented reality application.
  • the step of loading the handle information to determine a corresponding image memory space may include:
  • An embodiment of the present application provides a method for transmitting image information. As shown in FIG. 2, the method for transmitting image information may include the following steps:
  • step S101 the corresponding software development kit in the camera application is adjusted.
  • this software development kit is generally a collection of development tools used by some software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, and so on.
  • the function of the camera application is an application that calls a camera on a terminal for real-time shooting, and converts optical image information into electrical signals for storage or transmission.
  • the camera application generally stores image information obtained by the camera application in real time.
  • a preset memory space such as the image memory space.
  • the memory space is also called internal memory, and its function is to temporarily store the operation data in the central processing unit (CPU) and data exchanged with external memories such as hard disks.
  • the corresponding software development kit for the camera application is a collection of related documents, examples, and tools to assist in the development of the camera application.
  • the corresponding image memory space of the camera application can be shared with third-party applications. In other words, the third-party application can quickly call the image information in the image memory space.
  • the step of adjusting the corresponding software development kit in the camera application may include adjusting the access right of the image memory space of the camera application through the software development kit, and opening the image memory space of the camera application to the first Sharing permissions for third-party applications.
  • the access right of the image memory space of the camera application can be modified correspondingly through the SDK. For example, if the access right is closed by default, it is adjusted to be open so that the third-party application can obtain the sharing permission corresponding to the image memory space of the camera application.
  • step S102 an image memory space is acquired, and corresponding handle information of the image memory space is determined.
  • the handle information is a unique integer value, that is, a 4-byte (8-byte in a 64-bit program) value, to identify different objects in the application and different instances in the same category, such as , A window, button, icon, scroll bar, output device, control, or file.
  • the application can access the information of the corresponding object through the handle. That is, the corresponding storage address of the image memory space can be found through the corresponding handle information of the image memory space, that is, the memory address corresponding to the image memory space can be quickly found through the handle information.
  • the steps of obtaining image memory space and determining handle information corresponding to the image memory space may include:
  • the image memory space is composed of multiple memory addresses for storing image information.
  • a memory address is a number, which represents a memory space, and a memory address represents a byte, that is, a storage space of 8 bits.
  • the camera application stores the image information obtained in real time on the memory, and the memory allocates a corresponding number of memory addresses according to the data size of the image information.
  • the first address and the number of memory addresses corresponding to the image memory space can be determined to determine the entire image memory space, and the corresponding handle information representing the image memory space can be generated based on the first address and the number of memory addresses.
  • the step of determining the first address and the number of memory addresses corresponding to the image memory space may include:
  • the memory blocks of all the image information in the image memory space on the memory are determined, and the memory address corresponding to each memory block is analyzed to obtain the corresponding first address of the memory address and the total number of memory addresses.
  • step S103 when an image transmission instruction of a third-party application is detected, the handle information is loaded to determine a corresponding image memory space.
  • the third-party application is a non-camera application, such as an AR application. Since an AR application is an application that renders a corresponding augmented reality image based on the camera ’s shooting position, that is, the angle, the AR application needs to call the camera application in real time. Image information.
  • an image transmission instruction is generated, that is, when an image transmission instruction of a third-party application is detected, the handle information generated according to the image memory space is loaded to obtain the corresponding memory address of the image memory space. To determine the corresponding image memory space.
  • the step of loading handle information to determine a corresponding image memory space may include:
  • the terminal can determine the start address of the image memory space according to the first address in the handle information, and the start address is the start address of the image information contained in the image memory space. Based on the start address, the total number of memory addresses is based on the start address. By traversing, the image information in the entire image memory space can be obtained.
  • step S104 the image memory space is accessed to transmit the image information in the image memory space to a third-party application.
  • the terminal can access the image memory space in real time. Because the image memory space has sharing permissions, the terminal can transmit the image information in the memory space to the AR application in real time, thereby saving the process of Binder communication. Because Binder communication requires the camera application to transfer image information to the AR application across processes, the process of the AR application will be suspended during the image information transmission process, that is, there is a waiting time, so it will affect the smoothness of the use of the AR application. In the embodiment of the present invention, the AR application directly calls the image information in the memory, which can save the waiting time of the image information.
  • the image information transmission method provided in this embodiment adjusts the corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with the third-party application, and the image memory space is obtained.
  • the third-party application calls the image information of the camera application, the image information stored by the camera application can be directly loaded from the memory space according to the handle information, which avoids the inconvenience caused by cross-process transmission and saves the transmission time of image information. , Thereby improving the transmission efficiency of image information.
  • FIG. 3 is a schematic flowchart of another image information transmission method according to an embodiment of the present application.
  • the method includes:
  • step S201 the access right of the image memory space of the camera application is adjusted by using a software development kit, and the image memory space of the camera application is opened to the sharing authority of the third-party application.
  • the terminal is described by using a mobile phone, a system as an Android system, and a third-party application as an AR application.
  • the mobile phone since the memory cannot be shared between applications in the Android system, the mobile phone needs to modify the access right of the image memory space of the camera application through the SDK, and open the sharing permission of the image memory space of the camera application to the AR application, so that the AR application The image memory space can be directly called from the memory later.
  • the image memory space applied for saving the image in the SDK in the camera application layer 3 is shared to the augmented reality server 4 of the AR application. Therefore, after the image information is transmitted to the camera client through the camera server and reaches the application SDK, the image information does not need to be transmitted to the augmented reality server through the Binder cross-process communication method. Instead, the image memory space can be shared to directly access the phone memory. Image information in the image memory space.
  • step S202 an image memory space is acquired, and a first address and a number of memory addresses corresponding to the image memory space are determined.
  • the mobile phone obtains attribute information of the image memory space. Since the mobile phone digitizes the image information in the image memory space, the mobile phone knows where the image information is stored in the memory. Based on this, the mobile phone can determine the first address and the number of memory addresses corresponding to the image memory space.
  • the first address is the first memory address where the image information is stored, and the number of memory addresses is the total number of memory addresses.
  • step S203 the corresponding handle information of the image memory space is determined according to the first address and the number of memory addresses.
  • the mobile phone can generate the corresponding handle information of the image memory space according to the first address and the number of memory addresses.
  • the handle information can be used to find the image information in the image memory space.
  • the handle information will be updated according to the change of the memory address. So only need to know the handle information, you can find the corresponding position of the specific image information in memory.
  • step S204 when the image transmission instruction of the third-party application is detected, the start address of the image memory space is determined according to the first address in the handle information.
  • an image transmission instruction is generated, that is, when it is determined that the image transmission instruction of the third-party application is detected, the first address of the handle information is obtained, and the first address is used to determine the image memory space. starting address.
  • step S205 a traversal is performed according to the number of memory addresses based on the start address to obtain a corresponding image memory space.
  • the traversal is performed based on the starting address of the image memory space according to the number of memory addresses, and all the memory addresses storing the image information of the camera application are obtained, that is, the image memory space storing the image information of the camera application is obtained.
  • step S206 the image memory space is accessed to transfer the image information in the image memory space to a third-party application.
  • the mobile phone can directly access the image memory space, and transfer the image information in the image memory space to the AR application, so that the AR application can obtain it in real time and quickly The image information in the camera application, and render the image retrieved in real time.
  • the image information transmission method provided in this embodiment adjusts the access right of the image memory space of the camera application through the SDK, opens the image memory space of the camera application to the AR application's sharing permission, and obtains the image memory space.
  • the corresponding handle information is determined according to the first address corresponding to the image memory space and the number of memory addresses.
  • the start address of the image memory space is determined according to the first address in the handle information, and the memory address is determined according to the memory address. The number is traversed to obtain the image memory space, access the image memory space, and transfer the image information in the image memory space to the third-party application.
  • the image information stored by the camera application can be directly loaded from the memory space according to the handle information, which avoids the inconvenience caused by cross-process transmission and saves the transmission time of image information. , Thereby improving the transmission efficiency of image information.
  • the embodiment of the present application further provides a device based on the image information transmission method.
  • the meanings of the nouns are the same as in the foregoing image information transmission method. For specific implementation details, refer to the description in the method embodiment.
  • An embodiment of the present invention provides a device for transmitting image information, including:
  • An adjustment unit configured to adjust a corresponding software development kit in the camera application, so that the image memory space of the image saved by the camera application is shared with a third-party application;
  • a determining unit configured to obtain the image memory space and determine corresponding handle information of the image memory space
  • a loading unit configured to load the handle information when an image transmission instruction of a third-party application is detected to determine a corresponding image memory space
  • the transmission unit is configured to access the image memory space to transmit image information in the image memory space to a third-party application.
  • the determining unit may include a first determining unit configured to obtain the image memory space, and determine a first address and a number of memory addresses corresponding to the image memory space; a second determining unit configured to: Determining corresponding handle information of the image memory space according to the first address and the number of memory addresses.
  • the first determining subunit is specifically configured to: obtain the image memory space, determine a memory block corresponding to the image memory space, and analyze a memory address corresponding to each memory block to obtain a corresponding First address and the number of memory addresses.
  • the loading unit is specifically configured to: when an image transmission instruction of a third-party application is detected, determine a start address of the image memory space according to a first address in the handle information; based on the The starting address is traversed according to the number of memory addresses to obtain the corresponding image memory space.
  • the adjusting unit is specifically configured to adjust the access right of the image memory space of the camera application through a software development kit, and open the sharing right of the image memory space of the camera application to a third-party application.
  • FIG. 5 is a schematic diagram of a module of an image information transmission device according to an embodiment of the present application.
  • the image information transmission device 300 includes: an adjustment unit 31, a determination unit 32, a loading unit 33, and a transmission unit 34.
  • the adjusting unit 31 is configured to adjust a corresponding software development kit in the camera application, so that the image memory space of the image saved by the camera application is shared with the third-party application.
  • the function of the camera application is an application that calls a camera on a terminal for real-time shooting, and converts optical image information into electrical signals for storage or transmission.
  • the camera application generally stores image information obtained by the camera application in real time.
  • a preset memory space such as the image memory space.
  • the memory space is also called internal memory, and its function is to temporarily store the operation data in the central processing unit and data exchanged with external memories such as hard disks.
  • the corresponding software development toolkit of the camera application is a collection of related documents, examples, and tools to assist in the development of the camera application.
  • the adjustment unit 31 performs the API, dynamic link library, and import library of the corresponding software development toolkit of the camera application. Adjusted so that the corresponding image memory space of the camera application can be shared with third-party applications. In other words, the third-party application can quickly call the image information in the image memory space.
  • the transmission unit 34 is specifically configured to adjust the access right of the image memory space of the camera application through a software development kit, and open the sharing right of the image memory space of the camera application to a third-party application.
  • the determining unit 32 is configured to obtain the image memory space and determine corresponding handle information of the image memory space.
  • the handle information is a unique integer value, that is, a 4-byte (8-byte in a 64-bit program) value, to identify different objects in the application and different instances in the same category, such as , A window, button, icon, scroll bar, output device, control, or file.
  • the determining unit 32 obtains storage address information corresponding to the image memory space, and determines a corresponding 4-byte or 8-byte value.
  • the application can access the information of the corresponding object through the handle. That is, the corresponding storage address of the image memory space can be found through the corresponding handle information of the image memory space, that is, the memory address corresponding to the image memory space can be quickly found through the handle information.
  • the loading unit 33 is configured to load the handle information when an image transmission instruction of a third-party application is detected to determine a corresponding image memory space.
  • the third-party application is a non-camera application, such as an AR application. Since an AR application is an application that renders a corresponding augmented reality image based on the camera ’s shooting position, that is, the angle, the AR application needs to call the camera application in real time. Image information.
  • the detection and loading unit 33 detects that the AR application needs to retrieve image information, it generates an image transmission instruction, that is, when an image transmission instruction of a third-party application is detected, it loads the handle information generated according to the image memory space and obtains the corresponding image memory space Memory address to determine the corresponding image memory space.
  • the loading unit 33 is specifically configured to determine a start address of the image memory space according to a first address in the handle information, and based on the start address, traverse according to the number of memory addresses to obtain a corresponding image Memory space.
  • the transmitting unit 34 is configured to access the image memory space to transmit the image information in the image memory space to a third-party application.
  • the transmission unit 34 can access the image memory space in real time. Because the image memory space has sharing permissions, the transmission unit 34 can transmit the image information in the memory space to the AR application in real time, thereby saving Binder.
  • Binder communication since Binder communication requires the camera application to transfer image information to the AR application across processes, the process of the AR application will be suspended during the image information transmission process, that is, there is a waiting time, so it will affect the AR application.
  • the smoothness of the use, and in the embodiment of the present invention, the AR application directly calls the image information in the memory, which can save the waiting time of the image information.
  • FIG. 6, is a schematic diagram of another module of an image information transmission apparatus according to an embodiment of the present application.
  • the image information transmission apparatus 300 may further include:
  • the determining unit 32 may include a first determining unit 331 and a second determining unit 332.
  • the first determining unit 331 is configured to obtain the image memory space, and determine a first address and a number of memory addresses corresponding to the image memory space.
  • the second determining unit 332 is configured to determine corresponding handle information of the image memory space according to the first address and the number of memory addresses.
  • the first determining unit 331 obtains the image memory space and determines the memory block corresponding to the image memory space; and analyzes the memory address corresponding to each memory block to obtain the corresponding first address and the number of memory addresses.
  • the image information transmission device adjusts the corresponding software development kit in the camera application through the adjustment unit 31, so that the image memory space of the image saved by the camera application is shared with the third-party application; the determining unit 32 obtains the image memory space and determines the corresponding handle information of the image memory space; when the loading unit 33 detects an image transmission instruction of a third-party application, loads the handle information to determine the corresponding image memory space; the transmission unit 34 accesses the image memory space, To transfer the image information in the image memory space to a third-party application.
  • the image information stored by the camera application can be directly loaded from the memory space according to the handle information, which avoids the inconvenience caused by cross-process transmission and saves the transmission time of image information. , Thereby improving the transmission efficiency of image information.
  • the electronic device 500 includes a processor 501 and a memory 502.
  • the processor 501 is electrically connected to the memory 502.
  • the processor 500 is a control center of the electronic device 500, and uses various interfaces and lines to connect various parts of the entire electronic device.
  • the processor 500 runs or loads a computer program stored in the memory 502, and calls data stored in the memory 502 to execute Various functions of the electronic device 500 and data are processed to perform overall monitoring of the electronic device 500.
  • the memory 502 can be used to store software programs and modules.
  • the processor 501 executes various functional applications and data processing by running computer programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, a computer program (such as a sound playback function, an image playback function, etc.) required for at least one function; the storage data area may store data according to Data created by the use of electronic devices, etc.
  • the memory 502 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
  • the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 runs the stored data in the memory 502
  • a computer program in the computer to achieve various functions, as follows:
  • the handle information is loaded to determine the corresponding image memory space
  • Access the image memory space to transfer the image information in the image memory space to a third-party application.
  • the processor 501 when determining the corresponding handle information of the image memory space, the processor 501 may specifically perform the following steps:
  • the corresponding handle information of the image memory space is determined according to the first address and the number of memory addresses.
  • the processor 501 when determining the first address and the number of memory addresses corresponding to the image memory space, the processor 501 may specifically perform the following steps:
  • the processor 501 when loading the handle information to determine the corresponding image memory space, the processor 501 may specifically perform the following steps:
  • the processor 501 when adjusting the corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with the third-party application, the processor 501 may specifically perform the following steps:
  • the access right of the image memory space of the camera application is adjusted through the software development kit, and the image memory space of the camera application is shared to the third-party application.
  • the processor 501 when adjusting the corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with the third-party application, the processor 501 may specifically perform the following steps:
  • the corresponding image memory space of the camera application is shared to third-party applications.
  • the processor 501 may specifically perform the following steps:
  • the electronic device in the embodiment of the present application adjusts the corresponding software development kit in the camera application so that the image memory space of the image saved by the camera application is shared with the third-party application; the image memory space is obtained, and the corresponding image memory space is determined.
  • the handle information is loaded when an image transmission instruction of a third-party application is detected to determine the corresponding image memory space; the image memory space is accessed to transfer the image information in the image memory space to the third-party application.
  • the third-party application calls the image information of the camera application
  • the image information stored by the camera application can be directly loaded from the memory space according to the handle information, which avoids the inconvenience caused by cross-process transmission and saves the transmission time of image information. , Thereby improving the transmission efficiency of image information.
  • the electronic device 500 may further include a display 503, a radio frequency circuit 504, an audio circuit 505, and a power source 506.
  • the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
  • the display 503 may be used to display information input by the user or information provided to the user and various graphical user interfaces. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
  • the display 503 may include a display panel.
  • the display panel may be configured by using a liquid crystal display (Liquid Crystal Display, LCD), or an organic light emitting diode (Organic Light-Emitting Diode, OLED).
  • the radio frequency circuit 504 can be used to transmit and receive radio frequency signals to establish wireless communication with a network device or other electronic device through wireless communication, and transmit and receive signals to and from the network device or other electronic device.
  • the audio circuit 505 may be used to provide an audio interface between the user and the electronic device through a speaker or a microphone.
  • the power supply 506 can be used to power various components of the electronic device 500.
  • the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • An embodiment of the present application further provides a storage medium.
  • the storage medium stores a computer program.
  • the computer program runs on a computer, the computer causes the computer to execute the image information transmission method in any of the foregoing embodiments, such as adjusting a camera.
  • the corresponding software development kit in the application so that the camera application saves the image memory space of the image to the third-party application; obtains the image memory space, determines the corresponding handle information of the image memory space; when the image transmission instruction of the third-party application is detected To load the handle information to determine the corresponding image memory space; access the image memory space to transfer the image information in the image memory space to a third-party application.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (ROM), or a random access memory (Random Access Memory, RAM).
  • ROM read-only memory
  • RAM Random Access Memory
  • the computer program may be stored in a computer-readable storage medium, such as stored in a memory of an electronic device, and executed by at least one processor in the electronic device. During execution, the program may include, for example, The flow of the embodiment of the image information transmission method.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
  • the image information transmission device in the embodiment of the present application, its functional modules may be integrated in one processing chip, or each module may exist separately physically, or two or more modules may be integrated in one module.
  • the above integrated modules may be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Facsimiles In General (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention concerne un procédé de transmission d'informations d'image. Le procédé comporte les étapes consistant à: ajuster un kit de développement logiciel correspondant dans une application de caméra, de telle façon qu'un espace de mémoire d'images de l'application de caméra servant à sauvegarder des images soit partagé avec une application tierce; acquérir l'espace de mémoire d'images pour déterminer des informations de descripteur correspondantes de l'espace de mémoire d'images; lorsqu'une instruction de transmission d'images est détectée, charger les informations de descripteur pour déterminer l'espace de mémoire d'images correspondant; et transmettre des informations d'images présentes dans l'espace de mémoire d'images à l'application tierce.
PCT/CN2019/095433 2018-08-27 2019-07-10 Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique WO2020042769A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810982933.3 2018-08-27
CN201810982933.3A CN109213613B (zh) 2018-08-27 2018-08-27 图像信息的传输方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2020042769A1 true WO2020042769A1 (fr) 2020-03-05

Family

ID=64985829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095433 WO2020042769A1 (fr) 2018-08-27 2019-07-10 Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique

Country Status (2)

Country Link
CN (1) CN109213613B (fr)
WO (1) WO2020042769A1 (fr)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213613B (zh) * 2018-08-27 2020-08-14 Oppo广东移动通信有限公司 图像信息的传输方法、装置、存储介质及电子设备
CN110134532A (zh) * 2019-05-13 2019-08-16 浙江商汤科技开发有限公司 一种信息交互方法及装置、电子设备和存储介质
CN112068968B (zh) * 2019-06-11 2022-10-18 成都鼎桥通信技术有限公司 一种双系统终端的服务访问方法和装置
CN111930641A (zh) * 2020-07-28 2020-11-13 展讯通信(天津)有限公司 一种图像数据处理方法及智能设备
CN112004147A (zh) * 2020-08-20 2020-11-27 北京云中融信网络科技有限公司 一种视频渲染方法、装置、电子设备及存储介质
CN112181340B (zh) * 2020-09-29 2022-05-31 联想(北京)有限公司 一种ar图像的共享方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131492A1 (en) * 2009-11-27 2011-06-02 Ching-Yao Chen Audio-visual multimedia transmitting/editing device
CN103327278A (zh) * 2013-07-10 2013-09-25 亿览在线网络技术(北京)有限公司 一种图像实时共享方法及装置
CN106708631A (zh) * 2016-11-30 2017-05-24 福建省天奕网络科技有限公司 共享内存属性修改方法及其系统
CN109213613A (zh) * 2018-08-27 2019-01-15 Oppo广东移动通信有限公司 图像信息的传输方法、装置、存储介质及电子设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070152076A1 (en) * 2004-12-13 2007-07-05 Chiang Kuo C Monitoring system with a wireless transmitting/receiving module
CN107329742B (zh) * 2017-06-14 2021-01-29 北京小米移动软件有限公司 软件开发工具包调用方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131492A1 (en) * 2009-11-27 2011-06-02 Ching-Yao Chen Audio-visual multimedia transmitting/editing device
CN103327278A (zh) * 2013-07-10 2013-09-25 亿览在线网络技术(北京)有限公司 一种图像实时共享方法及装置
CN106708631A (zh) * 2016-11-30 2017-05-24 福建省天奕网络科技有限公司 共享内存属性修改方法及其系统
CN109213613A (zh) * 2018-08-27 2019-01-15 Oppo广东移动通信有限公司 图像信息的传输方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN109213613A (zh) 2019-01-15
CN109213613B (zh) 2020-08-14

Similar Documents

Publication Publication Date Title
WO2020042769A1 (fr) Procédé et appareil de transmission d'informations d'image, et support de stockage et dispositif électronique
US20210216700A1 (en) Information Processing Method and System
WO2020052337A1 (fr) Appareil et procédé de traitement d'informations, support d'informations, et dispositif électronique
KR101215230B1 (ko) 다중-컨텍스트 그래픽 처리
US11864248B2 (en) Application function implementation method and electronic device
Haris et al. Evolution of android operating system: a review
US20210209404A1 (en) Method for Adjusting Thematic Color, Storage Medium, and Electronic Device
US11449242B2 (en) Shared storage space access method, device and system and storage medium
US10579129B2 (en) Method, apparatus and storage medium for processing application of mobile terminal and electronic device
US20180196584A1 (en) Execution of multiple applications on a device
WO2020088681A1 (fr) Procédé de gestion de fichiers de modèle et dispositif terminal
KR102516696B1 (ko) 최종 사용자 디바이스 애셋의 제3자 액세스
CN109889468B (zh) 网络数据的传输方法、系统、装置、设备及存储介质
WO2021189257A1 (fr) Procédé et appareil de détection de processus malveillant, dispositif électronique, et support de stockage
WO2019179068A1 (fr) Procédé et dispositif de détection de risque, terminal mobile et support de stockage
WO2021098823A1 (fr) Appareil d'isolation de mémoire, procédé d'isolation de mémoire et dispositif apparenté
WO2020134833A1 (fr) Procédé, dispositif, équipement et système de partage de données
WO2019047708A1 (fr) Procédé de configuration de ressource et produit associé
WO2020215833A1 (fr) Procédé et appareil de cache hors ligne, et terminal et support d'informations lisible
CN117472321B (zh) 音频处理方法、装置、存储介质及电子设备
WO2024078348A1 (fr) Procédé et appareil de traitement d'opération de registre dans un environnement de portage d'application, et support
WO2021052488A1 (fr) Procédé de traitement d'informations et dispositif électronique
CN107395737A (zh) 访问网络资源的方法、装置、系统及计算机可读存储介质
US20180300160A1 (en) Host and Component Relationship between Applications
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: 19853945

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

Country of ref document: EP

Kind code of ref document: A1