CN108255758A - A kind of protection smart machine general-purpose interface method and system - Google Patents

A kind of protection smart machine general-purpose interface method and system Download PDF

Info

Publication number
CN108255758A
CN108255758A CN201810034498.1A CN201810034498A CN108255758A CN 108255758 A CN108255758 A CN 108255758A CN 201810034498 A CN201810034498 A CN 201810034498A CN 108255758 A CN108255758 A CN 108255758A
Authority
CN
China
Prior art keywords
instruction
purpose communication
communication instruction
smart machine
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810034498.1A
Other languages
Chinese (zh)
Inventor
王亮
王昕�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BORQS BEIJING Ltd
Original Assignee
BORQS BEIJING Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BORQS BEIJING Ltd filed Critical BORQS BEIJING Ltd
Priority to CN201810034498.1A priority Critical patent/CN108255758A/en
Publication of CN108255758A publication Critical patent/CN108255758A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of protection smart machine general-purpose interface method and system, the method includes:Pass through MTP interface data;Judge whether data are all purpose communication instruction, if so, parsing and performing all purpose communication instruction;Otherwise file transmission is carried out.Including instruction morphing unit, all purpose communication instruction is converted for the system;MTP interfaces receive and forward all purpose communication instruction and/or file after conversion;Recognition unit is instructed, is used to that all purpose communication instruction after conversion and file to be identified, and all purpose communication instruction that will identify that is sent to described instruction resolution unit;Resolution unit is instructed, all purpose communication instruction after conversion is parsed, and perform all purpose communication instruction.The method grade system of the present invention, has well solved the safety issue of current smart machine general-purpose interface, has reduced R&D costs, improve efficiency of research and development.

Description

