CN109348473A - Data uploading method, device, terminal and storage medium - Google Patents
Data uploading method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109348473A CN109348473A CN201811392243.9A CN201811392243A CN109348473A CN 109348473 A CN109348473 A CN 109348473A CN 201811392243 A CN201811392243 A CN 201811392243A CN 109348473 A CN109348473 A CN 109348473A
- Authority
- CN
- China
- Prior art keywords
- parameter
- server
- terminal
- data
- device parameter
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of data uploading method, device, terminal and storage mediums, belong to field of terminal technology.The described method includes: the data of displaying target website upload the page, it includes uploading entrance in the page that data, which upload,;When receive upload entrance corresponding operation signal when, obtain the corresponding device parameter of at least two mobile devices, device parameter is used to indicate the corresponding relationship between the network access license of mobile device and IMEI;The corresponding device parameter of at least two mobile devices is uploaded to the corresponding server in targeted website.The operation that the embodiment of the present application acts on upload entrance by one may make terminal that the corresponding device parameter of multiple mobile devices is uploaded to server automatically, the situation for avoiding user's operation complexity when terminal uploads IMEI corresponding relationship in the related technology improves the efficiency of data upload.
Description
Technical field
The invention relates to field of terminal technology, in particular to a kind of data uploading method, device, terminal and storage
Medium.
Background technique
The invention relates to data uploading method be by international mobile equipment identification number (International
Mobile Equipment Identity, IMEI) the corresponding relationship method that is uploaded to server.Wherein, IMEI corresponding relationship packet
Include the corresponding relationship between the network access license of mobile device and IMEI.
In the related technology, data uploading method includes: that terminal is successfully logging in the corresponding website of telecommunication apparatus authentication center
Afterwards, the upload page for showing the website shows pop-up box when receiving the clicking operation of the upload button in the upload page,
User needs to select path in pop-up box, and a file to be uploaded is selected under the path, corresponding, and terminal obtains bullet
File selected in frame out, is uploaded to server for this document.
Summary of the invention
The embodiment of the present application provides a kind of data uploading method, device, terminal and storage medium, can be used for solving end
User's operation complexity leads to the lower problem of transfer efficiency in data when end uploads IMEI corresponding relationship.Technical solution is as follows:
According to the embodiment of the present application in a first aspect, provide a kind of data uploading method, in terminal, the method
Include:
The data of displaying target website upload the page, and it includes uploading entrance in the page that the data, which upload,;
When receiving the corresponding operation signal of the upload entrance, obtain that at least two mobile devices are corresponding to be set
Standby parameter, the device parameter are used to indicate the corresponding relationship between the network access license and IMEI of the mobile device;
It is corresponding that the corresponding device parameter of at least two mobile device is uploaded to the targeted website
Server.
According to the second aspect of the embodiment of the present application, a kind of data uploading device is provided, is used in terminal, described device
Include:
Display module, the data for displaying target website upload the page, and it includes upper incoming that the data, which upload in the page,
Mouthful;
Module is obtained, moves for when receiving the corresponding operation signal of the uploads entrance, obtaining at least two and sets
Standby corresponding device parameter, the device parameter are used to indicate between the network access license and IMEI of the mobile device
Corresponding relationship;
Uploading module, for the corresponding device parameter of at least two mobile device to be uploaded to the mesh
Mark the corresponding server in website.
According to the third aspect of the embodiment of the present application, a kind of terminal is provided, the terminal includes processor and memory,
It is stored at least one instruction in the memory, described instruction is loaded by the processor and executed to realize such as the application the
One side and its any data uploading method of alternative embodiment.
According to the fourth aspect of the embodiment of the present application, a kind of computer readable storage medium, the storage medium are provided
In be stored at least one instruction, described instruction is loaded by processor and is executed to realize such as the application first aspect and its optional
Any data uploading method of embodiment.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
A kind of data uploading method, which is characterized in that in terminal, which comprises
The page is uploaded by the data of displaying target website, it includes uploading entrance in the page that data, which upload, on receiving
When the corresponding operation signal of incoming mouth, the corresponding device parameter of at least two mobile devices is obtained, device parameter is for referring to
Show the corresponding relationship between the network access license of mobile device and IMEI, the corresponding equipment of at least two mobile devices is joined
Number is uploaded to the corresponding server in targeted website;The operation for acting on upload entrance by one may make terminal will be multiple
The corresponding device parameter of mobile device is uploaded to server automatically, avoids terminal in the related technology and uploads the corresponding pass IMEI
The situation of user's operation complexity when being improves the efficiency of data upload.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of terminal provided by one exemplary embodiment of the application;
Fig. 2 is the flow chart for the data uploading method that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the data uploading method that another exemplary embodiment of the application provides;
Fig. 4 is the flow chart for the data uploading method that another exemplary embodiment of the application provides;
Fig. 5 is the structural schematic diagram for the data uploading device that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar
Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application
Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application
The example of method.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In the description of the present application, it should be noted that unless otherwise specific regulation
And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection,
Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through
It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition
Body meaning.In addition, unless otherwise indicated, " multiple " refer to two or more in the description of the present application."and/or" is retouched
The incidence relation of affiliated partner is stated, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, together
When there are A and B, these three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
In the related technology, terminal shows the upper of the website after successfully logging in the corresponding website of telecommunication apparatus authentication center
The page is passed, pop-up box is shown when receiving the clicking operation of the upload button in the upload page, user needs in pop-up box
Middle selection path, and a file to be uploaded is selected under the path, corresponding, terminal obtains text selected in pop-up box
This document is uploaded to server by part.If necessary to upper transmitting file in batches, then need to be repeated as many times above-mentioned upload step manually
Suddenly, user's operation is complicated.Furthermore, it is also possible to will appear the case where leakage is passed or retransmitted.At present a kind of convenience is not yet provided and can
The data uploading method leaned on.
The embodiment of the present application provides a kind of data uploading method, device, terminal and storage medium, can be used in solution
State problem present in the relevant technologies.In technical solution provided by the present application, the operation of upload entrance is acted on i.e. by one
It may make terminal that the corresponding device parameter of multiple mobile devices is uploaded to server automatically, improve the effect of data upload
Rate.
Before the embodiment of the present application is explained, first the application scenarios of the embodiment of the present application are illustrated.
Fig. 1 shows the structural schematic diagram of terminal provided by one exemplary embodiment of the application.
The terminal 100 is the electronic equipment for being equipped with web browser.The web browser is for displaying target website
Webpage.Optionally, targeted website is the corresponding website of telecommunication apparatus authentication center.
Optionally, which is also referred to as development equipment, is the corresponding electronic equipment for data mining of enterprise.Than
Such as, which is desktop computer.
It optionally, include: processor 120 and memory 140 in the terminal 100.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection
Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 140, program, code set or refer to
Collection is enabled, and calls the data being stored in memory 140, executes the various functions and processing data of terminal 100.Optionally,
Processor 120 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array
(Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central
Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that
Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store
Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image
Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method
Apply the data etc. being related in example.
Referring to FIG. 2, the flow chart of the data uploading method provided it illustrates one exemplary embodiment of the application.This
Embodiment is applied to illustrate in terminal shown in figure 1 with the data uploading method.The data uploading method includes:
Step 201, the data of displaying target website upload the page, and it includes uploading entrance in the page that data, which upload,.
Optionally, targeted website is the corresponding website of telecommunication apparatus authentication center.
Optionally, it is for the page to the corresponding server transport data in targeted website that data, which upload the page,.Target network
Corresponding server of standing is the corresponding server of telecommunication apparatus authentication center.
Upload entrance be data upload the page in provide can operational controls.Optionally, the type for uploading entrance includes pressing
At least one of button, controllable entry, sliding block.The present embodiment is not limited the position and type that upload entrance.
Step 202, when receive upload entrance corresponding operation signal when, obtain at least two mobile devices and respectively correspond to
Device parameter, device parameter is used to indicate the corresponding relationship between the network access license of mobile device and IMEI.
Uploading the corresponding operation signal of entrance is to obtain the corresponding equipment ginseng of at least two mobile devices for triggering
Several user's operation signals.Optionally, upload the corresponding operation signal of entrance include clicking operation signal, slide signal,
The combination of any one or more in pressing operation signal, long press operation signal.
Optionally, uploading the corresponding operation signal of entrance further includes other possible implementations.In a kind of possible reality
In existing mode, which is realized with speech form.It is corresponded to for example, user inputs upload entrance in the terminal with speech form
Voice signal, after terminal gets voice signal, to the voice signal carry out parsing obtain voice content, work as voice content
When the middle keyword to match in the presence of the presupposed information with upload entrance, i.e., terminal determines that the upload entrance is triggered.
When terminal, which receives, uploads the corresponding operation signal of entrance, obtain that at least two mobile devices are corresponding to be set
Standby parameter.
At least two mobile devices are the mobile device dispatched from the factory again after dispatching from the factory and/or reprocess within a preset period of time.Than
Such as, mobile device is mobile phone.Preset time period is customized setting either terminal default setting.For example, preset time
Duan Weiyi days.
The device parameter of mobile device is used to indicate the corresponding relationship between the network access license of mobile device and IMEI.
Step 203, the corresponding device parameter of at least two mobile devices is uploaded to the corresponding service in targeted website
Device.
Optionally, the corresponding device parameter of at least two mobile devices is uploaded to the corresponding clothes in targeted website by terminal
Business device.Schematically, the corresponding device parameter of at least two mobile devices is sequentially or simultaneously or in batches to upload
To server.
Corresponding, server receives and stores the corresponding device parameter of at least two mobile devices of terminal upload.
In conclusion the present embodiment uploads the page by the data of displaying target website, it includes upper that data, which upload in the page,
Incoming mouth, when receive upload entrance corresponding operation signal when, obtain the corresponding equipment ginseng of at least two mobile devices
Number, device parameter are used to indicate the corresponding relationship between the network access license of mobile device and IMEI, and at least two movements are set
Standby corresponding device parameter is uploaded to the corresponding server in targeted website;The operation for uploading entrance is acted on by one
It may make terminal that the corresponding device parameter of multiple mobile devices is uploaded to server automatically, avoid in the related technology
The situation of user's operation complexity when terminal uploads IMEI corresponding relationship, improves the efficiency of data upload.
Referring to FIG. 3, the flow chart of the data uploading method provided it illustrates one exemplary embodiment of the application.This
Embodiment is applied to illustrate in terminal shown in figure 1 with the data uploading method.The data uploading method includes:
Step 301, the login page of terminal displaying target website includes logentry in login page.
Optionally, login page is the page for logging in targeted website by the account number of default registration.Wherein, telecommunications is set
The standby corresponding website of authentication center.
Logentry be provided in login page can operational controls.Optionally, the type of logentry include button, can
At least one of the entry of manipulation, sliding block.The present embodiment is not limited the position of logentry and type.
Step 302, when terminal receives the corresponding operation signal of logentry, authentication letter is sent to server
Breath.
The corresponding operation signal of logentry is for triggering the user's operation letter for sending authentication information to server
Number.Optionally, the corresponding operation signal of logentry includes clicking operation signal, slide signal, pressing operation signal, length
By the combination of any one or more in operation signal.
It should be noted that can refer to above-mentioned upload entrance corresponding for the implementation of the corresponding operation signal of logentry
The associated description of operation signal, details are not described herein.
Wherein, authentication information is used to indicate server and sends verifying to terminal when authentication information is verified
Successful information.
Optionally, when terminal receives the corresponding operation signal of logentry, authentication information is sent to server,
It include: to obtain authentication information, authentication information includes terminal when receiving the corresponding operation signal of logentry
The sequence number of account number mark, account number cipher and electronics Dropbox;Authentication information is sent to server.
The account number of terminal is identified as the corresponding mark of target account number that terminal is applied in the registration of telecommunication apparatus authentication center.
For example, account number is identified as the account number name of the target account number.Account number cipher is the account number cipher of the target account number.
Electronics Dropbox is the Dropbox that terminal is applied when telecommunication apparatus authentication center registers.The sequence number of electronics Dropbox is used for
Unique identification electronics Dropbox in the server.Server is the corresponding server of telecommunication apparatus authentication center.
Optionally, application programming interface (the Application Progr that terminal and server pass through server
Amming Interface, API) carry out data transmission, which is the interface that telecommunication apparatus authentication center is supplied to server.
In one possible implementation, the API that terminal and server pass through server is based on hypertext transfer protocol
(HyperText Transfer Protocol, HTTP) is carried out data transmission using POST mode.
Optionally, authentication information is uploaded to the API of server by terminal.Schematically, terminal believes authentication
Cease the API for being sent to server using POST mode based on http protocol.
Step 303, whether server authentication authentication information passes through.
Optionally, whether server authentication authentication information passes through, and sends verification result to terminal.The verification result packet
It includes and is proved to be successful one of information, authentication failed information and outdated information.It is proved to be successful information and is used to indicate authentication letter
Breath is verified, and authentication failed information is used to indicate authentication information verifying and does not pass through, and outdated information is used to indicate electronic network
The sequence number of disk is expired.
Optionally, be previously stored in server the account number mark of terminal, account number cipher and electronics Dropbox sequence number this
Corresponding relationship between three.There are an a pair by account number mark, account number cipher and this three of the sequence number of electronics Dropbox of terminal
The relationship answered.
Optionally, the corresponding relationship being also stored in server between the sequence number and effective period of time of the electronics Dropbox,
The effective period of time is used to indicate the sequence number effective time limit of the electronics Dropbox.
In one possible implementation, the account number mark of server authentication terminal, account number cipher and electronics Dropbox
Whether the corresponding relationship between this three of sequence number matches, and determines that authentication information verifying does not pass through if mismatching, services
Device to terminal send authentication failed information, if matching if detect electronics Dropbox the corresponding effective period of time of sequence number whether mistake
Phase determines that authentication information is verified if not out of date, executes step 304;It transmitted Sequence Number if expired to terminal
Phase information.
Schematically, verification result is indicated using " RspCode value ", indicates to be proved to be successful when RspCode value is " 0000 "
Information indicates that authentication failed information, RspCode value indicate outdated information when being " 0002 " when RspCode value is " 0001 ".
Step 304, when authentication information is verified, server sends to terminal and is proved to be successful information.
Optionally, when account number mark, account number cipher and the sequence number of electronics Dropbox this three of server authentication terminal it
Between corresponding relationship matching and electronics Dropbox the corresponding effective period of time of sequence number it is not out of date when, determine that authentication information is tested
Card passes through, and is proved to be successful information to terminal transmission.
Step 305, when terminal, which receives, is proved to be successful information, the data of displaying target website upload the page.
Corresponding, when terminal receives when being proved to be successful information of server transmission, terminal, which switches login page, to be shown
The page is uploaded for data, it includes uploading entrance in the page which, which uploads,.
Step 306, when receive upload entrance corresponding click signal when, obtain at least two mobile devices and respectively correspond to
Device parameter.
Optionally, it when terminal, which receives data, uploads the corresponding click signal of upload entrance in the page, obtains at least
Two corresponding device parameters of mobile device.
Optionally, the device parameter of mobile device includes the file value of file destination.Wherein, file destination is for storing
The file of corresponding relationship between the network access license and IMEI of mobile device, file value are to compile the address of file destination
Code obtains the character string of pre-arranged code format.Schematically, pre-arranged code format is BASE64 coded format.
Optionally, device parameter further includes the file name value of file destination and reprocesses value, and file name value is used to indicate
The file name of file destination reprocesses value and is used to indicate whether terminal device is repairing machine.
For example, indicating the file name value of file destination using " FileName value ", target text is indicated using " File value "
The file value of part reprocesses value using " isRework value " expression.Being used to indicate terminal device not when isRework value is " 0 " is
Repairing machine, being used to indicate terminal device when isRework value is " 1 " is repairing machine.
In a schematical example, when terminal receives the corresponding click letter of upload entrance in the data upload page
Number when, obtain five corresponding device parameters of mobile device.The five corresponding device parameter of mobile device such as tables one
It is shown.Wherein, the corresponding device parameter of mobile device 1 includes: FileName value " 001 ", File value
" aHR0cDovL3d3dy5zb29wYXQuY29tLw " and isRework value " 0 ";The corresponding device parameter of mobile device 2 includes:
FileName value " 002 ", File value " aHR0cHM6Ly9qaW5neWFuLmJhaWR1LmNvbS9hcnRp5ODRkYjFiYTli
MWNhMmIwYmZlYi5odG1s " and isRework value " 0 ";The corresponding device parameter of mobile device 3 includes: FileName value
" 003 ", File value " aHR0cHM6Ly9oYW8uMzYwLmNuLz9hMTAwNA " and isRework value " 0 ";Mobile device 4 is corresponding
Device parameter include: FileName value " 004 ", File value " aHR0cHM6Ly9iYWlrZS5iYWl20vaXR9iYXNlNjQ
0NTc3NT9mcj1hbGFkZGlu " and isRework value " 1 ";The corresponding device parameter of mobile device 5 includes: FileName value
" 005 ", File value " aHR0cHM6Ly9qaW5neWFuLmJhaWR1LmNvbS9hcnRpY2xlLzQ1NjNiMzky Mjk3MGE
1ODMxNi5odG1s " and isRework value " 0 ".
Table one
Step 307, the application program that the corresponding device parameter of at least two mobile devices is uploaded to server is compiled
Journey interface API.
Wherein, API is the interface that telecommunication apparatus authentication center is supplied to server.
Optionally, the corresponding device parameter of at least two mobile devices is uploaded to the API of server by terminal.
Schematically, the corresponding device parameter of at least two mobile devices is based on http protocol and uses POST by terminal
Mode is sent to the API of server.
Step 308, it is sent out when the corresponding device parameter of at least two mobile devices is completed to terminal when server receives
Send task identification.
The corresponding device parameter of at least two mobile devices that server receiving terminal uploads.It is finished receiving all
Task identification is sent to terminal afterwards;Corresponding, terminal receives the task identification that server returns, and SS later is passed through
The task identification inquires the corresponding data processed result of data of this upload.
Task identification is used to indicate the corresponding device parameter of at least two mobile devices and uploads successfully.Optionally, appoint
Business mark includes uploading successfully corresponding time parameter, indicates task identification using " jobID ".
In a schematical example, when the corresponding point of logentry in the login page that terminal receives targeted website
When hitting signal, authentication information is sent to server, which includes that account number mark " XX ", the account number of terminal are close
The sequence number " WD7K9D3A " of code " 123456 " and electronics Dropbox, server authentication authentication information pass through, and send to terminal
RspCode value " 0000 ".It is received after RspCode value " 0000 " is proved to be successful information in terminal, when terminal receives number
When click signal corresponding according to the upload entrance uploaded in the page, it is corresponding to obtain five mobile devices as shown in Table 1
Device parameter.This five corresponding device parameters of mobile device are based on http protocol and are sent to using POST mode by terminal
The API of server.Corresponding, it is corresponding to terminal to return to this data processed result for server after API is all finished receiving
jobID“20181115”。
In conclusion the present embodiment also passes through the corresponding relationship between the network access license of mobile device and IMEI in advance
It is stored in file destination, the address of the file destination is encoded to obtain the character string i.e. file value of pre-arranged code format,
Since the data volume of file value is more much smaller than the data volume of file destination, so that terminal is using the file value of terminal as device parameter
The data volume carried when being uploaded to server greatly reduces, and transmits convenient for data, further improves the efficiency of data upload.
The present embodiment also passes through the login page of terminal displaying target website, includes logentry in login page;When connecing
Obtain authentication information when receiving the corresponding operation signal of logentry, authentication information include terminal account number mark,
The sequence number of account number cipher and electronics Dropbox sends authentication information to server and sends authentication information to server;
So that may make terminal acquisition authentication information by an operation for acting on logentry, and by authentication information
It is sent to server, avoids and needs to be manually entered account number name and account number cipher when terminal in the related technology logs in targeted website
Situation improves the efficiency that account number logs in.
It should be noted that terminal uploads the corresponding device parameter of at least two mobile devices to server, connecing
After receiving the task identification that server returns, the data that SS later can inquire this upload by the task identification are corresponding
Data processed result.It further include the following steps after above-mentioned steps 305, as shown in Figure 4:
Step 401, when receiving the corresponding operation signal of the inquiry entrance in targeted website, task identification will be carried
Inquiry request be sent to server.
Wherein, inquiry request is used to indicate server and returns to the corresponding data processed result of task identification.
Optionally, the query page of terminal displaying target website includes inquiry entrance in the query page.When terminal receives
When the corresponding operation signal of inquiry entrance into query page, the inquiry request for carrying task identification is generated, by generation
Inquiry request is sent to server.
Optionally, query page is for the page to the corresponding server inquiry data processed result in targeted website.It looks into
Ask entrance be provided in query page can operational controls.Optionally, the type for inquiring entrance includes button, controllable item
At least one of mesh, sliding block.The present embodiment is not limited the position of inquiry entrance and type.
It should be noted that the query page of terminal displaying target website, terminal receives the inquiry entrance in query page
The process of corresponding operation signal can analogy with reference to above-mentioned terminal displaying target website data upload the page, receive upload entrance
The process of corresponding operation signal, details are not described herein.
Step 402, server obtains number corresponding with task identification according to the task identification in the inquiry request received
According to processing result.
Optionally, the inquiry request that server receiving terminal is sent reads task identification from inquiry request, and server obtains
Data processed result corresponding with task identification.
Server obtains data processed result corresponding with task identification, the including but not limited to possible realization of following two
Mode:
In one possible implementation, server is corresponding according to the first corresponding relationship of storage acquisition task identification
Data processed result, the first corresponding relationship include the corresponding relationship between task identification and data processed result.
The first corresponding relationship in server is that real-time update or every preset time period update.
In alternatively possible implementation, server determines task status mark corresponding with task identification, according to
Task status mark obtains other parameters to be transmitted, and task status identifies to be determined as the task identification with other parameters corresponding
Data processed result.
Wherein, data processed result is used to indicate the corresponding processing of the corresponding device parameter of at least two mobile devices
The task status and parameter attribute of task.
Optionally, data processed result includes task status mark, and it is mobile that task status mark is used to indicate at least two
The task status of the corresponding processing task of the corresponding device parameter of equipment.Task status mark includes first task state mark
One of knowledge, the second task status mark and third task status mark.
First task status indicator is used to indicate processing task and is in armed state, and the second task status is identified for referring to
The each device parameter for showing that processing task is in completion status and processing task is correct, and third task status is identified for referring to
Show that processing task is in the device parameter for existing in completion status and processing task and importing failure.
Schematically, indicate that task status mark, Result value are first task state when being " 1 " using " Result value "
Mark, Result value are the second task status mark when being " 3 ", and Result value is third task status mark when being " 9 ".
Optionally, data processed result further include parameter total quantity, success quantity, error quantity and error cause parameter and
It is corresponding to be used to indicate the corresponding device parameter of at least two mobile devices at least one of problem report file parameters
The parameter attribute of processing task.
Optionally, parameter total quantity is the total quantity of device parameter in processing task, and success quantity is to lead in processing task
Enter the quantity of successful device parameter, error quantity is that the quantity of the device parameter of failure is imported in processing task.Malfunction reason
Parameter is used to indicate the description information of the reason of to the device parameter for importing failure, and problem report file parameters are processing task pair
The link address information of the problem of answering report file.
Optionally, data processed result includes but is not limited to following three kinds of possible data processed results:
The first data processed result: first task status indicator and parameter total quantity.
Second of data processed result: the second task status mark, parameter total quantity, success quantity and error quantity.
Optionally, it is used to indicate processing task when task status is identified as the second task status mark and is in completion shape
Each device parameter in state and processing task is correct, and success quantity is parameter total quantity, and error quantity is zero.That is, the
Two kinds of quantity processing results include: the second task status mark and parameter total quantity.
The third data processed result: third task status mark, parameter total quantity, success quantity, error quantity and go out
Wrong cause parameter and problem report file parameters.
The quantity of error cause parameter can be one, that is, be used to indicate all equipment ginsengs for importing failure in processing task
The set of the corresponding error reason of number;The quantity of error cause parameter is also possible to, i.e., each importing mistake consistent with error quantity
The device parameter lost respectively corresponds to an error cause parameter.
In order to facilitate data transmission, in one possible implementation, error cause parameter is the retouching of reason of malfunctioning
State the character string that the chained address of information is encoded.Problem report file parameters are that will handle problem report corresponding to task
The chained address for accusing file is encoded to obtain character string.
Optionally, the character string that server is encoded the chained address of the description information for the reason that malfunctions will be located
The chained address of the corresponding problem report file of reason task encoded to obtain character string process can analogy terminal by target text
The address of part is encoded to obtain the character string process of pre-arranged code format, and details are not described herein.
Schematically, it using " SumAmount value " expression parameter total quantity, is indicated successfully using " SuccessAmoun value "
Quantity, indicates error quantity using " FailAmount value ", indicates error cause parameter using " Remark value ", uses
" FileName value " indicates problem report file parameters.
Step 403, server returns to the data processed result got to terminal.
Optionally, server is by the API of server to terminal returned data processing result.Data processed result is for referring to
Show the task status and parameter attribute of the corresponding processing task of the corresponding device parameter of at least two mobile devices.
Step 404, terminal receives the data processed result that server returns.
Corresponding, terminal receives the data processed result that the API of server is returned.
In a schematical example, when terminal receives the corresponding click signal of inquiry entrance in targeted website
When, the inquiry request for carrying jobID " 20181115 " is sent to server, server is according in the inquiry request received
JobID " 20181115 ", return to corresponding with jobID " 20181115 " data processed result, the data processing knot to terminal
Fruit includes: that SumAmount value is " 5 ", and SuccessAmoun value is " 4 ", and FailAmount value is " 1 ", and Remark value is
" RpY4FlLzC6 ", FileName value are " JIsdfKIrt3U69HYsYwS4EfdS1 ".Corresponding, terminal receives server and returns
The data processed result returned.
In conclusion the embodiment of the present application also receives the task identification that server returns by terminal, when receiving target
When the corresponding operation signal of inquiry entrance in website, the inquiry request for carrying task identification is sent to server, is received
The data processed result that server returns;It enables the terminal to check at least two mobile devices in time respectively according to task identification
The task status and parameter attribute of the corresponding processing task of corresponding device parameter look into processing task after uploading convenient for data
It askes.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 5, the structural schematic diagram of the data uploading device provided it illustrates the application one embodiment.The number
It can be by special hardware circuit, alternatively, the whole or one of software and hardware being implemented in combination with as the terminal in Fig. 1 according to device is uploaded
Part, the data uploading device include: display module 510, obtain module 520 and uploading module 530.
Display module 510, the data for displaying target website upload the page, and it includes upper incoming that data, which upload in the page,
Mouthful;
Obtain module 520, for when receive upload entrance corresponding operation signal when, obtain at least two mobile devices
Corresponding device parameter, device parameter are used to indicate the corresponding relationship between the network access license of mobile device and IMEI;
Uploading module 530, for the corresponding device parameter of at least two mobile devices to be uploaded to targeted website pair
The server answered.
Optionally, obtain module 520, be also used to when receive upload entrance corresponding click signal when, obtain at least two
A corresponding device parameter of mobile device, device parameter include the file value of file destination;
Wherein, file destination is the text for storing the corresponding relationship between the network access license of mobile device and IMEI
Part, file value are to be encoded the address of file destination to obtain the character string of pre-arranged code format.
Optionally, device parameter further includes the file name value of file destination and reprocesses value, and file name value is used to indicate
The file name of file destination reprocesses value and is used to indicate whether terminal device is repairing machine.
Optionally, targeted website is the corresponding website of telecommunication apparatus authentication center, and uploading module 530, being also used to will at least
The application programming interface API, API that two corresponding device parameters of mobile device are uploaded to server are telecommunication apparatus
Authentication center is supplied to the interface of server.
Optionally, display module 510, further includes: the first display unit, transmission unit and the second display unit.
First display unit includes logentry in login page for the login page of displaying target website;
Transmission unit, for sending authentication letter to server when receiving the corresponding operation signal of logentry
Breath, authentication information are used to indicate server and are proved to be successful information to terminal transmission when authentication information is verified;
Second display unit, for when receive be proved to be successful information when displaying target website data upload the page.
Optionally, transmission unit is also used to when receiving the corresponding operation signal of logentry, obtains authentication letter
Breath, authentication information include the sequence number of the account number mark of terminal, account number cipher and electronics Dropbox, and electronics Dropbox is that terminal exists
The Dropbox that telecommunication apparatus authentication center applies when registering;Authentication information is sent to server.
Optionally, device further include: receiving module and sending module.
Receiving module, for receiving the task identification of server return, task identification is used to indicate at least two movements and sets
Standby corresponding device parameter uploads successfully;
Sending module, for will carry and appoint when receiving the corresponding operation signal of the inquiry entrance in targeted website
The inquiry request of business mark is sent to server, and inquiry request is used to indicate server and returns to the corresponding data processing of task identification
As a result;
Receiving module, is also used to receive the data processed result of server return, and data processed result is used to indicate at least
The task status and parameter attribute of the corresponding processing task of two corresponding device parameters of mobile device.
Optionally, data processed result, comprising:
First task status indicator and parameter total quantity, first task status indicator are used to indicate processing task and are in wait locate
Reason state, parameter total quantity are the total quantity of device parameter in processing task;Alternatively,
Second task status mark, parameter total quantity, success quantity and error quantity, the second task status are identified for referring to
The each device parameter for showing that processing task is in completion status and processing task is correct, and success quantity is to lead in processing task
Enter the quantity of successful device parameter, error quantity is that the quantity of the device parameter of failure is imported in processing task.
Optionally, data processed result, comprising:
Third task status mark, parameter total quantity, success quantity, error quantity and error cause parameter and problem report
File parameters,
Third task status mark, which is used to indicate processing task and is in completion status and processing task to exist to import, to fail
Device parameter, parameter total quantity be processing task in device parameter total quantity, success quantity be processing task in import at
The quantity of the device parameter of function, error quantity are that the quantity of the device parameter of failure is imported in processing task, and malfunction cause parameter
The description information for the reason of being used to indicate to the device parameter for importing failure, problem report file parameters are that processing task is corresponding
The link address information of problem report file.
Correlative detail is in combination with referring to figs. 2 to embodiment of the method shown in Fig. 4.Wherein, display module 510 is also used to realize
Any other implicit or disclosed function relevant to display step in above method embodiment;It obtains module 520 and is also used to reality
Any other implicit or disclosed function relevant to obtaining step in existing above method embodiment;Uploading module 530 is also used to
Realize any other implicit or disclosed function relevant to uploading step in above method embodiment.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor
The data uploading method that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that
Computer executes data uploading method described in above-mentioned each embodiment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that completely or partially being walked in the data uploading method of realization above-described embodiment
Suddenly may be implemented by hardware, relevant hardware can also be instructed to complete by program, the program can store in
In a kind of computer readable storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..More than
Described is only that the preferred embodiment of the application within the spirit and principles of this application, is made not to limit the application
Any modification, equivalent substitution, improvement and etc., should be included within the scope of protection of this application.
Claims (12)
1. a kind of data uploading method, which is characterized in that in terminal, which comprises
The data of displaying target website upload the page, and it includes uploading entrance in the page that the data, which upload,;
When receiving the corresponding operation signal of the upload entrance, the corresponding equipment ginseng of at least two mobile devices is obtained
Number, the device parameter are used to indicate between the network access license of the mobile device and international mobile equipment identification number IMEI
Corresponding relationship;
The corresponding device parameter of at least two mobile device is uploaded to the corresponding service in the targeted website
Device.
2. the method according to claim 1, wherein described ought receive the corresponding operation letter of the upload entrance
Number when, obtain the corresponding device parameter of at least two mobile devices, comprising:
When receiving the corresponding click signal of the upload entrance, the corresponding institute of at least two mobile devices is obtained
Device parameter is stated, the device parameter includes the file value of file destination;
Wherein, the file destination is for storing between the network access license of the mobile device and the IM EI
The file of corresponding relationship, the file value are to be encoded the address of the file destination to obtain the character of pre-arranged code format
String.
3. according to the method described in claim 2, it is characterized in that, the device parameter further includes the file of the file destination
Name-value and value is reprocessed, the file name value is used to indicate the file name of the file destination, and the value of reprocessing is for referring to
Show whether the terminal device is repairing machine.
4. the method according to claim 1, wherein the targeted website is that telecommunication apparatus authentication center is corresponding
Website, described that the corresponding device parameter of at least two mobile device is uploaded to the targeted website is corresponding
Server, comprising:
The application program that the corresponding device parameter of at least two mobile device is uploaded to the server is compiled
Journey interface API, the API are the interface that the telecommunication apparatus authentication center is supplied to the server.
5. the method according to claim 1, wherein the data of the displaying target website upload the page, comprising:
It shows the login page of the targeted website, includes the logentry in the login page;
When receiving the corresponding operation signal of the logentry, authentication information, the body are sent to the server
Part verification information be used to indicate the server when the authentication information is verified to the terminal send verifying at
Function information;
When receive it is described be proved to be successful information when show that the data of the targeted website upload the page.
6. according to the method described in claim 5, it is characterized in that, described ought receive the corresponding operation letter of the logentry
Number when, to the server send authentication information, comprising:
When receiving the corresponding operation signal of the logentry, the authentication information, the authentication letter are obtained
Breath includes the sequence number of the account number mark of the terminal, account number cipher and electronics Dropbox, and the electronics Dropbox is that the terminal exists
The Dropbox that telecommunication apparatus authentication center applies when registering;
Authentication information is sent to the server.
7. the method according to claim 1, wherein described that at least two mobile device is corresponding
The device parameter is uploaded to after the corresponding server in the targeted website, further includes:
The task identification that the server returns is received, the task identification is used to indicate at least two mobile device respectively
The corresponding device parameter uploads successfully;
When receiving the corresponding operation signal of the inquiry entrance in the targeted website, looking into for the task identification will be carried
It askes request and is sent to server, the inquiry request is used to indicate the server and returns at the corresponding data of the task identification
Manage result;
The data processed result that the server returns is received, the data processed result is used to indicate described at least two
The task status and parameter attribute of the corresponding processing task of the corresponding device parameter of mobile device.
8. the method according to the description of claim 7 is characterized in that the data processed result, comprising:
First task status indicator and parameter total quantity, the first task status indicator are used to indicate the processing task and are in
Armed state, the parameter total quantity are the total quantity of device parameter described in the processing task;Alternatively,
Second task status mark, parameter total quantity, success quantity and error quantity, the second task status mark is for referring to
The each device parameter for showing that the processing task is in completion status and the processing task is correct, described successfully to count
Amount is that the quantity of successful device parameter is imported in the processing task, and the error quantity is to import to lose in the processing task
The quantity of the device parameter lost.
9. the method according to the description of claim 7 is characterized in that the data processed result, comprising:
Third task status mark, parameter total quantity, success quantity, error quantity and error cause parameter and problem report file
Parameter,
The third task status mark, which is used to indicate the processing task and is in completion status and the processing task, to be existed
Import failure device parameter, the parameter total quantity be the processing task described in device parameter total quantity, it is described at
Function quantity is that the quantity of successful device parameter is imported in the processing task, and the error quantity is to lead in the processing task
Enter the quantity of the device parameter of failure, the error cause parameter is used to indicate to retouching the reason of importing the device parameter to fail
Information is stated, described problem report file parameter is the link address information of the corresponding problem report file of the processing task.
10. a kind of data uploading device, which is characterized in that in terminal, described device to include:
Display module, the data for displaying target website upload the page, and it includes uploading entrance in the page that the data, which upload,;
Module is obtained, for when receiving the corresponding operation signal of the uploads entrance, at least two mobile devices of acquisition to be each
Self-corresponding device parameter, the device parameter is used to indicate the network access license of the mobile device and international mobile device is known
Corresponding relationship between other code IMEI;
Uploading module, for the corresponding device parameter of at least two mobile device to be uploaded to the target network
It stands corresponding server.
11. a kind of terminal, which is characterized in that the terminal includes processor, the memory that is connected with the processor, Yi Jicun
The program instruction on the memory is stored up, the processor is realized when executing described program instruction as claim 1 to 9 is any
The data uploading method.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with program instruction, described program instruction is located
Reason device realizes data uploading method as described in any one of claim 1 to 9 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811392243.9A CN109348473B (en) | 2018-11-21 | 2018-11-21 | Data uploading method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811392243.9A CN109348473B (en) | 2018-11-21 | 2018-11-21 | Data uploading method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109348473A true CN109348473A (en) | 2019-02-15 |
CN109348473B CN109348473B (en) | 2021-08-03 |
Family
ID=65316830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811392243.9A Active CN109348473B (en) | 2018-11-21 | 2018-11-21 | Data uploading method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109348473B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790917A (en) * | 2011-05-19 | 2012-11-21 | 上海贝尔股份有限公司 | Method and apparatus for transmission of interactive multi-screen business contents |
CN103607468A (en) * | 2013-11-29 | 2014-02-26 | 深圳市金立通信设备有限公司 | Method and terminal for uploading files |
CN105025086A (en) * | 2015-06-11 | 2015-11-04 | 江南大学 | A cloud safe storing/retrieving method targeted at mobile intelligent terminals |
CN105743966A (en) * | 2015-12-28 | 2016-07-06 | 哈尔滨安天科技股份有限公司 | File block multi-point uploading method and system |
CN107920005A (en) * | 2017-11-17 | 2018-04-17 | 南京物联传感技术有限公司 | A kind of intelligent terminal quickly networking installation and debugging system and method for work |
-
2018
- 2018-11-21 CN CN201811392243.9A patent/CN109348473B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790917A (en) * | 2011-05-19 | 2012-11-21 | 上海贝尔股份有限公司 | Method and apparatus for transmission of interactive multi-screen business contents |
CN103607468A (en) * | 2013-11-29 | 2014-02-26 | 深圳市金立通信设备有限公司 | Method and terminal for uploading files |
CN105025086A (en) * | 2015-06-11 | 2015-11-04 | 江南大学 | A cloud safe storing/retrieving method targeted at mobile intelligent terminals |
CN105743966A (en) * | 2015-12-28 | 2016-07-06 | 哈尔滨安天科技股份有限公司 | File block multi-point uploading method and system |
CN107920005A (en) * | 2017-11-17 | 2018-04-17 | 南京物联传感技术有限公司 | A kind of intelligent terminal quickly networking installation and debugging system and method for work |
Also Published As
Publication number | Publication date |
---|---|
CN109348473B (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11936760B2 (en) | Method and system of generating generic protocol handlers | |
CN107908659A (en) | Data sheet collocation method, report platform and computer-readable recording medium | |
CN102474432B (en) | Social network virtual private network | |
US9239705B2 (en) | Method and apparatus for customized software development kit (SDK) generation | |
CN105069880B (en) | A kind of method and system of the mobile terminal access control based on converged communication | |
US20200051357A1 (en) | Computer methods and computer systems for voting | |
CN105337950B (en) | A kind of form filling method and associated terminal | |
CN104967586B (en) | A kind of user ID authentication method, apparatus and system | |
US20080021696A1 (en) | System and method of providing a fast path link for an identified set of data | |
CN105577648A (en) | Method for obtaining and sending short message identifying code, calculating device and mobile terminal | |
CN108364171B (en) | Graphic code generation method, resource sending and receiving method, device and electronic equipment | |
KR20210047350A (en) | Attendance management system, method and electronic device | |
CN110069297A (en) | Abnormality eliminating method, device, computer equipment and storage medium based on Spring MVC | |
CN107911483A (en) | A kind of information transferring method and device | |
US20130106916A1 (en) | Drag and drop human authentication | |
CN108234549A (en) | Policy information checking method and device | |
CN103647652B (en) | A kind of method for realizing data transfer, device and server | |
CN106992975A (en) | The recognition methods of malice network address and device | |
CN108062714A (en) | Annuity data transmission method for uplink, device, computer equipment and storage medium | |
CN105207777B (en) | The method and apparatus of network information verifying | |
CN106534170A (en) | Smart registration method capable of recognition of registration information source | |
CN108880992A (en) | Data transmission method, computer equipment and storage medium | |
CN109388558A (en) | A kind of method, apparatus, equipment and storage medium managing electronic equipment | |
WO2021134873A1 (en) | Data acquisition method, related device and system thereof and storage apparatus | |
CN109348473A (en) | Data uploading method, device, terminal and storage medium |
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 |