CN106776383A - The recognition methods of storage card, device and electronic equipment - Google Patents

The recognition methods of storage card, device and electronic equipment Download PDF

Info

Publication number
CN106776383A
CN106776383A CN201611233259.6A CN201611233259A CN106776383A CN 106776383 A CN106776383 A CN 106776383A CN 201611233259 A CN201611233259 A CN 201611233259A CN 106776383 A CN106776383 A CN 106776383A
Authority
CN
China
Prior art keywords
storage card
type parameter
recognizer
recognizers
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611233259.6A
Other languages
Chinese (zh)
Other versions
CN106776383B (en
Inventor
张勇军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Autel Intelligent Aviation Technology Co Ltd
Original Assignee
Shenzhen Autel Intelligent Aviation Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Autel Intelligent Aviation Technology Co Ltd filed Critical Shenzhen Autel Intelligent Aviation Technology Co Ltd
Priority to CN201611233259.6A priority Critical patent/CN106776383B/en
Publication of CN106776383A publication Critical patent/CN106776383A/en
Application granted granted Critical
Publication of CN106776383B publication Critical patent/CN106776383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

Present invention is disclosed a kind of recognition methods of storage card, device and electronic equipment.Methods described includes:The type parameter of the storage card is read by storage card protocol command, according to the corresponding relation between recognizer and type parameter scope, obtain at least two recognizers corresponding to the type parameter of the storage card, data loading is carried out to the storage card by recognizer described at least two in turn, until successfully recognizing the storage card.The recognition methods of said memory card, device and electronic equipment can improve the success rate of storage card identification.

Description

The recognition methods of storage card, device and electronic equipment
Technical field
The present invention relates to storage device technical field, more particularly to a kind of recognition methods of storage card, device and electronics set It is standby.
Background technology
Due to amount of storage it is big, easy to carry, read or write speed is fast the features such as, storage card obtains more and more electronic equipments Support.At present, after storage card is inserted, electronic equipment carries out data loading to storage card by recognizer, realizes to depositing The identification of card storage.
However, due to the difference of card type memory parameter, such as production firm, capacity are different, when using unified identification When the program storage card different to type parameter carries out data loading, existing cannot be normally carried out data loading to part storage card Phenomenon, so as to cause recognition failures, greatly reduce storage card identification success rate.
The content of the invention
For the relatively low technical problem of the success rate for solving storage card identification in correlation technique, deposited the invention provides one kind The recognition methods of card storage, device and electronic equipment.
In a first aspect, the embodiment of the present invention provides a kind of recognition methods of storage card, including:
The type parameter of the storage card is read by storage card protocol command;
According to the corresponding relation between the recognizer and type parameter scope for pre-setting, the class of the storage card is obtained At least two recognizers corresponding to shape parameter;
Data loading is carried out to the storage card by least two recognizer in turn, until successfully recognizing described Storage card.
Second aspect, the embodiment of the present invention provides a kind of identifying device of storage card, including:
Type parameter read module, the type parameter for reading the storage card by storage card protocol command;
Recognizer acquisition module, for according to the corresponding pass between the recognizer and type parameter scope for pre-setting System, obtains at least two recognizers corresponding to the type parameter of the storage card;
Data load-on module, adds for carrying out data to the storage card in turn by least two recognizer Carry, until successfully recognizing the storage card.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, including:
Interface for plugging storage card;
At least one processor, positioned at the electronic equipment internal;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one Individual computing device, so that at least one processor is able to carry out the method that above-mentioned first aspect is provided.
The technical scheme that embodiments of the invention are provided can include the following benefits:
After inserting storage card in electronic equipment, the type parameter of storage card is read by storage card protocol command, according to knowledge Corresponding relation between other program and type parameter scope, obtains at least two identification journeys corresponding to the type parameter of storage card Sequence, data loading is carried out by least two recognizers to storage card in turn, until success identification memory card, recognizes in one kind When program is to storage card recognition failures, data loading is carried out to storage card using another recognizer, until storage card is recognized Success, substantially increases the success rate of storage card identification.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited Invention.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Fig. 1 is the schematic diagram according to implementation environment involved in the present invention;
Fig. 2 is a kind of recognition methods flow chart of the storage card according to an exemplary embodiment;
Fig. 3 is that Fig. 2 correspondingly implements one kind of step S130 in the recognition methods of storage card for exemplifying and implements flow Figure;
Fig. 4 is that one kind of the step of Fig. 3 correspondence implementations are exemplified S131 implements flow chart;
Fig. 5 is that Fig. 2 correspondingly implements one kind of step S150 in the recognition methods of storage card for exemplifying and implements flow Figure;
Fig. 6 is a kind of identifying device block diagram of the storage card according to an exemplary embodiment;
Fig. 7 is the block diagram of recognizer acquisition module that Fig. 6 correspondingly implements to exemplify;
Fig. 8 is the block diagram of data load-on module that Fig. 6 correspondingly implements to exemplify;
Fig. 9 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Specific embodiment
Here explanation will be performed to exemplary embodiment in detail, its example is illustrated in the accompanying drawings.Following exemplary is implemented Implementation method described in example does not represent all implementation methods consistent with the present invention.Conversely, they are only and such as institute The example of the consistent apparatus and method of some aspects described in detail in attached claims, of the invention.
It should be noted that when an element is expressed " connection " another element, it can be directly to another Individual element or there may be one or more elements placed in the middle therebetween.Unless otherwise defined, what this specification was used is all Technology and scientific terminology it is identical with the implication that those skilled in the art of the invention are generally understood that is belonged to.In this specification The term for being used in the description of the invention is intended merely to describe the purpose of specific embodiment, is not intended to limitation originally Invention.The term "and/or" that this specification is used includes the arbitrary and all of of one or more related Listed Items Combination.As long as additionally, technical characteristic involved in invention described below each implementation method non-structure each other Can be just mutually combined into conflict.
Fig. 1 is the schematic diagram according to implementation environment involved in the present invention.As shown in figure 1, the implementation environment includes:Electronics Equipment 20 and enter the storage card 10 that line interface is connected with electronic equipment 20.When storage card 10 is connected with the interface of electronic equipment 20, Electronic equipment 20 carries out data loading by recognizer to storage card 10, when that cannot be normally carried out data loading, using another A kind of recognizer carries out data loading to storage card 10, until normally carrying out data loading to storage card 10, successfully identification is deposited Card storage.Storage card 10 can be SD card (Secure Digital Memory Card, safe digital card), TF cards (Trans- Flash Card, portable memory card), CF cards (Compact Flash, compact flash card), mmc card (Muti Media Card, multimedia card) etc., specific implementation is not limited by the present embodiment.Electronic equipment 20 can be smart mobile phone, flat board Computer, video camera, mobile unit, unmanned plane etc., specific implementation are not limited by the present embodiment.
Fig. 2 is a kind of recognition methods flow chart of the storage card according to an exemplary embodiment.As shown in Fig. 2 should The recognition methods of storage card may comprise steps of.
In step s 110, the type parameter of storage card is read by storage card protocol command.
Storage card is the independent storage medium that can be used for the electronic equipments such as mobile phone, computer.In one exemplary embodiment, Storage card can be SD card, TF cards, CF cards, mmc card etc..
It should be noted that storage card can plug.After the interface of electronic equipment has storage card to insert, electronic equipment It is connected by the interface with storage card, after success identification memory card, is realized and the data interaction between storage card.
Storage card protocol command is the instruction being communicatively coupled based on communication protocol between storage card and electronic equipment. In one exemplary embodiment, storage card and electronic equipment carry out protocol command interaction by SD card agreement.
The type parameter of storage card is the parameter for describing all types of features of storage card.The type parameter of storage card include but not It is limited to ManufacturerID (ManufacturerIdentification, manufacturer's identity), the OEM of storage card (Original Equipment Manufacturer, original equipment manufacturer) ID, SD card capacity and SD card speed step etc. is joined At least one in number.
Specific storage card protocol command is preset with electronic equipment, after the interface of storage card insertion electronic equipment, Electronic equipment detects the insertion of storage card, and storage card protocol command is sent to storage card, and storage card receives electronic equipment and sends Storage card protocol command after, reply related type parameter to electronic equipment.
In one exemplary embodiment, the method that the type parameter of storage card is obtained by SD card protocol command is as follows.
Electronic equipment sends the SD card protocol commands such as CMD2, CMD9, CMD13 by storage card, and storage card is read respectively OEM ID and ManufacturerID, SD card amount of capacity, UhsSpeedGrade and SpeedClass (storage card velocity stages The type parameter such as not).
In step s 130, according to the corresponding relation between the recognizer and type parameter scope for pre-setting, obtain At least two recognizers corresponding to the type parameter of storage card.
Recognizer is the software program that data loading is carried out to storage card, for the number of storage card in control electronics According to loading procedure.In one exemplary embodiment, recognizer is device driver, by device driver, to depositing Card storage carries out data loading.It is understood that each recognizer is capable of identify that a range of type parameter.Therefore, Each recognizer corresponds to a type parameter scope.
And there is certain difference in the corresponding type parameter scope of a variety of recognizers, therefore, for a certain kind The type parameter of storage card, not all recognizer can be identified as work(to such shape parameter.When the type of storage card When parameter is in the range of the corresponding type parameter of recognizer, the recognizer normally can carry out data loading to storage card;When When the type parameter of storage card is not in the range of the corresponding type parameter of recognizer, the recognizer is possibly cannot be normally to depositing Card storage carries out data loading, leads to not successfully recognize storage card.
In step S150, data loading is carried out to storage card in turn by least two recognizers, until successfully knowing Other storage card.
By obtaining at least two recognizers, and then data loading is carried out to storage card.When using a kind of recognizer When data loading cannot be normally carried out to storage card, then data loading is carried out to storage card using another recognizer, until Data loading is normally carried out, i.e., successfully recognizes the storage card.
When carrying out data loading to storage card in turn using at least two recognizers, have one when each recognizer is loaded Fixed order.The storage size that can be taken according to each recognizer is sequentially, it is also possible to carries out data according to each recognizer and adds The frequency order of load, can also carry out data loading to storage card in turn according to other modes.
In one exemplary embodiment, data loading is carried out to storage card using following structure.
typedefstruct_SD_FACTORY_INFO_{
{ Mid_1, Oid_1, Capabcity_1, Class_1, Uhs_1, Sd_param_1 },
{ Mid_2, Oid_2, Capabcity_2, Class_2, Uhs_2, Sd_param_2 },
{ Mid_3, Oid_3, Capabcity_3, Class_1, Uhs_3, Sd_param_3 },
........
}SD_FACTORY_INFO
After carrying out 1,2,3 ... numbering to recognizer, storage is sticked into successively according to the order of numbering 1,2,3 ... Row data are loaded, until being normally carried out data loading.
Using method as described above, the type parameter according to storage card obtains corresponding at least two recognizer, When a kind of recognizer cannot normally carry out data to storage card and load, then storage card is carried out using the recognizer of other kinds Data are loaded, so as to improve the success rate of storage card identification.
Fig. 3 is the description of the details to step S130 according to an exemplary embodiment.Step S130 can be wrapped Include following steps.
In step S131, by each self-corresponding type parameter scope of a variety of recognizers respectively with type parameter Matching operation is carried out, corresponding matching degree is obtained.
Matching degree is the matching degree of the corresponding type parameter scope of recognizer and type parameter.
Matching operation is the calculating that matching degree is carried out to the corresponding type parameter scope of recognizer and type parameter, is obtained The distance between type parameter scope and type parameter, and then it is identified the matching degree between program and type parameter.
When type parameter is in the range of the corresponding type parameter of recognizer, then the recognizer and type parameter It is higher with spending;When type parameter is not in the range of the corresponding type parameter of recognizer, then the recognizer and type parameter Matching degree it is smaller, and type parameter is more remote with the distance between type parameter scope, and matching degree is just smaller.
During a variety of recognizers can be recognizer, or server during electronic equipment is locally stored Recognizer.
In step S133, according to matching degree, at least two recognizers are chosen from a variety of recognizers.
According to matching degree different between type parameter and a variety of recognizers, at least two recognizers are chosen Implementation have various.Matching degree threshold value can be pre-set, at least two knowledges that matching degree exceedes matching degree threshold value are chosen Other program;The quantity of recognizer can also be preset, and then the recognizer of predetermined number is chosen according to the size of matching degree;Also At least two recognizers can be chosen from a variety of recognizers using other modes, be not limited thereto.
Using method as described above, according to a variety of recognizers and the matching degree of type parameter, choose at least Two kinds of recognizers, and then data loading is carried out to storage card in turn using at least two recognizers, substantially increase storage Block the success rate of identification.
Optionally, in one exemplary embodiment, step S131 may comprise steps of.
In step S1311, each self-corresponding type parameter scope of all recognizers in being locally stored respectively with Type parameter carries out matching operation, obtains corresponding matching degree.
It should be noted that being loaded with one or more recognizer of different storing card under electronic equipment is advance, and store In being locally stored.
The type parameter matching operation of the corresponding type parameter scope of recognizer and storage card in by being locally stored, Obtain corresponding matching degree, and then choose recognizer according to matching degree carries out data loading to storage card, substantially increases and deposits The recognition speed of card storage.
Optionally, Fig. 4 is the description of the details to step S131 according to an exemplary embodiment.Recognizer is deposited It is stored in server, step S131 may comprise steps of.
In step S1313, various different recognizers in server are obtained.
In one exemplary embodiment, by the SD card of server use platform in download so that obtain it is various not Same recognizer.
In step S1315, each self-corresponding type parameter scope of various different recognizers is joined with type respectively Number carries out matching operation, obtains corresponding matching degree.
Using method as described above, by obtaining the recognizer in server, by the corresponding type ginseng of recognizer Number scope carries out matching operation with the type parameter of storage card and obtains corresponding matching degree respectively, and then chooses knowledge according to matching degree Other program carries out data loading to storage card, because the recognizer in server relatively enriches, substantially increases and storage is sticked into The success rate of row identification.
Fig. 5 is implementation corresponding with Fig. 4 to Fig. 2, Fig. 3 according to exemplary embodiment S150 the step of exemplify Detailed description.During recognizer is stored in server or is locally stored, step S150 may comprise steps of.
In step S151, at least two recognizers chosen are ranked up according to the frequency for carrying out data loading, Obtain ranking results.
The frequency for carrying out data loading is the number of times that recognizer is normally carried out data loading to storage card in the regular period. Frequency is bigger, and the number of times that corresponding recognizer is normally carried out data loading is more.
For example, the frequency that recognizer A1, A2, A3, A4 for choosing carry out data loading be respectively 600,5000,1000, 800, the ranking results obtained according to frequency are A2, A3, A4, A1.
In step S153, data are carried out to storage card successively using at least two recognizers according to ranking results and is added Carry, until success identification memory card.
Data loading is carried out to storage card successively using at least two recognizers according to ranking results, in one kind identification journey When sequence cannot normally carry out data loading to storage card, line number is entered to storage card using a kind of lower recognizer according to ranking results According to loading, until normally carrying out data loading to storage card, that is, succeed identification memory card.
For example, at least two recognizers corresponding to the type parameter of storage card are respectively recognizer A1, A2, A3, The ranking results that frequency according to data loading is carried out is obtained are A2, A3, A1.When data loading is carried out to storage card, first Data loading is carried out to storage card using recognizer A2, if being normally carried out data loading, that is, succeed identification memory card, then no longer Data loading is carried out to storage card using other recognizers;When recognizer A2 normally cannot carry out data loading to storage card When, then data loading is carried out to storage card using recognizer A3, if being normally carried out data loading, that is, succeed identification memory card, Data loading no longer then is carried out to storage card using other recognizers;When recognizer A3 normally cannot enter line number to storage card During according to loading, then data loading is carried out to storage card using recognizer A1, if being normally carried out data loading, i.e., successfully identification is deposited Card storage.
Using method as described above, the recognizer chosen is ranked up according to the frequency for carrying out data loading, entered And data loading is carried out to storage card using recognizer in turn according to ranking results, i.e., the preferential recognizer big using frequency Data loading is carried out, the success rate being identified to storage card is substantially increased.
Following is apparatus of the present invention embodiment, can be used for performing the recognition methods embodiment of this said memory card.For The details not disclosed in apparatus of the present invention embodiment, refer to the recognition methods embodiment of storage card of the present invention.Wherein, the present invention The identifying device of the storage card that implementation is exemplified can apply to the electronic equipment 20 described by Fig. 1.
Fig. 6 is a kind of identifying device block diagram of the storage card according to an exemplary embodiment, and the device is included but not It is limited to:Type parameter read module 110, recognizer acquisition module 130 and data load-on module 150.
Type parameter read module 110, the type parameter for reading storage card by storage card protocol command;
Recognizer acquisition module 130, for according to right between the recognizer and type parameter scope for pre-setting Should be related to, obtain at least two recognizers corresponding to the type parameter of storage card;
Data load-on module 150, for carrying out data loading to storage card in turn by least two recognizers, until Success identification memory card.
The function of modules and the implementation process of effect specifically refer to the recognition methods of said memory card in said apparatus The implementation process of middle correspondence step, will not be repeated here.
Optionally, as shown in fig. 7, recognizer acquisition module 130 is included but is not limited to:The He of matching operation submodule 131 Recognizer chooses submodule 133.
Matching operation submodule 131, for each self-corresponding type parameter scope of a variety of recognizers to be distinguished Matching operation is carried out with type parameter, corresponding matching degree is obtained;
Recognizer chooses submodule 133, for according to matching degree, at least two being chosen from a variety of recognizers Plant recognizer.
Optionally, all recognizers that the matching operation submodule 131 in Fig. 7 specifically can be used in being locally stored Each self-corresponding type parameter scope carries out matching operation with type parameter respectively, obtains corresponding matching degree.
Optionally, the matching operation submodule 131 in Fig. 7 specifically can be used for obtaining various different identifications in server Program, matching operation is carried out by each self-corresponding type parameter scope of various different recognizers with type parameter respectively, is obtained To corresponding matching degree.
Optionally, as shown in figure 8, the data load-on module 150 in Fig. 6 is included but is not limited to:The sum of sorting sub-module 151 According to loading submodule 153.
Sorting sub-module 151, for being carried out at least two recognizers chosen according to the frequency for carrying out data loading Sequence, obtains ranking results;
Data load submodule 153, for being sticked into storage successively using at least two recognizers according to ranking results Row data are loaded, until success identification memory card.
Fig. 9 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
With reference to Fig. 9, electronic equipment 100 can include following one or more component:Processing assembly 101, memory 102, power supply module 103, multimedia groupware 104, audio-frequency assembly 105, interactive interface 106, sensor cluster 107 and communication set Part 108.Wherein, said modules and be not all it is necessary, electronic equipment 100 can according to itself functional requirement increase other assemblies Or some components are reduced, the present embodiment is not construed as limiting.
The integrated operation of the usual control electronics 100 of processing assembly 101, such as with display, call, data are led to Letter, camera operation and the associated operation of record operation etc..Processing assembly 101 can include one or more processors 109 Carry out execute instruction, to complete all or part of step of above-mentioned method.Additionally, processing assembly 101 can include one or many Individual module, is easy to the interaction between processing assembly 101 and other assemblies.For example, processing assembly 101 can include multimedia mould Block, to facilitate the interaction between multimedia groupware 104 and processing assembly 101.
Memory 102 is configured as storing various types of data supporting the operation in electronic equipment 100.These data Example include on electronic equipment 100 operate any application program or method instruction.Memory 102 can be by appointing Volatibility or non-volatile memory device or the combinations thereof realization of what type, such as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically Erasable ProgrammableRead-Only Memory, Electrically Erasable Read Only Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read- Only Memory, programmable read only memory), ROM (Read-Only Memory, read-only storage), magnetic memory, quick flashing Memory, disk or CD.Also be stored with one or more modules in memory 102, and one or more modules are configured to Performed by the one or more processors 109, to complete the whole in any shown method of Fig. 2, Fig. 3, Fig. 4 and Fig. 5 or portion Step by step.
Power supply module 103 provides electric power for the various assemblies of electronic equipment 100.Power supply module 103 can include power supply pipe Reason system, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for electronic equipment 100.
Multimedia groupware 104 is included in one screen of output interface of offer between electronic equipment 100 and user.One In a little embodiments, screen can include LCD (Liquid Crystal Display, liquid crystal display) and TP (TouchPanel, Touch panel).If screen includes touch panel, screen may be implemented as touch-screen, be believed with receiving the input from user Number.Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.The touch Sensor can not only sensing touch or sliding action border, but also detection and the touch or slide is related holds Continuous time and pressure.
Audio-frequency assembly 105 is configured as output and/or input audio signal.For example, audio-frequency assembly 105 includes a Mike Wind, when electronic equipment 100 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal for being received can be further stored in memory 102 or via communication component 108 send.In certain embodiments, audio-frequency assembly 105 also includes a loudspeaker, for exports audio signal.
Interactive interface 106 is the communication connection passage of electronic equipment 100 and external equipment.For example, interactive interface 106 includes SD card interface, SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) interface, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) interface, USB (Universal Serial Bus, USB) interface etc., by interactive interface 106, data biography is carried out between electronic equipment 100 and external equipment It is defeated.
Sensor cluster 107 includes one or more sensors, the state for providing various aspects for electronic equipment 100 Assessment.For example, sensor cluster 107 can detect the opening/closed mode of electronic equipment 100, the relative positioning of component is passed Sensor component 107 can also detect that the position of 100 1 components of electronic equipment 100 or electronic equipment changes and electronic equipment 100 temperature change.In certain embodiments, the sensor cluster 107 can also include Magnetic Sensor, pressure sensor or temperature Degree sensor.
Communication component 108 is configured to facilitate the communication of wired or wireless way between electronic equipment 100 and other equipment. Electronic equipment 100 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, wireless network), 2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 108 is received from outside via broadcast channel The broadcast singal or broadcast related information of broadcasting management systems.In one exemplary embodiment, the communication component 108 is also wrapped NFC (Near Field Communication, near-field communication) module is included, to promote junction service.For example, can in NFC module Based on RFID (Radio Frequency Identification, radio frequency identification) technology, IrDA (Infrared Data Association, Infrared Data Association) technology, UWB (Ultra-Wideband, ultra wide band) technology, BT (Bluetooth, it is blue Tooth) technology and other technologies realize.
In the exemplary embodiment, electronic equipment 100 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital Signal Processing, at data signal Reason device), PLD (Programmable Logic Device, PLD), FPGA (Field-Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, be used for Perform the recognition methods of said memory card.
Optionally, when electronic equipment 100 is unmanned plane, the unmanned plane can be used for performing Fig. 2, Fig. 3, Fig. 4 and Fig. 5 All or part of step in the recognition methods of storage card shown in.The unmanned plane can include:Fuselage;Camera head, It is connected with the fuselage, with the interface for plugging storage card;Processor, positioned at the fuselage interior;And, with the place The memory of reason device communication connection;Wherein, have can be by the instruction of the computing device, the instruction quilt for the memory storage The computing device, so that the processor is able to carry out the identification side of the storage card as shown in Fig. 2, Fig. 3, Fig. 4 and Fig. 5 are any The all or part of step of method.
Wherein, when unmanned plane detect be used to plug the interface of storage card on camera head in insert storage card when, can be with Load identification is carried out to the storage card using the recognition methods of said memory card, when recognizing successfully, then the storage card can be used To store the image or video of camera head shooting.
The concrete mode of the computing device operation of unmanned plane is in the identification side about the storage card in the embodiment Detailed description is performed in the embodiment of method, explanation will be no longer elaborated herein.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, this Art personnel can without departing from the scope perform various modifications and changes.The scope of the present invention only will by appended right Ask to limit.

Claims (11)

1. a kind of recognition methods of storage card, it is characterised in that including:
The type parameter of the storage card is read by storage card protocol command;
According to the corresponding relation between the recognizer and type parameter scope for pre-setting, the type ginseng of the storage card is obtained At least two corresponding recognizers of number;
Data loading is carried out to the storage card by least two recognizer in turn, until successfully recognizing the storage Card.
2. method according to claim 1, it is characterised in that recognizer and type parameter that the basis pre-sets Corresponding relation between scope, obtains at least two recognizers corresponding to the type parameter of the storage card, including:
Each self-corresponding type parameter scope of a variety of recognizers is carried out into matching operation with the type parameter respectively, Obtain corresponding matching degree;
According to the matching degree, at least two recognizers are chosen from a variety of recognizers.
3. method according to claim 2, it is characterised in that described by each self-corresponding class of a variety of recognizers Shape parameter scope carries out matching operation with the type parameter respectively, obtains corresponding matching degree, including:
Each self-corresponding type parameter scope of all recognizers in being locally stored is carried out with the type parameter respectively With computing, corresponding matching degree is obtained.
4. method according to claim 2, it is characterised in that the recognizer is stored in server, it is described will be each Plant different each self-corresponding type parameter scopes of recognizer carries out matching operation with the type parameter respectively, obtains corresponding Matching degree, including:
Obtain various different recognizers in the server;
Each self-corresponding type parameter scope of various different recognizers is matched with the type parameter respectively Computing, obtains corresponding matching degree.
5. the method according to claim any one of 1-4, it is characterised in that described by least two recognizer Data loading is carried out to the storage card in turn, until the storage card is successfully recognized, including:
Frequency according to data loading is carried out is ranked up at least two recognizer chosen, and obtains ranking results;
Data loading is carried out to the storage card using at least two recognizer successively according to the ranking results, until Success recognizes the storage card.
6. a kind of identifying device of storage card, it is characterised in that including:
Type parameter read module, the type parameter for reading the storage card by storage card protocol command;
Recognizer acquisition module, the corresponding relation between the recognizer pre-set for basis and type parameter scope, Obtain at least two recognizers corresponding to the type parameter of the storage card;
Data load-on module, for carrying out data loading to the storage card in turn by least two recognizer, directly To successfully recognizing the storage card.
7. device according to claim 6, it is characterised in that the recognizer acquisition module includes:
Matching operation submodule, for by each self-corresponding type parameter scope of a variety of recognizers respectively with the class Shape parameter carries out matching operation, obtains corresponding matching degree;
Recognizer chooses submodule, for according to the matching degree, being chosen at least from a variety of recognizers Two kinds of recognizers.
8. device according to claim 7, it is characterised in that the matching operation submodule will be specifically for that will be locally stored In each self-corresponding type parameter scope of all recognizers carry out matching operation with the type parameter respectively, obtain corresponding Matching degree.
9. device according to claim 7, it is characterised in that the recognizer is stored in server, the matching Computing submodule specifically for obtaining various different recognizers in the server, by various different recognizers Each self-corresponding type parameter scope carries out matching operation with the type parameter respectively, obtains corresponding matching degree.
10. the device according to claim any one of 6-9, it is characterised in that the data load-on module includes:
Sorting sub-module, for being arranged at least two recognizer chosen according to the frequency for carrying out data loading Sequence, obtains ranking results;
Data load submodule, for using at least two recognizer successively to the storage according to the ranking results The loading of row data is sticked into, until successfully recognizing the storage card.
11. a kind of electronic equipment, it is characterised in that including:
Interface for plugging storage card;
At least one processor, positioned at the electronic equipment internal;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one Reason device is performed, so that at least one processor is able to carry out the method as described in claim any one of 1-5.
CN201611233259.6A 2016-12-28 2016-12-28 Memory card identification method and device and electronic equipment Active CN106776383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611233259.6A CN106776383B (en) 2016-12-28 2016-12-28 Memory card identification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611233259.6A CN106776383B (en) 2016-12-28 2016-12-28 Memory card identification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106776383A true CN106776383A (en) 2017-05-31
CN106776383B CN106776383B (en) 2023-07-04

Family

ID=58921319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611233259.6A Active CN106776383B (en) 2016-12-28 2016-12-28 Memory card identification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106776383B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255747A (en) * 2017-12-28 2018-07-06 深圳市泛海三江科技发展有限公司 A kind of method and system of identification memory card
WO2020035061A1 (en) * 2018-08-17 2020-02-20 青岛海信电器股份有限公司 Method and device for identifying type of memory device externally connected to smart television
CN111428842A (en) * 2018-12-24 2020-07-17 华为技术有限公司 Memory card identification method and mobile device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555557A (en) * 2001-07-18 2004-12-15 ���µ�����ҵ��ʽ���� Writing device, semiconductor memory card, program, and method
CN1822030A (en) * 2006-03-23 2006-08-23 骆建军 Multiple interface self adaptive rsMMC memory card
CN1991735A (en) * 2005-12-06 2007-07-04 美国凹凸微系有限公司 System and method for connecting memory card
CN101419843A (en) * 2008-12-04 2009-04-29 北京中星微电子有限公司 Flash memory recognition method, recognition device and chip controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555557A (en) * 2001-07-18 2004-12-15 ���µ�����ҵ��ʽ���� Writing device, semiconductor memory card, program, and method
CN1991735A (en) * 2005-12-06 2007-07-04 美国凹凸微系有限公司 System and method for connecting memory card
CN1822030A (en) * 2006-03-23 2006-08-23 骆建军 Multiple interface self adaptive rsMMC memory card
CN101419843A (en) * 2008-12-04 2009-04-29 北京中星微电子有限公司 Flash memory recognition method, recognition device and chip controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255747A (en) * 2017-12-28 2018-07-06 深圳市泛海三江科技发展有限公司 A kind of method and system of identification memory card
WO2020035061A1 (en) * 2018-08-17 2020-02-20 青岛海信电器股份有限公司 Method and device for identifying type of memory device externally connected to smart television
CN111428842A (en) * 2018-12-24 2020-07-17 华为技术有限公司 Memory card identification method and mobile device
US11893436B2 (en) 2018-12-24 2024-02-06 Huawei Technologies Co., Ltd. Memory card identification method and mobile device

Also Published As

Publication number Publication date
CN106776383B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
CN104050559A (en) Method And Apparatus For Electronic Payment In Electronic Device
US20120119888A1 (en) Universal remote control with automated setup
CN106776383A (en) The recognition methods of storage card, device and electronic equipment
US20150186152A1 (en) Sensing and assisting computing device connections
CN105093949A (en) Method and apparatus for controlling device
CN108259512B (en) Communication protocol identification method, electronic device and computer storage medium
CN105323350A (en) Method and apparatus for controlling outgoing call in vehicle
CN105491523A (en) Method and device for acquiring position information
CN105069016A (en) Photograph album management method, photograph album management apparatus and terminal equipment
CN105095118A (en) Method and device for using equipment
CN107226052A (en) Method of adjustment, device and the smart machine of vehicle drive data
CN106571892A (en) Data processing method and device
CN108196861B (en) Data upgrading method and diagnostic equipment thereof
CN105242552A (en) Installation guide method and device
CN106532367A (en) Power consumption warning method and device of smart socket
CN104376075A (en) Data storage method and device
CN106528113A (en) File compiling method and apparatus
CN105975038A (en) Prompt method and device of charging port detection result
CN106547705A (en) USB (universal serial bus) operating mode control method and device
CN106026232A (en) Detecting method and apparatus for USB port type
CN109785049A (en) A kind of Products Show method, apparatus and terminal device based on data analysis
CN105094608A (en) Task display method and device
CN111935405B (en) Camera equipment control method, system, equipment and medium
CN104391742A (en) Application optimization method and device
CN106911497A (en) Identification, the method and apparatus of adaption system more new equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 9th floor, building B1, Zhiyuan, 1001 Xueyuan Avenue, Xili street, Shenzhen City, Guangdong Province

Applicant after: Shenzhen daotong intelligent Aviation Technology Co.,Ltd.

Address before: 518000 9th floor, building B1, Zhiyuan, 1001 Xueyuan Avenue, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: AUTEL ROBOTICS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant