CN109874045A - A kind of portable terminal and its obtain the method that gyro data carries out video processing - Google Patents

A kind of portable terminal and its obtain the method that gyro data carries out video processing Download PDF

Info

Publication number
CN109874045A
CN109874045A CN201910092831.9A CN201910092831A CN109874045A CN 109874045 A CN109874045 A CN 109874045A CN 201910092831 A CN201910092831 A CN 201910092831A CN 109874045 A CN109874045 A CN 109874045A
Authority
CN
China
Prior art keywords
gyro
data
gyro data
portable terminal
interface
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
CN201910092831.9A
Other languages
Chinese (zh)
Other versions
CN109874045B (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.)
Arashi Vision Co Ltd
Original Assignee
Arashi Vision Co 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 Arashi Vision Co Ltd filed Critical Arashi Vision Co Ltd
Priority to CN201910092831.9A priority Critical patent/CN109874045B/en
Publication of CN109874045A publication Critical patent/CN109874045A/en
Priority to PCT/CN2019/099035 priority patent/WO2020155596A1/en
Application granted granted Critical
Publication of CN109874045B publication Critical patent/CN109874045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C19/00Gyroscopes; Turn-sensitive devices using vibrating masses; Turn-sensitive devices without moving masses; Measuring angular rate using gyroscopic effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The present invention provides a kind of portable terminal and its obtains the method that gyro data carries out video processing suitable for video processing.The described method includes: portable terminal is powered to gyro data generating means after portable terminal is connect with gyro data generating means, to read the gyro data that gyro module generates by processing module, and gyro data is sent to portable terminal;When portable terminal taking panoramic video, the gyro data that gyro data generating means are sent is acquired in real time;Gyro data is written to video file in real time by portable terminal, realizes gyro data and audio video synchronization.The present invention is in the video-splicing of twin-lens or more camera lenses, the application of video stabilization, gyro data energy real-time synchronization to video, therefore the effect of video-splicing or stabilization is good, and video pictures are smooth, and user experience is good.

Description