A kind of protection smart machine general-purpose interface method and system
Technical field
The present invention relates to a kind of smart machine more particularly to a kind of protection smart machine general-purpose interface method and system.
Background technology
Current smart machine such as mobile phone, tablet computer etc. are many using the operating system increased income(Such as android)And Chip solution(High-pass platform, MTK platforms), these systems and platform have general computer and mobile communication interface, When production and debugging, need to communicate with smart machine by these ports, there are security risks.It is researching and developing, is producing, after sale Stage needs to be in communication with by the general-purpose interface of smart machine, but since these interfaces are all general, for what is had Operating system(Such as android)Source code is still disclosed, is easily cracked, there are larger security risks.If ODM manufacturers are certainly Oneself researches and develops a dedicated interface, and R&D costs can be very high.
Invention content
In order to solve the shortcomings of the prior art, the purpose of the present invention is to provide a kind of protection, smart machine is general connects Mouth method and system, achieve the purpose that solve the safety issue of current smart machine general-purpose interface.
In order to achieve the above object, protection smart machine general-purpose interface method provided by the invention, including:
1)Pass through MTP interface data;
2)Judge whether data are all purpose communication instruction, if so, parsing and performing all purpose communication instruction;Otherwise file biography is carried out It is defeated.
Further, in the step 1)Before, further comprise the step converted to all purpose communication instruction Suddenly.
In order to achieve the above object, protection smart machine universal interface system provided by the invention, including instruction morphing list Member, MTP interfaces, instruction recognition unit and instruction resolution unit, wherein,
Described instruction conversion unit converts all purpose communication instruction;
The MTP interfaces receive and forward all purpose communication instruction and/or file after conversion;
Described instruction recognition unit is used to that all purpose communication instruction after conversion and file to be identified, and will identify that All purpose communication instruction is sent to described instruction resolution unit;
Described instruction resolution unit parses all purpose communication instruction after conversion, and performs all purpose communication instruction.
Further, described instruction conversion unit is set to computer end.
Further, described instruction recognition unit is transmitted file process to non-universal communication instruction.
It is an advantage of the current invention that in the MTP interfaces transmission all purpose communication instruction that general intelligence equipment all has, so as to thorough Bottom closes smart machine and is used for the general-purpose interface tested or debugged, and does not stay any back door, in the situation without researching and developing special purpose interface Under, the safety issue of current smart machine general-purpose interface has been well solved, has reduced R&D costs, has improved research and development effect Rate.Scheme to research and develop, producing, provide smart machine and compunlcation after sale simultaneously.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that being understood by implementing the present invention.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, and with the present invention's Embodiment for explaining the present invention, is not construed as limiting the invention together.In the accompanying drawings:
Fig. 1 is the flow chart according to the protection smart machine general-purpose interface method of the present invention.
Fig. 2 is the protection smart machine universal interface system functional block diagram according to the present invention.
Specific embodiment
The preferred embodiment of the present invention is illustrated below in conjunction with attached drawing, it should be understood that preferred reality described herein It applies example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is according to the flow chart of the protection smart machine general-purpose interface method of the present invention, below with reference to Fig. 1 to the present invention Protection smart machine general-purpose interface method be described in detail.
First, in step 101, computer end sends data to MTP interfaces, and mobile equipment passes through MTP interface data.
The MTP interfaces refer to follow the interface of media transmission protocol.Media transmission protocol(Media Transfer Protocol, MTP)It is one and is based on picture transfer protocol(Picture Transfer Protocol, PTP)Self-defined expansion Open up agreement.The agreement allows user's linear access media file on the mobile apparatus.PTP is only designed to from digital camera Photo is downloaded, and MTP can support the media text on music file and portable media player on digital audio-frequency player The transmission of the personal information of part and personal digital assistant.MTP is a key component of WMDRM10-PD, and WMDRM10- PD is an item of digital copyright management of Windows Media(DRM)Service.
The present invention instructs all purpose communication is used as transmission medium after conversion by MTP interfaces, extends MTP interfaces Purposes.
After step 102, the MTP interface computer datas of smart machine, data are identified by recognition unit, Determine whether that all purpose communication instructs, if it is, carrying out next step, otherwise go to step 104.
In step 103, instruction resolution unit parses all purpose communication instruction of reception, last executed instruction.
By taking high pass scheme as an example, the Android device of high pass scheme has adb, diag, and modem ports are surveyed in research and development, factory It when examination, after-sales service, needs to communicate with Android device using these ports, but these ports cannot be exposed to terminal use Family, if after these open-endeds, hacker can steal user information, implantation virus etc. by these ports.And these ends Mouth is all general, is easily used by other people.
The computer end of the present invention has universal command conversion unit, and by adb, diag, modem instruction are converted, and will Instruction after conversion is sent to the MTP ports of smart machine.
There is the present invention instruction recognition unit data that MTP ports are sent to be identified at smart machine end, if it is All purpose communication instructs, then this instruction is sent to adb, diag, modem instruction resolution unit, and instruction resolution unit leads to reception It is parsed and is performed with communication instruction.
In step 104, determine that the data received for file, are transmitted file process.
Still by taking high pass scheme above as an example, if the data of MTP interfaces are not all purpose communication instructions, according to Transmit file process.
Fig. 2 is the protection smart machine universal interface system functional block diagram according to the present invention.As shown in Fig. 2, the system packet Instruction morphing unit 201, MTP interfaces 202, instruction recognition unit 203 and instruction resolution unit 204 are included, wherein,
Instruction morphing unit 201, is arranged on computer end, and all purpose communication instruction is converted, and be sent to smart machine MTP interfaces 202;
MTP interfaces 202 receive all purpose communication instruction and/or file that instruction morphing unit 201 is sent, and are transmitted to instruction Recognition unit 203;
Recognition unit 203 is instructed, receives all purpose communication instruction and/or the file of 202 forwarding of MTP interfaces, and is identified, it will The all purpose communication instruction identified is sent to instruction resolution unit 204, and identifies it is not all purpose communication instruction, then as transmission File process;
Resolution unit 204 is instructed, all purpose communication instruction that instruction recognition unit 203 identifies is parsed, and performs logical Use communication instruction.
One of ordinary skill in the art will appreciate that:The foregoing is only a preferred embodiment of the present invention, and does not have to In the limitation present invention, although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art For, still can to foregoing embodiments record technical solution modify or to which part technical characteristic into Row equivalent replacement.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should all include Within protection scope of the present invention.

