WO2019034109A1 - 一种视频数据的存储方法、装置和智能眼镜 - Google Patents

一种视频数据的存储方法、装置和智能眼镜 Download PDF

Info

Publication number
WO2019034109A1
WO2019034109A1 PCT/CN2018/100830 CN2018100830W WO2019034109A1 WO 2019034109 A1 WO2019034109 A1 WO 2019034109A1 CN 2018100830 W CN2018100830 W CN 2018100830W WO 2019034109 A1 WO2019034109 A1 WO 2019034109A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
video data
smart glasses
video
storage path
Prior art date
Application number
PCT/CN2018/100830
Other languages
English (en)
French (fr)
Inventor
吴志群
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2019034109A1 publication Critical patent/WO2019034109A1/zh

Links

Images

Classifications

    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present application relates to the field of video transmission technologies, and in particular, to a method, an apparatus, and a smart glasses for storing video data.
  • the camera function component is started to be added to the eyewear device that is worn daily to realize the function of recording the content and events seen by the eye at any time; in addition, the user shares the video recorded by the glasses device, It is also necessary to transmit the video recorded by the glasses device to the mobile terminal side, thereby utilizing the mobile terminal to share the captured video.
  • the user often lends the glasses device to other users, so that the same glasses device records the video files of multiple users, then when a user views the video files in the glasses device, There is a problem that the user's privacy is leaked when viewing video files of other users.
  • the present application provides a method, a device, and a smart glasses for storing video data to solve the problem of user privacy leakage when using smart glasses and mobile terminals for video transmission in the prior art.
  • the present application discloses a method for storing video data, which is applied to smart glasses, including:
  • the smart glasses are the first A user generated path for storing video data recorded by the first user.
  • the present application further discloses a storage device for video data, which is applied to smart glasses, and includes:
  • a first receiving module configured to receive a video recording instruction of the first user
  • a first recording module configured to record video data according to the video recording instruction
  • a first storage module configured to store the video data to a first target storage path, where the first target storage path is after the first user logs in to a mobile terminal application that can be paired with the smart glasses.
  • the smart glasses are paths generated by the first user for storing video data recorded by the first user.
  • the present application further discloses a smart glasses, including: a memory, a processor, a camera, and a first button;
  • the processor is configured to receive a video recording instruction triggered by the first user pressing the first button, and control the camera to record video data according to the video recording instruction, and send the video data to The memory;
  • the memory is configured to store the video data to a first target storage path, where the first target storage path is after the first user logs in to a mobile terminal application that can be paired with the smart glasses.
  • the smart glasses are paths generated by the first user for storing video data recorded by the first user.
  • the present application further discloses a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method of storing video data according to the first aspect.
  • the present application includes the following advantages:
  • the present application When storing video data recorded by the first user, the present application stores the video data to the storage path of the first user on the smart glasses side, so that the video data recorded by different users of the mobile terminal application paired with the smart glasses is registered. Can be stored independently of each other on the smart glasses side, each user can only manage the video data captured by himself, and cannot view the video data captured by other users, thus realizing the smart glasses side to shoot different users of the paired mobile terminal application.
  • the access control of the video data avoids the problem of user privacy leakage.
  • FIG. 1 is a flow chart showing the steps of an embodiment of a method for storing video data according to the present application
  • FIG. 2 is a structural block diagram of an embodiment of a storage device for video data according to the present application
  • FIG. 3 is a structural block diagram of an embodiment of a smart glasses of the present application.
  • a flow chart of a method for storing a video data according to an application of the present application, which is applied to the smart glasses, may specifically include the following steps:
  • Step 101 Receive a video recording instruction of a first user.
  • the user can trigger a video recording instruction to perform video recording by clicking a button on the smart glasses.
  • Step 102 Record video data according to the video recording instruction.
  • the smart glasses can open the camera of the smart glasses in response to the video recording instruction to perform video recording on the scene in the field of view of the first user wearing the smart glasses, thereby obtaining video data.
  • Step 103 Store the video data to a first target storage path, where the first target storage path is after the first user logs in to a mobile terminal application that can be paired with the smart glasses, the smart glasses are a path generated by the first user for storing video data recorded by the first user.
  • the mobile terminal is installed with an eyeglass application (App, application) that is used in conjunction with the smart glasses.
  • the glasses App can be registered and registered by different users.
  • the glasses App and the smart device can be enabled.
  • the glasses are paired and connected, and when the pairing is successfully connected, the smart glasses side allocates a path dedicated to the first user to store the video data of the recording, that is, the first target storage path here.
  • the smart glasses side can pre-allocate (ie, generate) different video data storage paths for different login users of the glasses App.
  • the storage paths of different users of the glasses App on the smart glasses side are independent of each other and cannot be operated in an intersecting manner.
  • the embodiment of the present application stores the recorded video data to the first target storage path of the first user.
  • the video recording instruction corresponds to a recording duration. Therefore, when the length of the recorded video reaches the recording duration, the smart glasses side stops the recording of the video, and then step 103 is performed.
  • the present application when storing the video data recorded by the first user, stores the video data to the storage path of the smart glasses on the smart glasses side, so that the login and the smart glasses are paired.
  • the video data recorded by different users of the terminal application can be stored independently of each other on the smart glasses side.
  • Each user can only manage the video data captured by himself, and cannot view the video data captured by other users, thereby realizing the smart glasses side.
  • the access authority control of the video data captured by different users of the paired mobile terminal application avoids the problem of user privacy leakage.
  • the embodiment of the present application can separately store and store the recorded video according to different users of the login glasses App, so that each user of the glasses APP can only manage the video recorded by himself and the captured picture.
  • the method according to the embodiment of the present application may further include:
  • the mobile terminal (for example, a mobile phone) side is installed with a glasses App (ie, a mobile terminal application) used in conjunction with the smart glasses, and the glasses App may generate a two-dimensional code for pairing with the smart glasses (where the two The dimension code includes the user ID of the glasses app, and the mobile terminal side needs to turn on the Bluetooth, so that the Bluetooth address is sent to the smart glasses to realize the Bluetooth connection between the mobile terminal and the smart glasses; and the user needs to wear the smart glasses and look at the mobile phone.
  • a glasses App ie, a mobile terminal application
  • the glasses App may generate a two-dimensional code for pairing with the smart glasses (where the two The dimension code includes the user ID of the glasses app, and the mobile terminal side needs to turn on the Bluetooth, so that the Bluetooth address is sent to the smart glasses to realize the Bluetooth connection between the mobile terminal and the smart glasses; and the user needs to wear the smart glasses and look at the mobile phone.
  • the two-dimensional code so that the smart glasses side scans the two-dimensional code to send a pairing instruction (which may include the ID of the smart glasses), and the mobile terminal side can associate the smart glasses with the smart glasses according to the ID
  • the mobile terminal application (for example, the user ID registered to the glasses App) is paired, and if the pairing is successful, the mobile terminal and the smart glasses can be communicatively connected.
  • the so-called pairing is successful. If the user ID is pre-registered with the right to use the glasses device of the smart glasses ID, the pairing can be successful, otherwise it fails.
  • the mobile terminal side can save the ID of the glasses device pre-registered by the user ID, and when matching, the received ID from the current smart glasses can be matched with the saved glasses device ID, if consistent , the pairing is successful, otherwise, the pairing fails.
  • the mobile terminal may send the ID of the first user to the smart glasses.
  • step 103 when step 103 is performed, the following manner can be implemented:
  • the smart glasses and the glasses App registered by the first user are successfully paired, it is indicated that the smart glasses side has previously allocated the first target storage path to the first user.
  • the storage path of the video data for storing the user on the smart glasses side is respectively allocated according to the user ID of the glasses App, that is, the storage paths may be associated with the corresponding user ID, and therefore, according to the first user,
  • the ID is configured to determine a first target storage path corresponding to the ID of the first user, so as to store the video data recorded by the first user to the first target storage path.
  • the solution of the embodiment shown in FIG. 1 of the present application is that the user who has registered the glasses App in advance by the first user by default, that is, the smart glasses side has previously allocated the first user for its storage.
  • the storage path of the video data is not limited to, the user who has registered the glasses App in advance by the first user by default, that is, the smart glasses side has previously allocated the first user for its storage.
  • the storage path of the video data is not limited to, the user who has registered the glasses App in advance by the first user by default, that is, the smart glasses side has previously allocated the first user for its storage.
  • the smart glasses side can also send an instruction indicating that the video data recording is completed to the mobile terminal side, and after the mobile terminal receives the instruction, the glasses app of the mobile terminal side can send the video to the smart glasses.
  • the synchronization command is used to synchronize the video data recorded on the smart glasses side to the glasses App on the mobile terminal side, thereby facilitating sharing by the user.
  • the method according to the embodiment of the present application may further include:
  • the present application does not specifically limit the timing of receiving different instructions of the video.
  • the video recording is performed by the first user who logs in to the glasses App after the video recording in the above embodiment is completed, the video may be directly searched in the first target storage path corresponding to the first user.
  • the first target video data to be synchronized.
  • the video data to be synchronized is searched for in the target storage path corresponding to the user ID of the new glasses App.
  • the video synchronization instruction carries the attribute information such as the ID of the target video data to be synchronized, so that the smart glasses side can perform video search, and multiple video data may be recorded under the same user ID. Therefore, the smart glasses can be based on the The video synchronization instruction looks up the first target video data that the user needs to synchronize in the video data (including one or more video data) of the first target storage path.
  • the first target video data is synchronized to the mobile terminal application that the first user logs in (ie, the glasses App side that is currently registered with the first user ID that is paired with the smart glasses).
  • the present application searches for the first point pointed to by the video synchronization instruction only in the target storage path corresponding to the mobile terminal application that is paired with the smart glasses when receiving the video synchronization instruction.
  • a target video data enables the mobile terminal user to synchronize only the video data captured by the user, and cannot view the video data captured by other users, thereby avoiding the problem of user privacy leakage when using the smart glasses to perform video transmission with the mobile terminal.
  • the method according to the embodiment of the present application may further include:
  • the second target video data is deleted.
  • the user can only delete the videos recorded by the smart glasses, and cannot perform any operations on the videos recorded by other users. .
  • the present application can classify and store the recorded video data according to the user ID of the login mobile terminal application, so that even if the smart glasses are lost, there is no problem of video data privacy leakage; moreover, the smart glasses are lost.
  • the user can also control the smart glasses through the glasses APP of the mobile terminal, thereby clearing the data corresponding to the user ID stored in the smart glasses, and ensuring data security.
  • the method according to the embodiment of the present application may further include:
  • the smart glasses do not generate a storage path for the second user, storing the video data recorded by the second user to a third target storage path, where the third target storage path is the third of the smart glasses A path generated by the user for storing the video data recorded by the third user, wherein the third user is the user who last logged into the mobile terminal application that can be paired with the smart glasses.
  • the embodiment of the present application continues to perform video recording. However, when searching for the storage path corresponding to the second user, the search fails. In this case, the method of the embodiment of the present application stores the video data recorded by the second user to the glasses app that is last paired with the smart glasses. The storage path corresponding to the logged in user.
  • the user can also use the smart glasses for video recording, so that when an emergency situation requires video recording, the surrounding non-registered users (such as onlookers) can use the smart glasses for the current Recording in an emergency situation, to prevent the registered user from being able to perform video recording for personal reasons, resulting in the video not being recorded.
  • the surrounding non-registered users such as onlookers
  • the smart glasses of the embodiment can be controlled by touch control or by a button, and the smart glasses applying the above-mentioned storage method of the video data can include a frame and a temple, and the frame can be arranged by a foldable hinge structure between the temples and the frame. Rotatingly pivoted together within a fixed range.
  • An accommodating space is disposed in the temple or the frame of the glasses, wherein a printed circuit board (PCB) is disposed, and the chip is provided with a chip and a memory (including but not limited to double rate synchronous dynamic random access memory (DDR), Flash (FLASH) and MultiMedia Card (EMMC), communication modules (including but not limited to Bluetooth and/or WiFi), power components (including but not limited to batteries, charging interfaces, devices that calculate power (eg Coulomb) ()), video signal acquisition components (such as one or two cameras), audio signal acquisition components (such as one or two microphones), temperature sensors (used to measure the operating temperature of the PCB), one or two RGB LED lights (One of the RGB LEDs is placed on the outward facing side of the frame, and the other RGB LED is placed on the inside of the frame or temple near the user's left or right eye, within the wearer's visual range).
  • PCB printed circuit board
  • the chip is provided with a chip and a memory (including but not limited to double rate synchronous dynamic random access memory (DDR), Flash
  • two chips can be disposed on the PCB, one chip is used as the main control chip, and is in a sleep state in a normal state to reduce power consumption; the other chip is responsible for external interaction, and can be Bluetooth low power. Consumption (BLE) chip.
  • BLE Bluetooth low power. Consumption
  • the BLE chip is based on the 2.4 GHz ISM (Industrial Scientific Medical Band) frequency band and wirelessly communicates with the glasses APP on the mobile device.
  • the BLE chip has two peripheral device interfaces, namely a bidirectional two-wire synchronous serial bus (I 2 C) and a universal asynchronous transceiver transmitter (UART); wherein, the I 2 C external LED lamp, coulomb counter, temperature sensor;
  • the UART is connected to the main control chip. Normally, only the BLE chip is working, and the BLE chip is transmitting a broadcast packet in the working state, and is sent once every 1 second, so that the glasses APP can scan and connect to the smart glasses.
  • the BLE chip performs a write data operation on the register of the LED chip through I 2 C to control the LED lamp, and the write data command includes: an I 2 C bus address, a register address of the LED chip, and a value of a register of the LED chip, without a read operation;
  • the writeable data information of the LED includes: three color values of red, green, and blue, brightness and extinction, brightness, and the like.
  • the BLE chip controls the coulomb timing and can read data from the registers of the coulomb chip through the I 2 C bus.
  • the read data commands include: I 2 C bus address, address of the coulomb chip register, and value of the coulomb chip register.
  • Write operation wherein the readable data information of the coulomb counter includes battery power and voltage.
  • the BLE chip can read and write data to the register of the charging IC chip through the I 2 C bus.
  • the read and write commands include: I 2 C bus address, address of the charging IC register, and value of the charging IC register, data Including: charging status, charging current, charging current / voltage threshold and other related parameters.
  • the main control chip is mainly responsible for the shooting and storage of video and photos, and data transmission through Bluetooth and WIFI.
  • the BLE chip also maintains a heartbeat packet with the master chip through the UART to ensure that the master chip is always in the correct working state during power-on.
  • the main control chip sends a heartbeat packet to the BLE chip every 5 seconds. If the BLE does not receive the heartbeat packet from the main control chip for more than 3 consecutive times, the BLE will automatically power off the main control chip.
  • the BLE chip itself relies on the Watchdog Timer (WDT) to monitor whether the BLE system itself is working properly.
  • WDT Watchdog Timer
  • the WDT is an integral part of the microcontroller. It is actually a counter, generally giving the watchdog a number.
  • the WDT starts counting down after the program starts running. If the program is running normally, the CPU should issue an instruction to reset the WDT and restart the countdown. If the WDT is reduced to 0, the program is considered to be not working properly, forcing the entire system to reset. As long as the battery of the device has remaining power, the BLE chip always keeps working. If the BLE chip is not working properly, the whole system is equal. Therefore, in order to ensure the abnormal phenomenon of program running in unpredictable situations, this application implements For example, use WDT to monitor software working status.
  • event commands that the BLE chip can generate and transmit to the main control chip include: click, double click, long press for 1 second, long press for 7 seconds, and long press for 30 seconds.
  • event commands herein are merely illustrative examples and are not intended to be limited to the present application.
  • the main working states include: whether it is recording, whether it is being broadcast live, whether WIFI/Bluetooth is Work, OTA upgrade, disk storage space change, etc.
  • the BLE chip controls the power-on universal input/output (GPIO) interface to power on the main control chip, and the main control chip starts to record after starting;
  • GPIO universal input/output
  • the main control chip After the recording is completed, the main control chip sends the recorded information to the BLE chip through the UART, and the BLE chip notifies the glasses APP in time, and then the glasses APP can send corresponding instructions to the BLE chip to open the Bluetooth or WIFI function of the main control chip, and the BLE chip receives After the instruction, the instruction is transmitted to the main control chip through the UART.
  • the main control chip turns on the Bluetooth or WIFI, the BLE chip is notified by the UART to complete the opening, and finally the BLE chip will be notified of the completion of the opening to the APP;
  • the glasses APP After receiving the Bluetooth or WIFI notification, the glasses APP can bypass the BLE chip and communicate directly with the main control chip via Bluetooth/WIFI.
  • the glasses APP can read low-definition video data from the main control chip through Bluetooth, and write the OTA upgrade file of the main control chip; the HD video data can be read from the main control chip through the WIFI;
  • the glasses APP After the video data is read, the glasses APP sends an instruction to the BLE chip to turn off the Bluetooth or WIFI, and the BLE chip forwards the instruction to the main control chip, and the main control chip will uninstall the Bluetooth/WIFI service and driver, and give the Bluetooth/WIFI chip. Electricity.
  • the main control chip will start the sensor of the camera, take the original video stream, and convert the original video stream into H264 format and write it into the memory through the hardware encoder.
  • the memory will be Video data is written to the memory and the sensor of the camera is turned off;
  • the upper limit of the cache of the high-definition video is 12M, and the upper limit of the cache of the low-definition video is 2M. That is to say, in the video recording process, the recorded video data is first written into the memory for buffering. When the written video data exceeds the corresponding upper limit of the cache, the embodiment of the present application can write the video data buffered in the memory at one time. The FLASH memory is inserted, and then the video data buffered in the memory is cleared; and the subsequent videos that continue to be recorded can continue to be written into the memory buffer from the beginning. In this way, on the one hand, the number of times of writing FLASH is reduced to improve the service life of FLASH; on the other hand, the power consumption of writing memory is lower than that of writing FLASH, which saves power.
  • the main control chip receives the live broadcast command sent by the BLE chip during the recording process, it will promptly notify the Real Time Streaming Protocol (RTSP) service program that the available frame data arrives, and send the memory address of the video data to the RTSP service program.
  • the RTSP service program reads the video data at the specified memory address, it is further sent to the RTSP client of the glasses APP of the mobile terminal.
  • the newly recorded video data is necessarily cached in the memory, the currently recorded video data can be directly read from the memory, and the video is broadcasted live, thereby realizing uninterrupted video live broadcast and reducing time delay.
  • the user can record and take photos on different keys on the smart glasses side.
  • button A is used to control the photo taken
  • button B is used to capture the video
  • the length of the recorded video can be determined by the number of intermittent presses.
  • the BLE chip responds to the interrupt, and powers up the main control chip (in the idle state, the main control chip is in the power-off state, that is, the sleep state, to reduce power consumption), and The interrupt signal is transmitted to the master chip.
  • the main control chip can recognize the interrupt signal after being powered on, and the main control chip judges by using an interrupt signal attribute pre-existing in the memory (ie, the type of operation expressed by each interrupt signal), and then the user determines that the user wants to shoot for a predetermined period of time. (for example, 11 seconds) video.
  • an interrupt signal attribute pre-existing in the memory ie, the type of operation expressed by each interrupt signal
  • the main control chip starts the camera to turn on the video recording. If the user does not perform any operation during the recording of the video, the main control chip controls the camera to terminate the shooting after the countdown ends.
  • the method of the embodiment of the present application can continuously store the video data buffered in the memory into the FLASH memory and give each video file according to the memory cache mechanism of the present application. Named according to the predetermined rules.
  • the main control chip After the video recording is completed, the main control chip will not be powered off immediately, and will continue to power up for a period of time, waiting for the user to trigger the command again, but if the user does not sense the trigger command within a certain period of time, it will be Electricity to avoid power consumption caused by frequent power-up and power-down.
  • the main control chip can adjust the camera parameters to control the resolution of the video recorded by the smart glasses or the photos taken.
  • the user can query the current presence of the smart glasses through the glasses APP.
  • the number of low-definition video files and the description file generated by a certain video file during the recording process thereby obtaining description information such as file name, size, date, resolution, picture, etc. of the video file; and then reading according to the description information
  • Corresponding low-definition video or picture file wherein the number of single-read bytes does not exceed 40,960 bytes; then the glasses APP can send instructions to the smart glasses to delete the read file data to improve the utilization of the storage space of the smart glasses.
  • the glasses APP can send the Bluetooth control command to the BLE chip through Bluetooth in time.
  • the embodiment of the present application can set the time for delaying the Bluetooth to be turned off, in consideration of the video behavior that the user may follow immediately. For example, when the system does not have an associated Bluetooth operation within 90 seconds, the Bluetooth module of the smart glasses is automatically turned off to save power.
  • the trigger is interrupted
  • the BLE chip responds to the interrupt
  • the interrupt signal is transmitted to the main control chip
  • the main control chip controls the camera to extend the shooting for 11 seconds, wherein the button B is pressed once.
  • the corresponding shooting time is 11 seconds. Therefore, if you click the button B again, the camera will delay shooting for 11 seconds. If you press the button B again, the additional shooting time will continue until the maximum time for setting a single shot is reached.
  • the main control chip can intercept the key frames in the video stream each time the video recording is started and the video recording is ended (I Frame). Data, and two key frame data are subjected to sampling processing to reduce image pixels to form thumbnails, and stored in the main control chip in association with the video; when the user performs video synchronization with the mobile terminal through Bluetooth or WIFI, the mobile terminal The two-frame thumbnail corresponding to the video may be received first, thereby providing the user with an experience of quickly previewing the video in the video transmission interface of the glasses APP of the mobile terminal.
  • all the video thumbnail files can be quickly read and previewed at one time, so that the user can select whether to further read the video. If it is not the data desired by the user, the user can choose to delete directly without performing the video data. Video reading.
  • the button B can be used to control video shooting
  • the button A can be used to control photo shooting.
  • the photo taken by the button A has higher definition, such as 4K image, when the smart glasses wearer
  • the BLE chip responds to the interrupt and transmits the interrupt signal to the master chip.
  • the main control chip is in the power-down sleep state at this time, the BLE chip first sends a power-on command to the main control chip to be powered on, then the main control chip starts, and the main control chip recognizes the interrupt signal as a photographing instruction, and then controls The camera captures a 4K image and, finally, the image is also stored in memory.
  • the ID of the smart glasses is generated and stored in a memory (for example, FLASH) for identifying the smart glasses, and the ID will always exist unless the FLASH is erased.
  • a memory for example, FLASH
  • the smart glasses only allow the user ID of one glasses APP to log in at the same time (ie, the communication connection), and all the video data generated by the system, the user configuration, etc., and the registered glasses only after the glasses APP is logged in until the other glasses APP is logged in.
  • the APP account is related to other accounts that are not logged in to protect the privacy of the user. Even if the device is lost, the video data will not be leaked.
  • the APP can be controlled by the APP to clear the memory of the glasses. The data corresponding to the ID.
  • the coulomb counter can periodically detect the remaining battery power of the smart glasses.
  • the power of the main control chip is controlled to ensure the safe operation of the smart glasses.
  • the smart glasses can also set only one button A, and the main control chip can distinguish the operation of taking a photo or recording a video by different pressing manners of the button A, for example, double-clicking the button A, and continuously interrupting twice.
  • the main control chip recognizes that the operation is a photographing instruction, and the main control chip captures a high-definition picture through the camera.
  • the smart glasses are provided with a plurality of LED lights, the LED flashing effects and color changes can be coordinated with the keys to avoid user misoperation.
  • the electrical state When the system power is lower than 8%, and the device is in the battery power state, the recording behavior will be ignored and the LED status will be changed to prompt the user.
  • the temperature sensor detects the overheated state: when the system temperature exceeds 60 degrees, the recording behavior will be ignored and the LED status will be changed to prompt the user.
  • FIG. 2 a block diagram of a structure of a storage device for video data according to the present application is shown, which is applied to smart glasses, and may specifically include the following modules:
  • the first receiving module 21 is configured to receive a video recording instruction of the first user.
  • the first recording module 22 is configured to record video data according to the video recording instruction
  • a first storage module 23 configured to store the video data to a first target storage path, where the first target storage path is after the first user logs in to a mobile terminal application that can be paired with the smart glasses.
  • the smart glasses are paths generated by the first user for storing video data recorded by the first user.
  • the device may further include:
  • a sending module configured to send a pairing instruction to the mobile terminal application
  • a second receiving module configured to receive the identifier information of the first user if the smart glasses are successfully paired with the mobile terminal application
  • the first storage module 23 includes:
  • Determining a sub-module configured to determine, according to the identifier information of the first user, a first target storage path corresponding to the first user;
  • a storage submodule for storing the video data to a first target storage path.
  • the device may further include:
  • a third receiving module configured to receive a video synchronization instruction sent by the mobile terminal application
  • a first searching module configured to search, in the first target storage path, the first target video data to be synchronized according to the video synchronization instruction
  • a synchronization module configured to synchronize the first target video data to the mobile terminal application that is logged in by the first user.
  • the device may further include:
  • a fourth receiving module configured to receive a video deletion instruction sent by the mobile terminal application
  • a second searching module configured to search, in the first target storage path, the second target video data to be deleted according to the video deletion instruction
  • And deleting a module configured to delete the second target video data.
  • the device may further include:
  • a fifth receiving module configured to receive a video recording instruction of the second user
  • a second recording module configured to record video data according to the video recording instruction of the second user
  • a second storage module configured to store video data recorded by the second user to a third target storage path if the smart glasses does not generate a storage path for the second user, where the third target storage path is
  • the smart glasses are paths generated by a third user for storing video data recorded by the third user, wherein the third user is the last time logged in to a mobile terminal application that can be paired with the smart glasses. user.
  • FIG. 3 a block diagram of a smart glasses embodiment of the present application is shown, which may specifically include:
  • the processor 32 is configured to receive a video recording instruction triggered by the first user pressing the first button 34, and control the camera 33 to record video data according to the video recording instruction, and the video is recorded Data is sent to the memory 31;
  • the memory 31 is configured to store the video data to a first target storage path, where the first target storage path is after the first user logs in to a mobile terminal application that can be paired with the smart glasses.
  • the smart glasses are generated by the first user to be configured to store a path of video data recorded by the first user.
  • the smart glasses according to the embodiments of the present application may further include:
  • the transmitter is configured to send a pairing instruction to the mobile terminal application
  • the receiver is configured to receive the identification information of the first user and send the identification information of the first user to the processor when the smart glasses are successfully paired with the mobile terminal application 32;
  • the processor 32 is configured to determine, according to the identification information of the first user, a first target storage path corresponding to the first user, and control the memory 31 to store the video data to the first Target storage path.
  • the receiver is configured to receive a video synchronization instruction sent by the mobile terminal application and send it to the processor 32;
  • the processor 32 is configured to search for the first target video data to be synchronized in the first target storage path of the memory 31 according to the video synchronization instruction, and send the first target video data to the transmitter;
  • the transmitter is configured to synchronize the first target video data to a mobile terminal application that is logged in by the first user.
  • the receiver is configured to receive a video deletion instruction sent by the mobile terminal application and send it to the processor 32;
  • the processor 32 is configured to search for the second target video data to be deleted in the first target storage path of the memory 31 according to the video deletion instruction, and to perform the foregoing in the memory 31 The second target video data is deleted.
  • the processor 32 is configured to receive a video recording instruction triggered by the second user pressing the first button 34, and control the camera 33 to record video data according to the video recording instruction of the second user, and And determining, in the case that the smart glasses do not generate a storage path for the second user, storing the video data recorded by the second user to a third target storage path of the memory 31, wherein the third target
  • the storage path is a path generated by the smart glasses for the third user to store the video data recorded by the third user, where the third user is the last time to log in to the mobile terminal that can be paired with the smart glasses.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.

Abstract

本申请提供了一种视频数据的存储方法和装置,应用于智能眼镜,该方法包括:接收第一用户的视频录制指令;根据视频录制指令,录制视频数据;将视频数据存储至第一目标存储路径,第一目标存储路径为第一用户登录到可与智能眼镜配对的移动终端应用程序后,智能眼镜为第一用户生成的用于存储第一用户录制的视频数据的路径。本申请通过将视频数据存储至智能眼镜侧针对第一用户的存储路径,使得登录与智能眼镜配对的移动终端应用程序的不同用户所录制的视频数据能够在智能眼镜侧相互独立的存储,每个用户只能管理自己所拍摄的视频数据,从而实现了智能眼镜侧对配对移动终端应用程序的不同用户所拍摄的视频数据的访问权限控制,避免了用户隐私泄露。

Description

一种视频数据的存储方法、装置和智能眼镜
交互参考
本申请要求以下优先权:2017年08月17日提出的申请号:201710708978.7,名称:“一种视频数据的存储方法、装置和智能眼镜”的中国专利,本申请参考引用了如上所述申请的全部内容。
技术领域
本申请涉及视频传输技术领域,特别是涉及一种视频数据的存储方法、装置和智能眼镜。
背景技术
随着科技发展,用户越来越多地希望能够通过电子设备记录生活中发生的事件,传统技术中,用户通过手机或者相机进行拍摄,但是该些传统的电子设备(例如相机、平板电脑、手机等)体积较大,并且在使用时需要较长的反应时间,而需要记录的事件的持续时间往往很短。例如在使用相机时,用户需要先开机,再对焦,最后进行拍摄等动作,而一系列的动作完成后,需要记录的事件已经结束,这给用户带来较差的事件记录体验。
因此,相关技术中,开始在日常佩戴的眼镜设备中加入摄像功能组件,以实现对眼睛所看到的内容和事件进行随时记录的功能;此外,用户为了实现对眼镜设备记录的视频进行分享,还需要将眼镜设备记录的视频传输到移动终端侧,从而利用移动终端来对拍摄的视频进行分享。
而在实际应用中,往往用户会将眼镜设备借给其他用户使用,使得同一个眼镜设备记录了多个用户的视频文件,那么当某个用户在查看该眼镜设备中的视频文件时,就会存在查看其他用户的视频文件而造成用户隐私泄露的问题。
因此,现有技术中使用智能眼镜与移动终端进行视频传输时,普遍存在着用户隐私泄露的问题。
发明内容
本申请提供了一种视频数据的存储方法、装置和智能眼镜,以解决现有技术中使 用智能眼镜与移动终端进行视频传输时,所存在的用户隐私泄露的问题。
为了解决上述问题,根据本申请的第一方面,本申请公开了一种视频数据的存储方法,应用于智能眼镜,包括:
接收第一用户的视频录制指令;
根据所述视频录制指令,录制视频数据;
将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
根据本申请的第二方面,本申请还公开了一种视频数据的存储装置,应用于智能眼镜,包括:
第一接收模块,用于接收第一用户的视频录制指令;
第一录制模块,用于根据所述视频录制指令,录制视频数据;
第一存储模块,用于将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
根据本申请的第三方面,本申请还公开了一种智能眼镜,包括:存储器、处理器、摄像头、第一按键;
所述处理器,被配置为接收由第一用户按压所述第一按键而触发的视频录制指令,并根据所述视频录制指令,控制所述摄像头录制视频数据,并将所述视频数据发送至所述存储器;
所述存储器,被配置为将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
根据本申请的第四方面,本申请还公开了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的视频数据的存储方法。
与现有技术相比,本申请包括以下优点:
本申请通过对第一用户录制的视频数据进行存储时,将视频数据存储至智能眼镜侧针对第一用户的存储路径,使得登录与智能眼镜配对的移动终端应用程序的不同用 户所录制的视频数据能够在智能眼镜侧相互独立的存储,每个用户只能管理自己所拍摄的视频数据,而无法查看其他用户拍摄的视频数据,从而实现了智能眼镜侧对配对移动终端应用程序的不同用户所拍摄的视频数据的访问权限控制,避免了用户隐私泄露的问题。
附图说明
图1是本申请的一种视频数据的存储方法实施例的步骤流程图;
图2是本申请的一种视频数据的存储装置实施例的结构框图;
图3时本申请的一种智能眼镜实施例的结构框图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
参照图1,示出了本申请的一种视频数据的存储方法实施例的步骤流程图,应用于智能眼镜,具体可以包括如下步骤:
步骤101,接收第一用户的视频录制指令;
其中,用户就可以通过点击智能眼镜上的某个按键来触发视频录制指令以进行视频录制。
步骤102,根据所述视频录制指令,录制视频数据;
其中,智能眼镜可以响应于该视频录制指令,开启智能眼镜的摄像头,来对佩戴该智能眼镜的第一用户视野内的场景进行视频录制,从而得到视频数据。
步骤103,将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
其中,移动终端侧安装有与智能眼镜配套使用的眼镜应用程序(App,application),该眼镜App可以由不同的用户注册登录,当第一用户登录至该眼镜App后,可以使得眼镜App与智能眼镜配对连接,当二者配对连接成功后,智能眼镜侧会对该第一用户分配专门用于存储其录制的视频数据的路径,即这里的第一目标存储路径。
这样,智能眼镜侧就可以为眼镜App的不同登录用户预先分配(即生成)不同的视频数据存储路径。其中,眼镜App的不同用户在智能眼镜侧的存储路径是相互独立 的,无法交叉操作。
这里,在录制该第一用户的视频数据后,本申请实施例会将录制的视频数据存储至该第一用户的第一目标存储路径。
在具体实现时,视频录制指令会对应一个录制时长,因此,在录制的视频的时间长度达到该录制时长时,则智能眼镜侧会停止视频的录制,从而执行步骤103。
借助于本申请上述实施例的技术方案,本申请通过对第一用户录制的视频数据进行存储时,将视频数据存储至智能眼镜侧针对第一用户的存储路径,使得登录与智能眼镜配对的移动终端应用程序的不同用户所录制的视频数据能够在智能眼镜侧相互独立的存储,每个用户只能管理自己所拍摄的视频数据,而无法查看其他用户拍摄的视频数据,从而实现了智能眼镜侧对配对移动终端应用程序的不同用户所拍摄的视频数据的访问权限控制,避免了用户隐私泄露的问题。
由于存在用户将智能眼镜分享给朋友使用的情况,造成同一个智能眼镜由眼镜APP的多个用户注册使用,那么不同用户拍摄的视频和图片都涉及隐私问题,因此,为了保证视频和图片的安全和隐私,本申请实施例可以对录制的视频按照登录眼镜App的用户不同而进行单独分类存储,从而使得眼镜APP的各个用户只能管理自己录制的视频和拍摄的图片。
在一种可能的实施方式中,在执行步骤101之前,根据本申请实施例的方法还可以包括:
发送配对指令至所述移动终端应用程序;
其中,移动终端(例如手机)侧安装有与所述智能眼镜配套使用的眼镜App(即移动终端应用程序),该眼镜App可以生成用于与智能眼镜配对连接的二维码(其中,该二维码包括登录该眼镜App的用户ID),并且,移动终端侧需要开启蓝牙,从而发送蓝牙地址给智能眼镜实现移动终端与智能眼镜的蓝牙连接;而用户则需要佩戴该智能眼镜并注视手机上的该二维码,从而实现智能眼镜侧对该二维码的扫描以发送配对指令(可以包括智能眼镜的ID),而移动终端侧就可以根据该智能眼镜的ID来将该智能眼镜与该移动终端应用程序(例如登录该眼镜App的用户ID)配对,如果配对成功,则移动终端与智能眼镜可以通信连接。所谓配对成功,如果该用户ID预先注册了对该智能眼镜ID的眼镜设备的使用权限,则可以配对成功,否则失败。
换句话说,移动终端侧可以保存该用户ID所预先注册过的眼镜设备的ID,而在匹 配时,就可以将接收到的来自当前智能眼镜的ID与保存的眼镜设备ID进行匹配,若一致,则配对成功,否则,配对失败。
若所述智能眼镜与所述移动终端应用程序配对成功,则接收所述第一用户的标识信息;
其中,如果该智能眼镜与该第一用户登录的眼镜App配对成功,则移动终端可以将该第一用户的ID发送至智能眼镜。
相应的,在执行步骤103时,可以通过以下方式来实现:
根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径;将所述视频数据存储至第一目标存储路径。
其中,由于智能眼镜和该第一用户登录的眼镜App配对成功,则说明智能眼镜侧已经预先为该第一用户分配了第一目标存储路径。而智能眼镜侧的用于存储用户的视频数据的存储路径是按照眼镜App的用户ID而分别分配的,即这些存储路径可以与对应的用户ID相关联,因此,这里可以根据该第一用户的ID来查找确定与该第一用户的ID对应的第一目标存储路径,从而将该第一用户录制的视频数据存储至该第一目标存储路径。
也就是说,本申请图1所示实施例的方案是默认发生在该第一用户是预先注册过该眼镜App的用户,即,智能眼镜侧预先已经对该第一用户分配了用于其存储视频数据的存储路径。。
此外,在视频录制完成后,智能眼镜侧还可以向移动终端侧发送表示视频数据录制完成的指令,那么在移动终端接收到该指令后,移动终端侧的眼镜App就可以向上述智能眼镜发送视频同步指令,来将智能眼镜侧录制的视频数据同步到移动终端侧的眼镜App,从而便于用户进行分享。
在一种可能的实施方式中,在步骤103之后,根据本申请实施例的方法还可以包括:
首先,接收所述移动终端应用程序发送的视频同步指令;
其中,可以视频录制结束后立即同步,也可以过一段时间再同步。
因此,本申请对于该视频不同指令的接收时机并不做具体限制。
然后,根据所述视频同步指令在所述第一目标存储路径中查找待同步的第一目标视频数据;
其中,如果上述实施例的视频录制结束后,由登录该眼镜App的第一用户进行视频同步,因此,这里在视频同步时,可以直接在第一用户对应的所述第一目标存储路径中查找待同步的第一目标视频数据。
另一方面,如果说当前与智能眼镜配对连接的用户为一个新的用户,则这里就是在该新的眼镜App的用户ID对应的目标存储路径中查找相应的待同步的视频数据。
其中,视频同步指令中会携带有待同步的目标视频数据的ID等属性信息,从而便于智能眼镜侧进行视频查找,而同一个用户ID下可能录制了多个视频数据,因此,智能眼镜可以根据该视频同步指令在第一目标存储路径的视频数据(包括一个或多个视频数据)中查找用户需要同步的第一目标视频数据。
最后,将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序(即当前与智能眼镜配对连接的第一用户ID登录的眼镜App侧)。
借助于本申请上述实施例的技术方案,本申请通过在接收到视频同步指令时,只在与智能眼镜配对连接的移动终端应用程序相对应的目标存储路径中查找该视频同步指令所指向的第一目标视频数据,使得移动终端用户只能同步自己所拍摄的视频数据,而无法查看其他用户拍摄的视频数据,从而在使用智能眼镜与移动终端进行视频传输时,避免用户隐私泄露的问题。
在一种可能的实施方式中,在步骤103之后,根据本申请实施例的方法还可以包括:
接收所述移动终端应用程序发送的视频删除指令;
根据所述视频删除指令在所述第一目标存储路径中查找待删除的第二目标视频数据;
将所述第二目标视频数据删除。
参照上述实施例,由于智能眼镜侧录制的视频都按照眼镜APP的用户ID进行分别存储的,因此,这里用户只能删除智能眼镜中自己录制的视频,而无法对其他用户录制的视频进行任何操作。
本申请通过对录制的视频数据按照登录移动终端应用程序的用户ID进行分类存储的方式,能够使得即便发生智能眼镜丢失的情况,也不会存在视频数据隐私泄露的问题;而且,在智能眼镜丢失后,用户还可以通过移动终端的眼镜APP来对智能眼镜进行控制,从而清除智能眼镜中存储的对应该用户ID的数据,保证数据安全。
在一种可能的实施方式中,根据本申请实施例的方法还可以包括:
接收第二用户的视频录制指令;
根据所述第二用户的视频录制指令,录制视频数据;
若所述智能眼镜未对所述第二用户生成存储路径,则将所述第二用户录制的视频数据存储至第三目标存储路径,所述第三目标存储路径为所述智能眼镜为第三用户生成的用于存储所述第三用户录制的视频数据的路径,其中,所述第三用户为最近一次登录到可与所述智能眼镜配对的移动终端应用程序的用户。
也就是说,当佩戴智能眼镜的第二用户触发了智能眼镜上的视频录制按钮后,如果该第二用户未注册过与该智能眼镜配套的眼镜App,则本申请实施例仍旧继续进行视频录制,但是,在查找该第二用户对应的存储路径时,会查找失败,此时,本申请实施例的方法会将该第二用户录制的视频数据存储至最近一次与该智能眼镜配对的眼镜App所登录的用户所对应的存储路径中。这样,即便用户未注册过眼镜App,他们同样可以使用智能眼镜进行视频录制,使得当发生紧急情况而需要进行视频录制时,周围的非注册用户(例如围观群众)都可以使用该智能眼镜进行当前紧急情况的录制,避免注册用户因为个人原因无法进行视频录制的操作,而导致视频未录制。
为了更好的理解本申请实施例的上述技术方案,下面结合一具体实例来对本申请实施例的方法和智能眼镜进行详细阐述。
本实施例的智能眼镜可以通过触摸控制或者通过按键进行控制,应用上述视频数据的存储方法的智能眼镜,可以包括镜框和镜脚,镜脚与镜框之间可以通过可折叠的铰链结构可在设定幅度范围内转动地枢接在一起。
在眼镜的镜腿或者镜框内设置有容置空间,其中,容置有印刷电路板(PCB),该PCB上设置有芯片、存储器(包括但不限于双倍速率同步动态随机存储器(DDR)、闪存(FLASH)和多媒体卡(EMMC,Embedded Multi Media Card))、通信模块(包括但不限于蓝牙和/或WiFi)、电力组件(包括但不限于电池、充电接口、计算电量的器件(例如库仑计))、视频信号采集组件(例如一个或两个摄像头)、音频信号采集组件(例如一个或两个麦克风)、温度传感器(用于测量PCB的工作状态温度)、一个或两个RGB LED灯(其中一个RGB LED灯,设置于镜框上面向外部的一侧,另一个RGB LED灯设置在镜框或眼镜腿的内侧靠近用户左眼或右眼的位置,位于佩戴者的视觉范围内)。
在不同的实施例中,PCB板上还可以设置有两块芯片,一个芯片作为主控芯片,常规状态下处于休眠状态,以降低功耗;另一块芯片承担对外交互功能,可以是蓝牙低功耗(BLE)芯片。当然,在不考虑功耗的情况下,也可以不采用双控制芯片的方案。
其中,BLE芯片基于2.4GHz的ISM(Industrial Scientific Medical Band)频段与移动设备上的与该智能眼镜配套的眼镜APP进行无线通讯。其中,BLE芯片具有两种外围设备接口,分别是双向二线制同步串行总线(I 2C)和通用异步收发传输器(UART);其中,I 2C外接LED灯、库仑计、温度传感器;UART则外接主控芯片。通常情况下,只有BLE芯片在工作,工作状态时BLE芯片在发送广播包,1秒钟发送一次,以便眼镜APP可扫描并连接到智能眼镜。
其中,BLE芯片通过I 2C对LED芯片的寄存器进行写数据操作以控制LED灯,写数据命令包括:I 2C总线地址、LED芯片的寄存器地址和LED芯片的寄存器的值,无需读操作;其中,LED的可写数据信息包括:红、绿、蓝三种颜色值、亮和灭、亮度等。
BLE芯片在控制库仑计时,可以通过I 2C总线对库仑计芯片的寄存器进行读数据操作,读数据命令包括:I 2C总线地址、库仑计芯片寄存器的地址和库仑计芯片寄存器的值,无需写操作;其中,库仑计的可读数据信息包括电池电量和电压。
BLE芯片在控制充电IC时,可以通过I 2C总线对充电IC芯片的寄存器进行读写数据操作,读写命令包括:I 2C总线地址、充电IC寄存器的地址和充电IC寄存器的值,数据包括:充电状态、充电电流、充电电流/电压阀值等相关参数。
其中,主控芯片主要负责视频和照片的拍摄和存储、以及通过蓝牙、WIFI进行数据传输。
此外,BLE芯片还要与主控芯片之间通过UART维持心跳包,以确保主控芯片通电过程中,始终保持在正确工作状态。主控芯片每隔5秒钟发送一次心跳包给BLE芯片,如果BLE连续超过3次未收到来自主控芯片的心跳包,则BLE将自动给主控芯片进行下电复位操作。
而BLE芯片本身则依赖看门狗定时器(WDT,Watch Dog Timer)来监视BLE系统本身是否工作正常,WDT是单片机的一个组成部分,它实际上是一个计数器,一般给看门狗一个数字,程序开始运行后WDT开始倒计数。如果程序运行正常,过一段时 间CPU应发出指令让WDT复位,重新开始倒计数。如果WDT减到0就认为程序没有正常工作,强制整个系统复位。只要设备电池有剩余电量,BLE芯片就始终保持工作状态,如果BLE芯片工作不正常,整个系统就等于瘫痪了,因此,为了确保在不可预知的情况下出现程序跑飞的异常现象,本申请实施例使用WDT来监视软件工作状态。
其中,主控芯片处于这五种状态时,不允许下电,分别为:绑定、录像、直播、蓝牙/WIFI传输、空中下载技术(OTA,Over-The-Air Technology)升级。
其中,在使用该智能眼镜与眼镜APP交互时,大部分和眼镜APP交互的指令都是通过BLE芯片透传完成:也就是眼镜APP发送指令给BLE芯片,BLE芯片通过UART再转发给主控芯片,反之亦然。涉及透传的包括:更新系统时间、清除视频数据,固件升级、蓝牙配对、WIFI配网等等。
此外,BLE芯片可以产生并传输给主控芯片的事件命令包括:单击、双击、长按1秒、长按7秒和长按30秒。当然,这里的事件命令只是示意性举例并不用于限于本申请。
此外,在主控芯片本身的工作状态发生改变时,会及时通过UART传输BLE芯片,BLE芯片则会进一步通知给眼镜APP,主要的工作状态包括:是否正在录像、是否正在直播、WIFI/蓝牙是否正在工作、是否可以进行OTA升级、磁盘存储空间发生改变等。
在实际使用时,当用户点击移动终端的眼镜APP的录像按钮后,BLE芯片控制上电通用输入/输出(GPIO)接口来给主控芯片上电,主控芯片启动后开始录像;
录像完毕后,主控芯片通过UART将录像的信息发送给BLE芯片,BLE芯片及时通知到眼镜APP,之后眼镜APP可以发送相应指令给BLE芯片以打开主控芯片的蓝牙或WIFI功能,BLE芯片收到指令后将指令通过UART传输给主控芯片,主控芯片开启蓝牙或WIFI后又通过UART通知BLE芯片表示开启完毕,最后BLE芯片将开启完毕通知转发给APP;
眼镜APP收到蓝牙或WIFI开启完毕通知后,就可以绕过BLE芯片直接通过蓝牙/WIFI与主控芯片进行通讯了。
眼镜APP可通过蓝牙从主控芯片读取低清视频数据、对主控芯片的OTA升级文件进行写入;可通过WIFI从主控芯片读取高清视频数据;
在视频数据读取完毕后,眼镜APP发送指令给BLE芯片关闭蓝牙或者WIFI,BLE芯片将指令转发给主控芯片,主控芯片将卸载蓝牙/WIFI服务及驱动,并给将蓝牙/WIFI芯片下电。
其中,主控芯片在录像过程中,会先启动摄像头的传感器,拍摄原始视频流,并通过硬件编码器将原始视频流转化为H264格式并写入内存,当录像结束后,再将内存中的视频数据写入存储器并关闭摄像头的传感器;
其中,本申请针对录制的视频可以采用内存缓存机制,其中,高清视频的缓存上限为12M,低清视频的缓存上限为2M。也就是说,在视频录制过程中,录制的视频数据首先会写入内存进行缓存,当写入的视频数据超过相应的缓存上限时,本申请实施例可以将内存中缓存的视频数据一次性写入FLASH存储器,然后将内存中缓存的视频数据清空;而继续录制的后续视频则可继续从头写入内存缓存。这样,一方面减少写FLASH的次数,以提高FLASH使用寿命;另一方面写内存的功耗低于写FLASH的功耗,起到省电的目的。
那么如果主控芯片在录像过程中接收到BLE芯片发送的开通直播指令,则会及时通知实时流传输协议(RTSP)服务程序有可用帧数据到达,并将视频数据的内存地址发送给RTSP服务程序,RTSP服务程序在指定的内存地址读取到视频数据后,进一步发送给移动终端的眼镜APP的RTSP客户端。其中,由于最新录制的视频数据必然是缓存在内存中,因此,可以直接从内存中读取当前录制的视频数据,进行视频直播,从而实现不间断的视频直播,减少时间延迟。
在使用上述智能眼镜进行实际应用时,用户可以对智能眼镜侧的不同按键来进行录像和拍照。例如按键A用来控制拍照片,按键B用来拍摄视频,在按压按键B时可以通过间断按压次数,来确定录制视频的时间长度。
例如,当用户按压一次按键B之后,触发中断,BLE芯片响应中断,并给主控芯片上电(在空闲状态下,主控芯片处于下电状态,即休眠状态,以降低功耗),并将中断信号传输给主控芯片。
主控芯片上电后可以识别该中断信号,主控芯片通过预存在存储器中的中断信号定语(即每种中断信号表达的操作类型)进行判断,那么经过判断确定,用户想要拍摄一个预定时长(例如11秒)的视频。
之后主控芯片启动摄像头开启视频录制,如果在录制视频的过程中,用户没有进 行任何操作,则在倒计时结束后,主控芯片控制摄像头终止拍摄。而基于上述实施例所述的本申请的内存缓存机制,因此,在拍摄的过程中本申请实施例的方法可以将内存中缓存的视频数据持续地存储到FLASH存储器中,并给每个视频文件按照预定的规则命名。
在视频录制完成后,主控芯片并不会立即下电,还会持续一段时间的上电状态,等待用户再次触发指令,但是如果在一段时间内,没有感应到用户的触发指令,则会下电,从而避免频繁上电和掉电造成的功耗。
主控芯片可以通过调整摄像头参数,控制智能眼镜所录制的视频或者拍摄的照片的清晰度,当用户通过眼镜App将移动终端与智能眼镜通信连接之后,用户可以通过眼镜APP查询智能眼镜侧当前存在的低清视频文件个数以及某一个视频文件在录像过程中生成的描述文件,从而获取该视频文件的文件名称、大小、日期、分辨率、图片等描述信息;然后,根据描述信息来读取对应的低清视频或图片文件,其中,单次读取字节数不超过40960bytes;然后眼镜APP就可以发送指令给智能眼镜来删除已读取的文件数据以提升智能眼镜的存储空间的利用率;那么在所有数据读取完毕后,眼镜APP可以及时通过蓝牙向BLE芯片发送关闭蓝牙的控制命令。
其中,考虑到用户可能紧接着又持续性的录像行为,本申请实施例可以设定延迟关闭蓝牙的时间。例如当系统在90秒内没有相关的蓝牙操作,则将智能眼镜的蓝牙模块自动关闭以节省功耗。
如果在拍摄的过程中,用户再一次按压按键B,则触发中断,BLE芯片响应中断,并将中断信号传输给主控芯片,主控芯片控制摄像头延长拍摄11秒,其中,由于按压一次按键B对应的拍摄时长为11秒,因此,这里再次点击一次按键B则延迟拍摄11秒,若再次按压按键B,则继续追加拍摄时长,直至到达设置单次拍摄的最大时长。
为了便于用户快速通过蓝牙或者WIFI在移动终端(例如手机或者平板电脑)上预览录像信息,主控芯片可以在每次启动视频录制和结束视频录制时,分别截取视频流中的关键帧(I Frame)数据,并将两个关键帧数据进行抽点处理减少图像像素形成缩略图,并与该视频关联的方式存储在主控芯片;当用户通过蓝牙或者WIFI与移动终端进行视频同步时,移动终端可以先接收与该视频对应的两帧缩略图,从而提供给用户在移动终端的眼镜APP的视频传输界面中快速预览视频的体验。
此外,眼镜App读取视频数据时,可以一次性将所有视频缩略图文件快速读取并 预览,以方便用户选择是否要进一步读取视频,如果不是用户希望的数据,可以选择直接删除而不进行视频的读取。
如前面实施例所述,按键B可以用于控制视频拍摄,而按键A可以用于控制照片拍摄,通常的,通过按键A拍摄的照片具有更高清晰度,例如4K图像,当智能眼镜佩戴者按下智能眼镜的按键A时,BLE芯片响应中断,并将中断信号传输给主控芯片。类似的,如果此时主控芯片处于下电休眠状态,则BLE芯片先发送上电指令给主控芯片上电,之后主控芯片启动,主控芯片识别中断信号为拍照的指令,之后,控制摄像头拍摄4K图像,最后,该图像也被存储于存储器中。
在BLE芯片首次启动时,会生成智能眼镜的ID,并存储至存储器(例如FLASH)中,用于标识该智能眼镜,除非对FLASH进行擦除,该ID将一直存在。
此外,智能眼镜同一时间只允许一个眼镜APP的用户ID进行登录(即通信连接),在该眼镜APP登录后直到其它眼镜APP登录之前,系统产生的所有视频数据,用户配置等只和该登录眼镜APP账号相关,对于后续登录的其它账户不可见,用以保护用户隐私,即使设备丢失,也不至于导致视频数据泄露,该用户ID在登录时,能够通过APP控制,清除眼镜的存储器中与该ID对应的数据。
在其他的实施方式中,库仑计可以定时检测智能眼镜的电池剩余电量,当检测到电池剩余电量不高于设定阈值时,则控制主控芯片的上电,从而确保智能眼镜的安全工作,并且能够避免智能眼镜在拍摄过程中产生中断,影响用户的拍摄体验,并且避免因为电量被消耗过多导致降低电池使用寿命的问题。
在其他的实施方式中,智能眼镜还可以只设置一个按键A,通过按键A的不同按压方式来使得主控芯片来区分拍摄照片或者录制视频的操作,例如,双击按键A,两次连续中断,主控芯片识别该操作为拍照指令,则主控芯片通过摄像头拍摄一张高清图片。
此外,由于智能眼镜上设置有若干个LED灯,可以通过不同的LED灯光闪烁效果和颜色变化与按键协同,以避免用户的误操作。例如,电状态:当系统电量低于8%,且设备处于电池供电状态,将忽略录像行为并改变LED状态提示用户。
温度传感器检测过热状态:当系统温度超过60度,将忽略录像行为并改变LED状态提示用户。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作 组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作并不一定是本申请实施例所必须的。
与上述本申请实施例所提供的方法相对应,参照图2,示出了本申请一种视频数据的存储装置实施例的结构框图,应用于智能眼镜,具体可以包括如下模块:
第一接收模块21,用于接收第一用户的视频录制指令;
第一录制模块22,用于根据所述视频录制指令,录制视频数据;
第一存储模块23,用于将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
在一种可能的实施方式中,所述装置还可以包括:
发送模块,用于发送配对指令至所述移动终端应用程序;
第二接收模块,用于若所述智能眼镜与所述移动终端应用程序配对成功,则接收所述第一用户的标识信息;
所述第一存储模块23包括:
确定子模块,用于根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径;
存储子模块,用于将所述视频数据存储至第一目标存储路径。
在一种可能的实施方式中,所述装置还可以包括:
第三接收模块,用于接收所述移动终端应用程序发送的视频同步指令;
第一查找模块,用于根据所述视频同步指令在所述第一目标存储路径中查找待同步的第一目标视频数据;
同步模块,用于将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序。
在一种可能的实施方式中,所述装置还可以包括:
第四接收模块,用于接收所述移动终端应用程序发送的视频删除指令;
第二查找模块,用于根据所述视频删除指令在所述第一目标存储路径中查找待删除的第二目标视频数据;
删除模块,用于将所述第二目标视频数据删除。
在一种可能的实施方式中,所述装置还可以包括:
第五接收模块,用于接收第二用户的视频录制指令;
第二录制模块,用于根据所述第二用户的视频录制指令,录制视频数据;
第二存储模块,用于若所述智能眼镜未对所述第二用户生成存储路径,则将所述第二用户录制的视频数据存储至第三目标存储路径,所述第三目标存储路径为所述智能眼镜为第三用户生成的用于存储所述第三用户录制的视频数据的路径,其中,所述第三用户为最近一次登录到可与所述智能眼镜配对的移动终端应用程序的用户。
与上述本申请实施例所提供的存储装置相对应,参照图3,示出了本申请一种智能眼镜实施例的结构框图,具体可以包括:
存储器31、处理器32、摄像头33、第一按键34;
所述处理器32,被配置为接收由第一用户按压所述第一按键34而触发的视频录制指令,并根据所述视频录制指令,控制所述摄像头33录制视频数据,并将所述视频数据发送至所述存储器31;
所述存储器31,被配置为将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的被配置为存储所述第一用户录制的视频数据的路径。
在一种可能的实施方式中,根据本申请实施例的智能眼镜还可以包括:
发送器、接收器;
所述发送器,被配置为发送配对指令至所述移动终端应用程序;
所述接收器,被配置为在所述智能眼镜与所述移动终端应用程序配对成功时,接收所述第一用户的标识信息,并将所述第一用户的标识信息发送至所述处理器32;
所述处理器32,被配置为根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径,并控制所述存储器31将将所述视频数据存储至所述第一目标存储路径。
在一种可能的实施方式中,
所述接收器,被配置为接收所述移动终端应用程序发送的视频同步指令并发送至所述处理器32;
所述处理器32,被配置为根据所述视频同步指令在所述存储器31的所述第一目标存储路径中查找待同步的第一目标视频数据并发送至所述发送器;
所述发送器,被配置为将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序。
在一种可能的实施方式中,
所述接收器,被配置为接收所述移动终端应用程序发送的视频删除指令并发送至所述处理器32;
所述处理器32,被配置为根据所述视频删除指令在所述存储器31的所述第一目标存储路径中查找待删除的第二目标视频数据,并将所述存储器31中的所述第二目标视频数据删除。
在一种可能的实施方式中,
所述处理器32,被配置为接收由第二用户按压所述第一按键34而触发的视频录制指令,并根据所述第二用户的视频录制指令,控制所述摄像头33录制视频数据,并在判断所述智能眼镜未对所述第二用户生成存储路径的情况下,将所述第二用户录制的视频数据存储至所述存储器31的第三目标存储路径,其中,所述第三目标存储路径为所述智能眼镜为第三用户生成的用于存储所述第三用户录制的视频数据的路径,其中,所述第三用户为最近一次登录到可与所述智能眼镜配对的移动终端应用程序的用户。
对于装置、智能眼镜实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的可选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括可选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种视频数据的存储方法、一种视频数据的存储装置和一种智能眼镜,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (14)

  1. 一种视频数据的存储方法,应用于智能眼镜,其特征在于,包括:
    接收第一用户的视频录制指令;
    根据所述视频录制指令,录制视频数据;
    将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
  2. 根据权利要求1所述的方法,其特征在于,在所述接收第一用户的视频录制指令之前,所述方法还包括:
    发送配对指令至所述移动终端应用程序;
    若所述智能眼镜与所述移动终端应用程序配对成功,则接收所述第一用户的标识信息;
    所述将所述视频数据存储至第一目标存储路径,包括:
    根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径;
    将所述视频数据存储至第一目标存储路径。
  3. 根据权利要求1所述的方法,其特征在于,在所述将所述视频数据存储至第一目标存储路径之后,所述方法还包括:
    接收所述移动终端应用程序发送的视频同步指令;
    根据所述视频同步指令在所述第一目标存储路径中查找待同步的第一目标视频数据;
    将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序。
  4. 根据权利要求1所述的方法,其特征在于,在所述将所述视频数据存储至第一目标存储路径之后,所述方法还包括:
    接收所述移动终端应用程序发送的视频删除指令;
    根据所述视频删除指令在所述第一目标存储路径中查找待删除的第二目标视频数据;
    将所述第二目标视频数据删除。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收第二用户的视频录制指令;
    根据所述第二用户的视频录制指令,录制视频数据;
    若所述智能眼镜未对所述第二用户生成存储路径,则将所述第二用户录制的视频数据存储至第三目标存储路径,所述第三目标存储路径为所述智能眼镜为第三用户生成的用于存储所述第三用户录制的视频数据的路径,其中,所述第三用户为最近一次登录到可与所述智能眼镜配对的移动终端应用程序的用户。
  6. 一种视频数据的存储装置,应用于智能眼镜,其特征在于,包括:
    第一接收模块,用于接收第一用户的视频录制指令;
    第一录制模块,用于根据所述视频录制指令,录制视频数据;
    第一存储模块,用于将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    发送模块,用于发送配对指令至所述移动终端应用程序;
    第二接收模块,用于若所述智能眼镜与所述移动终端应用程序配对成功,则接收所述第一用户的标识信息;
    所述第一存储模块包括:
    确定子模块,用于根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径;
    存储子模块,用于将所述视频数据存储至第一目标存储路径。
  8. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第三接收模块,用于接收所述移动终端应用程序发送的视频同步指令;
    第一查找模块,用于根据所述视频同步指令在所述第一目标存储路径中查找待同步的第一目标视频数据;
    同步模块,用于将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序。
  9. 一种智能眼镜,其特征在于,包括:存储器、处理器、摄像头、第一按键;
    所述处理器,被配置为接收由第一用户按压所述第一按键而触发的视频录制指令,并根据所述视频录制指令,控制所述摄像头录制视频数据,并将所述视频数据发送至所述存储器;
    所述存储器,被配置为将所述视频数据存储至第一目标存储路径,所述第一目标存储路径为所述第一用户登录到可与所述智能眼镜配对的移动终端应用程序后,所述智能眼镜为所述第一用户生成的用于存储所述第一用户录制的视频数据的路径。
  10. 根据权利要求9所述的智能眼镜,其特征在于,所述智能眼镜还包括:
    发送器、接收器;
    所述发送器,被配置为发送配对指令至所述移动终端应用程序;
    所述接收器,被配置为在所述智能眼镜与所述移动终端应用程序配对成功时,接收所述第一用户的标识信息,并将所述第一用户的标识信息发送至所述处理器;
    所述处理器,被配置为根据所述第一用户的标识信息确定所述第一用户对应的第一目标存储路径,并控制所述存储器将将所述视频数据存储至所述第一目标存储路径。
  11. 根据权利要求9所述的智能眼镜,其特征在于,所述智能眼镜还包括:
    发送器、接收器;
    所述接收器,被配置为接收所述移动终端应用程序发送的视频同步指令并发送至所述处理器;
    所述处理器,被配置为根据所述视频同步指令在所述存储器的所述第一目标存储路径中查找待同步的第一目标视频数据并发送至所述发送器;
    所述发送器,被配置为将所述第一目标视频数据同步至所述第一用户登录的移动终端应用程序。
  12. 根据权利要求9所述的智能眼镜,其特征在于,所述智能眼镜还包括:
    发送器、接收器;
    所述接收器,被配置为接收所述移动终端应用程序发送的视频删除指令并发送至所述处理器;
    所述处理器,被配置为根据所述视频删除指令在所述存储器的所述第一目标存储路径中查找待删除的第二目标视频数据,并将所述存储器中的所述第二目标视频数据删除。
  13. 根据权利要求9所述的智能眼镜,其特征在于,所述智能眼镜还包括:
    发送器、接收器;
    所述处理器,被配置为接收由第二用户按压所述第一按键而触发的视频录制指令,并根据所述第二用户的视频录制指令,控制所述摄像头录制视频数据,并在判断所述 智能眼镜未对所述第二用户生成存储路径的情况下,将所述第二用户录制的视频数据存储至所述存储器的第三目标存储路径,其中,所述第三目标存储路径为所述智能眼镜为第三用户生成的用于存储所述第三用户录制的视频数据的路径,其中,所述第三用户为最近一次登录到可与所述智能眼镜配对的移动终端应用程序的用户。
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于:
    所述计算机程序被处理器执行时实现如权利要求1~5中任意一项所述的视频数据的存储方法。
PCT/CN2018/100830 2017-08-17 2018-08-16 一种视频数据的存储方法、装置和智能眼镜 WO2019034109A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710708978.7A CN107257508B (zh) 2017-08-17 2017-08-17 一种视频数据的存储方法、装置和智能眼镜
CN201710708978.7 2017-08-17

Publications (1)

Publication Number Publication Date
WO2019034109A1 true WO2019034109A1 (zh) 2019-02-21

Family

ID=60026872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100830 WO2019034109A1 (zh) 2017-08-17 2018-08-16 一种视频数据的存储方法、装置和智能眼镜

Country Status (2)

Country Link
CN (1) CN107257508B (zh)
WO (1) WO2019034109A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110320007A (zh) * 2019-06-21 2019-10-11 上海翊视皓瞳信息科技有限公司 智能视觉穿戴产品整体功能检测系统及方法
CN114979751A (zh) * 2022-04-29 2022-08-30 深圳法政信息技术有限公司 一种手机录屏采集证据系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257508B (zh) * 2017-08-17 2019-01-29 北京达佳互联信息技术有限公司 一种视频数据的存储方法、装置和智能眼镜
WO2019172671A1 (en) 2018-03-09 2019-09-12 Samsung Electronics Co., Ltd. Display device and control method thereof
KR102092915B1 (ko) * 2018-03-09 2020-03-24 삼성전자주식회사 디스플레이 장치의 제어 방법 및 그에 따른 디스플레이 장치
CN109640305B (zh) * 2018-12-27 2022-04-22 维沃移动通信有限公司 音视频采集方法、蓝牙设备和终端设备
CN112749414A (zh) * 2019-10-31 2021-05-04 七鑫易维(深圳)科技有限公司 数据的存储方法、装置、设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573541A (zh) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 终端多用户处理方法、装置及终端
US20160295038A1 (en) * 2004-01-30 2016-10-06 Ip Holdings, Inc. Image and Augmented Reality Based Networks Using Mobile Devices and Intelligent Electronic Glasses
CN206149378U (zh) * 2016-11-09 2017-05-03 广州艾库欧智能科技有限公司 一种移动终端外接眼镜型摄像机
US9659182B1 (en) * 2014-04-30 2017-05-23 Symantec Corporation Systems and methods for protecting data files
CN106709310A (zh) * 2017-01-17 2017-05-24 宇龙计算机通信科技(深圳)有限公司 一种虚拟现实系统界面登录方法及其装置
CN106980370A (zh) * 2017-03-14 2017-07-25 无锡云瞳信息科技有限公司 具有多交互的可穿戴智能眼镜
CN107257508A (zh) * 2017-08-17 2017-10-17 北京达佳互联信息技术有限公司 一种视频数据的存储方法、装置和智能眼镜

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917348A (zh) * 2012-10-30 2013-02-06 广东欧珀移动通信有限公司 一种多用户智能手机及其登录方法
CN104065951B (zh) * 2013-12-26 2016-12-07 北京金山网络科技有限公司 视频拍摄方法、视频播放方法及智能眼镜
CN105572869B (zh) * 2014-10-15 2018-06-15 成都理想境界科技有限公司 智能眼镜及智能眼镜控制方法
CN105160217A (zh) * 2015-07-28 2015-12-16 广东欧珀移动通信有限公司 一种智能手表的应用控制方法及智能手表
CN106324864A (zh) * 2016-11-23 2017-01-11 上海擎感智能科技有限公司 智能眼镜及其配置方法、配置装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160295038A1 (en) * 2004-01-30 2016-10-06 Ip Holdings, Inc. Image and Augmented Reality Based Networks Using Mobile Devices and Intelligent Electronic Glasses
CN104573541A (zh) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 终端多用户处理方法、装置及终端
US9659182B1 (en) * 2014-04-30 2017-05-23 Symantec Corporation Systems and methods for protecting data files
CN206149378U (zh) * 2016-11-09 2017-05-03 广州艾库欧智能科技有限公司 一种移动终端外接眼镜型摄像机
CN106709310A (zh) * 2017-01-17 2017-05-24 宇龙计算机通信科技(深圳)有限公司 一种虚拟现实系统界面登录方法及其装置
CN106980370A (zh) * 2017-03-14 2017-07-25 无锡云瞳信息科技有限公司 具有多交互的可穿戴智能眼镜
CN107257508A (zh) * 2017-08-17 2017-10-17 北京达佳互联信息技术有限公司 一种视频数据的存储方法、装置和智能眼镜

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110320007A (zh) * 2019-06-21 2019-10-11 上海翊视皓瞳信息科技有限公司 智能视觉穿戴产品整体功能检测系统及方法
CN114979751A (zh) * 2022-04-29 2022-08-30 深圳法政信息技术有限公司 一种手机录屏采集证据系统

Also Published As

Publication number Publication date
CN107257508A (zh) 2017-10-17
CN107257508B (zh) 2019-01-29

Similar Documents

Publication Publication Date Title
WO2019034109A1 (zh) 一种视频数据的存储方法、装置和智能眼镜
WO2019034108A1 (zh) 视频数据的存储、显示方法和装置以及智能眼镜
US20220342475A1 (en) Terminal control method and terminal
US10523839B2 (en) Context and content based automated image and media sharing
EP4224294A1 (en) Cross-device content sharing method, electronic device and system
CN108900850B (zh) 一种直播方法、装置和智能眼镜
WO2022257977A1 (zh) 电子设备的投屏方法和电子设备
US9124548B2 (en) Method for uploading media file, electronic device using the same, and non-transitory storage medium
US8634774B2 (en) Communication device and control method thereof
WO2021037227A1 (zh) 一种图像处理方法、电子设备及云服务器
JP5743579B2 (ja) 撮像装置、その制御方法、プログラム
WO2018113055A1 (zh) 一种摄像头控制方法及终端
US11304143B2 (en) Terminal device, network device, frame format configuration method, and system
EP4180944A1 (en) Screen mirroring abnormality processing method and electronic device
WO2019129101A1 (zh) 拍摄方法及移动电子终端
WO2019034107A1 (zh) 节电方法及智能眼镜
WO2017186156A1 (zh) 数据传输方法、数据传输装置以及行车记录仪
WO2022088926A1 (zh) 一种拍摄方法和终端设备
CN114691059A (zh) 一种投屏显示方法及电子设备
WO2024083133A1 (zh) 分布式数据管理方法、电子设备及系统
WO2016175664A2 (en) Video recording device, systems and method
WO2017212499A1 (en) Systems and methods for storage space management and high availability of digital media on mobile devices
US9052989B2 (en) Storage control apparatus and storage method therefor
JP2016115995A (ja) 撮像装置、撮像装置の制御方法、プログラム
CN117917630A (zh) 分布式数据管理方法、电子设备及系统

Legal Events

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

Ref document number: 18846694

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18846694

Country of ref document: EP

Kind code of ref document: A1