A kind of portable terminal and its obtain the method that gyro data carries out video processing
Technical field
The invention belongs to field of video processing more particularly to a kind of portable terminals and its acquisition gyro data to be regarded The method of frequency processing.
Background technique
In the video-splicing of twin-lens or more camera lenses, the application of video stabilization, need to use gyro data, but gyro Instrument is usually the individual chip controls by being built in panorama camera, and being easy to appear gyro data cannot be synchronized in time Video leads to the ineffective of video-splicing or stabilization, influences user experience.
Most of applications at present are all after starting coding, and independent storage allocation space is used to store the gyroscope number read According to the gyro data of preservation being passed to portable terminal (such as mobile phone, tablet computer etc.) and is solved after end-of-encode Then analysis removes and saves file.This mode needs to establish while coding, reads gyro data and saves, entire mistake Journey will guarantee consistency, and there can be no the mistake of a link, any link error will lead to video-splicing, video stabilization Effect is poor, so effect data is bad.
Summary of the invention
The purpose of the present invention is to provide the sides that a kind of portable terminal and its acquisition gyro data carry out video processing Method and computer readable storage medium, it is intended to solve while coding, read gyro data and save, any link goes out Mistake will lead to the problem of video-splicing, video anti-shake effect difference.
In a first aspect, the present invention provides a kind of gyro data generating means, including processing module and respectively with processing Gyro module, power supply and the control data transmission interface and gyro data coffret of module electrical connection, gyro data Generating means by power supply and control data transmission interface and gyro data coffret respectively with the power supply of portable terminal And data transmission interface is connected with gyro data receiving interface;
Gyro data generating means pass through power supply and the power supply and data of control data transmission interface and portable terminal Coffret is powered by portable terminal, and is matched by the initialization that portable terminal controls completion processing module and gyro module It sets, processing module obtains gyro data from gyro module in real time, and gyro data is connect by gyro data transmission Mouth is sent to the gyro data receiving interface of portable terminal.
Second aspect, the present invention provides a kind of processing system for video, and the system comprises portable terminals, the top Spiral shell instrument data generating device and at least two is respectively fitted over fish outside the front camera and back side camera of portable terminal Glasses head;
Portable terminal shoots to obtain panoramic video by fish eye lens;
When portable terminal taking panoramic video, gyro is acquired by the gyro data receiving interface of portable terminal The gyro data that instrument data generating device is sent, and it is written to video file, realize gyro data and audio video synchronization.
The third aspect, the present invention provides a kind of portable terminals to obtain the method that gyro data carries out video processing, Include:
After portable terminal is connect with gyro data generating means, portable terminal is supplied to gyro data generating means Electricity to complete the initial configuration of processing module and gyro module by gyro data generating means, and is read by processing module The gyro data for taking gyro module to generate, and gyro data is sent to portable terminal;
When portable terminal taking panoramic video, the gyroscope number that gyro data generating means are sent is acquired in real time According to;
Gyro data is written to video file in real time by portable terminal, realizes gyro data and audio video synchronization.
Fourth aspect, the present invention provides a kind of computer readable storage medium, the computer readable storage medium is deposited Computer program is contained, the computer program realizes that portable terminal as mentioned obtains gyroscope number when being executed by processor The step of according to the method for carrying out video processing.
5th aspect, the present invention provides a kind of portable terminals, comprising:
One or more processors;
Memory;And
One or more computer programs, the processor and the memory are connected by bus, wherein one Or multiple computer programs are stored in the memory, and are configured to be executed by one or more of processors, The processor realizes that portable terminal as mentioned obtains gyro data and carries out at video when executing the computer program The step of method of reason.
In the present invention, since the processing module of gyro data generating means reads the gyroscope that gyro module generates Data, and gyro data is sent to portable terminal;When portable terminal taking panoramic video, gyroscope is acquired in real time The gyro data that data generating device is sent;Gyro data is written to video file in real time by portable terminal, realizes top Spiral shell instrument data and audio video synchronization.Thus in the video-splicing of twin-lens or more camera lenses, the application of video stabilization, gyro data energy Real-time synchronization is to video, therefore the effect of video-splicing or stabilization is good, and video pictures are smooth, and user experience is good.
Detailed description of the invention
Fig. 1 is the schematic diagram for the processing system for video that the embodiment of the present invention one provides.
Fig. 2 is the schematic diagram of the gyro data generating means in the processing system for video that the embodiment of the present invention one provides.
Fig. 3 is the method that portable terminal provided by Embodiment 2 of the present invention obtains that gyro data carries out video processing Flow chart.
Fig. 4 is the specific block diagram for the portable terminal that the embodiment of the present invention four provides.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
Fig. 1 and Fig. 2 are please referred to, the processing system for video that the embodiment of the present invention one provides includes portable terminal 1, gyroscope Data generating device 2 and at least two is respectively fitted over flake mirror outside the front camera and back side camera of portable terminal First 3;Gyro data generating means 2 include processing module 21 and be electrically connected respectively with processing module 21 gyro module 22, Power supply and control data transmission interface 23 and gyro data coffret 24, gyro data generating means 2 by power supply and Control data transmission interface 23 and gyro data coffret 24 respectively with the power supply and data transmission interface of portable terminal 1 It is connected with gyro data receiving interface;
Portable terminal 1 obtains panoramic video by the shooting of fish eye lens 3;
Gyro data generating means 2 pass through power supply and the power supply and data of control data transmission interface and portable terminal Coffret is powered by portable terminal, and is matched by the initialization that portable terminal controls completion processing module and gyro module It sets, processing module obtains gyro data from gyro module in real time, and gyro data is connect by gyro data transmission Mouth is sent to the gyro data receiving interface of portable terminal 1;
When portable terminal 1 pans video, top is acquired by the gyro data receiving interface of portable terminal 1 The gyro data that spiral shell instrument data generating device is sent, and it is written to video file, realize gyro data and audio video synchronization.
In the embodiment of the present invention one, the power supply and control data transmission interface and gyroscope of gyro data generating means Data transmission interface can integrate as a USB interface, the power supply and data transmission interface and gyro data of portable terminal Receiving interface can integrate as a USB interface.
In the embodiment of the present invention one, the power supplys of gyro data generating means and control data transmission interface and portable The power supply and data transmission interface of terminal can be USB interface, the gyro data coffret of gyro data generating means It can be audio interface with the gyro data receiving interface of portable terminal.Correspondingly, the processing module is in real time from gyro Instrument module obtains gyro data, and gyro data is sent to the top of portable terminal by gyro data coffret Spiral shell instrument data receiver interface specifically: the processing module of gyro data generating means obtains gyroscope from gyro module in real time Data, and gyro data is converted into audio format data, it is sent to by the audio interface of gyro data generating means The audio interface of portable terminal.
In the embodiment of the present invention one, the power supply and control data transmission interface and gyroscope of gyro data generating means Data transmission interface can integrate as a versatile interface, the power supply and data transmission interface and gyroscope number of portable terminal It can integrate according to receiving interface as a versatile interface (such as lighting interface of apple), gyro data generating means Versatile interface pass through the more of data line (such as data line with lighting Interference fit of apple) and portable terminal Functional interface (such as lighting interface of apple) connects (as shown in Figure 1).Correspondingly, the processing module is in real time from gyro Instrument module obtains gyro data, and gyro data is sent to the top of portable terminal by gyro data coffret Spiral shell instrument data receiver interface specifically: the processing module of gyro data generating means obtains gyroscope from gyro module in real time Data, and gyro data is converted into audio format data, it is sent by the versatile interface of gyro data generating means To the versatile interface of portable terminal.
Portable terminal can be mobile phone, tablet computer etc..
Embodiment two:
Referring to Fig. 3, portable terminal provided by Embodiment 2 of the present invention, which obtains gyro data, carries out video processing Method the following steps are included:
After S101, portable terminal and the connection of gyro data generating means, portable terminal is generated to gyro data Device power supply, to complete the initial configuration of processing module and gyro module by gyro data generating means, and by handling Module reads the gyro data that gyro module generates, and gyro data is sent to portable terminal.
When the power supply of gyro data generating means and the power supply and data of control data transmission interface and portable terminal Coffret is USB interface, the gyro data coffret of gyro data generating means and the gyroscope of portable terminal When data receiver interface is audio interface, the processing module reads the gyro data that gyro module generates, and by gyro Instrument data are sent to portable terminal specifically: processing module reads the gyro data that gyro module generates, and by gyro Instrument data conversion is sent to the sound of portable terminal by the audio interface of gyro data generating means at audio format data Frequency interface.
When the power supply and control data transmission interface and gyro data coffret of gyro data generating means are integrated For a versatile interface, the power supply and data transmission interface and gyro data receiving interface of portable terminal are integrated into one Versatile interface (such as lighting interface of apple), the versatile interface of gyro data generating means passes through data line Versatile interface (such as the apple of (such as data line with lighting Interference fit of apple) and portable terminal Lighting interface) connection when, the processing module reads the gyro data that gyro module generates, and by gyro data It is sent to portable terminal specifically: processing module reads the gyro data that gyro module generates, and by gyro data It is converted into audio format data, the multi-functional of portable terminal is sent to by the versatile interface of gyro data generating means Interface.
In the embodiment of the present invention two, the initial configuration of processing module and gyro module is specifically included:
(Serial Peripheral Interface, serial peripheral connect the system clock and SPI of configuration processing module Mouthful), SPI is the communication modes of processing module and gyro module;
Configuration processing module acquires the interrupt trigger signal of gyro data, such as fixed intervals 2ms (millisecond);
The sample rate, accelerometer pattern and gyroscope for configuring gyro module are interrupted, such as trigger top according to 500HZ frequency Spiral shell instrument interrupts;
The frequency that configuration processing module sends gyro data is consistent with sample frequency when portable terminal taking, sampling Rate can customize setting, such as sample rate is 48KHZ frequency.
The processing module reads the gyro data that gyro module generates, and gyro data is sent to portable Terminal is specifically as follows:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read The gyro data that gyro module generates, gyro data includes gyroscope x/y/z number of axle evidence, accelerometer x/y/z number of axle evidence Deng;
Processing module by gyro data according to portable terminal taking when sample frequency be sent to portable terminal.
The processing module reads the gyro data that gyro module generates, and gyro data is converted into audio lattice Formula data are sent to the audio interface of portable terminal by the audio interface of gyro data generating means, are specifically as follows:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read The gyro data that gyro module generates, gyro data includes gyroscope x/y/z number of axle evidence, accelerometer x/y/z number of axle evidence Deng;
Gyro data is converted into audio format data by digital-to-analogue conversion mode by processing module;
By audio format data, sample frequency when by audio interface according to portable terminal taking is sent processing module To the audio interface of portable terminal.
The processing module reads the gyro data that gyro module generates, and gyro data is converted into audio lattice Formula data are sent to the versatile interface of portable terminal by the versatile interface of gyro data generating means, specifically may be used With are as follows:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read The gyro data that gyro module generates, gyro data includes gyroscope x/y/z number of axle evidence, accelerometer x/y/z number of axle evidence Deng;
Gyro data is converted into audio format data by digital-to-analogue conversion mode by processing module;
Processing module is by audio format data, by the versatile interface of gyro data generating means according to portable terminal The sample frequency when shooting of end is sent to the versatile interface of portable terminal.
S102, when portable terminal taking panoramic video, in real time acquire gyro data generating means send gyro Instrument data.
When gyro data generating means send be audio format data when, it is described work as portable terminal taking aphorama When frequency, the gyro data that gyro data generating means are sent is acquired in real time and is specifically as follows:
When portable terminal taking panoramic video, the audio format number that gyro data generating means are sent is acquired in real time According to audio format data is reduced to gyro data.
Gyro data is written to video file in real time by S103, portable terminal, realizes that gyro data and video are same Step.
Embodiment three:
The embodiment of the present invention three provides a kind of computer readable storage medium, the computer-readable recording medium storage There is computer program, such as portable terminal provided by Embodiment 2 of the present invention is realized when the computer program is executed by processor Obtain the step of gyro data carries out the method for video processing.
Example IV:
Fig. 4 shows the specific block diagram of the portable terminal of the offer of the embodiment of the present invention four, a kind of portable terminal 100 include: one or more processors 101, memory 102 and one or more computer programs, wherein the processor 101 are connected with the memory 102 by bus, and one or more of computer programs are stored in the memory 102 In, and be configured to be executed by one or more of processors 101, the processor 101 executes the computer program Shi Shixian portable terminal for example provided by Embodiment 2 of the present invention obtains the step of gyro data carries out the method for video processing.
In the present invention, since the processing module of gyro data generating means reads the gyroscope that gyro module generates Data, and gyro data is sent to portable terminal;When portable terminal taking panoramic video, gyroscope is acquired in real time Gyro data is written to video file in real time by the gyro data that data generating device is sent, portable terminal, realizes top Spiral shell instrument data and audio video synchronization.Thus in the video-splicing of twin-lens or more camera lenses, the application of video stabilization, gyro data energy Real-time synchronization is to video, therefore the effect of video-splicing or stabilization is good, and video pictures are smooth, and user experience is good.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (14)

