CN109213613A - Transmission method, device, storage medium and the electronic equipment of image information - Google Patents

Transmission method, device, storage medium and the electronic equipment of image information Download PDF

Info

Publication number
CN109213613A
CN109213613A CN201810982933.3A CN201810982933A CN109213613A CN 109213613 A CN109213613 A CN 109213613A CN 201810982933 A CN201810982933 A CN 201810982933A CN 109213613 A CN109213613 A CN 109213613A
Authority
CN
China
Prior art keywords
image
image memory
information
application
address
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201810982933.3A
Other languages
Chinese (zh)
Other versions
CN109213613B (en
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810982933.3A priority Critical patent/CN109213613B/en
Publication of CN109213613A publication Critical patent/CN109213613A/en
Priority to PCT/CN2019/095433 priority patent/WO2020042769A1/en
Application granted granted Critical
Publication of CN109213613B publication Critical patent/CN109213613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

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

The embodiment of the present application discloses transmission method, device, storage medium and the electronic equipment of a kind of image information, wherein, the embodiment of the present application is by adjusting corresponding Software Development Kit in video camera application, so that the image memory space that video camera application saves image shares to third-party application;Image memory space is obtained, determines the corresponding handle information in image memory space;When the image transmitting for detecting third-party application instructs, handle information is loaded, with the corresponding image memory space of determination;Access images memory headroom, the image information in image memory space is transmitted in third-party application.With this when third-party application calls the image information of video camera application, the image information that video camera applies storage in can be directly loaded directly from memory headroom according to handle information, it is inconvenient to avoid striding course transmission bring, the transmission time of image information is saved, and then improves the efficiency of transmission of image information.

Description

Transmission method, device, storage medium and the electronic equipment of image information
Technical field
This application involves technical field of electronic equipment more particularly to a kind of transmission method of image information, device, storage Jie Matter and electronic equipment.
Background technique
With the continuous development of electronic technology, the function of electronic equipment such as mobile phone is stronger and stronger, and user can pass through hand Machine realizes augmented reality (Augmented Reality, AR) function, and the augmented reality is a kind of by real world information It is that script is difficult body in the certain time spatial dimension of real world with " seamless " the integrated new technology of virtual world information The entity information (visual information, sound, taste, tactile etc.) tested is folded after analog simulation again by science and technology such as computers Add, virtual Information application to real world is perceived by human sensory, to reach the sensory experience of exceeding reality.Very Real environment and virtual object has been added to the same picture in real time or space exists simultaneously.
Currently, mobile phone is needed through CCD camera assembly captured in real-time present image, and present image striding course is transferred to In augmented reality component, augmented reality component is rendered by carrying out corresponding augmented reality figure to received present image, with Realize the display effect of augmented reality, but since the shooting pixel of camera is higher and higher, the memory space of the image of shooting Also corresponding increasing, however the limited efficacy of image striding course transmission, so the transmission time that will cause image is promoted, even The case where being transmission failure.
Summary of the invention
The embodiment of the present application provides transmission method, device, storage medium and the electronic equipment of a kind of image information, Ke Yijie The transmission time of image information is saved, and then promotes the efficiency of transmission of image information.
In a first aspect, the embodiment of the present application provides a kind of transmission method of image information, comprising:
Corresponding Software Development Kit in video camera application is adjusted, so that video camera application saves the figure of image As memory headroom shares to third-party application;
Described image memory headroom is obtained, determines the corresponding handle information of described image memory headroom;
When the image transmitting for detecting third-party application instructs, the handle information is loaded, with the corresponding image of determination Memory headroom;
Described image memory headroom is accessed, the image information in described image memory headroom is transmitted to third-party application In.
Second aspect, a kind of transmitting device for the image information that the embodiment of the present application provides, comprising:
Adjustment unit, for adjusting corresponding Software Development Kit in video camera application, so that the video camera is answered Third-party application is shared to the image memory space for saving image;
Determination unit determines the corresponding handle information of described image memory headroom for obtaining described image memory headroom;
Loading unit, for the handle information being loaded, with true when the image transmitting for detecting third-party application instructs Fixed corresponding image memory space;
Transmission unit passes the image information in described image memory headroom for accessing described image memory headroom It transports in third-party application.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer When program is run on computers, so that the computer executes the transmission of the image information provided such as the application any embodiment Method.
Fourth aspect, electronic equipment provided by the embodiments of the present application, including processor and memory, the memory have meter Calculation machine program, the processor is by calling the computer program, for executing the figure provided such as the application any embodiment As the transmission method of information.
The embodiment of the present application is by adjusting corresponding Software Development Kit in video camera application, so that video camera application The image memory space for saving image shares to third-party application;Image memory space is obtained, determines that image memory space is corresponding Handle information;When the image transmitting for detecting third-party application instructs, handle information is loaded, in the corresponding image of determination Deposit space;Access images memory headroom, the image information in image memory space is transmitted in third-party application.With this When third-party application calls the image information of video camera application, can directly directly it be loaded from memory headroom according to handle information The image information that video camera applies storage in avoids striding course transmission bring inconvenience, when saving the transmission of image information Between, and then improve the efficiency of transmission of image information.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 provides the system architecture diagram of electronic equipment operation by the embodiment of the present invention.
Fig. 2 is the flow diagram of the transmission method of image information provided by the embodiments of the present application.
Fig. 3 is another flow diagram of the transmission method of image information provided by the embodiments of the present application.
Fig. 4 is the another system architecture diagram of electronic equipment provided by the embodiments of the present application operation.
Fig. 5 is the module diagram of the transmitting device of image information provided by the embodiments of the present application.
Fig. 6 is another module diagram of the transmitting device of image information provided by the embodiments of the present application.
Fig. 7 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is somebody's turn to do herein not Same component, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And the device and method being somebody's turn to do herein is excellent Being implemented in the form of software for choosing, can also be implemented on hardware, certainly within the application protection scope.
Referring to Fig. 1, Fig. 1 provides the system architecture diagram of electronic equipment operation, the system architecture by the embodiment of the present invention For Android (Android) system architecture, in one embodiment, which can also be apple (iphone Operating System, IOS) system framework etc..The Android system framework is the architecture of Android system, the system of Android Framework, using the framework of layering, is divided into four layers as its operating system, is Android application layer respectively from high to low (Application), Android application framework layer (Application Framework), Android system firing floor and linux kernel Layer.
Application layer: applying is the program run on a virtual machine write with java language, such as video camera application, Email client, SMS short message program and calendar etc..
Application framework layer: this layer is that used application program is compiled when writing the core application of Google (Google) publication Journey interface (Application Programming Interface, API) frame, developer can also use these frames Frame develops oneself application, just simplifies the structure design of program development in this way, but must comply with the exploitation of its frame Principle.
System Runtime Library (library C/C++ and Android Runtime Library) layer: when using Android application framework, Android system can lead to The various components for crossing some libraries C/C++ us is supported to use, making it preferably is our services, such as SQLite therein (relational database), Webkit (Web browser engine).
Linux inner core: Linux2.6 kernel is given in the core system service of Android, such as safety, memory management, process Management, network protocol stack and driving model etc. all rely on the kernel, such as Binder IPC (Internet Process Connection, interprocess communication) it drives, a special driver of Android, there is individual device node, process is provided Between the function that communicates.
Wherein, the information transmitting between application different from each other, as video camera is applied and third-party application (such as AR application) Between image information transmitting, it is necessary first to by video camera apply service layer (camera Service) image will be stored in The image information of memory headroom is deployed into video camera client (camera client), eventually arrives at the soft of video camera application In part development kit (Software Development Kit, SDK), by Binder communication modes, by image information across Into AR application, AR is applied after receiving image information process transmission, can be carried out augmented reality rendering, be realized augmented reality Function.It should be noted that Binder is Android striding course communication mode, when image information is larger, efficiency of transmission is lower, meeting Cause AR too long using the waiting time, the AR application speed of service is caused to decline, why needing to carry out striding course is because one As in the case of, shared drive is unable in Android system between application program.The data exchange carried out between different application It is striding course.
Concrete analysis explanation is carried out below.
In the present embodiment, the angle of the transmitting device from image information is described, the transmission dress of the image information Setting specifically can integrate in electronic equipment, such as mobile phone, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..
The embodiment of the present application provides a kind of transmission method of image information, as shown in Fig. 2, the transmission side of the image information Method may comprise steps of:
In step s101, corresponding Software Development Kit in the application of adjustment video camera.
It should be noted that it is specific software package, soft that the Software Development Kit, which is typically all some software engineers, The set of developing instrument when part frame, hardware platform, operating system etc. establish application software.
Wherein, the function of video camera application is the application for calling the camera in terminal to carry out captured in real-time, by optics Image information is changed into electric signal, and to be stored or be transmitted, for the ease of management, video camera application generally answers video camera It is stored with the image information obtained in real time into default memory headroom, such as image memory space.It should be noted that memory (Memory) space is also referred to as built-in storage, and effect is for temporarily storing central processing unit (Central Processing Unit, CPU) in operational data, and data exchanged with external memories such as hard disks.
And the video camera is using relevant documentation, the model that corresponding Software Development Kit is that the auxiliary development video camera is applied The set of example and tool, by API, dynamic link library and the import library of applying corresponding Software Development Kit to video camera Etc. being adjusted, video camera is allowed to share to third-party application using corresponding image memory space.That is third Fang Yingyong can quickly call the image information in image memory headroom.
In some embodiments, it can wrap the step of corresponding Software Development Kit in adjustment video camera application It includes and is adjusted by access authority of the Software Development Kit to the image memory space that video camera is applied, the open video camera Share Permissions of the image memory space of application to third-party application.
Wherein it is possible to be modified accordingly by SDK the access authority in the image memory space that camera is applied, such as Access authority is defaulted as closing, then being adjusted to open, so that in the available image to camera application of third-party application Deposit the corresponding Share Permissions in space.
In step s 102, image memory space is obtained, determines the corresponding handle information in image memory space.
Wherein, which is the unique integer value used, i.e., 4 bytes (are 8 words in 64 programs Section) long numerical value, come the different objects in identification application and it is similar in different examples, such as, a window is pressed Button, icon, scroll bar, output equipment, control or file etc..The corresponding storage address information in image memory space is obtained, really The numerical value of fixed corresponding 4 byte or 8 byte longs.
Therefore, application program can access the information of corresponding object by handle.Pass through the image memory space phase The handle information answered can find the corresponding storage address in image memory space, it can be quickly found out by the handle information The corresponding memory address in image memory space.
In some embodiments, image memory space is obtained, determines the step of the corresponding handle information in image memory space Suddenly, may include:
(1) the corresponding first address in image memory space and memory address quantity are determined;
(2) the corresponding handle information in the image memory space is determined according to the first address and memory address quantity.
Wherein, image memory space is the multiple memory address composition for storing image information, and a memory address is one Number, represents a memory headroom, a memory address represents the memory space of a byte (byte) i.e. 8 (bit).Camera shooting For machine using the image information obtained in real time to be stored on memory, memory can distribute respective counts according to the size of data of image information The memory address of amount.
Therefore it may only be necessary to determine that the corresponding first address in image memory space and memory address quantity are assured that entirely Image memory space, and the corresponding handle in expression image memory space can be generated according to first address and memory address quantity and believe Breath.
In some embodiments, the step of the determination corresponding first address in image memory space and memory address quantity Suddenly, may include:
(2.1) the corresponding memory block in image memory space is determined;
(2.2) the corresponding memory address of each memory block is analyzed, to obtain corresponding first address and memory address quantity.
Wherein it is determined that memory block of all image informations in image memory space on memory, and to each memory block Corresponding memory address is analyzed, and the corresponding first address of memory address and total memory address quantity are obtained.
In step s 103, when the image transmitting for detecting third-party application instructs, handle information is loaded, with determining pair The image memory space answered.
Wherein, which is the other application of non-video camera application, if AR is applied, due to taking the photograph according to AR application Position, that is, angle of camera shooting and the application for rendering corresponding augmented reality image, so AR application needs to transfer video camera in real time Using the image information obtained in real time.
Therefore, when detecting that AR application needs to transfer image information, image transmitting instruction is generated, that is, detects third party When the image transmitting instruction of application, the handle information generated according to image memory space is loaded, it is corresponding to obtain image memory space Memory address, with the corresponding image memory space of determination.
In some embodiments, it the step of load handle information, image memory space corresponding with determination, can wrap It includes:
(1) initial address in the image memory space is determined according to the first address in the handle information;
(2) it is based on the initial address, is traversed according to memory address quantity, to obtain corresponding image memory space.
Wherein, terminal can determine the initial address in image memory space according to the first address in handle information, this Beginning address is the initial address for the image information that image memory space includes, and the initial address is based on, according to total memory address Quantity is traversed, can be with the image information in whole image memory headroom.
In step S104, the image information in image memory space is transmitted to third by access images memory headroom In Fang Yingyong.
Wherein, terminal can have Share Permissions due to the image memory space with the real time access image memory space, So the image information in the memory headroom can be transmitted in AR application by terminal in real time, with this, it is logical to save Binder The process of news, since Binder communication needs video camera application striding course that image information is transferred to AR application, in image information During transmission, the process of AR application can be suspended, that is to say, that have a waiting time, so will affect making for AR application With fluency, and AR application calls directly the image information in memory in the embodiment of the present invention, can save image information etc. To the time.
It can be seen from the above, a kind of transmission method of image information provided in this embodiment, by adjusting in video camera application Corresponding Software Development Kit, so that the image memory space that video camera application saves image shares to third-party application; Image memory space is obtained, determines the corresponding handle information in image memory space;When the image transmitting for detecting third-party application When instruction, handle information is loaded, with the corresponding image memory space of determination;Access images memory headroom, by image memory sky Between in image information be transmitted in third-party application.With this when third-party application calls the image information of video camera application, The image information that video camera applies storage in can be directly loaded directly from memory headroom according to handle information, avoids and steps into Journey transmits bring inconvenience, saves the transmission time of image information, and then improve the efficiency of transmission of image information.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Referring to Fig. 3, Fig. 3 is another flow diagram of the transmission method of image information provided by the embodiments of the present application.
Specifically, this method comprises:
In step s 201, the access authority in image memory space camera applied by Software Development Kit into Row is adjusted, Share Permissions of the image memory space that open camera is applied to third-party application.
It should be noted that in order to better illustrate the present embodiment, by terminal using mobile phone, system as Android system and Tripartite applies to be illustrated for AR application.
Wherein, due to being unable to shared drive between application program in Android system, so mobile phone is needed through SDK come to taking the photograph As the access authority in image memory space that head is applied is modified, AR is applied in the image memory space of open camera application Share Permissions, allow AR to call directly image memory space from memory using the later period.
As shown in figure 4, after image information is transmitted to the arrival of video camera client 2 SDK by video camera server-side 1, camera shooting The image memory space that application saves image in SDK in machine application layer 3 shares to the augmented reality server-side 4 of AR application, with This, image information by video camera server-side be transmitted to video camera client reach using after SDK, do not need by Binder across Image information is passed to augmented reality server-side by process communication mode, but can be shared by image memory space, directly Transfer the image information in mobile phone EMS memory in image memory space.
In step S202, image memory space is obtained, with determining the corresponding first address in image memory space and memory Location quantity.
Wherein, mobile phone obtains the attribute information in image memory space, since mobile phone believes the image in image memory space Breath all digitizes, so mobile phone is known on which position that image information is stored in memory.Based on this, mobile phone can be determined The corresponding first address in image memory space and memory address quantity, first memory which stores for image information Location, and the memory address quantity is total memory address quantity.
In step S203, determine that the corresponding handle in image memory space is believed according to first address and memory address quantity Breath.
Wherein, mobile phone can generate the corresponding handle letter in image memory space according to first address and memory address quantity Breath, can find the image information in image memory space by the handle information, which can be according to memory address Change and updated accordingly, so it is only necessary to know that the handle information, so that it may find specific image information in memory Corresponding position.
In step S204, when the image transmitting for detecting third-party application instructs, according to the first ground in handle information Location determines the initial address in image memory space.
Wherein, when detecting that the image information in video camera application is called in AR application, image transmitting instruction is generated, that is, is sentenced When being set to the image transmitting instruction for detecting third-party application, the first address of handle information is obtained, is determined in image with first address Deposit the initial address in space.
In step S205, it is based on initial address, is traversed according to memory address quantity, to obtain in corresponding image Deposit space.
Wherein, the initial address based on image memory space, is traversed according to memory address quantity, gets and be stored with Video camera application image information all memory address to get to be stored with video camera apply image information image in Deposit space.
In step S206, the image information in image memory space is transmitted to third by access images memory headroom In Fang Yingyong.
Wherein, due to image memory space opening Share Permissions, so mobile phone can directly access the image memory Space, and transfer the image information in the image memory space and be transmitted in AR application, it can be in real time and quick with this AR application The image information got in video camera application, and render the image transferred in real time.
It can be seen from the above, a kind of transmission method of image information provided in this embodiment, applies video camera by SDK The access authority in image memory space is adjusted, the shared power that AR is applied in the image memory space of open video camera application Limit obtains image memory space, determines corresponding sentence according to the corresponding first address in image memory space and memory address quantity Handle information determines image memory according to the first address in handle information when the image transmitting for detecting third-party application is instructed The initial address in space is traversed according to memory address quantity, obtains image memory space, access images memory headroom will Image information in image memory space is transmitted in third-party application.The figure of video camera application is called in third-party application with this When as information, the image information that video camera applies storage in can be directly loaded directly from memory headroom according to handle information, It is inconvenient to avoid striding course transmission bring, saves the transmission time of image information, and then improve the transmission of image information Efficiency.
For the transmission method convenient for better implementation image information provided by the embodiments of the present application, the embodiment of the present application is also mentioned For a kind of device of transmission method based on above-mentioned image information.The wherein transmission method of the meaning of noun and above-mentioned image information In it is identical, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 5, Fig. 5 is the module diagram of the transmitting device of image information provided by the embodiments of the present application.Specifically For, the transmitting device 300 of the image information, comprising: adjustment unit 31, determination unit 32, loading unit 33 and transmission are single Member 34.
Adjustment unit 31, for adjusting corresponding Software Development Kit in video camera application, so that the video camera is answered Third-party application is shared to the image memory space for saving image.
Wherein, the function of video camera application is the application for calling the camera in terminal to carry out captured in real-time, by optics Image information is changed into electric signal, and to be stored or be transmitted, for the ease of management, video camera application generally answers video camera It is stored with the image information obtained in real time into default memory headroom, such as image memory space.It should be noted that memory headroom Also referred to as built-in storage, effect are external for temporarily storing the operational data in central processing unit, and with hard disk etc. The data of memory transactions.
And the video camera is using relevant documentation, the model that corresponding Software Development Kit is that the auxiliary development video camera is applied The set of example and tool, adjustment unit 31 pass through API, the dynamic link library to video camera using corresponding Software Development Kit And import library etc. is adjusted, and video camera is allowed to share to third-party application using corresponding image memory space.? That is third-party application can quickly call the image information in image memory headroom.
In some embodiments, the adjustment unit 31 is specifically used for through Software Development Kit to video camera application The access authority in image memory space be adjusted, the image memory space of open video camera application is to third-party application Share Permissions.
Determination unit 32 determines the corresponding handle information in the image memory space for obtaining the image memory space.
Wherein, which is the unique integer value used, i.e., 4 bytes (are 8 words in 64 programs Section) long numerical value, come the different objects in identification application and it is similar in different examples, such as, a window is pressed Button, icon, scroll bar, output equipment, control or file etc..Determination unit 32 obtains the corresponding storage ground in image memory space Location information determines the numerical value of corresponding 4 byte or 8 byte longs.
Therefore, application program can access the information of corresponding object by handle.Pass through the image memory space phase The handle information answered can find the corresponding storage address in image memory space, it can be quickly found out by the handle information The corresponding memory address in image memory space.
Loading unit 33, for the handle information being loaded, with true when the image transmitting for detecting third-party application instructs Fixed corresponding image memory space.
Wherein, which is the other application of non-video camera application, if AR is applied, due to taking the photograph according to AR application Position, that is, angle of camera shooting and the application for rendering corresponding augmented reality image, so AR application needs to transfer video camera in real time Using the image information obtained in real time.
Therefore, when inspection loading unit 33, which measures AR application, to be needed to transfer image information, image transmitting instruction is generated, that is, is examined When measuring the image transmitting instruction of third-party application, the handle information generated according to image memory space is loaded, is obtained in image The corresponding memory address in space is deposited, with the corresponding image memory space of determination.
In some embodiments, the loading unit 33, should specifically for being determined according to the first address in the handle information The initial address in image memory space is based on the initial address, is traversed according to memory address quantity, to obtain corresponding figure As memory headroom.
Transmission unit 34 transmits the image information in the image memory space for accessing the image memory space Into third-party application.
Wherein, transmission unit 34 can be with the real time access image memory space, due to having altogether for the image memory space Permission is enjoyed, so the image information in the memory headroom can be transmitted in AR application by transmission unit 34 in real time, with this, is saved The process for having saved Binder communication is answered since Binder communication needs video camera application striding course that image information is transferred to AR With during image information transmission, the process of AR application can be suspended, that is to say, that have a waiting time, so meeting Influence AR application uses fluency, and AR application calls directly the image information in memory, Ke Yijie in the embodiment of the present invention Save the waiting time of image information.
Fig. 6 can be referred to together, and Fig. 6 is another module signal of the transmitting device of image information provided by the embodiments of the present application Figure, the transmitting device 300 of the image information can also include:
Wherein, which may include the first determination unit 331 and the second determination unit 332.
Further, first determination unit 331 determines the image memory space for obtaining the image memory space Corresponding first address and memory address quantity.Second determination unit 332, for according to the first address and memory address number It measures and determines the corresponding handle information in the image memory space.
Wherein, first determination unit 331 obtains the image memory space, determines that the image memory space is corresponding interior Counterfoil;The corresponding memory address of each memory block is analyzed, to obtain corresponding first address and memory address quantity.
It can be seen from the above, a kind of transmitting device of image information provided in this embodiment, takes the photograph by adjusting the adjustment of unit 31 Corresponding Software Development Kit in camera application, so that the image memory space that video camera application saves image shares to the Tripartite's application;Determination unit 32 obtains image memory space, determines the corresponding handle information in image memory space;Work as loading unit 33 detect third-party application image transmitting instruction when, load handle information, with the corresponding image memory space of determination;Transmission 34 access images memory headroom of unit, the image information in image memory space is transmitted in third-party application.With this When third-party application calls the image information of video camera application, can directly directly it be loaded from memory headroom according to handle information The image information that video camera applies storage in avoids striding course transmission bring inconvenience, when saving the transmission of image information Between, and then improve the efficiency of transmission of image information.
The embodiment of the present application also provides a kind of electronic equipment.Referring to Fig. 7, electronic equipment 500 include processor 501 and Memory 502.Wherein, processor 501 and memory 502 are electrically connected.
The processor 500 is the control centre of electronic equipment 500, utilizes various interfaces and the entire electronic equipment of connection Various pieces, the computer program in memory 502 by operation or load store, and call and be stored in memory Data in 502 execute the various functions of electronic equipment 500 and handle data, to carry out whole prison to electronic equipment 500 Control.
The memory 502 can be used for storing software program and module, and processor 501 is stored in memory by operation 502 computer program and module, thereby executing various function application and data processing.Memory 502 can mainly include Storing program area and storage data area, wherein storing program area can computer needed for storage program area, at least one function Program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to electronic equipment The data etc. of creation.In addition, memory 502 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In the embodiment of the present application, the processor 501 in electronic equipment 500 can be according to following step, by one or one The corresponding instruction of the process of a above computer program is loaded into memory 502, and is stored in by the operation of processor 501 Computer program in reservoir 502, thus realize various functions, it is as follows:
Corresponding Software Development Kit in video camera application is adjusted, so that video camera application saves the image of image Memory headroom shares to third-party application;
The image memory space is obtained, determines the corresponding handle information in the image memory space;
When the image transmitting for detecting third-party application instructs, the handle information is loaded, in the corresponding image of determination Deposit space;
The image memory space is accessed, the image information in the image memory space is transmitted in third-party application.
In some embodiments, when determining the corresponding handle information in the image memory space, processor 501 can have Body executes following steps:
Determine the corresponding first address in image memory space and memory address quantity;
The corresponding handle information in the image memory space is determined according to the first address and memory address quantity.
In some embodiments, when determining the corresponding first address in image memory space and memory address quantity, Processor 501 can specifically execute following steps:
Determine the corresponding memory block in image memory space;
The corresponding memory address of each memory block is analyzed, to obtain corresponding first address and memory address quantity.
In some embodiments, in load handle information, image memory space corresponding with determination, processor 501 can specifically execute following steps:
The initial address in the image memory space is determined according to the first address in the handle information;
It based on the initial address, is traversed according to memory address quantity, to obtain corresponding image memory space.
In some embodiments, the corresponding Software Development Kit in adjustment video camera application, so that the camera shooting When the image memory space that machine application saves image shares to third-party application, processor 501 can specifically execute following steps:
It is adjusted by access authority of the Software Development Kit to the image memory space that video camera is applied, it is open to be somebody's turn to do Share Permissions of the image memory space of video camera application to third-party application.
It can be seen from the above, the electronic equipment of the embodiment of the present application, by adjusting corresponding software development in video camera application Kit, so that the image memory space that video camera application saves image shares to third-party application;It is empty to obtain image memory Between, determine the corresponding handle information in image memory space;When the image transmitting for detecting third-party application instructs, handle is loaded Information, with the corresponding image memory space of determination;Access images memory headroom passes the image information in image memory space It transports in third-party application.It, can be directly according to handle with this when third-party application calls the image information of video camera application Information loads the image information that video camera applies storage in directly from memory headroom, avoids striding course transmission bring not Just, the transmission time of image information is saved, and then improves the efficiency of transmission of image information.
Also referring to Fig. 8, in some embodiments, electronic equipment 500 can also include: display 503, radio frequency electrical Road 504, voicefrequency circuit 505 and power supply 506.Wherein, wherein display 503, radio circuit 504, voicefrequency circuit 505 and Power supply 506 is electrically connected with processor 501 respectively.
The display 503 be displayed for information input by user or be supplied to user information and various figures User interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display 503 may include display panel, in some embodiments, can use liquid crystal display (Liquid Crystal Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match Set display panel.
The radio circuit 504 can be used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electronics Equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 505 can be used for providing the audio between user and electronic equipment by loudspeaker, microphone and connecing Mouthful.
The power supply 506 is used to all parts power supply of electronic equipment 500.In some embodiments, power supply 506 can With logically contiguous by power-supply management system and processor 501, thus charged, discharged by power-supply management system realization management, And the functions such as power managed.
Although being not shown in Fig. 8, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the transmission method of the image information in any of the above-described embodiment, than Such as: corresponding Software Development Kit in adjustment video camera application, so that the image memory that video camera application saves image is empty Between share to third-party application;Image memory space is obtained, determines the corresponding handle information in image memory space;When detecting When the image transmitting instruction of tripartite's application, handle information is loaded, with the corresponding image memory space of determination;Access images memory is empty Between, the image information in image memory space is transmitted in third-party application.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It should be noted that for the transmission method of the image information of the embodiment of the present application, this field common test people Member is understood that realize all or part of the process of the transmission method of the image information of the embodiment of the present application, is that can pass through calculating Machine program is completed to control relevant hardware, and the computer program can be stored in a computer-readable storage medium, It is such as stored in the memory of electronic equipment, and is executed by least one processor in the electronic equipment, in the process of implementation It may include the process of the embodiment of the transmission method such as image information.Wherein, the storage medium can for magnetic disk, CD, only Read memory, random access memory etc..
For the transmitting device of the image information of the embodiment of the present application, each functional module can integrate to be handled at one In chip, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module. Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It is described If integrated module is realized and when sold or used as an independent product in the form of software function module, also can store In a computer readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
Above to the transmission method, device, storage medium and electronics of a kind of image information provided by the embodiment of the present application Equipment is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, with The explanation of upper embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the technology of this field Personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this theory Bright book content should not be construed as the limitation to the application.

Claims (10)

1. a kind of transmission method of image information characterized by comprising
Corresponding Software Development Kit in video camera application is adjusted, so that video camera application saves in the image of image It deposits space and shares to third-party application;
Described image memory headroom is obtained, determines the corresponding handle information of described image memory headroom;
When the image transmitting for detecting third-party application instructs, the handle information is loaded, with the corresponding image memory of determination Space;
Described image memory headroom is accessed, the image information in described image memory headroom is transmitted in third-party application.
2. the transmission method of image information as described in claim 1, which is characterized in that the determining described image memory headroom The step of corresponding handle information, comprising:
Determine the corresponding first address of described image memory headroom and memory address quantity;
The corresponding handle information of described image memory headroom is determined according to the first address and memory address quantity.
3. the transmission method of image information as claimed in claim 2, which is characterized in that the determining described image memory headroom The step of corresponding first address and memory address quantity, comprising:
Determine the corresponding memory block of described image memory headroom;
The corresponding memory address of each memory block is analyzed, to obtain corresponding first address and memory address quantity.
4. the transmission method of image information as claimed in claim 3, which is characterized in that the load handle information, with The step of determining corresponding image memory space, comprising:
The initial address of described image memory headroom is determined according to the first address in the handle information;
It based on the initial address, is traversed according to memory address quantity, to obtain corresponding image memory space.
5. such as the transmission method of the described in any item image informations of Claims 1-4, which is characterized in that the adjustment video camera The corresponding Software Development Kit in, so that the image memory space that video camera application saves image shares to the The step of tripartite applies, comprising:
It is adjusted by access authority of the Software Development Kit to the image memory space that video camera is applied, is taken the photograph described in opening Share Permissions of the image memory space of camera application to third-party application.
6. a kind of transmitting device of image information characterized by comprising
Adjustment unit, for adjusting corresponding Software Development Kit in video camera application, so that video camera application is protected The image memory space for depositing image shares to third-party application;
Determination unit determines the corresponding handle information of described image memory headroom for obtaining described image memory headroom;
Loading unit, for loading the handle information when the image transmitting for detecting third-party application instructs, with determining pair The image memory space answered;
Image information in described image memory headroom is transmitted to by transmission unit for accessing described image memory headroom In third-party application.
7. the transmitting device of image information as claimed in claim 6, which is characterized in that the determination unit, comprising:
First determination unit, for obtaining described image memory headroom, determine the corresponding first address of described image memory headroom with And memory address quantity;
Second determination unit, for determining that described image memory headroom is corresponding according to the first address and memory address quantity Handle information.
8. the transmitting device of image information as claimed in claim 7, which is characterized in that described first determines subelement, specifically For:
Described image memory headroom is obtained, determines the corresponding memory block of described image memory headroom;
The corresponding memory address of each memory block is analyzed, to obtain corresponding first address and memory address quantity.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers When operation, so that the computer executes the transmission method such as image information described in any one of claim 1 to 5.
10. a kind of electronic equipment, including processor and memory, the memory have computer program, which is characterized in that described Processor is by calling the computer program, for executing the transmission such as image information described in any one of claim 1 to 5 Method.
CN201810982933.3A 2018-08-27 2018-08-27 Image information transmission method and device, storage medium and electronic equipment Active CN109213613B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810982933.3A CN109213613B (en) 2018-08-27 2018-08-27 Image information transmission method and device, storage medium and electronic equipment
PCT/CN2019/095433 WO2020042769A1 (en) 2018-08-27 2019-07-10 Image information transmission method and apparatus, and storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810982933.3A CN109213613B (en) 2018-08-27 2018-08-27 Image information transmission method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109213613A true CN109213613A (en) 2019-01-15
CN109213613B CN109213613B (en) 2020-08-14

Family

ID=64985829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810982933.3A Active CN109213613B (en) 2018-08-27 2018-08-27 Image information transmission method and device, storage medium and electronic equipment

Country Status (2)

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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134532A (en) * 2019-05-13 2019-08-16 浙江商汤科技开发有限公司 A kind of information interacting method and device, electronic equipment and storage medium
WO2020042769A1 (en) * 2018-08-27 2020-03-05 Oppo广东移动通信有限公司 Image information transmission method and apparatus, and storage medium and electronic device
CN111930641A (en) * 2020-07-28 2020-11-13 展讯通信(天津)有限公司 Image data processing method and intelligent equipment
CN112004147A (en) * 2020-08-20 2020-11-27 北京云中融信网络科技有限公司 Video rendering method and device, electronic equipment and storage medium
CN112068968A (en) * 2019-06-11 2020-12-11 成都鼎桥通信技术有限公司 Service access method and device for dual-system terminal
CN112181340A (en) * 2020-09-29 2021-01-05 联想(北京)有限公司 AR image sharing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327278A (en) * 2013-07-10 2013-09-25 亿览在线网络技术(北京)有限公司 Real time sharing method and device of images
US20150201157A1 (en) * 2004-12-13 2015-07-16 Kuo-Ching Chiang Wireless Transmitting Non-volatile Memory for an Image Capturing Device
CN106708631A (en) * 2016-11-30 2017-05-24 福建省天奕网络科技有限公司 Shared memory property modification method and system
CN107329742A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 SDK call method and device

Family Cites Families (2)

* 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
CN109213613B (en) * 2018-08-27 2020-08-14 Oppo广东移动通信有限公司 Image information transmission method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150201157A1 (en) * 2004-12-13 2015-07-16 Kuo-Ching Chiang Wireless Transmitting Non-volatile Memory for an Image Capturing Device
CN103327278A (en) * 2013-07-10 2013-09-25 亿览在线网络技术(北京)有限公司 Real time sharing method and device of images
CN106708631A (en) * 2016-11-30 2017-05-24 福建省天奕网络科技有限公司 Shared memory property modification method and system
CN107329742A (en) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 SDK call method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020042769A1 (en) * 2018-08-27 2020-03-05 Oppo广东移动通信有限公司 Image information transmission method and apparatus, and storage medium and electronic device
CN110134532A (en) * 2019-05-13 2019-08-16 浙江商汤科技开发有限公司 A kind of information interacting method and device, electronic equipment and storage medium
CN112068968A (en) * 2019-06-11 2020-12-11 成都鼎桥通信技术有限公司 Service access method and device for dual-system terminal
CN112068968B (en) * 2019-06-11 2022-10-18 成都鼎桥通信技术有限公司 Service access method and device for dual-system terminal
CN111930641A (en) * 2020-07-28 2020-11-13 展讯通信(天津)有限公司 Image data processing method and intelligent equipment
CN112004147A (en) * 2020-08-20 2020-11-27 北京云中融信网络科技有限公司 Video rendering method and device, electronic equipment and storage medium
CN112181340A (en) * 2020-09-29 2021-01-05 联想(北京)有限公司 AR image sharing method and electronic device

Also Published As

Publication number Publication date
CN109213613B (en) 2020-08-14
WO2020042769A1 (en) 2020-03-05

Similar Documents

Publication Publication Date Title
CN109213613A (en) Transmission method, device, storage medium and the electronic equipment of image information
CN109408136B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN113094123B (en) Method and device for realizing functions in application program, electronic equipment and storage medium
CN110110263A (en) Webpage display process, device, terminal and storage medium
CN104067215B (en) Assume data-driven list
US10459600B2 (en) Conversion of platform-independent accessibility logic into platform-specific accessibility functionality
CN112749362B (en) Control creation method, device, equipment and storage medium
CN104516890B (en) Method for processing business, device and electronic equipment
US20190113963A1 (en) Method, apparatus and storage medium for processing application of mobile terminal and electronic device
CN106714920A (en) Intelligent streaming of media content
CN109343837A (en) Game rendering method and relevant device
CN112420217A (en) Message pushing method, device, equipment and storage medium
WO2020057231A1 (en) Engine adaptation method, related device and computer-readable storage medium
CN110032384A (en) Method, apparatus, equipment and the storage medium of resource updates
US9633090B2 (en) Dynamic visualization of big data
CN110968815B (en) Page refreshing method, device, terminal and storage medium
CN109246467A (en) Label is to the method, apparatus of sharing video frequency, video camera and smart phone
CN110443880A (en) Image rendering method, device, storage medium and electronic equipment
CN110505253A (en) A kind of method, apparatus and storage medium of requested webpage information
CN107450905A (en) Session interface rendering intent and client
CN116302807A (en) System, method, electronic device and storage medium for monitoring device memory
WO2022151745A1 (en) Multimedia data publishing method and apparatus
CN114070892A (en) Data transmission method and device
CN113204724A (en) Method and device for creating interactive information, electronic equipment and storage medium
CN114385723A (en) Data reading method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant