WO2014180433A1 - Simple data processing method and device - Google Patents

Simple data processing method and device Download PDF

Info

Publication number
WO2014180433A1
WO2014180433A1 PCT/CN2014/079540 CN2014079540W WO2014180433A1 WO 2014180433 A1 WO2014180433 A1 WO 2014180433A1 CN 2014079540 W CN2014079540 W CN 2014079540W WO 2014180433 A1 WO2014180433 A1 WO 2014180433A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
simple data
optical signal
terminal
transmitting
Prior art date
Application number
PCT/CN2014/079540
Other languages
French (fr)
Chinese (zh)
Inventor
马凯
胡易木
孙井群
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014180433A1 publication Critical patent/WO2014180433A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication

Definitions

  • the present invention relates to the field of communications, and in particular to a simple data processing method and apparatus.
  • BACKGROUND OF THE INVENTION In recent years, smart phones have developed rapidly, the popularity rate is getting higher and higher, and the functions are more and more powerful.
  • the mainstream smart phone hardware configuration includes a light sensor, a proximity sensor, a camera, and a light emitting diode (Light Emitting Diode). LED), charging indicator, gravity acceleration sensor and other devices, some high-end models have added geomagnetic sensors, acceleration sensors, Near Field Communication (FC) systems, fingerprint sensors and other devices.
  • LED Light Emitting Diode
  • FC Near Field Communication
  • the hardware of mobile phones is constantly increasing, and many applications are also designed for these devices, such as a program using the LED flash of a mobile phone camera as a flashlight.
  • the smartphone platform is now dominated by Android, Apple ISO, WindowsS, etc.
  • the short-distance transmission between mobile phones is mainly based on Bluetooth, Wireless Fidelity (WIFI), and the corresponding software is also Bluetooth, WIFI, NFC based development, but due to commercial competition and differences between platforms, direct file transfer between mobile phones is not very convenient, the transfer files are mainly for text files, pictures, packages, video files Such as the file, and the simple text and digital direct copy transmission between the two mobile phones, the current software and hardware mix is more complicated.
  • WIFI Wireless Fidelity
  • FC Fibre Channel
  • the transmission of FC is relatively simple, but both machines need to be supported on the hardware, and the security and software support is poor.
  • the user needs to copy the simple information such as the number and text information from the mobile phone A to the mobile phone B, it is necessary to operate the Bluetooth or WIFI or FC, and call the system software or special software to search and match the two mobile phones.
  • the mobile phone A calls the business card to be transferred or converts the alphanumeric characters into files for transmission.
  • the mobile phone B agrees and receives the file, opens the file after receiving, and calls the required information.
  • the above process is very complicated, especially for the transmission of simple information, such a complicated transmission is not as good as the user directly copying the information on another mobile phone.
  • a simple data processing method comprising: acquiring simple data displayed on a current screen, wherein the simple data is data whose data information amount is smaller than an information amount threshold; The data is converted into data encoding, and the data is encoded into an optical signal; the optical signal is transmitted to the opposite terminal.
  • the data encoding comprises a Morse code.
  • transmitting the optical signal to the opposite terminal comprises transmitting the optical signal to the opposite terminal by using a flash or a charging indicator of the mobile terminal.
  • a light-off state of the flash or the charging indicator light corresponds to a stroke point of the Morse code, and a flashing time length of the flash or the charging indicator light and the Morse code The length corresponds.
  • the method before the transmitting the optical signal to the opposite terminal, the method further includes: detecting that the opposite terminal is within a distance threshold.
  • the simple data includes a phone book, a call log, a short message, a notepad, or text data of an application displayed on the current screen.
  • a simple data processing method including: receiving an optical signal transmitted by a peer terminal, where the optical signal carries simple data, wherein the simple data is that the amount of data information is less than Data amount threshold data; converting the optical signal into data encoding, and converting the data encoding into the simple data.
  • a simple data processing apparatus including an obtaining module, configured to acquire simple data displayed on a current screen, wherein the simple data is data whose data information amount is smaller than an information amount threshold; And a module configured to convert the simple data into a data encoding and convert the data encoding into an optical signal; and the transmitting module is configured to transmit the optical signal to the opposite terminal.
  • the device further comprises a proximity sensing device configured to detect whether the peer terminal is within a distance threshold.
  • a simple data processing device comprising: a receiving module, configured to receive an optical signal transmitted by a peer terminal, wherein the optical signal carries simple data, wherein the simple The data is data in which the amount of data information is less than the threshold of the amount of information; the processing module is configured to convert the optical signal into a data encoding and convert the data encoding into the simple data.
  • simple data for obtaining the current screen display is adopted, wherein the simple data is data whose data information amount is smaller than the information amount threshold, converts the simple data into data encoding, and converts the data encoding into an optical signal to the opposite end.
  • the terminal emits an optical signal, which solves the problem that the simple data transmission process in the related art is relatively complicated, thereby achieving the effect of improving the efficiency of simple data transmission.
  • FIG. 1 is a flow chart of a simple data processing method 1 according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a simple data processing method 2 according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention
  • FIG. 5 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention
  • FIG. 7 is a flow chart of a simple data processing method 2 according to a preferred embodiment of the present invention
  • FIG. 8 is a simplified data processing method of a transmitting end according to a preferred embodiment of the present invention
  • flow chart is a flow chart of a simple data processing method of a receiving end according to a preferred embodiment of the present invention
  • FIG. 10 is a flow chart of another simple data processing method according to a preferred embodiment of the present invention
  • FIG. 11 is a flowchart according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of data transmission according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of another data transmission according to an embodiment of the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
  • FIG. 1 is a flowchart of a simple data processing method according to an embodiment of the present invention. As shown in FIG.
  • Step S102 Acquire a current screen Simple data displayed, wherein the simple data is data whose data information amount is smaller than the information amount threshold;
  • Step S104 converting simple data into data encoding, and converting the data encoding into an optical signal;
  • Step S106 transmitting light to the opposite terminal signal.
  • the data encoding may comprise a Morse code.
  • other binary encodings are also possible.
  • transmitting the optical signal to the opposite terminal may include transmitting the optical signal to the opposite terminal by using a flash or a charging indicator of the mobile terminal.
  • transmit optical signals through other illumination means, such as a device that can emit optical signals independently of the mobile terminal, the device being connectable to the mobile terminal via a USB interface or an audio interface or the like.
  • the light-off state of the flash or the charging indicator light corresponds to the stroke point of the Morse code, and the flashing time length of the flash or the charging indicator light and the length of the Morse code. Corresponding.
  • the method may further include: detecting that the opposite terminal is within a distance threshold.
  • the optical signal can be more targeted.
  • the simple data may include text data displayed on the current screen, such as a phone book, a call log, a text message, a notepad, or an application.
  • the initiation of the technology may be initiated by the terminal, or may be initiated by the peer terminal.
  • FIG. 2 is a flowchart of a simple data processing method 2 according to an embodiment of the present invention.
  • the method includes: Step S202: Receive an optical signal emitted by a peer terminal, where the light is received.
  • the signal carries simple data, wherein the simple data is data whose data information amount is smaller than the information amount threshold; in step S204, the optical signal is converted into data encoding, and the data encoding is converted into simple data.
  • a simple data processing device is provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module" may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 3 is a block diagram showing the structure of a simple data processing apparatus according to an embodiment of the present invention.
  • the apparatus includes: an obtaining module 32 configured to acquire a simple data of a current screen display, wherein the simple data is data.
  • the data module is configured to convert the simple data into a data code and convert the data into an optical signal.
  • the transmitting module 36 is configured to transmit the optical signal to the opposite terminal.
  • the transmitting module 36 may be a flashing light of the camera.
  • the transmitting module 36 may also be a charging indicator light.
  • FIG. 4 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention.
  • the device includes a proximity sensing device 38, which is configured to detect the opposite end, in addition to all the modules shown in FIG. Whether the terminal is within the distance threshold.
  • FIG. 5 is a block diagram 3 of a simple data processing apparatus according to an embodiment of the present invention.
  • the apparatus includes a receiving module 52 configured to receive an optical signal transmitted by a peer terminal, where the optical signal carries simple data.
  • the simple data refers to data whose data information amount is smaller than the information amount threshold; the processing module 54 is configured to convert the optical signal into data encoding, and convert the data encoding into simple data.
  • the receiving module 52 may be a light sensor.
  • FIG. 6 is a flowchart of a simple data processing method according to a preferred embodiment of the present invention.
  • the mobile terminal takes a mobile phone as an example.
  • the method includes the following steps: Step S602: The mobile phone enters a display interface. . Turn on the phone to enter the information operation interface that needs to be called, such as mobile phone book, call log, message, notepad, or other software display interface. Step S604, obtaining simple data.
  • Step S606 turning off other function indications of the light emitting device. Turn off the light-emitting device of the mobile phone, such as a charging indicator or other function indications of the flash, to prevent the user from performing other operations on the light-emitting device and transmitting the interference signal. Step S608, converting the simple data into an optical signal.
  • the flashing state corresponds to the Moores code (1) and the dot ( ⁇ ), the charging indicator or the flashing of the flash Time
  • the length represents the length of the Morse code.
  • the Morse code is converted into an optical signal.
  • the Morse code alphabet symbol is shown in the following table:
  • Step 610 Send an optical signal to the opposite terminal.
  • the proximity sensing device is enabled. When the proximity sensing device senses that an object is close to the target, that is, the opposite terminal is detected within the distance threshold, a tone is sounded after Y seconds, and the charging indicator or the flash is turned on for the light signal to be emitted.
  • FIG. 7 is a flowchart of a simple data processing method 2 according to a preferred embodiment of the present invention. As shown in FIG. 7, the method includes the following steps: Step S702: Turn on an optical signal receiving function of a mobile phone. Step S704, prompting the user to align the light sensor with the opposite mobile phone.
  • the user is prompted to "align the light sensor of the mobile phone with the charging indicator (or flash position) of the desired information phone after X seconds, and at the same time, indicate the light sensor position of the mobile phone.
  • the position of the light sensor can be obtained by identifying the phone model information and calling the database.
  • Step S706 receiving an optical signal. Align the light sensor of the phone with the lighting device of the opposite phone such as the charging indicator or flash.
  • the peer mobile phone starts to transmit information after the prompt tone is sounded, and the local mobile phone receives the optical signal transmitted by the opposite mobile phone, and sends a prompt after the successful reception.
  • Step S708 converting the optical signal into simple data.
  • FIG. 8 is a flowchart of a simple data processing method of a transmitting end according to a preferred embodiment of the present invention. As shown in FIG. 8, the method includes the following steps: Step S802, detecting that a user needs to send simple data.
  • Step S804 determining whether simple data is acquired. Judging whether the currently running program contains simple data such as text, numbers, characters, etc. in the display interface. If simple data is obtained, step S806 is performed, otherwise, step S816 is performed.
  • step S806 the simple data is processed into a Morse code.
  • the data processing chip converts the read simple data into a Morse code, wherein the "dot" in the Morse code is identified by "1" and the "scratch” is identified by "0". Integrate simple data into a string of information in the form of Morse code.
  • Step S808 the illuminating device is brought into an idle state.
  • a control lighting device such as a charging indicator or flash and a proximity sensor stop supporting the program that is currently calling its operation and enter an idle state.
  • Step S810 detecting whether the peer terminal is within a distance threshold. Prompt the user to aim the charging indicator (or flash) at the target phone after X seconds, and flash the charging indicator or flash to indicate the location of the illuminator.
  • the main chip controls the proximity sensor to detect whether an object is approaching. If it is detected that step S812 is performed, if it is not detected, step S814 is performed. Step S812, converting the Morse code into an optical signal.
  • the Morse code is converted into an optical signal for display, "1" is the state “bright”, “0” is the state "off”, and the blinking duration is set to z seconds.
  • send an acknowledgment signal and then send the main signal, which is simple data.
  • a set of stop signals is transmitted as an end marker.
  • step S814 prompting the user that the target mobile phone is not detected. The user is prompted to "the target mobile phone is not detected, please re-align the target mobile phone after X seconds", and the process returns to step S810.
  • step S816 the user is prompted not to obtain simple data. The user is prompted to "restore valid information, please select again", and the process returns to step S802.
  • Step S902 detecting that a user's operation is to receive simple data.
  • the user's operation is detected to receive simple data, turn off the light sensor and the proximity sensor to support the currently supported software, and let the light sensor and the proximity sensor enter an idle state.
  • the user is prompted to "point the light sensor of the mobile phone to the charging indicator or flash of the target mobile phone after X seconds", and the light sensor position of the mobile phone can be displayed graphically.
  • the position of the light sensor can be determined by detecting the model information of the mobile phone.
  • Step S904 determining whether the peer terminal is within the distance threshold.
  • the main chip control controls the proximity sensor to detect whether an object is approaching, and simultaneously turns on the light sensor. If the peer terminal is within the distance threshold, the process proceeds to step S906, otherwise step S902 is performed.
  • the light sensor starts to receive the light signal, "light” is “1”, “off” is "0", which corresponds to the "dot” and "scratch” of the Morse code.
  • Step S908 converting the Morse code into simple data.
  • the main chip will use the Morse code table to identify and compile the Morse code to text, numbers, symbols, or simple data.
  • step S910 simple data is displayed. Simple data such as decoded text, numbers, symbols, etc. are displayed on the screen through the corresponding application, and provide options for the user to select and call other programs. 10 is a flow chart of another simple data processing method according to a preferred embodiment of the present invention.
  • the simple data transmission method between the mobile phones in this embodiment is to combine the numbers, characters, symbols or three combinations displayed on the screen, that is, simple data. Processing is converted to Morse code or other code, by the light, off and pause time of the phone flash or charging indicator as a Morse code or other coded information symbol, through another light sensor of the phone as a receiver to receive the flash or The charging indicator lights the signal, and converts the optical signal into digital, text, and symbols directly displayed on the corresponding interface of the screen, and enters the corresponding application.
  • the mobile phone can be as shown in FIG. 11 and includes a charging indicator 112, a front camera 114, and a light sensor 116. As shown in FIG.
  • Step S1002 the mobile phone B needs to acquire simple data.
  • Mobile phone B needs to obtain simple data from mobile phone A, such as a phone number, simple information, and the like. Operate phone B to enter the corresponding interface.
  • step S1004 the mobile phone A acquires simple data and transmits simple data.
  • the desktop assistant is called to prompt the user to select simple data such as numbers, characters, symbols, etc. to send.
  • step S1006 the mobile phone B is ready to receive simple data. Operate phone B, click on the desktop plug-in, prompt the user to receive in X seconds, and indicate the position of the light sensor.
  • Step S1008 data transmission.
  • the light sensor 116 of the mobile phone B can be used to position the flash 1142 of the camera 114 of the mobile phone A.
  • the position of the charging indicator 112 of the handset A can be aligned with the light sensor 116 of the handset B.
  • the data transmission starts.
  • the mobile phone A can have a prompt tone when the transmission starts.
  • the mobile phone B can also emit a prompt tone to complete the transmission.
  • Step S1010 converting the received optical signal into simple data.
  • the mobile phone B converts the received optical signal into digital, text, symbol and other information, that is, simple data, the screen displays corresponding simple data, and calls the corresponding program to use the corresponding simple data.
  • the invention has the following beneficial effects: It provides an extremely simple and fast and transparent transmission method for the transmission of simple data between smart phones, without opening a short-distance communication system and corresponding software, without complicated operations such as pairing, and avoiding the camera scanning of the mobile phone camera. Problems such as recognition rate and shooting stability greatly improve the efficiency of the call and mutual transmission of simple information between smartphones.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the above technical solution provided by the present invention can be applied to a simple data processing process, and uses simple data for acquiring a current screen display, wherein the simple data is data in which the amount of data information is smaller than the information amount threshold, and the simple data is converted into data. Encoding, and converting the data into an optical signal, and transmitting the optical signal to the opposite terminal, solves the problem that the simple data transmission process in the related art is complicated, thereby achieving the effect of improving the efficiency of simple data transmission.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Optical Communication System (AREA)