1. a kind of gyro data generating means, which is characterized in that be electrically connected including processing module and respectively with processing module Gyro module, power supply and control data transmission interface and gyro data coffret, gyro data generating means pass through Power supply and control data transmission interface and gyro data coffret connect with the power supply of portable terminal and data transmission respectively Mouth is connected with gyro data receiving interface;
Power supply and the data transmission that gyro data generating means pass through power supply and control data transmission interface and portable terminal Interface is powered by portable terminal, and the initial configuration for completing processing module and gyro module is controlled by portable terminal, Processing module obtains gyro data from gyro module in real time, and gyro data is sent out by gyro data coffret It send to the gyro data receiving interface of portable terminal.
2. gyro data generating means as described in claim 1, which is characterized in that the power supply of gyro data generating means And control data transmission interface and gyro data coffret are integrated into a USB interface, the power supply and number of portable terminal A USB interface is integrated into according to coffret and gyro data receiving interface.
3. gyro data generating means as described in claim 1, which is characterized in that the power supply of gyro data generating means And controlling data transmission interface and the power supply and data transmission interface of portable terminal is USB interface, gyro data generates dress The gyro data receiving interface of the gyro data coffret and portable terminal set is audio interface;
The processing module obtains gyro data from gyro module in real time, and gyro data is passed by gyro data Defeated interface is sent to the gyro data receiving interface of portable terminal specifically:
The processing module of gyro data generating means obtains gyro data from gyro module in real time, and by gyro data It is converted into audio format data, is connect by the audio that the audio interface of gyro data generating means is sent to portable terminal Mouthful.
4. gyro data generating means as described in claim 1, which is characterized in that the power supply of gyro data generating means And control data transmission interface and gyro data coffret are integrated into a versatile interface, the power supply of portable terminal and Data transmission interface and gyro data receiving interface are integrated into a versatile interface, more function of gyro data generating means Energy interface is connected by the versatile interface of data line and portable terminal;
The processing module obtains gyro data from gyro module in real time, and gyro data is passed by gyro data Defeated interface is sent to the gyro data receiving interface of portable terminal specifically:
The processing module of gyro data generating means obtains gyro data from gyro module in real time, and by gyro data It is converted into audio format data, the multi-functional of portable terminal is sent to by the versatile interface of gyro data generating means Interface.
5. a kind of processing system for video, which is characterized in that the system comprises portable terminal, as claimed in claim 1 or 2 Gyro data generating means and at least two are respectively fitted over outside the front camera and back side camera of portable terminal Fish eye lens;
Portable terminal shoots to obtain panoramic video by fish eye lens;
When portable terminal taking panoramic video, gyroscope number is acquired by the gyro data receiving interface of portable terminal According to the gyro data that generating means are sent, and it is written to video file, realizes gyro data and audio video synchronization.
6. processing system for video as claimed in claim 5, which is characterized in that
When power supply and the data transmission of the power supply and control data transmission interface and portable terminal of gyro data generating means Interface is USB interface, the gyro data coffret of gyro data generating means and the gyro data of portable terminal When receiving interface is audio interface;Or
When the power supply and control data transmission interface and gyro data coffret of gyro data generating means are integrated into one A versatile interface, the power supply and data transmission interface and gyro data receiving interface of portable terminal are integrated into function more than one The versatile interface of energy interface, gyro data generating means is connected by the versatile interface of data line and portable terminal When,
It is described when portable terminal taking panoramic video, gyro is acquired by the gyro data receiving interface of portable terminal The gyro data that instrument data generating device is sent, and it is written to video file, realize that gyro data and audio video synchronization are specific Are as follows:
When portable terminal taking panoramic video, the audio format data that gyro data generating means are sent is acquired in real time, Audio format data is reduced to gyro data;
The gyro data of reduction is written to video file in real time by portable terminal, realizes gyro data and audio video synchronization.
7. a kind of portable terminal obtains the method that gyro data carries out video processing characterized by comprising
After portable terminal is connect with gyro data generating means as claimed in claim 1 or 2, portable terminal is to gyro The power supply of instrument data generating device, is matched with the initialization for completing processing module and gyro module by gyro data generating means It sets, and the gyro data that gyro module generates is read by processing module, and gyro data is sent to portable terminal;
When portable terminal taking panoramic video, the gyro data that gyro data generating means are sent is acquired in real time;
Gyro data is written to video file in real time by portable terminal, realizes gyro data and audio video synchronization.
8. the method for claim 7, which is characterized in that when the power supply and control data of gyro data generating means pass The power supply and data transmission interface of defeated interface and portable terminal are USB interface, the gyroscope number of gyro data generating means When gyro data receiving interface according to coffret and portable terminal is audio interface, the processing module reads gyroscope The gyro data that module generates, and gyro data is sent to portable terminal specifically:
Processing module reads the gyro data that gyro module generates, and gyro data is converted into audio format data, The audio interface of portable terminal is sent to by the audio interface of gyro data generating means;
When the power supply and control data transmission interface and gyro data coffret of gyro data generating means are integrated into one A versatile interface, the power supply and data transmission interface and gyro data receiving interface of portable terminal are integrated into function more than one The versatile interface of energy interface, gyro data generating means is connected by the versatile interface of data line and portable terminal When, the processing module reads the gyro data that gyro module generates, and gyro data is sent to portable terminal Specifically:
Processing module reads the gyro data that gyro module generates, and gyro data is converted into audio format data, The versatile interface of portable terminal is sent to by the versatile interface of gyro data generating means.
9. the method for claim 7, which is characterized in that the initial configuration of processing module and gyro module is specifically wrapped It includes:
The system clock and serial peripheral equipment interface SPI of configuration processing module;
The interrupt trigger signal of configuration processing module acquisition gyro data;
The sample rate, accelerometer pattern and gyroscope for configuring gyro module are interrupted;
The frequency that configuration processing module sends gyro data is consistent with sample frequency when portable terminal taking.
10. the method for claim 7, which is characterized in that the processing module reads the gyro that gyro module generates Instrument data, and gyro data is sent to portable terminal, specifically:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read gyro The gyro data that instrument module generates;
Processing module by gyro data according to portable terminal taking when sample frequency be sent to portable terminal.
11. method according to claim 8, which is characterized in that the processing module reads the gyro that gyro module generates Instrument data, and gyro data is converted into audio format data, it is sent by the audio interface of gyro data generating means To the audio interface of portable terminal, specifically:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read gyro The gyro data that instrument module generates;
Gyro data is converted into audio format data by digital-to-analogue conversion mode by processing module;
By audio format data, sample frequency when by audio interface according to portable terminal taking is sent to just processing module Take the audio interface of formula terminal;
The processing module reads the gyro data that gyro module generates, and gyro data is converted into audio format number According to, the versatile interface of portable terminal is sent to by the versatile interface of gyro data generating means, specifically:
After processing module receives the interrupt trigger signal of the acquisition gyro data of gyro module transmission, start to read gyro The gyro data that instrument module generates;
Gyro data is converted into audio format data by digital-to-analogue conversion mode by processing module;
Processing module claps audio format data by the versatile interface of gyro data generating means according to portable terminal Sample frequency when taking the photograph is sent to the versatile interface of portable terminal.
12. method according to claim 8, which is characterized in that it is when the transmission of gyro data generating means is audio format It is described when portable terminal taking panoramic video when data, the gyroscope that gyro data generating means are sent is acquired in real time Data specifically:
When portable terminal taking panoramic video, the audio format data that gyro data generating means are sent is acquired in real time, Audio format data is reduced to gyro data.
13. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the realization such as described in any item portable terminals of claim 7 to 12 obtain when the computer program is executed by processor Gyro data carries out the step of method of video processing.
14. a kind of portable terminal, comprising:
One or more processors;
Memory;And
One or more computer programs, the processor and the memory are connected by bus, wherein one or more A computer program is stored in the memory, and is configured to be executed by one or more of processors, special Sign is that the processor realizes such as the described in any item portable terminals of claim 7 to 12 when executing the computer program End obtains the step of gyro data carries out the method for video processing.
CN201910092831.9A 2019-01-30 2019-01-30 Portable terminal and method for acquiring gyroscope data to perform video processing Active CN109874045B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910092831.9A CN109874045B (en) 2019-01-30 2019-01-30 Portable terminal and method for acquiring gyroscope data to perform video processing
PCT/CN2019/099035 WO2020155596A1 (en) 2019-01-30 2019-08-02 Portable terminal and method thereof for acquiring gyroscope data to perform video processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910092831.9A CN109874045B (en) 2019-01-30 2019-01-30 Portable terminal and method for acquiring gyroscope data to perform video processing

