CN109639757A - A kind of document down loading method, terminal and server - Google Patents

A kind of document down loading method, terminal and server Download PDF

Info

Publication number
CN109639757A
CN109639757A CN201811289892.6A CN201811289892A CN109639757A CN 109639757 A CN109639757 A CN 109639757A CN 201811289892 A CN201811289892 A CN 201811289892A CN 109639757 A CN109639757 A CN 109639757A
Authority
CN
China
Prior art keywords
terminal
file
ftp server
specified file
area network
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
CN201811289892.6A
Other languages
Chinese (zh)
Other versions
CN109639757B (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 Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811289892.6A priority Critical patent/CN109639757B/en
Publication of CN109639757A publication Critical patent/CN109639757A/en
Application granted granted Critical
Publication of CN109639757B publication Critical patent/CN109639757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the present application discloses a kind of document down loading method, terminal and server, wherein this method comprises: starting factory mode;Local area network where incoming file transport protocol ftp server, and communicated with ftp server foundation;File request is sent to the ftp server, the file request is for requesting the ftp server to issue the corresponding specified file of the terminal;Receive the corresponding specified file of the terminal that the ftp server issues, and the preset specified file issued.Using the application, the process of profile can be made more convenient, save the time.

Description

A kind of document down loading method, terminal and server
Technical field
This application involves field of computer technology more particularly to a kind of document down loading methods, terminal and server.
Background technique
In the design, production process of part terminal, it will usually using fixture come for terminal preset file.Specifically, with For terminal based on android system, test point can be withstood by the thimble of fixture, draw the universal serial bus of terminal (Universal Serial Bus, USB) with personal computer (Personal Computer, PC) machine connect so that PC machine can be terminal preset using Android debugging bridge (Android Debug Bridge, ADB) batch processing mode by USB The process of file, profile is relatively complicated, wastes time.
Summary of the invention
The embodiment of the present application provides a kind of document down loading method, terminal and server, can make the mistake of profile Journey is more convenient, has saved the time.
In a first aspect, the embodiment of the present application provides a kind of document down loading method, it is applied to terminal, comprising:
Start factory mode;
Local area network where incoming file transport protocol ftp server, and communicated with ftp server foundation;
File request is sent to the ftp server, the file request is described for requesting the ftp server to issue The corresponding specified file of terminal;
Receive the corresponding specified file of the terminal that the ftp server issues, and the preset specified text issued Part.
Optionally, the local area network where the access ftp server, comprising:
Start Wireless Fidelity WIFI function, searches out the radio reception device of the local area network where ftp server;
The radio reception device is accessed according to default access rules.
Optionally, the starting Wireless Fidelity WIFI function, searches out the wireless access of the local area network where ftp server After equipment, the method also includes:
Into access device selection interface;The access device selection interface includes the local area network where ftp server The mark of radio reception device;
When receiving the selection operation for the mark of the radio reception device, triggering is described to be connect according to preset rules The step of entering the radio reception device.
Optionally, after the preset specified file issued, the method also includes:
Output prompt information enters aging mode with the preset specified file success issued of warning terminal user; Whether the quality that the aging mode is used to detect the terminal meets the requirements.
Optionally, the method also includes:
Show multiple time options;
When receiving the confirmation operation for object time option, using the object time option corresponding time as Ageing time.
Optionally, the terminal includes the first control, and the starting factory mode includes:
Into initialization interface;The initialization interface includes the second control;
Receive the second touch control operation for the first touch control operation of second control and for first control To extinguish terminal screen;
The third touch control operation received for first control enters factory mode to light the terminal screen.
Second aspect, the embodiment of the present application also provides a kind of document down loading methods, are applied to ftp server, comprising:
The local area network being made of radio reception device is accessed, and establishes and communicates with the terminal for being linked into the local area network;
The file request that the terminal is sent is received, the file request is described for requesting the ftp server to issue The corresponding specified file of terminal;
If inquiring the corresponding specified file of the terminal, the specified file is issued to the terminal, with toilet It states terminal and receives the corresponding specified file of the terminal that the ftp server issues, and the preset specified file issued.
Optionally, the file request includes the mark of the terminal, the method also includes:
According to the corresponding relationship of the mark of the terminal and preset mark and file, institute is inquired in specified directory State the corresponding specified file of terminal.
The third aspect, the embodiment of the present application provide a kind of file downloading device, including for executing such as first aspect and The unit of method described in its any one optional way.
Fourth aspect, the embodiment of the present application also provides a kind of file downloading devices, including for executing such as second aspect And its unit of method described in any one optional way.
5th aspect, the embodiment of the present application provide a kind of terminal, including processor, input equipment, output equipment and deposit Reservoir, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is calculated for storing Machine program, the computer program include program instruction, and the processor is configured for calling described program instruction, are executed such as Method described in first aspect and its any one optional way.
6th aspect, the embodiment of the present application provide a kind of server, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is based on storing Calculation machine program, the computer program include program instruction, and the processor is configured for calling described program instruction, are executed Method as described in second aspect and its any one optional way.
7th aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer storage medium It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor State method of the processor execution as described in first aspect and its any one optional way.
Eighth aspect, the embodiment of the present application also provides a kind of computer readable storage medium, the computer storage is situated between Matter is stored with computer program, and the computer program includes program instruction, and described program instruction makes when being executed by a processor The processor executes the method as described in second aspect and its any one optional way.
In conclusion terminal can star factory mode, and the local area network where ftp server is accessed to take with the FTP Device of being engaged in establishes communication, to send file request to the ftp server, and receives the terminal pair that the ftp server issues The specified file that the specified file answered issues so as to terminal preset, so that the process of profile is more convenient, effectively The time is saved.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described the application.
Fig. 1 is a kind of network architecture schematic diagram of file download system provided by the embodiments of the present application;
Fig. 2 is a kind of factory mode interface schematic diagram provided by the embodiments of the present application;
Fig. 3 is a kind of access device selection interface schematic diagram provided by the embodiments of the present application;
Fig. 4 is a kind of flow diagram of document down loading method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another document down loading method provided by the embodiments of the present application;
Fig. 6 is the flow diagram of another document down loading method provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of file downloading device provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of another file downloading device provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
Referring to Fig. 1, being a kind of network architecture diagram of file download system provided by the embodiments of the present application.The system can be with It can also include radio reception device 30 including terminal 10, server 20.Wherein, terminal 10 can be with intelligent terminal, such as based on peace The EMBEDDED AVIONICS of tall and erect system.Server 20 can be File Transfer Protocol (File Transfer Protocol, FTP) Server.In one embodiment, server 20 can be arranged to the PC of ftp server.Radio reception device 30 can be The equipment such as router.
In the embodiment of the present application, terminal 10 and server 20 can be linked into same local area network by radio reception device 30 In, thereby executing file download operation.Specifically, server 20 can access the local area network being made of radio reception device 30. Terminal 10 can star factory mode, and the local area network where access server 20 is communicated with the foundation of server 20.Terminal 10 can be with File request is sent to server 20, server 20 can receive the file request of the transmission of terminal 10, and inquire the terminal 10 The specified file is issued to terminal 10 by corresponding specified file.Terminal 10 can receive that this is specified by server 20 issues File, and the preset specified file.
In one embodiment, which can also include other terminals, which can also be logical with server 20 It crosses radio reception device 30 and is linked into same local area network to establish communication, to realize the file cocurrent downloading of multiple devices and pre- The process set, to provide the downloading of multiple devices and the efficiency of profile.Correspondingly, the file download of other terminals Process may refer to terminal 10, and this will not be repeated here for the embodiment of the present application.
Below in conjunction with above-mentioned file download system, a file download provided by the embodiments of the present application is briefly explained Application scenarios.The computer that diagnostic device A under the application scenarios is equivalent to terminal 10, is configured to ftp server is equivalent to clothes Business device 20, router are equivalent to radio reception device 30.
The first, computer builds local area network FTP environment.Wherein, which includes: router Configuration and ftp server configuration.Specifically, computer builds local area network FTP environment and may include:
1. local area network (Local Area Network, the LAN) mouth of router is connected computer, wide area network WAN (Wide Area Network, LAN) mouth connection outer net;
2. computer opens webpage input address http: // 192.168.1.1, into the router setting page to surf the Internet Setting, online setting include: WAN mouthfuls of connection type settings (obtaining IP address automatically), network state setting, wherein the network State setting may include: that Wireless Fidelity (Wireless-Fidelity, the WIFI) title and password of router is arranged, and such as will Title is set as GEAR SCAN1, or can also choose target network, such as 2.4G network).
3. setting computer IP address is 192.168.1.120, default gateway is set as 192.168.1.1.
4. on computers create FTP catalogue, and under the FTP catalogue create APK catalogue, COMFIG catalogue, DOWNLOADBIN catalogue, system directory, VEHICLE catalogue handle each catalogue under the FTP catalogue.
Wherein, APK catalogue includes main APK file and guards APK file;Treatment process for APK catalogue includes: by master It APK file and guards APK file and is compressed to obtain the first compressed file APK.zip, and delete main APK file and guard APK File.In an application scenarios, the name of main APK file is started with CRP429, guards the name of APK file with crpguard Start.
Treatment process for COMFIG catalogue includes: to open under config.xls file download to COMFIG catalogue The config.xls file, the config.xls file include the mark of multiple product configuration files, delete unwanted product The mark of configuration file.
Treatment process for DOWNLOADBIN catalogue includes: by DOWNLOAD.bin file and DOWNLOAD.ini text Part adds after DOWNLOADBIN catalogue, is compressed to obtain for DOWNLOAD.bin file and DOWNLOAD.ini file Two compressed file DOWNLOADBIN.zip, and delete DOWNLOAD.bin file and DOWNLOAD.ini file.
Treatment process for system directory includes: update.zip file if it exists, then by update.zip file It is added to system directory;If it does not exist, then the system directory is empty list.Wherein, update.zip file is for carrying out The OTA of operating system upgrades.
Treatment process for VEHICLE catalogue include: VEHICLE directory creating sequence number DIAGNOSTIC The vehicle file of encryption is added under VEHICLES catalogue by the catalogue of VEHICLES, and by the sequence number under sequence number catalogue File is compressed, and obtains third compressed file sequence number .zip, such as 977490000007.zip, and delete sequence number file.
5. downloading FTPserver.exe software, and open software set interface and be configured, configures FTP for computer Server.
It wherein, include: to set aforementioned router for account name and account password in the setting up procedure of software set interface Title and password;The FTP catalogue of creation is accessed, the clicking operation for starting service is received, access is made of the router Local area network.In an application scenarios, the setting up procedure of the software set interface can also include port setting, account permission Setting, this will not be repeated here.
The second, diagnostic device A enters file download process.Specifically, diagnostic device A enters file download process and can wrap It includes:
1. entering initialization interface, receive for long press operation (such as the 2 seconds behaviour of long-pressing start button to release the button Make);The pressing operation for being directed to screen key is received, screen is extinguished, lights screen when receiving the pressing operation of screen key again, is entered Factory mode.
When WIFI icon does not occur in the status bar of diagnostic device A, the pressing operation received for screen key extinguishes screen Curtain, then while receiving the pressing operation for screen key, light screen, so that status bar shows WIFI, receive for connection network The clicking operation of option, to enter access device selection interface.
It referring to fig. 2, is a kind of factory mode interface schematic diagram provided by the embodiments of the present application.Engineering mode shown in Fig. 2 Interface includes connection network options.Terminal user can click connection network options, be selected with entering access device shown in Fig. 3 Interface, wherein interface shown in Fig. 3 includes the mark of multiple radio reception devices.Terminal user can choose what needs accessed The router that server, i.e. selection need to access.If terminal user selects server 1, entitled to be linked into WIFI The router of GEARSCAN1.
2. being grasped when diagnostic device A receives terminal user for the selection of target software (including APK, products configuration, vehicle) When making, file request being sent to ftp server, downloading target software from ftp server, which at least may include the One compressed file, product configuration file, third compressed file.
In another application scenarios, if vehicle file and product configuration file downloading finish, APK file failed download, It can receive the selection operation for APK, then to download APK file from ftp server.
3. diagnostic device A receives the clicking operation for being directed to upgrade application option, upgrade APK.
In addition to this, diagnostic device A can also receive the clicking operation for upgrading slave computer, downloading after upgrading APK And upgrade slave computer.
In another application scenarios, diagnostic device A can receive terminal user for aging option clicking operation with into Enter aging mode.Wherein, diagnostic device A can also receive the selection operation that terminal user is directed to ageing time, to choose aging Time.
In another application scenarios, diagnostic device A can also carry out system testing after entering aging.Specifically, this is System test process may include: to check whether sequence number burning and can read;Check version number;Vehicle is read, which can be with It is to select any a vehicle, connects OBD to tooling, test whether to be able to enter vehicle;I/O test is carried out into DEMO;It connects The clicking operation narrowed to system testing option carries out system testing.
In another application scenarios, the concrete configuration process in the build process of aforementioned FTP LAN environment can also be Other configurations process, this will not be repeated here.
In another application scenarios, aforementioned router can also be set as other IP address.The IP address of the computer and the road Same network segment is in by the IP address of device.
Referring to Fig. 4, being a kind of flow diagram of document down loading method provided by the embodiments of the present application.This method can be with Applied in system shown in FIG. 1.Specifically, this method may comprise steps of:
S401, terminal start factory mode.
In the embodiment of the present application, terminal can star factory mode to carry out file download.
In one embodiment, terminal starts factory mode, may include: that terminal works as the finger received for programmable button Determine touch control operation, starts aging mode.
In one embodiment, terminal may include the first control.Terminal starts factory mode, can also include: terminal Into initialization interface;The initialization interface includes the second control;Terminal receive for second control the first touch control operation, And for first control the second touch control operation to extinguish terminal screen;Terminal receives the third touching for first control Control operation enters factory mode to light the terminal screen.
For example, first control can be screen key.Second control can be to release the button.Terminal can enter initial Change interface, receive for the long press operation (such as the 2 seconds operation of long-pressing start button) released the button, and can receive for screen The pressing operation of curtain key, extinguishes screen, screen is lighted when receiving the pressing operation for being directed to screen key again, into factory mode.
Local area network where S402, terminal incoming file transport protocol ftp server, and established with the ftp server Communication.
In the embodiment of the present application, terminal accesses the local area network where ftp server, comprising: terminal starts WIFI function, searches Rope goes out the radio reception device of the local area network where ftp server;Terminal accesses the wireless access according to default access rules and sets It is standby.
In one embodiment, terminal accesses radio reception device according to default access rules, may include: terminal according to The password access radio reception device that default access rules are arranged.
In one embodiment, terminal starts Wireless Fidelity WIFI function, searches out the local area network where ftp server After radio reception device, terminal enters access device selection interface;The access device selection interface includes ftp server place Local area network radio reception device mark;When receiving the selection operation for the mark of the radio reception device, touching The step of hair should access the radio reception device according to preset rules.
Wherein, the mark of the radio reception device may include the title of the radio reception device, or can also include should The network state of radio reception device, the information such as network type of offer.In one embodiment, the access device selection interface It can also include the mark of other equipment.
S403, terminal send file request to the ftp server, and the file request is for requesting the FTP service Device issues the corresponding specified file of the terminal.
S404, terminal receive the corresponding specified file of the terminal that the ftp server issues, and the preset institute issued State specified file.
In the embodiment of the present application, terminal can send file request to ftp server when needing to download specified file. Ftp server can receive the file download request of terminal transmission, and when inquiring the corresponding specified file of the terminal, by this The specified file in terminal enemy camp is issued to the terminal, and terminal can receive the corresponding specified text of the terminal that ftp server issues Part, and can the preset specified file issued.
In one embodiment, terminal can send file request when receiving the selection operation for file destination To ftp server.The specified file is file destination.This document request may include the mark and/or file destination of terminal Mark.The mark of terminal includes but is not limited to physical address, sequence number etc. for identifying the information of the terminal, the file destination Mark can for file destination title, number, etc. be used to identify the information of the file destination.
In one embodiment, terminal is sent when receiving the selection operation for other files in file destination For file request to ftp server, which does not include the file downloaded for the file destination.By choosing other texts Part.The specified file is other files.This document request may include the mark of terminal and/or the mark of other files.It should The mark of other files can for file destination title, number, etc. be used to identify the information of other files.
In one embodiment, if detecting the selection operation for file destination, terminal can detecte target text The file that part has been downloaded, to determine other files of the file destination, thus receiving for other in file destination When the selection operation of file, file request is sent to ftp server.It is logical to determine other files, can to avoid repeated downloads file, Save download time.
In one embodiment, terminal can detecte the file that the file destination has been downloaded, to determine the file destination Other files after, display includes the interface of other file identifications, to receive the selection behaviour for other files in file destination Make.
In one embodiment, software upgrading is corresponded to, terminal can receive after the preset specified file for upgrading The selection operation of option, to carry out application upgrade.
As it can be seen that terminal can star factory mode in embodiment shown in Fig. 4, and access the local where ftp server Net to send file request to the ftp server, and is received under the ftp server with communicating with ftp server foundation The specified file that the corresponding specified file of the terminal of hair issues so as to terminal preset, so that the process of profile is more It is convenient, effectively save the time.
Referring to Fig. 5, for the flow diagram of another document down loading method provided by the embodiments of the present application.This method can To be applied in system described in Fig. 1.Specifically, this method may comprise steps of:
S501, terminal start factory mode;
Local area network where S502, terminal incoming file transport protocol ftp server, and established with the ftp server Communication;
S503, terminal send file request to the ftp server, and the file request is for requesting the FTP service Device issues the corresponding specified file of the terminal;
S504, terminal receive the corresponding specified file of the terminal that the ftp server issues, and the preset institute issued State specified file.
Wherein, step S501-S504 can be found in the step S401-S404 in Fig. 4 embodiment, and the embodiment of the present application is herein not It repeats.
S205, terminal output prompt information are entered with the preset specified file success issued of warning terminal user Aging mode.
In the embodiment of the present application, terminal can export prompt information, after the success of the preset specified file issued to mention Show the preset specified file success issued.Also, terminal can also pass into aging mode, and the aging mode is for detecting the end Whether the quality at end meets the requirements.
In one embodiment, terminal can receive the clicking operation for aging option, into aging mode.At one In embodiment, terminal can show multiple time options, and can when receiving the confirmation operation for object time option, Using the object time option corresponding time as ageing time.For example, when receive for 12 it is small when clicking operation when, will It is used as ageing time within 12 hours.The ageing time refers in aging mode required time.
As it can be seen that terminal can enter aging mode, and communicate with ftp server in embodiment shown in fig. 5, thus from It is preset to carry out that ftp server downloads specified file, and exports prompt information with warning terminal user, facilitates file download mistake Journey.In addition to this, terminal can also pass into aging mode, to detect terminal quality, effectively carry out handle to the quality of terminal Control.
Referring to Fig. 6, for the flow diagram of another document down loading method provided by the embodiments of the present application.This method can To be applied in system shown in FIG. 1.Specifically, this method may comprise steps of:
S601, ftp server access the local area network that is made of radio reception device, and with end for being linked into the local area network Communication is established at end.
Ftp server can access the local area network being made of radio reception device, and access the ftp server institute in terminal Local area network after, with ftp server foundation communicate.
In one embodiment, which is to access the local area network where ftp server after entering aging mode.
S602, ftp server receive the file request that the terminal is sent, and the file request is for requesting the FTP Server issues the corresponding specified file of the terminal.
If S603, ftp server inquire the corresponding specified file of the terminal, the specified file is issued to institute Terminal is stated, so that the terminal receives the corresponding specified file of the terminal that the ftp server issues, and preset is issued The specified file.
After terminal is communicated with ftp server foundation, file request can be sent to ftp server, ftp server can connect The file request that terminal is sent is received, and inquires the corresponding specified file of terminal.It, can when inquiring the corresponding specified file of terminal The corresponding specified file of terminal is issued to terminal.Terminal can receive the corresponding specified text of terminal that ftp server issues Part, and the preset specified file issued.
Wherein, this document request may include the mark of terminal and/or the mark of file destination.Correspondingly, the specified text Part can be the corresponding file of mark of terminal, or can be file destination.In one embodiment, this document request may be used also To include the mark of terminal and/or the mark of other files.The specified file can also be other files.
In one embodiment, this document request include the terminal mark, ftp server according to the mark of the terminal with And the corresponding relationship of preset mark and file, the corresponding specified file of the terminal is inquired in specified directory.Wherein, this refers to Determining catalogue is to store the catalogue of the specified file.
As it can be seen that ftp server can access the local area network being made of radio reception device in embodiment shown in fig. 6, and It establishes and communicates with the terminal for being linked into the local area network, to receive the file request (request specified file) that the terminal is sent; If inquiring the corresponding specified file of the terminal, which is issued to terminal by ftp server, so as to terminal reception The corresponding specified file of the terminal that ftp server issues, and the preset specified file issued, so that the process of profile is more It is convenient, effectively save the time.
Referring to Fig. 7, being a kind of structural schematic diagram of file downloading device provided by the embodiments of the present application.The device can be with Applied to terminal.Specifically, the apparatus may include:
Starting module 71, for starting factory mode;
Communication module 72, for the local area network where incoming file transport protocol ftp server, and with the FTP service Device establishes communication;
Communication module 72 is also used to send file request to the ftp server, and the file request is described for requesting Ftp server issues the corresponding specified file of the terminal;
Communication module 72 is also used to receive the corresponding specified file of the terminal that the ftp server issues;
Processing module 73, for the preset specified file issued.
In a kind of optional embodiment, communication module 72 accesses the local area network where ftp server, specially starts Wireless Fidelity WIFI function searches out the radio reception device of the local area network where ftp server;It is connect according to default access rules Enter the radio reception device.
In a kind of optional embodiment, communication module 71 is also used to start Wireless Fidelity WIFI function, searches out After the radio reception device of local area network where ftp server, into access device selection interface;The access device selection Interface includes the mark of the radio reception device of the local area network where ftp server;It is set when receiving for the wireless access When the selection operation of standby mark, the triggering operation that the radio reception device is accessed according to preset rules.
In a kind of optional embodiment, processing module 73 is also used to after the preset specified file issued, Prompt information is exported with the preset specified file success issued of warning terminal user by communication module 72, and enters aging Mode;Whether the quality that the aging mode is used to detect the terminal meets the requirements.
In an optional embodiment, display module 74 is for showing multiple time option
In a kind of optional embodiment, processing module 73 is also used to receive for object time option really When recognizing operation, using the object time option corresponding time as ageing time.
In a kind of optional embodiment, terminal includes the first control, and starting module 71 is specifically used for entering initialization Interface;The initialization interface includes the second control;Receive the first touch control operation of second control and for described the Second touch control operation of one control and for extinguish terminal screen;The third touch-control received for first control is grasped Make to enter factory mode to light the terminal screen.
As it can be seen that terminal can star factory mode in embodiment shown in Fig. 7, and access the local where ftp server Net to send file request to the ftp server, and is received under the ftp server with communicating with ftp server foundation The specified file that the corresponding specified file of the terminal of hair issues so as to terminal preset, so that the process of profile is more It is convenient, effectively save the time.
Referring to Fig. 8, for the structural schematic diagram of another file downloading device provided by the embodiments of the present application.The device can To be applied to ftp server.Specifically, the apparatus may include:
Communication module 81, for accessing the local area network being made of radio reception device, and be linked into the local area network Terminal establishes communication;
Communication module 81, is also used to receive the file request that the terminal is sent, and the file request is described for requesting Ftp server issues the corresponding specified file of the terminal, and if inquire the corresponding specified file of the terminal, will be described Specified file is issued to the terminal, so as to receive the terminal that the ftp server issues corresponding specified for the terminal File, and the preset specified file issued.
In a kind of optional embodiment, the file request includes the mark of the terminal.
In a kind of optional embodiment, enquiry module 82, for according to the terminal mark and preset mark Know the corresponding relationship with file, the corresponding specified file of the terminal is inquired in specified directory.
As it can be seen that ftp server can access the local area network being made of radio reception device in embodiment shown in Fig. 8, and It establishes and communicates with the terminal for being linked into the local area network, to receive the file request (request specified file) that the terminal is sent; If inquiring the corresponding specified file of the terminal, which is issued to terminal by ftp server, so as to terminal reception The corresponding specified file of the terminal that ftp server issues, and the preset specified file issued, so that the process of profile is more It is convenient, effectively save the time.
Referring to Fig. 9, being a kind of structural schematic diagram of terminal provided by the embodiments of the present application.Terminal shown in Fig. 9 can be with It include: one or more processors 901;One or more input equipments 902, one or more output equipments 903 and memory 904.Above-mentioned processor 901, input equipment 902, output equipment 903 are connected with memory 904 by bus.Memory 904 is used In storage computer program, the computer program includes program instruction, and processor 901 is used to execute the storage of memory 904 Program instruction.
In the embodiment of the present application, it is loaded by processor 901 and executes at least one stored in computer storage medium (one or one or more) instruction, to realize the corresponding steps of method flow shown in above-mentioned Fig. 4-Fig. 5;In the specific implementation, calculating At least one instruction in machine storage medium is loaded by processor 901 and is executed following steps: starting factory mode;Incoming file Local area network where transport protocol ftp server, and communicated with ftp server foundation;Text is sent by output equipment 903 Part is requested to the ftp server, and the file request is corresponding specified for requesting the ftp server to issue the terminal File;The corresponding specified file of the terminal that the ftp server issues is received by input equipment 902, and preset is issued The specified file.
Optionally, at least one instruction, which is loaded by processor 901 and executed, accesses ftp server by input equipment 902 The local area network at place, specially starting Wireless Fidelity WIFI function, search out the wireless access of the local area network where ftp server Equipment;The radio reception device is accessed according to default access rules by input equipment 902.
Optionally, the starting Wireless Fidelity WIFI function, at least one instruction are loaded by processor 901 and execute search Out after the radio reception device of the local area network where ftp server, also executes and enter access device selection interface;The access Equipment selection interface includes the mark of the radio reception device of the local area network where ftp server;It is connect when by output equipment 903 When receiving the selection operation for the mark of the radio reception device, triggering is described wirelessly to be connect according to preset rules access is described The step of entering equipment.
Optionally, after at least one instruction is loaded by processor 901 and executed the preset specified file issued, also Output prompt information is executed with the preset specified file success issued of warning terminal user, and enters aging mode;It is described Whether the quality that aging mode is used to detect the terminal meets the requirements.
Optionally, at least one instruction is also loaded by processor 901 and executes the multiple time options of display;When receiving needle When to the confirmation operation of object time option, using the object time option corresponding time as ageing time.
Optionally, terminal includes the first control, and at least one instruction is loaded by processor 901 and executes the starting factory Mode specially enters initialization interface;The initialization interface includes the second control;It is directed to by the reception of input equipment 902 First touch control operation of second control and for first control the second touch control operation to extinguish terminal screen;It is logical It crosses the reception of input equipment 902 and enters factory's mould for the third touch control operation of first control to light the terminal screen Formula.
It should be appreciated that alleged processor 901 can be central processing unit (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any often The processor etc. of rule.
Input equipment 902 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 903 may include display (LCD etc.), loudspeaker etc..The input equipment 902 with Output equipment 903 can also be the wired or wireless communication interface of standard.
The memory 904 may include read-only memory and random access memory, and to processor 901 provide instruction and Data.The a part of of memory 904 can also include nonvolatile RAM.For example, memory 904 can also be deposited Store up database.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application Matter is stored with computer program, and the computer program includes program instruction, realization when described program instruction is executed by processor The implementation of document down loading method described in Fig. 4 or Fig. 5 provided by the embodiments of the present application.The computer readable storage medium It can be the internal storage unit of aforementioned any embodiment terminal, such as hard disk or memory.The computer readable storage medium It can be the External memory equipment of terminal, such as the plug-in type hard disk being equipped in terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the calculating Machine readable storage medium storing program for executing can also both including terminal internal storage unit and also including External memory equipment.Computer-readable storage Medium is for other programs and data needed for storing computer program and the terminal.Computer readable storage medium may be used also For temporarily storing the data that has exported or will export.
Referring to Fig. 10, being a kind of structural schematic diagram of server provided by the embodiments of the present application.The server can be Ftp server, server shown in Fig. 10 may include: one or more processors 1001;One or more input equipments 1002, one or more output equipments 1003 and memory 1004.Above-mentioned processor 1001, input equipment 1002, output equipment 1003 are connected with memory 1004 by bus.For storing computer program, the computer program includes memory 1004 Program instruction, processor 1001 are used to execute the program instruction of the storage of memory 1004.
In the embodiment of the present application, it is loaded by processor 1001 and executes at least one stored in computer storage medium (one or one or more) instruction, to realize the corresponding steps of method flow shown in above-mentioned Fig. 6;In the specific implementation, computer is deposited At least one instruction in storage media is loaded by processor 1001 and is executed following steps: what access was made of radio reception device Local area network, and establish and communicate with the terminal for being linked into the local area network;Receive what the terminal was sent by input equipment 1002 File request, the file request is for requesting the ftp server to issue the corresponding specified file of the terminal;If inquiring The corresponding specified file of the terminal, then be issued to the terminal for the specified file by output equipment 1003, with toilet It states terminal and receives the corresponding specified file of the terminal that the ftp server issues, and the preset specified file issued.
Optionally, the file request includes the mark of the terminal, and at least one instruction is loaded by processor 1001, and The corresponding relationship for also executing the mark and preset mark and file according to the terminal, inquires described in specified directory The corresponding specified file of terminal.
It should be appreciated that alleged processor 1001 can be central processing unit (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any often The processor etc. of rule.
The input equipment 1002 and output equipment 1003 can be the wired or wireless communication interface of standard.
The memory 1004 may include read-only memory and random access memory, and provide instruction to processor 1001 And data.The a part of of memory 1004 can also include nonvolatile RAM.For example, memory 1004 may be used also With storing data library.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application Matter is stored with computer program, and the computer program includes program instruction, realization when described program instruction is executed by processor The implementation of document down loading method described in Fig. 6 provided by the embodiments of the present application.The computer readable storage medium can be with It is the internal storage unit of aforementioned any embodiment server, such as hard disk or memory.The computer readable storage medium can also To be the External memory equipment of server, for example, the plug-in type hard disk being equipped on server, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the calculating Machine readable storage medium storing program for executing can also both including server internal storage unit and also including External memory equipment.It is computer-readable to deposit Storage media is for other programs and data needed for storing computer program and the server.Computer readable storage medium It can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed system, method, apparatus, terminal, Server may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, The division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple Unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, Shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or unit Indirect coupling or communication connection, be also possible to electricity, the connection of mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present application scheme according to the actual needs Purpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer The whole of equipment (can be personal computer, terminal or the network equipment etc.) execution each embodiment the method for the application Or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of document down loading method is applied to terminal characterized by comprising
Start factory mode;
Local area network where incoming file transport protocol ftp server, and communicated with ftp server foundation;
File request is sent to the ftp server, the file request is for requesting the ftp server to issue the terminal Corresponding specified file;
Receive the corresponding specified file of the terminal that the ftp server issues, and the preset specified file issued.
2. the method according to claim 1, wherein the local area network where the access ftp server, comprising:
Start Wireless Fidelity WIFI function, searches out the radio reception device of the local area network where ftp server;
The radio reception device is accessed according to default access rules.
3. according to the method described in claim 2, it is characterized in that, the starting Wireless Fidelity WIFI function, searches out FTP clothes After the radio reception device of local area network where business device, the method also includes:
Into access device selection interface;The access device selection interface includes the wireless of the local area network where ftp server The mark of access device;
When receiving the selection operation for the mark of the radio reception device, triggering is described to access institute according to preset rules The step of stating radio reception device.
4. method according to claim 1 to 3, which is characterized in that the preset specified file issued Later, the method also includes:
Output prompt information enters aging mode with the preset specified file success issued of warning terminal user;It is described Whether the quality that aging mode is used to detect the terminal meets the requirements.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Show multiple time options;
When receiving the confirmation operation for object time option, using the object time option corresponding time as aging Time.
6. the method according to claim 1, wherein the terminal includes the first control, starting factory mould Formula includes:
Into initialization interface;The initialization interface includes the second control;
The first touch control operation for second control and the second touch control operation for first control are received to put out Go out terminal screen;
The third touch control operation received for first control enters factory mode to light the terminal screen.
7. a kind of document down loading method is applied to ftp server characterized by comprising
The local area network being made of radio reception device is accessed, and establishes and communicates with the terminal for being linked into the local area network;
The file request that the terminal is sent is received, the file request is for requesting the ftp server to issue the terminal Corresponding specified file;
If inquiring the corresponding specified file of the terminal, the specified file is issued to the terminal, so as to the end End receives the corresponding specified file of the terminal that the ftp server issues, and the preset specified file issued.
8. described the method according to the description of claim 7 is characterized in that the file request includes the mark of the terminal Method further include:
According to the corresponding relationship of the mark of the terminal and preset mark and file, the end is inquired in specified directory Hold corresponding specified file.
9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein the memory is for storing computer program, the computer Program includes program instruction, and the processor is configured for calling described program instruction, is executed such as any one of claim 1-6 The method.
10. a kind of server, which is characterized in that including processor, input equipment, output equipment and memory, the processor, Input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the calculating Machine program includes program instruction, and the processor is configured for calling described program instruction, is executed such as claim 7 or 8 institutes The method stated.
CN201811289892.6A 2018-10-31 2018-10-31 File downloading method, terminal and server Active CN109639757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811289892.6A CN109639757B (en) 2018-10-31 2018-10-31 File downloading method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811289892.6A CN109639757B (en) 2018-10-31 2018-10-31 File downloading method, terminal and server

Publications (2)

Publication Number Publication Date
CN109639757A true CN109639757A (en) 2019-04-16
CN109639757B CN109639757B (en) 2021-07-06

Family

ID=66067010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811289892.6A Active CN109639757B (en) 2018-10-31 2018-10-31 File downloading method, terminal and server

Country Status (1)

Country Link
CN (1) CN109639757B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929872A (en) * 2021-01-21 2021-06-08 读书郎教育科技有限公司 System and method for realizing Android terminal preinstallation application in factory based on WIFI

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
US20160246990A1 (en) * 2015-02-24 2016-08-25 International Business Machines Corporation Fine-Grained User Control Over Usages Of Sensitive System Resources Having Private Data With Applications In Privacy Enforcement
CN108604275A (en) * 2016-02-12 2018-09-28 汉阳大学校产学协力团 Hardware device and its authentication method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378154A (en) * 2010-08-19 2012-03-14 北京华科力扬科技有限公司 Method and system for upgrading product firmware by wireless network
CN203480498U (en) * 2013-07-29 2014-03-12 北京汽车研究总院有限公司 Wireless brushing system and automobile
CN104991797A (en) * 2015-06-23 2015-10-21 上海卓易科技股份有限公司 Firmware updating method for mobile terminal and mobile terminal
CN105450455A (en) * 2015-12-11 2016-03-30 上海市共进通信技术有限公司 System and method for automatically upgrading network devices in batch in factory
CN107809633A (en) * 2017-11-03 2018-03-16 广州小百合信息技术有限公司 The method and device of TV automatic aging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160246990A1 (en) * 2015-02-24 2016-08-25 International Business Machines Corporation Fine-Grained User Control Over Usages Of Sensitive System Resources Having Private Data With Applications In Privacy Enforcement
CN105204909A (en) * 2015-10-12 2015-12-30 Tcl集团股份有限公司 Method and system for upgrading strongly correlated apks based on mobile terminal
CN108604275A (en) * 2016-02-12 2018-09-28 汉阳大学校产学协力团 Hardware device and its authentication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929872A (en) * 2021-01-21 2021-06-08 读书郎教育科技有限公司 System and method for realizing Android terminal preinstallation application in factory based on WIFI
CN112929872B (en) * 2021-01-21 2022-11-25 读书郎教育科技有限公司 System and method for realizing Android terminal preinstallation application in factory based on WIFI

Also Published As

Publication number Publication date
CN109639757B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN105683845B (en) System and method for device detection and APP configuration
US10908891B2 (en) Software update device and software update system
US10061574B2 (en) Method and apparatus for multiple vehicle software module reflash
JP5708940B2 (en) Information management device, information communication system
US9223559B2 (en) Information processing apparatus, electronic control unit, information processing method, and program
US8079090B2 (en) License management system, control method thereof, image processing apparatus, and control method thereof
CN103634386A (en) Method and device for downloading application by client end application program
CN112737899A (en) Intelligent device management method and device, storage medium and electronic device
CN109656597A (en) Firmware upgrade method, device and computer readable storage medium
EP2561692A1 (en) Method and system for proximity-based, peer-initiated device configuration
CN109495433A (en) Data download method and device, storage medium and electronic device
KR20120089000A (en) Apparatus and method for providing application auto install function in digital device
WO2008050512A1 (en) Start control device, method, and program
CN109240902B (en) Method and device for acquiring firmware code of electronic equipment
KR20060044228A (en) Electronic device firmware upgrade system using a smart phone and method thereof
KR20070051523A (en) Firmware upgrade system of audio/video/navigation(avn) system for vehicle using bluetooth mobile communication terminal and the method
CN108363592B (en) Application software running method, device, equipment and computer readable storage medium
JP5524024B2 (en) In-vehicle device and application activation control method
CN109639757A (en) A kind of document down loading method, terminal and server
CN111984248A (en) Page editing method and device, storage medium and electronic device
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
KR20180050001A (en) Firmware upgrade system and method for IoT
CN115904447A (en) Version updating system, method, electronic equipment and storage medium
CN110688136A (en) Application program updating method and device
CN104378403A (en) Terminal and updating method thereof

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
GR01 Patent grant
GR01 Patent grant