Abstract

A simple data processing method and device, said method comprising: obtaining simple data presently displayed on a screen, wherein the simple data is data having a data information amount which is smaller than an information threshold value, converting the simple data into data code, converting the data code into an optical signal, and transmitting the optical signal to a peer end terminal. The present invention solves the problem in the related art whereby the simple data transmission process is fairly complicated, and achieves an increase in simple data transmission efficiency.

Description

简单数据处理方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种简单数据处理方法及装置。 背景技术 近年, 智能手机发展迅猛, 普及率越来越高, 功能越来越强大, 目前主流智能手 机硬件配置都包含了光线感应器、近距离感应器、摄像头、发光二极管(Light Emitting Diode, 简称 LED)、 充电指示灯、 重力加速度感应器等器件, 部分高端机型已经加入 了地磁感应器、 加速度感应器、 近场通信 (Near Field Communication, 简称 FC) 系 统、 指纹识别感应器等器件。 手机的硬件不断增强, 许多应用也是针对这些器件设计 的, 比如有程序利用手机摄像头的 LED闪光灯作为手电筒等。 智能手机平台现在主要以安卓、 苹果 ISO、 WindowsS等为主流流行平台, 手机之 间的短距离传输主要以蓝牙、 无线保真 (Wireless Fidelity, 简称为 WIFI) 直连为主, 相应的软件也是以蓝牙、 WIFI、 NFC为基础进行开发, 但是由于商业竞争和平台之间 的差异等原因, 手机之间直接的简单文件传输并不是非常方便, 传输文件主要针对文 字文件、 图片、 程序包、 视频文件等文件, 而对两台手机之间的简单的文字和数字直 接拷贝传输, 现行的软件和硬件搭配较为复杂。 FC的传输较为简单, 但两台机器硬 件上都需要支持, 另外安全性和软件的支持较差。 当用户需要从手机 A抄写号码、 文 字信息等简单信息到手机 B时, 需要操作开启蓝牙或者 WIFI或者 FC等, 调用系统 软件或专用软件对两台手机进行互相搜索配对, 配对成功后, 从手机 A调用所需传输 的名片或将文字数字转化成文件进行传输, 手机 B同意并接收文件, 接收完毕后打开 文件, 调用所需信息。 上述流程非常繁杂, 特别对于简单信息的传输, 这样繁杂的传 输不如用户直接抄写另外一台手机上的信息。 同样的, 利用摄像头拍摄后扫描和扫描 二维码等方法也较为复杂, 同时在移动环境下用摄像头拍摄识别准确率较差, 对于涉 密信息还存在安全问题。 智能手机之间的简单信息传输成为智能手机最不 "智能" 的瓶颈, 拥有多个手机 的用户越来越多, 经常有这样的场景, 需要使用手机 B拨打电话, 但是号码在手机 A 的电话簿里, 而手机 B只是临时拨打并不需要记录这个号码, 这种情况用户往往直接 打开手机 A电话簿, 直接将手机 A电话簿中的号码抄录到 B手机, 然后拨打出去, 但是, 这样的做法经常造成抄写错误从而拨打给错误号码。 另外, 较长的文字或者数 字信息调用采用这种手抄方法一来麻烦二来容易错误, 特别是银行帐号等涉密信息, 更是需要反复核对, 造成时间浪费。 而蓝牙、 WIFI、 NFC等传输方式对于这种情况仿 佛牛刀剔小鱼骨, 十分不合适。 因此, 怎样便携简单保密的把简单数据从一台手机传 输到另外一台手机成为亟待解决的问题。 针对相关技术中简单数据传输过程比较复杂的问题, 目前尚未提出更好地解决方 案。 发明内容 本发明实施例提供了一种简单数据处理方法及装置, 以至少解决相关技术中的上 述问题。 根据本发明的一个实施例, 提供了一种简单数据处理方法, 该方法包括: 获取当 前屏幕显示的简单数据, 其中, 所述简单数据是数据信息量小于信息量阈值的数据; 将所述简单数据转换为数据编码, 并将所述数据编码转换为光信号; 向对端终端发射 所述光信号。 优选地, 所述数据编码包括摩尔斯码。 优选地, 向所述对端终端发射所述光信号包括, 利用移动终端的闪光灯或充电指 示灯向所述对端终端发射所述光信号。 优选地, 所述闪光灯或所述充电指示灯的亮、 灭状态分别与所述摩尔斯码的划和 点相对应, 所述闪光灯或所述充电指示灯的闪烁时间长度与所述摩尔斯码的长度相对 应。 优选地, 向所述对端终端发射所述光信号之前, 所述方法还包括: 检测到所述对 端终端在距离阈值内。 优选地, 所述简单数据包括电话簿, 通话记录, 短信, 记事本, 或应用程序的显 示在当前屏幕上的文本数据。 根据本发明的另一实施例, 提供了一种简单数据处理方法, 包括: 接收对端终端 发射的光信号, 所述光信号中携带有简单数据, 其中, 所述简单数据是数据信息量小 于信息量阈值的数据; 将所述光信号转换为数据编码, 并将所述数据编码转换为所述 简单数据。 根据本发明的又一实施例, 提供了一种简单数据处理装置, 包括获取模块, 设置 为获取当前屏幕显示的简单数据, 其中, 所述简单数据是数据信息量小于信息量阈值 的数据; 转换模块, 设置为将所述简单数据转换为数据编码, 并将所述数据编码转换 为光信号; 发射模块, 设置为向对端终端发射所述光信号。 优选地, 所述装置还包括近距离感应装置, 设置为检测所述对端终端是否在距离 阈值内。 根据本发明的再一实施例,提供了一种简单数据处理装置,该装置包括接收模块, 设置为接收对端终端发射的光信号, 所述光信号中携带有简单数据, 其中, 所述简单 数据是数据信息量小于信息量阈值的数据; 处理模块, 设置为将所述光信号转换为数 据编码, 并将所述数据编码转换为所述简单数据。 通过本发明实施例, 采用获取当前屏幕显示的简单数据, 其中, 简单数据是数据 信息量小于信息量阈值的数据, 将简单数据转换为数据编码, 并将数据编码转换为光 信号, 向对端终端发射光信号,解决了相关技术中简单数据传输过程比较复杂的问题, 从而达到了提高简单数据传输效率的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的简单数据处理方法一的流程图; 图 2是根据本发明实施例的简单数据处理方法二的流程图; 图 3是根据本发明实施例的简单数据处理装置的结构框图一; 图 4是根据本发明实施例的简单数据处理装置的结构框图二; 图 5是根据本发明实施例的简单数据处理装置的结构框图三; 图 6是根据本发明优选实施例的简单数据处理方法一的流程图; 图 7是根据本发明优选实施例的简单数据处理方法二的流程图; 图 8是根据本发明优选实施例的发送端的简单数据处理方法的流程图; 图 9是根据本发明优先实施例的接收端的简单数据处理方法的流程图; 图 10是根据本发明优选实施例的另一种简单数据处理方法的流程图; 图 11是根据本发明实施例的手机的结构示意图; 图 12是根据本发明实施例的数据传输的示意图; 以及 图 13是根据本发明实施例的另一种数据传输的示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种简单数据处理方法, 图 1是根据本发明实施例的简单数 据处理方法一的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 获取当前屏幕显示的简单数据, 其中, 该简单数据是数据信息量小于 信息量阈值的数据; 步骤 S104, 将简单数据转换为数据编码, 并将数据编码转换为光信号; 步骤 S106, 向对端终端发射光信号。 通过上述步骤, 改变了相关技术中通过蓝牙、 FC、 WIFI等复杂方式传输简单数 据的做法, 解决了相关技术中简单数据传输过程比较复杂的问题, 从而达到了提高简 单数据传输效率的效果。 在本发明实施例的一个优选实施方式中, 该数据编码可以包括摩尔斯码。 当然, 在其他实施例中, 也可能是其他的二进制编码。 在本发明实施例的一个优选实施方式中, 向对端终端发射光信号可以包括, 利用 移动终端的闪光灯或充电指示灯向对端终端发射光信号。 在其他实施例中, 当然也可 能通过其他发光装置传输光信号,比如独立于移动终端的一个可以发射光信号的装置, 该装置可以通过 USB接口或者音频接口等连接到移动终端上。 在本发明实施例的一个优选实施方式中, 闪光灯或充电指示灯的亮、 灭状态分别 与摩尔斯码的划和点相对应, 闪光灯或充电指示灯的闪烁时间长度与摩尔斯码的长度 相对应。 当然, 在其他实施例中, 也可能是灯亮状态与摩尔斯码的点相对应, 灯灭状 态与摩尔斯码的划相对应。 在本发明实施例的一个优选实施方式中, 向对端终端发射光信号之前, 该方法还 可以包括: 检测到该对端终端在距离阈值内。 通过上述步骤, 可以更有的放矢地发射 光信号。 在本发明的一个优选实施方式中, 简单数据可以包括电话簿, 通话记录, 短信, 记事本, 或应用程序等显示在当前屏幕上的文本数据。 在本发明的一个优选实施方式中, 这个技术的发起 (即传输简单数据) 可以是终 端主动发起, 也可以是由对端终端主动发起。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a simple data processing method and apparatus. BACKGROUND OF THE INVENTION In recent years, smart phones have developed rapidly, the popularity rate is getting higher and higher, and the functions are more and more powerful. At present, the mainstream smart phone hardware configuration includes a light sensor, a proximity sensor, a camera, and a light emitting diode (Light Emitting Diode). LED), charging indicator, gravity acceleration sensor and other devices, some high-end models have added geomagnetic sensors, acceleration sensors, Near Field Communication (FC) systems, fingerprint sensors and other devices. The hardware of mobile phones is constantly increasing, and many applications are also designed for these devices, such as a program using the LED flash of a mobile phone camera as a flashlight. The smartphone platform is now dominated by Android, Apple ISO, WindowsS, etc. The short-distance transmission between mobile phones is mainly based on Bluetooth, Wireless Fidelity (WIFI), and the corresponding software is also Bluetooth, WIFI, NFC based development, but due to commercial competition and differences between platforms, direct file transfer between mobile phones is not very convenient, the transfer files are mainly for text files, pictures, packages, video files Such as the file, and the simple text and digital direct copy transmission between the two mobile phones, the current software and hardware mix is more complicated. The transmission of FC is relatively simple, but both machines need to be supported on the hardware, and the security and software support is poor. When the user needs to copy the simple information such as the number and text information from the mobile phone A to the mobile phone B, it is necessary to operate the Bluetooth or WIFI or FC, and call the system software or special software to search and match the two mobile phones. After the successful pairing, the mobile phone A calls the business card to be transferred or converts the alphanumeric characters into files for transmission. The mobile phone B agrees and receives the file, opens the file after receiving, and calls the required information. The above process is very complicated, especially for the transmission of simple information, such a complicated transmission is not as good as the user directly copying the information on another mobile phone. Similarly, the method of scanning and scanning the two-dimensional code after shooting by the camera is also complicated, and the accuracy of shooting with the camera in the mobile environment is poor, and there is still a security problem for the confidential information. The simple information transmission between smartphones has become the bottleneck of smartphones' least "smart". There are more and more users with multiple mobile phones. There are often such scenes, and it is necessary to use mobile phone B to make calls, but the number is on the phone of mobile phone A. In the book, while the mobile phone B only temporarily dials and does not need to record this number, in this case, the user often directly opens the mobile phone A phone book, directly transcribes the number in the mobile phone A phone book to the B mobile phone, and then dials out, but such The practice often causes a transcription error and dials the wrong number. In addition, longer text or number The word information is invoked by using this manual method. It is easy to make troubles, especially for confidential information such as bank accounts, which requires repeated verification and waste of time. The transmission methods such as Bluetooth, WIFI, and NFC are very inappropriate for this situation. Therefore, how to carry out simple and confidential transmission of simple data from one mobile phone to another has become an urgent problem to be solved. Aiming at the complicated problem of the simple data transmission process in the related art, no better solution has been proposed yet. SUMMARY OF THE INVENTION Embodiments of the present invention provide a simple data processing method and apparatus to solve at least the above problems in the related art. According to an embodiment of the present invention, a simple data processing method is provided, the method comprising: acquiring simple data displayed on a current screen, wherein the simple data is data whose data information amount is smaller than an information amount threshold; The data is converted into data encoding, and the data is encoded into an optical signal; the optical signal is transmitted to the opposite terminal. Preferably, the data encoding comprises a Morse code. Preferably, transmitting the optical signal to the opposite terminal comprises transmitting the optical signal to the opposite terminal by using a flash or a charging indicator of the mobile terminal. Preferably, a light-off state of the flash or the charging indicator light corresponds to a stroke point of the Morse code, and a flashing time length of the flash or the charging indicator light and the Morse code The length corresponds. Preferably, before the transmitting the optical signal to the opposite terminal, the method further includes: detecting that the opposite terminal is within a distance threshold. Preferably, the simple data includes a phone book, a call log, a short message, a notepad, or text data of an application displayed on the current screen. According to another embodiment of the present invention, a simple data processing method is provided, including: receiving an optical signal transmitted by a peer terminal, where the optical signal carries simple data, wherein the simple data is that the amount of data information is less than Data amount threshold data; converting the optical signal into data encoding, and converting the data encoding into the simple data. According to still another embodiment of the present invention, a simple data processing apparatus is provided, including an obtaining module, configured to acquire simple data displayed on a current screen, wherein the simple data is data whose data information amount is smaller than an information amount threshold; And a module configured to convert the simple data into a data encoding and convert the data encoding into an optical signal; and the transmitting module is configured to transmit the optical signal to the opposite terminal. Preferably, the device further comprises a proximity sensing device configured to detect whether the peer terminal is within a distance threshold. According to still another embodiment of the present invention, there is provided a simple data processing device, comprising: a receiving module, configured to receive an optical signal transmitted by a peer terminal, wherein the optical signal carries simple data, wherein the simple The data is data in which the amount of data information is less than the threshold of the amount of information; the processing module is configured to convert the optical signal into a data encoding and convert the data encoding into the simple data. According to the embodiment of the present invention, simple data for obtaining the current screen display is adopted, wherein the simple data is data whose data information amount is smaller than the information amount threshold, converts the simple data into data encoding, and converts the data encoding into an optical signal to the opposite end. The terminal emits an optical signal, which solves the problem that the simple data transmission process in the related art is relatively complicated, thereby achieving the effect of improving the efficiency of simple data transmission. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a simple data processing method 1 according to an embodiment of the present invention; FIG. 2 is a flow chart of a simple data processing method 2 according to an embodiment of the present invention; FIG. 4 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention; FIG. 5 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention; FIG. 7 is a flow chart of a simple data processing method 2 according to a preferred embodiment of the present invention; FIG. 8 is a simplified data processing method of a transmitting end according to a preferred embodiment of the present invention; flow chart; 9 is a flow chart of a simple data processing method of a receiving end according to a preferred embodiment of the present invention; FIG. 10 is a flow chart of another simple data processing method according to a preferred embodiment of the present invention; FIG. 11 is a flowchart according to an embodiment of the present invention. FIG. 12 is a schematic diagram of data transmission according to an embodiment of the present invention; and FIG. 13 is a schematic diagram of another data transmission according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In this embodiment, a simple data processing method is provided. FIG. 1 is a flowchart of a simple data processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: Acquire a current screen Simple data displayed, wherein the simple data is data whose data information amount is smaller than the information amount threshold; Step S104, converting simple data into data encoding, and converting the data encoding into an optical signal; Step S106, transmitting light to the opposite terminal signal. Through the above steps, the method of transmitting simple data through complicated methods such as Bluetooth, FC, WIFI, etc. in the related art is changed, and the problem of simple data transmission process in the related technology is solved, thereby achieving the effect of improving the efficiency of simple data transmission. In a preferred embodiment of the embodiment of the invention, the data encoding may comprise a Morse code. Of course, in other embodiments, other binary encodings are also possible. In a preferred embodiment of the present invention, transmitting the optical signal to the opposite terminal may include transmitting the optical signal to the opposite terminal by using a flash or a charging indicator of the mobile terminal. In other embodiments, it is of course also possible to transmit optical signals through other illumination means, such as a device that can emit optical signals independently of the mobile terminal, the device being connectable to the mobile terminal via a USB interface or an audio interface or the like. In a preferred embodiment of the present invention, the light-off state of the flash or the charging indicator light corresponds to the stroke point of the Morse code, and the flashing time length of the flash or the charging indicator light and the length of the Morse code. Corresponding. Of course, in other embodiments, it may also be that the light-on state corresponds to the point of the Morse code, and the light-off state corresponds to the stroke of the Morse code. In a preferred embodiment of the present invention, before the optical signal is transmitted to the opposite terminal, the method may further include: detecting that the opposite terminal is within a distance threshold. Through the above steps, the optical signal can be more targeted. In a preferred embodiment of the present invention, the simple data may include text data displayed on the current screen, such as a phone book, a call log, a text message, a notepad, or an application. In a preferred embodiment of the present invention, the initiation of the technology (that is, the transmission of the simple data) may be initiated by the terminal, or may be initiated by the peer terminal.
本发明实施例还提供了一种简单数据处理方法, 图 2是根据本发明实施例的简单 数据处理方法二的流程图, 该方法包括: 步骤 S202, 接收对端终端发射的光信号, 该光信号中携带有简单数据, 其中, 简 单数据是数据信息量小于信息量阈值的数据; 步骤 S204, 将光信号转换为数据编码, 并将数据编码转换为简单数据。 在本实施例中还提供了一种简单数据处理装置, 该装置用于实现上述实施例及优 选实施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语 "模块"可以实现 预定功能的软件和 /或硬件的组合。 尽管以下实施例所描述的装置较佳地以软件来实 现, 但是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 3是根据本发明实施例的简单数据处理装置的结构框图一, 如图 3所示, 该装 置包括: 获取模块 32, 设置为获取当前屏幕显示的简单数 1据, 其中, 简单数据是数据信 息量小于信息量阈值的数据; 转换模块 34, 设置为将简单数据转换为数据编码, 并将数据编码转换为光信号; 发射模块 36, 设置为向对端终端发射该光信号。 在本发明实施例的一个优选实施 方式中, 发射模块 36可以是摄像头的闪光灯, 在另外一个优选实施方式中, 发射模块 36还可以是充电指示灯。 图 4是根据本发明实施例的简单数据处理装置的结构框图二, 如图 4所示, 该装 置除包括图 3所示的所有模块外, 还包括近距离感应装置 38, 设置为检测对端终端是 否在距离阈值内。 图 5是根据本发明实施例的简单数据处理装置的结构框图三, 如图 5所示, 该装 置包括接收模块 52,设置为接收对端终端发射的光信号,该光信号中携带有简单数据, 其中, 简单数据是指数据信息量小于信息量阈值的数据; 处理模块 54, 设置为将光信 号转换为数据编码, 并将数据编码转换为简单数据。接收模块 52在本发明实施例的一 个优选实施方式中, 可以是光线感应器。 The embodiment of the present invention further provides a simple data processing method. FIG. 2 is a flowchart of a simple data processing method 2 according to an embodiment of the present invention. The method includes: Step S202: Receive an optical signal emitted by a peer terminal, where the light is received. The signal carries simple data, wherein the simple data is data whose data information amount is smaller than the information amount threshold; in step S204, the optical signal is converted into data encoding, and the data encoding is converted into simple data. In the embodiment, a simple data processing device is provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable. FIG. 3 is a block diagram showing the structure of a simple data processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes: an obtaining module 32 configured to acquire a simple data of a current screen display, wherein the simple data is data. The data module is configured to convert the simple data into a data code and convert the data into an optical signal. The transmitting module 36 is configured to transmit the optical signal to the opposite terminal. In a preferred embodiment of the embodiment of the present invention, the transmitting module 36 may be a flashing light of the camera. In another preferred embodiment, the transmitting module 36 may also be a charging indicator light. 4 is a block diagram showing the structure of a simple data processing device according to an embodiment of the present invention. As shown in FIG. 4, the device includes a proximity sensing device 38, which is configured to detect the opposite end, in addition to all the modules shown in FIG. Whether the terminal is within the distance threshold. FIG. 5 is a block diagram 3 of a simple data processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a receiving module 52 configured to receive an optical signal transmitted by a peer terminal, where the optical signal carries simple data. The simple data refers to data whose data information amount is smaller than the information amount threshold; the processing module 54 is configured to convert the optical signal into data encoding, and convert the data encoding into simple data. In a preferred embodiment of the embodiment of the present invention, the receiving module 52 may be a light sensor.
以下结合优选实施例进行说明, 以下优选实施例结合了上述实施例及其优选实施 方式。 图 6是根据本发明优选实施例的简单数据处理方法一的流程图, 本实施例中, 移 动终端以手机为例, 如图 6所示, 该方法包括以下步骤: 步骤 S602, 手机进入显示界面。 开启手机进入需要调用的信息操作界面, 比如手机电话簿、 通话记录、 信息、 记 事本、 或其他软件显示界面。 步骤 S604, 获取简单数据。 可以运行开机桌面软件小插件比如屏幕助手等, 直接在显示界面进行操作, 选择 需要发送的信息即简单数据。 提示用户 "N秒后听到提示音将此手机的充电指示灯 (或者闪光灯等) 对准接收 手机光线感应器"。 步骤 S606, 关闭发光装置的其他功能指示。 关闭手机的发光装置比如充电指示灯或闪光灯等的其他功能指示, 从而避免用户 对发光装置进行其他操作, 干扰信号的发送。 步骤 S608, 将简单数据转换为光信号。 将所需传输信息即简单数据转换为摩尔斯码或其他编码, 其中充电指示灯或闪光 灯的亮、 灭状态对应摩尔斯码的划 (一) 和点 (·), 充电指示灯或闪光灯的闪烁时间 长度代表摩尔斯码的长度。 之后, 将摩尔斯码转换成光信号。 其中, 摩尔斯码字母符 号见下表: Hereinafter, the following description will be made in conjunction with the preferred embodiments, and the following preferred embodiments incorporate the above-described embodiments and preferred embodiments thereof. FIG. 6 is a flowchart of a simple data processing method according to a preferred embodiment of the present invention. In this embodiment, the mobile terminal takes a mobile phone as an example. As shown in FIG. 6, the method includes the following steps: Step S602: The mobile phone enters a display interface. . Turn on the phone to enter the information operation interface that needs to be called, such as mobile phone book, call log, message, notepad, or other software display interface. Step S604, obtaining simple data. You can run the desktop software plug-in such as the screen assistant, etc., directly operate on the display interface, and select the information that needs to be sent, that is, simple data. Prompt the user to "After N seconds, hear the tone to align the phone's charging indicator (or flash, etc.) with the receiving phone light sensor." Step S606, turning off other function indications of the light emitting device. Turn off the light-emitting device of the mobile phone, such as a charging indicator or other function indications of the flash, to prevent the user from performing other operations on the light-emitting device and transmitting the interference signal. Step S608, converting the simple data into an optical signal. Convert the required transmission information, that is, simple data into a Morse code or other code, in which the charging indicator or the flashing light is off, the flashing state corresponds to the Moores code (1) and the dot (·), the charging indicator or the flashing of the flash Time The length represents the length of the Morse code. Thereafter, the Morse code is converted into an optical signal. Among them, the Morse code alphabet symbol is shown in the following table:
Figure imgf000009_0001
Figure imgf000009_0001
步骤 610, 向对端终端发射光信号。 启用近距离感应装置, 当近距离感应装置感应有物体贴近, 即检测到对端终端在 距离阈值内, Y秒后发出提示音, 开启充电指示灯或闪光灯进行光信号发射。 图 7是根据本发明优选实施例的简单数据处理方法二的流程图, 如图 7所示, 该 方法包括以下步骤: 步骤 S702, 开启手机的光信号接收功能。 步骤 S704, 提示用户将光线感应器对准对端手机。 提示用户 "X秒后将此手机光线感应器对准所需信息手机的充电指示灯 (或闪光 灯位置) ", 同时, 可以指示此手机的光线感应器位置。 其中, 光线感应器的位置可以 通过识别手机型号信息, 并调用数据库得到。 步骤 S706, 接收光信号。 将手机的光线感应器对准对端手机的发光装置比如充电指示灯或闪光灯。 对端手 机发出提示音后开始传输信息, 本端手机接收对端手机发射的光信号, 并在成功接收 后发出提不首。 步骤 S708 , 将光信号转换为简单数据。 将接收到的光信号转换成摩尔斯码, 并将摩尔斯码转化为数字、 文字、 符号等简 单数据。 步骤 S710, 显示简单数据。 调用相应应用程序,该应用程序可以直接将该简单数据显示在此程序显示界面上。 比如, 在接收的简单数据为电话号码时, 开启拨号程序, 直接将简单数据显示在拨号 界面。 用户此时只需要拨打此号码即可。 图 8是根据本发明优选实施例的发送端的简单数据处理方法的流程图, 如图 8所 示, 该方法包括以下步骤: 步骤 S802, 检测到用户需要发送简单数据。 检测到用户的操作行为为需要发送简单数据。 步骤 S804, 判断是否获取到简单数据。 对当前运行程序进行判断, 是否在显示界面含有简单数据, 比如文字、 数字、 字 符等。 如果获取到简单数据, 执行步骤 S806, 否则, 执行步骤 S816。 步骤 S806, 将简单数据处理为摩尔斯码。 数据处理芯片将读取到的简单数据转换为摩尔斯码, 其中, 摩尔斯码中的 "点" 用 " 1 "标识, "划"用 "0"标识。 将简单数据整合成摩尔斯码形式的信息串。 步骤 S808, 使发光装置进入空闲状态。 控制发光装置比如充电指示灯或闪光灯以及近距离感应器停止对当前所调用其工 作的程序的支持, 进入空闲状态。 步骤 S810, 检测对端终端是否在距离阈值内。 提示用户 "X秒后请将充电指示灯(或闪光灯)对准目标手机", 并闪烁充电指示 灯或闪光灯指示该发光装置的位置。主芯片控制近距离感应器,检测是否有物体靠近, 如果检测到执行步骤 S812, 如果未检测到, 执行步骤 S814。 步骤 S812, 将摩尔斯码转换为光信号。 将摩尔斯码转化为光信号进行显示, " 1 "为状态 "亮", "0"为状态 "灭", 闪烁 时长设置为 z秒。在发送简单数据前, 先发送确认信号, 然后发送主信号即简单数据。 在发送一遍数据包所含有的简单数据后, 发射一组停止信号, 作为结束标记。 步骤 S814, 提示用户未检测到目标手机。 提示用户"未检测到目标手机,请在 X秒后重新对准目标手机",返回到步骤 S810。 步骤 S816, 提示用户未获取到简单数据。 提示用户 "未读取到有效信息, 请重新选择", 返回步骤 S802。 设定 X次没有读 取到后, 提示 "没有读取到有效信息, 退出程序"。 图 9是根据本发明优先实施例的接收端的简单数据处理方法的流程图, 如图 9所 示, 该方法包括: 步骤 S902, 检测到用户的操作为接收简单数据。 检测到用户的操作为接收简单数据, 关闭光线感应器以及近距离感应器对当前所 支持软件的支持, 使光线感应器及近距离感应器进入空闲状态。 提示用户 "X秒后将手机的光线感应器对准目标手机的充电指示灯或闪光灯", 并 可以图示显示本手机的光线感应器位置。 其中, 光线感应器的位置可以通过检测本手 机的型号信息确定。 比如, 检测到手机的型号信息后, 根据该型号信息查询数据库, 从而得到手机的外形构造信息。 步骤 S904, 判断对端终端是否在距离阈值内。 主芯片控制控制近距离感应器感应是否有物体接近, 同时开启光线感应器, 如果 对端终端在距离阈值内, 则进入步骤 S906, 否则执行步骤 S902。 步骤 S906, 接收光信号, 并转换为摩尔斯码。 光线感应器开始接收光信号, "亮"为 " 1 ", "灭"为 " 0 ", 其分别对应摩尔斯码 的 "点"和 "划"。 首先接收确认信号, 之后开始接收主信号即简单数据, 在接收到终 止信号后结束接收过程。 步骤 S908 , 将摩尔斯码转换为简单数据。 主芯片将利用摩尔斯码表将摩尔斯码识别并编译还原为文字、 数字、 符号即简单 数据。 步骤 S910, 显示简单数据。 将解码出的文字、 数字、 符号等简单数据通过相应的应用程序显示在屏幕上, 并 提供用户选择和调用其他程序的选项。 图 10是根据本发明优选实施例的另一种简单数据处理方法的流程图,本实施例手 机之间的简单数据传输方法是将屏幕上显示的数字、 文字、 符号或者三者组合即简单 数据处理转化为摩尔斯码或其他编码, 通过手机闪光灯或者充电指示灯的亮、 灭以及 停顿时间作为摩尔斯码或其他编码的信息符号, 通过另外一台手机的光线感应器作为 接收器接收闪光灯或充电指示灯所发光信号, 并将光信号编码转化为数字、 文字、 符 号直接显示在屏幕相应界面, 并进入相应应用。 其中, 手机可以如图 11所示, 包括充 电指示灯 112、 前置摄像头 114和光线感应器 116。 如图 10所示, 该方法包括以下步 骤: 步骤 S1002, 手机 B需要获取简单数据。 手机 B需要从手机 A获取简单数据, 比如电话号码, 简单信息等。 操作手机 B 进入相应界面。 步骤 S1004, 手机 A获取简单数据并发送简单数据。 手机 A获取到简单数据后, 调用桌面助手, 提示用户可以选择数字、 文字、 符号 等简单数据进行发送。 用户选择数据后, 提示用户 X秒后进行发送。 步骤 S1006, 手机 B准备接收简单数据。 操作手机 B, 点击桌面插件, 提示用户 X秒进行接收, 并指示光线感应器位置。 步骤 S1008, 数据传输。 如图 12所示, 可以用手机 B的光线感应器 116位置对准手机 A的摄像头 114的 闪光灯 1142位置。 或者, 如图 13所示, 可以用手机 B的光线感应器 116位置对准手 机 A的充电指示灯 112的位置。 开始传输数据, 传输开始时手机 A可以有提示音, 完成传输后, 手机 B也可以发 出提示音, 完成传输。 步骤 S1010, 将接收到的光信号转换为简单数据。 手机 B将接收到的光信号转化为数字、 文字、 符号等信息即简单数据, 屏幕显示 相应简单数据, 并调用相应程序使用相应的简单数据。 本发明具有以下有益效果: 针对智能手机之间简单数据的传输提出了极为简单快 捷且保密的传输方式, 无需开启短距离通信系统和相应软件, 无需配对等复杂操作, 也避免了手机摄像头拍摄扫描识别率和拍摄稳定性等问题, 大大提高了智能手机之间 简单信息的调用、 互传等行为的效率。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 本发明提供的上述技术方案, 可以应用于简单数据处理过程中, 采用获取当前屏 幕显示的简单数据, 其中, 简单数据是数据信息量小于信息量阈值的数据, 将简单数 据转换为数据编码, 并将数据编码转换为光信号, 向对端终端发射光信号, 解决了相 关技术中简单数据传输过程比较复杂的问题, 从而达到了提高简单数据传输效率的效 果。 Step 610: Send an optical signal to the opposite terminal. The proximity sensing device is enabled. When the proximity sensing device senses that an object is close to the target, that is, the opposite terminal is detected within the distance threshold, a tone is sounded after Y seconds, and the charging indicator or the flash is turned on for the light signal to be emitted. FIG. 7 is a flowchart of a simple data processing method 2 according to a preferred embodiment of the present invention. As shown in FIG. 7, the method includes the following steps: Step S702: Turn on an optical signal receiving function of a mobile phone. Step S704, prompting the user to align the light sensor with the opposite mobile phone. The user is prompted to "align the light sensor of the mobile phone with the charging indicator (or flash position) of the desired information phone after X seconds, and at the same time, indicate the light sensor position of the mobile phone. The position of the light sensor can be obtained by identifying the phone model information and calling the database. Step S706, receiving an optical signal. Align the light sensor of the phone with the lighting device of the opposite phone such as the charging indicator or flash. The peer mobile phone starts to transmit information after the prompt tone is sounded, and the local mobile phone receives the optical signal transmitted by the opposite mobile phone, and sends a prompt after the successful reception. Step S708, converting the optical signal into simple data. The received optical signal is converted into a Morse code, and the Morse code is converted into simple data such as numbers, characters, symbols, and the like. In step S710, simple data is displayed. The corresponding application is called, and the application can directly display the simple data on the program display interface. For example, when the simple data received is a phone number, the dialing program is opened, and the simple data is directly displayed on the dialing interface. The user only needs to dial this number at this time. FIG. 8 is a flowchart of a simple data processing method of a transmitting end according to a preferred embodiment of the present invention. As shown in FIG. 8, the method includes the following steps: Step S802, detecting that a user needs to send simple data. The user's operational behavior is detected as requiring simple data to be sent. Step S804, determining whether simple data is acquired. Judging whether the currently running program contains simple data such as text, numbers, characters, etc. in the display interface. If simple data is obtained, step S806 is performed, otherwise, step S816 is performed. In step S806, the simple data is processed into a Morse code. The data processing chip converts the read simple data into a Morse code, wherein the "dot" in the Morse code is identified by "1" and the "scratch" is identified by "0". Integrate simple data into a string of information in the form of Morse code. Step S808, the illuminating device is brought into an idle state. A control lighting device such as a charging indicator or flash and a proximity sensor stop supporting the program that is currently calling its operation and enter an idle state. Step S810, detecting whether the peer terminal is within a distance threshold. Prompt the user to aim the charging indicator (or flash) at the target phone after X seconds, and flash the charging indicator or flash to indicate the location of the illuminator. The main chip controls the proximity sensor to detect whether an object is approaching. If it is detected that step S812 is performed, if it is not detected, step S814 is performed. Step S812, converting the Morse code into an optical signal. The Morse code is converted into an optical signal for display, "1" is the state "bright", "0" is the state "off", and the blinking duration is set to z seconds. Before sending simple data, send an acknowledgment signal and then send the main signal, which is simple data. After sending a simple data contained in the data packet, a set of stop signals is transmitted as an end marker. Step S814, prompting the user that the target mobile phone is not detected. The user is prompted to "the target mobile phone is not detected, please re-align the target mobile phone after X seconds", and the process returns to step S810. In step S816, the user is prompted not to obtain simple data. The user is prompted to "restore valid information, please select again", and the process returns to step S802. After setting X times without reading, the prompt "No valid information is read, exit the program". 9 is a flowchart of a simple data processing method of a receiving end according to a preferred embodiment of the present invention. As shown in FIG. 9, the method includes: Step S902, detecting that a user's operation is to receive simple data. The user's operation is detected to receive simple data, turn off the light sensor and the proximity sensor to support the currently supported software, and let the light sensor and the proximity sensor enter an idle state. The user is prompted to "point the light sensor of the mobile phone to the charging indicator or flash of the target mobile phone after X seconds", and the light sensor position of the mobile phone can be displayed graphically. The position of the light sensor can be determined by detecting the model information of the mobile phone. For example, after detecting the model information of the mobile phone, the database is queried according to the model information, thereby obtaining the shape configuration information of the mobile phone. Step S904, determining whether the peer terminal is within the distance threshold. The main chip control controls the proximity sensor to detect whether an object is approaching, and simultaneously turns on the light sensor. If the peer terminal is within the distance threshold, the process proceeds to step S906, otherwise step S902 is performed. Step S906, receiving an optical signal and converting it into a Morse code. The light sensor starts to receive the light signal, "light" is "1", "off" is "0", which corresponds to the "dot" and "scratch" of the Morse code. First, the acknowledgment signal is received, and then the main signal, that is, the simple data, is received, and the reception process is terminated after the termination signal is received. Step S908, converting the Morse code into simple data. The main chip will use the Morse code table to identify and compile the Morse code to text, numbers, symbols, or simple data. In step S910, simple data is displayed. Simple data such as decoded text, numbers, symbols, etc. are displayed on the screen through the corresponding application, and provide options for the user to select and call other programs. 10 is a flow chart of another simple data processing method according to a preferred embodiment of the present invention. The simple data transmission method between the mobile phones in this embodiment is to combine the numbers, characters, symbols or three combinations displayed on the screen, that is, simple data. Processing is converted to Morse code or other code, by the light, off and pause time of the phone flash or charging indicator as a Morse code or other coded information symbol, through another light sensor of the phone as a receiver to receive the flash or The charging indicator lights the signal, and converts the optical signal into digital, text, and symbols directly displayed on the corresponding interface of the screen, and enters the corresponding application. The mobile phone can be as shown in FIG. 11 and includes a charging indicator 112, a front camera 114, and a light sensor 116. As shown in FIG. 10, the method includes the following steps: Step S1002, the mobile phone B needs to acquire simple data. Mobile phone B needs to obtain simple data from mobile phone A, such as a phone number, simple information, and the like. Operate phone B to enter the corresponding interface. In step S1004, the mobile phone A acquires simple data and transmits simple data. After the mobile phone A obtains the simple data, the desktop assistant is called to prompt the user to select simple data such as numbers, characters, symbols, etc. to send. After the user selects the data, the user is prompted to send after X seconds. In step S1006, the mobile phone B is ready to receive simple data. Operate phone B, click on the desktop plug-in, prompt the user to receive in X seconds, and indicate the position of the light sensor. Step S1008, data transmission. As shown in FIG. 12, the light sensor 116 of the mobile phone B can be used to position the flash 1142 of the camera 114 of the mobile phone A. Alternatively, as shown in FIG. 13, the position of the charging indicator 112 of the handset A can be aligned with the light sensor 116 of the handset B. The data transmission starts. The mobile phone A can have a prompt tone when the transmission starts. After the transmission is completed, the mobile phone B can also emit a prompt tone to complete the transmission. Step S1010, converting the received optical signal into simple data. The mobile phone B converts the received optical signal into digital, text, symbol and other information, that is, simple data, the screen displays corresponding simple data, and calls the corresponding program to use the corresponding simple data. The invention has the following beneficial effects: It provides an extremely simple and fast and transparent transmission method for the transmission of simple data between smart phones, without opening a short-distance communication system and corresponding software, without complicated operations such as pairing, and avoiding the camera scanning of the mobile phone camera. Problems such as recognition rate and shooting stability greatly improve the efficiency of the call and mutual transmission of simple information between smartphones. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. INDUSTRIAL APPLICABILITY The above technical solution provided by the present invention can be applied to a simple data processing process, and uses simple data for acquiring a current screen display, wherein the simple data is data in which the amount of data information is smaller than the information amount threshold, and the simple data is converted into data. Encoding, and converting the data into an optical signal, and transmitting the optical signal to the opposite terminal, solves the problem that the simple data transmission process in the related art is complicated, thereby achieving the effect of improving the efficiency of simple data transmission.