Publications (2)

Publication Number Publication Date
CN109874045A true CN109874045A (en) 2019-06-11
CN109874045B CN109874045B (en) 2021-04-06

Family

ID=66918310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910092831.9A Active CN109874045B (en) 2019-01-30 2019-01-30 Portable terminal and method for acquiring gyroscope data to perform video processing

Country Status (2)

Country Link
CN (1) CN109874045B (en)
WO (1) WO2020155596A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020155596A1 (en) * 2019-01-30 2020-08-06 影石创新科技股份有限公司 Portable terminal and method thereof for acquiring gyroscope data to perform video processing

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510913A (en) * 2009-03-17 2009-08-19 山东师范大学 System and method for implementing intelligent mobile phone enhancement based on three-dimensional electronic compass
CN102980577A (en) * 2012-12-05 2013-03-20 南京理工大学 Micro-strapdown altitude heading reference system and working method thereof
CN103544744A (en) * 2013-11-08 2014-01-29 东莞市艾炜特电子有限公司 Automobile data recorder system and recording method based on cloud control
CN103673990A (en) * 2012-09-13 2014-03-26 北京同步科技有限公司 Device and method for obtaining camera posture data
CN103884338A (en) * 2014-02-21 2014-06-25 中国农业大学 Real-time tracking device and method for space track
US20150233743A1 (en) * 2014-02-20 2015-08-20 Google Inc. Methods and Systems for Acquiring Sensor Data on a Device Using Multiple Acquisition Modes
CN105573333A (en) * 2016-01-22 2016-05-11 青岛大学 Modular control method for four-rotor aircraft
CN107395280A (en) * 2017-08-23 2017-11-24 华南理工大学 Suitable for the smart mobile phone image-receptive method and its system of visible light communication
CN107992197A (en) * 2017-12-12 2018-05-04 上海闻泰电子科技有限公司 Virtual reality device and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205666906U (en) * 2016-05-23 2016-10-26 武汉大学 Take real -time video attitude data's unmanned aerial vehicle video transmission system
CN106027909B (en) * 2016-07-05 2019-08-13 大连海事大学 A kind of boat-carrying audio video synchronization acquisition system and method based on MEMS inertial sensor and video camera
CN107995439A (en) * 2016-10-27 2018-05-04 中兴通讯股份有限公司 A kind of video capture, broadcasting, processing method, photo terminal
US10547784B2 (en) * 2017-06-19 2020-01-28 SighTour Technologies, Inc. Image stabilization
CN107172320A (en) * 2017-06-21 2017-09-15 成都理想境界科技有限公司 Method of data synchronization and picture pick-up device
CN108600616A (en) * 2018-04-04 2018-09-28 深圳市极酷威视科技有限公司 A kind of video stabilization system and video acquisition equipment based on RTP frame synchronization
CN109874045B (en) * 2019-01-30 2021-04-06 影石创新科技股份有限公司 Portable terminal and method for acquiring gyroscope data to perform video processing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510913A (en) * 2009-03-17 2009-08-19 山东师范大学 System and method for implementing intelligent mobile phone enhancement based on three-dimensional electronic compass
CN103673990A (en) * 2012-09-13 2014-03-26 北京同步科技有限公司 Device and method for obtaining camera posture data
CN102980577A (en) * 2012-12-05 2013-03-20 南京理工大学 Micro-strapdown altitude heading reference system and working method thereof
CN103544744A (en) * 2013-11-08 2014-01-29 东莞市艾炜特电子有限公司 Automobile data recorder system and recording method based on cloud control
US20150233743A1 (en) * 2014-02-20 2015-08-20 Google Inc. Methods and Systems for Acquiring Sensor Data on a Device Using Multiple Acquisition Modes
CN103884338A (en) * 2014-02-21 2014-06-25 中国农业大学 Real-time tracking device and method for space track
CN105573333A (en) * 2016-01-22 2016-05-11 青岛大学 Modular control method for four-rotor aircraft
CN107395280A (en) * 2017-08-23 2017-11-24 华南理工大学 Suitable for the smart mobile phone image-receptive method and its system of visible light communication
CN107992197A (en) * 2017-12-12 2018-05-04 上海闻泰电子科技有限公司 Virtual reality device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020155596A1 (en) * 2019-01-30 2020-08-06 影石创新科技股份有限公司 Portable terminal and method thereof for acquiring gyroscope data to perform video processing