Claims (5)

  1. A kind of 1. protection smart machine general-purpose interface method, which is characterized in that this method includes:
    1)Pass through MTP interface data;
    2)Judge whether data are all purpose communication instruction, if so, parsing and performing all purpose communication instruction;Otherwise file biography is carried out It is defeated.
  2. 2. protection smart machine general-purpose interface method according to claim 1, which is characterized in that in the step 1)It Before, the step of further comprising converting all purpose communication instruction.
  3. 3. it is a kind of protection smart machine universal interface system, including instruction morphing unit, MTP interfaces, instruction recognition unit and Instruct resolution unit, which is characterized in that
    Described instruction conversion unit converts all purpose communication instruction;
    The MTP interfaces receive and forward all purpose communication instruction and/or file after conversion;
    Described instruction recognition unit is used to that all purpose communication instruction after conversion and file to be identified, and will identify that All purpose communication instruction is sent to described instruction resolution unit;
    Described instruction resolution unit parses all purpose communication instruction after conversion, and performs all purpose communication instruction.
  4. 4. protection smart machine universal interface system according to claim 3, which is characterized in that described instruction conversion is single Member is set to computer end.
  5. 5. protection smart machine universal interface system according to claim 3, which is characterized in that described instruction identification is single Member is transmitted file process to non-universal communication instruction.
CN201810034498.1A 2018-01-15 2018-01-15 A kind of protection smart machine general-purpose interface method and system Pending CN108255758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810034498.1A CN108255758A (en) 2018-01-15 2018-01-15 A kind of protection smart machine general-purpose interface method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810034498.1A CN108255758A (en) 2018-01-15 2018-01-15 A kind of protection smart machine general-purpose interface method and system

Publications (1)

Publication Number Publication Date
CN108255758A true CN108255758A (en) 2018-07-06

Family

ID=62726630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810034498.1A Pending CN108255758A (en) 2018-01-15 2018-01-15 A kind of protection smart machine general-purpose interface method and system

Country Status (1)

Country Link
CN (1) CN108255758A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070100893A1 (en) * 2005-10-31 2007-05-03 Sigmatel, Inc. System and method for accessing data from a memory device
CN101802808A (en) * 2007-09-20 2010-08-11 微软公司 Accessing device-hosted services from scripting and other programming environments
CN106534275A (en) * 2016-10-25 2017-03-22 公安部第三研究所 Universal safe and reliable data switching method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070100893A1 (en) * 2005-10-31 2007-05-03 Sigmatel, Inc. System and method for accessing data from a memory device
CN101802808A (en) * 2007-09-20 2010-08-11 微软公司 Accessing device-hosted services from scripting and other programming environments
CN106534275A (en) * 2016-10-25 2017-03-22 公安部第三研究所 Universal safe and reliable data switching method

Similar Documents

Publication Publication Date Title
CN102883322A (en) Mobile terminal and WiFi (wireless fidelity) connection method for same
GB2457405A (en) Integrated communication and information processing system
JP2016533059A (en) Bluetooth communication method and Bluetooth communication equipment
WO2016192457A1 (en) Ar book and ar-book-based indexed augmented reality system and method
WO2019001426A1 (en) Data processing method, device and terminal
CN112256786B (en) Multi-modal data processing method and device
CN105471940A (en) Data processing method, data transmitting and receiving terminal and data transmission system
US10152587B2 (en) Device pairing method
CN105216454A (en) A kind of host computer implementation method of electric detonator production note decoding apparatus
CN105635162A (en) Combination method for achieving network isolation access type data communication
JP6665190B2 (en) Network sharing implementation method and apparatus
CN103841143A (en) File sending method, receiving method, system and device
CN103209254B (en) Method and device for managing mobile phone transaction by utilizing paper note
CN107613494B (en) Large-scale user sign-in method based on wireless equipment handshake protocol
US10506081B2 (en) Fixed station interface for legacy base station equipment
JP2023547319A (en) Data transmission methods, devices, systems, computer equipment and computer programs
CN103824014A (en) Isolation certificating and monitoring method of USB (universal serial bus) port within local area network
CN106230503B (en) The method and system of data transmission device and transmission data
CN108255758A (en) A kind of protection smart machine general-purpose interface method and system
EP1624642A3 (en) Apparatus, method and system for providing information in accordance with one of a plurality of protocols
TW201207628A (en) Connection method by using coded image
US9143583B1 (en) Fixed station interface for legacy base station equipment
CN101119588B (en) Cipher key generating method and system for enrollment code and login method and system for software
CN107273102A (en) The generation method and device of mobile applications
CN102523221A (en) Detection method of data message and network safety detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706