Claims

权 利 要 求 书 Claim
1. 一种简单数据处理方法, 包括: 1. A simple data processing method, including:
获取当前屏幕显示的简单数据, 其中, 所述简单数据是数据信息量小于信 息量阈值的数据;  Obtaining simple data displayed on the current screen, wherein the simple data is data whose data information amount is smaller than a information amount threshold;
将所述简单数据转换为数据编码, 并将所述数据编码转换为光信号; 向对端终端发射所述光信号。  Converting the simple data into data encoding, and converting the data encoding into an optical signal; transmitting the optical signal to a peer terminal.
2. 根据权利要求 1所述的方法, 其中, 所述数据编码包括摩尔斯码。 2. The method of claim 1, wherein the data encoding comprises a Morse code.
3. 根据权利要求 2所述的方法, 其中, 向所述对端终端发射所述光信号包括, 利 用移动终端的闪光灯或充电指示灯向所述对端终端发射所述光信号。 3. The method of claim 2, wherein transmitting the optical signal to the peer terminal comprises transmitting the optical signal to the opposite terminal using a flash or charging indicator of the mobile terminal.
4. 根据权利要求 3所述的方法, 其中, 所述闪光灯或所述充电指示灯的亮、 灭状 态分别与所述摩尔斯码的划和点相对应, 所述闪光灯或所述充电指示灯的闪烁 时间长度与所述摩尔斯码的长度相对应。 4. The method according to claim 3, wherein a light-on or off state of the flash or the charging indicator light corresponds to a stroke point of the Morse code, respectively, the flash or the charging indicator The length of the blinking time corresponds to the length of the Morse code.
5. 根据权利要求 1至 4中任一项所述的方法, 其中, 向所述对端终端发射所述光 信号之前, 所述方法还包括: 检测到所述对端终端在距离阈值内。 The method according to any one of claims 1 to 4, wherein before the transmitting the optical signal to the opposite terminal, the method further comprises: detecting that the opposite terminal is within a distance threshold.
6. 根据权利要求 1所述的方法, 其中, 所述简单数据包括电话簿, 通话记录, 短 信, 记事本, 或应用程序的显示在当前屏幕上的文本数据。 6. The method according to claim 1, wherein the simple data comprises a phone book, a call log, a short message, a notepad, or text data of an application displayed on a current screen.
7. 一种简单数据处理方法, 包括: 7. A simple data processing method, including:
接收对端终端发射的光信号, 所述光信号中携带有简单数据, 其中, 所述 简单数据是数据信息量小于信息量阈值的数据;  Receiving an optical signal transmitted by the peer terminal, where the optical signal carries simple data, where the simple data is data whose data information quantity is smaller than the information quantity threshold;
将所述光信号转换为数据编码, 并将所述数据编码转换为所述简单数据。  The optical signal is converted to data encoding and the data encoded is converted to the simple data.
8. 一种简单数据处理装置, 包括: 8. A simple data processing device comprising:
获取模块, 设置为获取当前屏幕显示的简单数据, 其中, 所述简单数据是 数据信息量小于信息量阈值的数据;  Obtaining a module, configured to obtain simple data displayed on the current screen, where the simple data is data whose data information amount is smaller than an information amount threshold;
转换模块, 设置为将所述简单数据转换为数据编码, 并将所述数据编码转 换为光信号;  a conversion module configured to convert the simple data into a data encoding and convert the data encoding into an optical signal;
发射模块, 设置为向对端终端发射所述光信号。 And a transmitting module, configured to transmit the optical signal to the opposite terminal.
9. 根据权利要求 8所述的装置, 其中, 所述装置还包括近距离感应装置, 设置为 检测所述对端终端是否在距离阈值内。 9. The apparatus according to claim 8, wherein the apparatus further comprises a proximity sensing device configured to detect whether the peer terminal is within a distance threshold.
10. 一种简单数据处理装置, 包括: 10. A simple data processing device comprising:
接收模块, 设置为接收对端终端发射的光信号, 所述光信号中携带有简单 数据, 其中, 所述简单数据是数据信息量小于信息量阈值的数据;  The receiving module is configured to receive an optical signal that is sent by the peer terminal, where the optical signal carries simple data, where the simple data is data whose data information quantity is less than the information quantity threshold;
处理模块, 设置为将所述光信号转换为数据编码, 并将所述数据编码转换 为所述简单数据。  A processing module is arranged to convert the optical signal into a data encoding and to convert the data encoded into the simple data.
PCT/CN2014/079540 2013-12-20 2014-06-09 Simple data processing method and device WO2014180433A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310714472.9 2013-12-20
CN201310714472.9A CN104734779A (en) 2013-12-20 2013-12-20 Simple-data processing method and device