Also Published As

Publication number Publication date
CN109874045B (en) 2021-04-06
WO2020155596A1 (en) 2020-08-06

Similar Documents

Publication Publication Date Title
CN113382397B (en) Bluetooth connection method, device and system
JP7426470B2 (en) Voice activation method and electronic device
CN112130742B (en) Full screen display method and device of mobile terminal
CN110956939B (en) Method for adjusting screen brightness and electronic equipment
CN103024272A (en) Double camera control device, method and system of mobile terminal and mobile terminal
CN110401767B (en) Information processing method and apparatus
CN111132234A (en) Data transmission method and corresponding terminal
CN113704205B (en) Log storage method, chip, electronic device and readable storage medium
WO2021213031A1 (en) Image synthesis method and related apparatus
CN110572799B (en) Method and equipment for simultaneous response
JP7437534B2 (en) Method for determining control targets, mobile devices, and gateways
CN115589051B (en) Charging method and terminal equipment
CN113728295A (en) Screen control method, device, equipment and storage medium
CN204576007U (en) A kind of intelligence dresses glasses
CN115696522A (en) Data transmission method and wearable device
CN114880251A (en) Access method and access device of storage unit and terminal equipment
CN111372329B (en) Connection establishing method and terminal equipment
CN102957888A (en) Wireless fidelity (WiFi)-communication-based portable audio and video transmission and recording device
CN109874045A (en) A kind of portable terminal and its obtain the method that gyro data carries out video processing
CN113593567A (en) Method for converting video and sound into text and related equipment
CN111492678A (en) File transmission method and electronic equipment
WO2023216930A1 (en) Wearable-device based vibration feedback method, system, wearable device and electronic device
WO2023197709A1 (en) Device identification method and related apparatus
CN105472256A (en) Method for shooting and transmitting image, smart glasses and system
CN110806994B (en) Signal transmission method and device

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
CB02 Change of applicant information

Address after: 518000 Guangdong, Shenzhen, Baoan District Xin'an street, Hai Xiu Road 23, 6 A 601603605, long Kong Century Towers, 601603605

Applicant after: Yingshi Innovation Technology Co., Ltd

Address before: 518000 Guangdong, Shenzhen, Baoan District Xin'an street, Hai Xiu Road 23, 6 A 601603605, long Kong Century Towers, 601603605

Applicant before: SHENZHEN ARASHI VISION Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant