CN104408004A - Mobile phone configuration data method based on USB (Universal Serial Bus) interface - Google Patents
Mobile phone configuration data method based on USB (Universal Serial Bus) interface Download PDFInfo
- Publication number
- CN104408004A CN104408004A CN201410565534.9A CN201410565534A CN104408004A CN 104408004 A CN104408004 A CN 104408004A CN 201410565534 A CN201410565534 A CN 201410565534A CN 104408004 A CN104408004 A CN 104408004A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- mobile phone
- module
- usb
- configuration
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/105—Program control for peripheral devices where the programme performs an input/output emulation function
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a mobile phone configuration data method based on a USB (Universal Serial Bus) interface. The mobile phone configuration data method comprises the following five steps: 1) connecting a mobile phone with a computer through a USB interface; 2) detecting whether the USB interface is correctly connected; 3) loading an existing configuration file on the mobile phone; 4) editing and storing a new configuration file by a user; and 5) detecting whether the new configuration file is introduced in or not by the mobile phone, and generating a mobile phone end configuration file. The problems of low efficiency and overhigh manpower and material cost since the data file needs to be configured in the mobile phone in a traditional mobile phone production process are solved, and meanwhile, convenience is brought for the later-stage maintenance and management of the mobile phone.
Description
Technical field
The present invention relates to a kind of method using computer end editing mobile phone configuration data, particularly USB interface-based mobile phone configuration data method.
Background technology
Along with making rapid progress of mobile phone technique, user mobile phone configuration data gets more and more, also more and more loaded down with trivial details.Particularly present smart mobile phone production line, because the configuration data of smart mobile phone is too various, the importing of interior of mobile phone configuration data also extremely bothers.If there is user to think additions and deletions cell-phone function, change the configuration file of mobile phone, that needs the mobile phone maintenance point to specialty to remove editor and amendment configuration file, and its editor's configuration file process also extremely bothers.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of USB interface-based mobile phone configuration data method is provided, it solve in conventional mobile phone production run and need configuration data file in mobile phone, cause inefficiency, the problem of manpower and materials high cost, also facilitates the later maintenance of mobile phone to manage simultaneously.
The object of the invention is to be achieved through the following technical solutions: USB interface-based data in mobile phone configuration-system, it comprises PC and holds dispensing unit, and described PC holds dispensing unit to comprise connection management module, retrieval module and editor module; Described connection management module, for detecting USB port all on computer, once there be USB joint to access, then shows immediately; Described retrieval module is used for retrieving configuration file, if find configuration file, then derives configuration file and stores classification, if do not find configuration file, then eject the prompting not finding configuration file; Described editor module is edited configuration file for user, also can save as new configuration file after editor.
USB interface-based data in mobile phone configuration-system, it comprises the dispensing unit of mobile phone terminal, described mobile phone terminal dispensing unit comprises mobile telephone scanning module and configuration summarizing module, and described mobile telephone scanning module is used for retrieving configuration file when starting shooting and being connected disconnecting with USB; Configuration summarizing module is used for gathering mobile phone configuration file, generates current phone configuration file.
The collocation method of USB interface-based data in mobile phone configuration-system, it comprises following several step:
S1: mobile phone is connected with computer by USB interface;
S2:PC holds the connection management module of dispensing unit to monitor the USB interface on computer, once there be USB mass-memory unit to insert, then examines and comparison the parameter of the large capacity equipment inserted;
S3: retrieval module is loaded into existing configuration file on mobile phone, and the configuration file searched needed for user, if successfully find configuration file, then the storage of this configuration file classification is derived and is presented to user interface and edit for user, if do not find configuration file, then eject the prompting not finding configuration file;
S4: editor module is edited configuration file, has edited the rear data to having edited and has preserved, and now computer end generates a new configuration file, and new configuration file imports in mobile phone by user;
S5: after the USB port of computer and mobile phone disconnect, whether mobile telephone scanning module starts autoscan, detect and have new configuration file to import, if having, resolve new configuration file, and by the content after parsing stored in mobile phone, if not, eject the prompting not finding new configuration file;
S6: configuration summarizing module gathers the new configuration file imported, generates the spendable configuration file of mobile phone terminal by the new configuration file after detecting and resolving.
The invention has the beneficial effects as follows: in mobile phone batch production process, directly import the configuration file that set by computer software to mobile phone file system, realize the rapid configuration of mobile phone, simple to operate, efficiency is high; The maintenance management in mobile phone later stage is also very convenient.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, USB interface-based data in mobile phone configuration-system, it comprises PC and holds dispensing unit, and described PC holds dispensing unit to comprise connection management module, retrieval module and editor module; Described connection management module, for detecting USB port all on computer, once there be USB joint to access, then shows immediately; Described retrieval module is used for retrieving configuration file, if find configuration file, then derives configuration file and stores classification, if do not find configuration file, then eject the prompting not finding configuration file; Described editor module is edited configuration file for user, also can save as new configuration file after editor.
USB interface-based data in mobile phone configuration-system, it comprises the dispensing unit of mobile phone terminal, described mobile phone terminal dispensing unit comprises mobile telephone scanning module and configuration summarizing module, and described mobile telephone scanning module is used for retrieving configuration file when starting shooting and being connected disconnecting with USB; Configuration summarizing module is used for gathering mobile phone configuration file, generates current phone configuration file.
The collocation method of USB interface-based data in mobile phone configuration-system, it comprises following several step:
S1: mobile phone is connected with computer by USB interface;
S2:PC holds the connection management module of dispensing unit to monitor the USB interface on computer, once there be USB mass-memory unit to insert, then examines and comparison the parameter of the large capacity equipment inserted;
S3: retrieval module is loaded into existing configuration file on mobile phone, and the configuration file searched needed for user, if successfully find configuration file, then the storage of this configuration file classification is derived and is presented to user interface and edit for user, if do not find configuration file, then eject the prompting not finding configuration file;
S4: editor module is edited configuration file, has edited the rear data to having edited and has preserved, and now computer end generates a new configuration file, and new configuration file imports in mobile phone by user;
S5: after the USB port of computer and mobile phone disconnect, whether mobile telephone scanning module starts autoscan, detect and have new configuration file to import, if having, resolve new configuration file, and by the content after parsing stored in mobile phone, if not, eject the prompting not finding new configuration file;
S6: configuration summarizing module gathers the new configuration file imported, generates the spendable configuration file of mobile phone terminal by the new configuration file after detecting and resolving.
Detect in step S5 and whether have new configuration file to import, also include following two steps:
S501: detect whether have new configuration file in mobile phone power-on process, if mobile phone power-on detects new configuration file, then resolve new configuration file, will resolve curriculum offering in mobile phone simultaneously, if new configuration file do not detected, then not react;
S502: mobile phone detects the behavior of USB port in real time, if find USB disconnecting, then file system is traveled through, if find that there is new configuration file to exist, then configuration file is resolved, simultaneously by the curriculum offering that parses in mobile phone, if not, eject the prompting not finding new configuration file.
Connection management module described in step S2 is the administration module on computer, when mobile phone is connected with computer by USB interface, computer software is monitored USB port all on computer by connection management module, once there be USB mass-memory unit to insert, then the parameter of the further mass-memory unit to inserting is compared, and the parameter of comparison comprises following:
A. device type;
B.USB kind;
C. vendor number;
D. production code member;
E. the capacity of access device;
If above multiple parameter, has and partly or entirely satisfy condition, then show that mobile phone is connected correctly to computer, next step operation can be carried out, if neither one parameter satisfies condition, then show that mobile phone does not connect computer.
Existing configuration file on loading mobile phone described in step S3, for convenience of description, supposes that file is called the configuration filename that mobile.cfg is mobile phone terminal agreement, its data layout can be conventional general format, as XML, INI, TXT, XLS or DOC etc. also can be self-defining privately owned forms.Retrieval module, by retrieving the file system of the mass-memory unit connected, searches mobile.cfg.
If successfully find mobile.cfg file, the Data classification stored in mobile.cfg configuration file is derived by computer software, and is presented to user interface, edits for user.
If do not find mobile.cfg file, ejection is pointed out by computer software, and configuration file is not found in prompting, now can select to be loaded into predefined setting in computer software and edit for user.
User described in step S4 edits and preserves new configuration file, user can be configured mobile phone intuitively by software interface, the user data that mobile phone terminal is all and system data can be undertaken editing by this kind of mode and configure, such as our common phone directory, short message, the tinkle of bells, picture, volume, language, date, time, Operation system setting, screen display, bluetooth and shooting are first-class, after user has edited, preserve the data of having edited by computer software, now computer software is by configuration file new for generation one.User can select to be saved in by this newly-generated configuration file in mobile phone mass storage file system, and the configuration effort to this computer software end completes.
Claims (3)
1. USB interface-based data in mobile phone configuration-system, is characterized in that: it comprises PC and holds dispensing unit, and described PC holds dispensing unit to comprise connection management module, retrieval module and editor module; Described connection management module, for detecting USB port all on computer, once there be USB joint to access, then shows immediately; Described retrieval module is used for retrieving configuration file, if find configuration file, then derives configuration file and stores classification, if do not find configuration file, then eject the prompting not finding configuration file; Described editor module is edited configuration file for user, also can save as new configuration file after editor.
2. USB interface-based data in mobile phone configuration-system, it is characterized in that: it comprises the dispensing unit of mobile phone terminal, described mobile phone terminal dispensing unit comprises mobile telephone scanning module and configuration summarizing module, and described mobile telephone scanning module is used for retrieving configuration file when starting shooting and being connected disconnecting with USB; Configuration summarizing module is used for gathering mobile phone configuration file, generates current phone configuration file.
3. the collocation method of USB interface-based data in mobile phone configuration-system according to claim 1 and 2, is characterized in that: it comprises following several step:
S1: mobile phone is connected with computer by USB interface;
S2:PC holds the connection management module of dispensing unit to monitor the USB interface on computer, once there be USB mass-memory unit to insert, then examines and comparison the parameter of the large capacity equipment inserted;
S3: retrieval module is loaded into existing configuration file on mobile phone, and the configuration file searched needed for user, if successfully find configuration file, then the storage of this configuration file classification is derived and is presented to user interface and edit for user, if do not find configuration file, then eject the prompting not finding configuration file;
S4: editor module is edited configuration file, has edited the rear data to having edited and has preserved, and now computer end generates a new configuration file, and new configuration file imports in mobile phone by user;
S5: after the USB port of computer and mobile phone disconnect, whether mobile telephone scanning module starts autoscan, detect and have new configuration file to import, if having, resolve new configuration file, and by the content after parsing stored in mobile phone, if not, eject the prompting not finding new configuration file;
S6: configuration summarizing module gathers the new configuration file imported, generates the spendable configuration file of mobile phone terminal by the new configuration file after detecting and resolving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410565534.9A CN104408004B (en) | 2014-10-22 | 2014-10-22 | USB interface-based the accuracy of mobile phone data method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410565534.9A CN104408004B (en) | 2014-10-22 | 2014-10-22 | USB interface-based the accuracy of mobile phone data method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104408004A true CN104408004A (en) | 2015-03-11 |
CN104408004B CN104408004B (en) | 2018-06-15 |
Family
ID=52645636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410565534.9A Active CN104408004B (en) | 2014-10-22 | 2014-10-22 | USB interface-based the accuracy of mobile phone data method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104408004B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389180A (en) * | 2015-10-29 | 2016-03-09 | 诚迈科技(南京)股份有限公司 | Android platform-based USB (Universal Serial Bus) port configurable method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064604A1 (en) * | 2005-09-20 | 2007-03-22 | Liren Chen | Adaptive quality of service policy for dynamic networks |
CN1988701A (en) * | 2006-11-05 | 2007-06-27 | 青岛海信移动通信技术股份有限公司 | Multifunctional mobile phone based on general USB chip and its realizing method |
CN101123769A (en) * | 2007-08-02 | 2008-02-13 | 深圳市杰特电信控股有限公司 | A method for editing mobile phone information using computer |
CN101815369A (en) * | 2010-02-11 | 2010-08-25 | 候万春 | Mobile telephone terminal supporting resource configuration file and network configuration method |
CN102561525A (en) * | 2012-01-18 | 2012-07-11 | 安徽省徽州古典园林建设有限公司 | Connecting structure for wooden buildings |
CN102722468A (en) * | 2012-05-28 | 2012-10-10 | 成都睿联智居电子科技有限公司 | Method for acquiring and updating configuration for network equipment |
CN103995833A (en) * | 2014-04-21 | 2014-08-20 | 深圳天珑无线科技有限公司 | Method and device for sharing configuration information |
-
2014
- 2014-10-22 CN CN201410565534.9A patent/CN104408004B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064604A1 (en) * | 2005-09-20 | 2007-03-22 | Liren Chen | Adaptive quality of service policy for dynamic networks |
CN1988701A (en) * | 2006-11-05 | 2007-06-27 | 青岛海信移动通信技术股份有限公司 | Multifunctional mobile phone based on general USB chip and its realizing method |
CN101123769A (en) * | 2007-08-02 | 2008-02-13 | 深圳市杰特电信控股有限公司 | A method for editing mobile phone information using computer |
CN101815369A (en) * | 2010-02-11 | 2010-08-25 | 候万春 | Mobile telephone terminal supporting resource configuration file and network configuration method |
CN102561525A (en) * | 2012-01-18 | 2012-07-11 | 安徽省徽州古典园林建设有限公司 | Connecting structure for wooden buildings |
CN102722468A (en) * | 2012-05-28 | 2012-10-10 | 成都睿联智居电子科技有限公司 | Method for acquiring and updating configuration for network equipment |
CN103995833A (en) * | 2014-04-21 | 2014-08-20 | 深圳天珑无线科技有限公司 | Method and device for sharing configuration information |
Non-Patent Citations (2)
Title |
---|
ROOOOOOOOCKY: "不Root,有办法通过adb工具读写手机/data目录吗?", 《HTTP://BBS.XIAOMI.CN/T-5704971》 * |
中国惠普有限公司: "《惠普之道:IT服务管理篇》", 31 January 2006 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389180A (en) * | 2015-10-29 | 2016-03-09 | 诚迈科技(南京)股份有限公司 | Android platform-based USB (Universal Serial Bus) port configurable method |
CN105389180B (en) * | 2015-10-29 | 2019-01-29 | 诚迈科技(南京)股份有限公司 | A kind of USB port configurableization method based on Android platform |
Also Published As
Publication number | Publication date |
---|---|
CN104408004B (en) | 2018-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111176976B (en) | Test data generation method and device, storage medium and electronic device | |
US11868314B2 (en) | File processing method and mobile terminal | |
CN103942058B (en) | A kind of EMBEDDED AVIONICS method for upgrading software and system | |
US8949815B2 (en) | Driver installation for targeted and non-present devices | |
EP2942716A1 (en) | Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal | |
CN104199897A (en) | Method and device for identifying and saving file to be downloaded and quickly searching for downloaded file through mobile terminal | |
CN110351715B (en) | AT instruction processing method, terminal adapter and computer readable storage medium | |
CN103927190A (en) | Network expression downloading method and device | |
EP3125501A1 (en) | File synchronization method, server, and terminal | |
EP2863320A2 (en) | Method, terminal and electronic device for processing an e-book document | |
CN105224462A (en) | The recognition methods of control element and device | |
CN102510538A (en) | Method and device for processing abnormal state and television | |
CN103473341A (en) | Playing list generating method and equipment | |
CN102821182B (en) | Automatic phone directory contact matching method for handheld device | |
CN102333240A (en) | Set-top box and online upgrade method thereof | |
CN102946474B (en) | Method and device for automatically sharing contact information of contacts and mobile terminal | |
CN102737690B (en) | Method and terminal that music application starts | |
CN104331522B (en) | OEM information method for customizing and OEM equipment | |
CN109683948A (en) | System data introduction method, device, electronic product and storage medium | |
CN103412773A (en) | Method and device for obtaining files | |
CN102932366A (en) | Method and device for managing multimedia resource, and player | |
CN102739871B (en) | Information sending method and device of mobile terminal | |
CN102830943A (en) | Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform | |
WO2017000929A1 (en) | Client-based media information delivery method and device | |
CN104408004A (en) | Mobile phone configuration data method based on USB (Universal Serial Bus) interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200304 Address after: 510000 Room 802, room 901, room 902, building 4C, Keyuan Road software industry base, Nanshan District, Shenzhen City, Guangdong Province Patentee after: CK Telecom Co., Ltd. Address before: 610041, room 2, building 1, building 765, Tianfu District, Tianfu Road, middle part of Tianfu Road, Chengdu hi tech Zone, Sichuan, Patentee before: Chengdu CK Technology Co.,Ltd. |