Publications (1)

Publication Number Publication Date
WO2014180433A1 true WO2014180433A1 (en) 2014-11-13

Family

ID=51866813

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079540 WO2014180433A1 (en) 2013-12-20 2014-06-09 Simple data processing method and device

Country Status (2)

Country Link
CN (1) CN104734779A (en)
WO (1) WO2014180433A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094048A (en) * 2017-03-23 2017-08-25 深圳市科迈爱康科技有限公司 Information Conduction method based on visible ray, conducting system
WO2019034838A1 (en) * 2017-08-15 2019-02-21 Purelifi Limited Optical wireless communication device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610497A (en) * 2014-11-21 2016-05-25 阿里巴巴集团控股有限公司 Data processing method, data processing device and data processing system for information interaction
CN106534699A (en) * 2016-12-16 2017-03-22 北京旷视科技有限公司 Method for outputting configuration information of IP camera through indication lamp, and IP camera
CN106941378A (en) * 2017-04-17 2017-07-11 胡燕红 A kind of closely data sink and the means of communication
CN109147304A (en) * 2017-06-15 2019-01-04 中兴通讯股份有限公司 A kind of equipment remote-control method and remote control device
CN108512600B (en) * 2018-04-12 2021-06-29 西安电子科技大学 Face-to-face data transmission method and device
CN110445540A (en) * 2019-08-11 2019-11-12 南京中消安全技术有限公司 Fire-fighting equipment, wireless communication method and system applied to fire-fighting equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060120994A (en) * 2005-05-23 2006-11-28 엘지전자 주식회사 Apparatus and method for transmitting morse code of camera phone
JP2007235555A (en) * 2006-03-01 2007-09-13 Nec Corp Signal transmission apparatus, information processing apparatus, signal transmitting method, and program
CN201051745Y (en) * 2006-07-28 2008-04-23 康佳集团股份有限公司 Mobile phone information transmitting device, receiving device and mobile phone communication system
CN101753487A (en) * 2008-12-04 2010-06-23 英华达(西安)通信科技有限公司 Mobile electronic device for transmitting and receiving Morse code
CN201830288U (en) * 2010-10-18 2011-05-11 南京陶朱公智能电子技术有限公司 Mobile terminal capable of realizing flashing communication based on Morse codes
CN102694595A (en) * 2012-05-16 2012-09-26 华为终端有限公司 Mobile terminal and method and device for information transmission of mobile terminal
CN103248416A (en) * 2013-04-23 2013-08-14 北京小米科技有限责任公司 Information transmission method and device
CN103327179A (en) * 2013-06-03 2013-09-25 深圳市宝尔爱迪科技有限公司 System and implementation method for mobile phone lamp signal transmission and recognition

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3658919B2 (en) * 1997-04-15 2005-06-15 ソニー株式会社 Electronic device and information transmission method thereof
JP2004357248A (en) * 2003-05-30 2004-12-16 Sharp Corp Free-space optical communication apparatus and its control method
JP2007124197A (en) * 2005-10-27 2007-05-17 Sharp Corp Receiver, communication method, transmission/reception system
JP2008301289A (en) * 2007-05-31 2008-12-11 Sharp Corp Optical space transmission/reception circuit, optical space transmission apparatus, optical space transmission system, and electronic device
KR101015643B1 (en) * 2008-06-17 2011-02-22 삼성전자주식회사 Visible light communication method and apparatus
CN103957356B (en) * 2010-02-19 2018-11-09 株式会社尼康 The image acquisition method of electronic equipment and electronic equipment
JP5515968B2 (en) * 2010-03-30 2014-06-11 ソニー株式会社 Transmission apparatus and method, and program
EP2461299B1 (en) * 2010-12-06 2021-02-24 E.I. Technology Unlimited Company Alarm device testing using time-encoded acoustic messages
US9287976B2 (en) * 2011-07-26 2016-03-15 Abl Ip Holding Llc Independent beacon based light position system
CN103428672A (en) * 2013-08-19 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and device for transmitting data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060120994A (en) * 2005-05-23 2006-11-28 엘지전자 주식회사 Apparatus and method for transmitting morse code of camera phone
JP2007235555A (en) * 2006-03-01 2007-09-13 Nec Corp Signal transmission apparatus, information processing apparatus, signal transmitting method, and program
CN201051745Y (en) * 2006-07-28 2008-04-23 康佳集团股份有限公司 Mobile phone information transmitting device, receiving device and mobile phone communication system
CN101753487A (en) * 2008-12-04 2010-06-23 英华达(西安)通信科技有限公司 Mobile electronic device for transmitting and receiving Morse code
CN201830288U (en) * 2010-10-18 2011-05-11 南京陶朱公智能电子技术有限公司 Mobile terminal capable of realizing flashing communication based on Morse codes
CN102694595A (en) * 2012-05-16 2012-09-26 华为终端有限公司 Mobile terminal and method and device for information transmission of mobile terminal
CN103248416A (en) * 2013-04-23 2013-08-14 北京小米科技有限责任公司 Information transmission method and device
CN103327179A (en) * 2013-06-03 2013-09-25 深圳市宝尔爱迪科技有限公司 System and implementation method for mobile phone lamp signal transmission and recognition

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094048A (en) * 2017-03-23 2017-08-25 深圳市科迈爱康科技有限公司 Information Conduction method based on visible ray, conducting system
WO2018171091A1 (en) * 2017-03-23 2018-09-27 深圳市科迈爱康科技有限公司 Information conduction method and system based on visible light
WO2019034838A1 (en) * 2017-08-15 2019-02-21 Purelifi Limited Optical wireless communication device
US11483071B2 (en) 2017-08-15 2022-10-25 Purelifi Limited Optical wireless communication device

Also Published As

Publication number Publication date
CN104734779A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
WO2014180433A1 (en) Simple data processing method and device
KR101833454B1 (en) Method for local area wireless communication and mobile terminal therefor
CN201051745Y (en) Mobile phone information transmitting device, receiving device and mobile phone communication system
US9224374B2 (en) Methods and devices for audio processing
CN103139313A (en) File transfer method and file transfer system between mobile terminals
US20130256407A1 (en) Wireless 2d barcode communication connection method
CN103929767A (en) Wireless network setting method based on sound wave or light wave communication
EP2941058B1 (en) Near field communication method and device
KR100800723B1 (en) Method and apparatus for managing communication history
CN112887926B (en) Calling method and device
CN102905018A (en) Micro missed call prompting system based on bluetooth
CN103051798A (en) Short-distance wireless data transmission method based on optical sensor and mobile terminal
ES2411478T3 (en) Context sensitive data manipulation
CN113992663B (en) Method for sending file, electronic device and readable storage medium
US20170075671A1 (en) Method and apparatus for installing application and smart device using the same
CN109167770A (en) Export method, networking method, device and the storage medium of networking certification information
US20140120956A1 (en) Data transmisson system, data transmission method and mobile electronic device
KR20140119917A (en) Method for providing User Interface for wireless communication connection, Terminal thereof and Wireless Communication System thereof
CN109842960A (en) Connect method for building up and device
CN113805825B (en) Method for data communication between devices, device and readable storage medium
CN108307477A (en) Connect method for building up and device
CN105847570B (en) The means of communication and device
TWI577429B (en) Method and device for controlling the doll with app
KR102026709B1 (en) Method for local area wireless communication and mobile terminal therefor
KR20200008915A (en) Method for Registering Off-road Path for Two-wheeled Vehicle by Using Mobile Device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14793980

Country of ref document: EP

Kind code of ref document: A1