WO2015149309A1 - Data processing method and terminal - Google Patents

Data processing method and terminal Download PDF

Info

Publication number
WO2015149309A1
WO2015149309A1 PCT/CN2014/074657 CN2014074657W WO2015149309A1 WO 2015149309 A1 WO2015149309 A1 WO 2015149309A1 CN 2014074657 W CN2014074657 W CN 2014074657W WO 2015149309 A1 WO2015149309 A1 WO 2015149309A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
storage server
user
storage
access request
Prior art date
Application number
PCT/CN2014/074657
Other languages
French (fr)
Chinese (zh)
Inventor
李磊
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to PCT/CN2014/074657 priority Critical patent/WO2015149309A1/en
Publication of WO2015149309A1 publication Critical patent/WO2015149309A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/33User authentication using certificates
    • G06F21/335User authentication using certificates for accessing specific resources, e.g. using Kerberos tickets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of mobile communications technologies, and in particular, to a method and a terminal for processing data.
  • Embodiments of the present invention provide a method and a terminal for processing data, which are used to simplify a process in which a terminal accesses a storage space on a network side, and improve a user experience.
  • the embodiment of the present invention adopts the following technical solutions:
  • the embodiment of the present invention provides a method for processing data, including: a terminal sending an access request message to a storage server; the terminal receiving the storage An authentication message sent by the server according to the access request message; the terminal sending a user identity identification code to the storage server according to the authentication message, so that the storage server is configured according to the user identity code
  • the terminal performs authentication; the user identification code is used to identify a user identity card located in the terminal; the terminal receives an access response message sent by the storage server; and the terminal according to the access response message, Accessing a user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code.
  • the authentication message includes: a random number; the terminal sending, according to the authentication message, the user identity identification code to the storage server, where Obtaining a first authentication number by using a preset algorithm according to the random number and the user identity code, and sending the first authentication number and the user identity identification code to the storage server.
  • the method before the terminal sends the access request message to the storage server, the method further includes: Obtaining a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card; the terminal determining whether the first terminal identifier and the second terminal identifier are the same; the terminal is to a storage server
  • the sending the access request message includes: when the terminal determines that the first terminal identifier and the second terminal identifier are different, the terminal sends the access request message to the storage server.
  • the sending, by the terminal, the access request message to the storage server includes: determining, by the terminal, the first terminal identifier When the second terminal identifier is different from the second terminal identifier, the terminal determines whether to send the access request message to the storage server; after the terminal receives the instruction to send the access request message to the storage server, The terminal sends the access request message to the storage server.
  • the method further includes: the terminal performing, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the terminal passes The storage server stores data in the terminal to the user storage area.
  • the method further includes: the terminal storing data downloaded from the user storage area according to a folder structure; the folder structure is a storage structure of a file in the user identification card, or the folder The structure is a storage structure of files in the storage server; when the terminal selects any one of the folder structures twice in a certain period of time, the folder is taken as a root node and is in a tree shape Structural display Show all the data in this folder.
  • the embodiment of the present invention provides a terminal, including: a sending unit, configured to send an access request message to a storage server; and a receiving unit, configured to receive an authentication message sent by the storage server according to the access request message
  • the sending unit is further configured to send the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identification code.
  • the user identification code is used to identify a user identity card located in the terminal; the receiving unit is further configured to receive an access response message sent by the storage server, and the processing unit is configured to respond according to the access
  • the message accessing the user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code.
  • the authentication message includes: a random number; when the sending unit sends the user identity code to the storage server according to the authentication message Specifically, the method is used to obtain a first authentication number according to the random number and the user identity code, and send the first authentication number and the user identity identification code to the storage server. .
  • the method further includes: an acquiring unit, configured to be in the storage server Before the sending the access request message, acquiring the first terminal identifier of the terminal and the second terminal identifier stored in the user identifier card; the processing unit is further configured to determine the first terminal identifier and the second When the sending unit sends the access request message to the storage server, the sending unit is specifically configured to: when the processing unit determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message.
  • the sending unit when sending the access request message to the storage server, is specifically used to: Determining, by the processing unit, that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server; and receiving, by the terminal, the sending, to the storage server In the case of an instruction to access the request message, an access request message is sent to the storage server.
  • the processing unit is further configured to access the network side After the user storage area, the data of the user storage area is performed by the storage server to perform at least one of the following operations: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the processing The unit is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side.
  • the processing unit is further configured to perform data on the user storage area by using the storage server During the download operation, the data downloaded from the user storage area is stored in accordance with a folder structure; the folder structure is a storage structure of files in the user identification card, or the folder structure is the a storage structure of the file in the storage server; the processing unit is further configured to use the folder as a root node when the terminal selects any one of the folder structures twice in a certain period of time, And display all the data in the folder in a tree structure.
  • an embodiment of the present invention provides a terminal, including: a sender, configured to send an access request message to a storage server, and a receiver, configured to receive an authentication message sent by the storage server according to the access request message.
  • the transmitter is further configured to send the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identifier
  • the user identification code is used to identify a user identity card located in the terminal;
  • the receiver is further configured to receive an access response message sent by the storage server; and the processor is configured to respond according to the access The message accessing the user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code.
  • the authentication message includes: a random number; when the sender sends the user identity code to the storage server according to the authentication message Specifically, the method is used to obtain a first authentication number according to the random number and the user identity code, and send the first authentication number and the user identity identification code to the storage server. .
  • the processor is further configured to send to the storage server Obtaining, by the first terminal identifier of the terminal, a second terminal identifier stored in the user identifier card, and the second terminal identifier, where the processor is further configured to determine the first terminal identifier and the second Whether the terminal identifier is the same or not; when the sender sends the access request message to the storage server, specifically, when the processor determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message.
  • the sending when sending the access request message to the storage server, is specifically used to: Determining, by the processor, that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server; and sending, by the terminal, the sending, to the storage server In the case of an instruction to access the request message, an access request message is sent to the storage server.
  • the processor is further configured to access the network side After the user storage area, the data of the user storage area is performed by the storage server to perform at least one of the following operations: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the processing And storing, by the storage server, data in the terminal to the user storage area after accessing the user storage area located on the network side.
  • the processor is further configured to perform data on the user storage area by using the storage server During the download operation, the data downloaded from the user storage area is stored in accordance with a folder structure; the folder structure is a storage structure of files in the user identification card, or the folder structure is the a storage structure of the file in the storage server; the processor is further configured to use the folder as a root node when the terminal selects any one of the folder structures twice in a certain period of time, And display all the data in the folder in a tree structure.
  • An embodiment of the present invention provides a method and a terminal for processing data.
  • the terminal After sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server. And causing the storage server to authenticate the terminal according to the user identifier, and after the authentication is passed, the terminal root According to the access response message returned by the storage server, the user storage area on the network side can be accessed. In this way, it is not necessary to manually input a user name, a password, a verification code, and the like for authentication, but the terminal automatically acquires the user identification code and sends it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, and further Improve the user experience.
  • FIG. 1 is a schematic flowchart of a method for processing data according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for processing data according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram showing a display of a folder according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a tree structure display folder according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of another terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
  • FIG. 11 is a schematic structural diagram of a system for processing data according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for processing data, as shown in FIG. 1 , including: 101.
  • the terminal sends an access request message to the storage server.
  • the terminal sends an access request message to the server, to trigger the server to send an authentication message to the terminal after receiving the access request message.
  • the server is a cloud server.
  • the terminal may have a card application, and when the card application is opened, the terminal is triggered to send the terminal to the storage server.
  • the access request message may be: the user may open the folder stored in the mobile phone, but the data of the folder is stored in the cloud; or other situations in which the user wants to access the storage server, the present invention does not limit this.
  • the terminal receives an authentication message that is sent by the storage server according to the access request message. It should be noted that the authentication message is information used by the storage server to authenticate the terminal.
  • the authentication message may be used only to indicate that the terminal sends the user identity code to the storage server, or may be a random number in order to increase the security of the authentication.
  • the terminal sends the user identity code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity code.
  • the user identification code is used to identify a user identity identification card located in the terminal.
  • the terminal acquires the user identification code in the user identification card that is currently using the terminal.
  • the user identification card is not fixed on a certain terminal, that is, the user identification card can use different terminals.
  • the user identification code is fixed in the user identification card and is used to uniquely identify a user identification card.
  • the terminal is a mobile phone while the user identification card may be a SIM (Subscriber Ident i ty Module, Subscriber Identity Module) card
  • a user identity identifying the other country code may be 1 J! ⁇
  • Mobile user i is only 1 J code (International Mobile Subscriber Identification Number, IMS I for short), or it can be a mobile phone number.
  • the storage server may perform the following methods for authenticating the terminal according to the user identifier:
  • the storage server determines the user according to some preset specifications. Whether the identification code conforms to the specification, if the received user identification code satisfies the preset specification, the authentication is successful; if the received user identification code does not satisfy the preset specification, the authentication fails.
  • the specification of the user ID set by the storage server must be: a total of 11 decimal digits, the first digit being 1 or the like.
  • the storage server stores a user identification code list that allows access to the storage server, and then queries whether the stored user identification code list has the same user identity as the user identification code received from the terminal. If the user identification code stored in the query has the same user identification code as the user identification code received from the terminal, the authentication succeeds; if the stored user identification code list is not received from the terminal If the user ID of the same user ID is obtained, the authentication fails. It should be noted that, when the user identity card is used for the first time, the terminal actively reports the user ID to the storage server, so that the storage server adds the user ID to the user ID list of the storage server. .
  • the terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and the foregoing Sending an authentication number to the storage server, and the storage server generates a second authentication number by using the same preset algorithm as the user identifier and the random number, and then determining the first If an authentication number is the same as the second authentication number, if it is determined that the first authentication number is the same as the second authentication number, the authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, Authentication failed.
  • the fourth method in a case that the authentication message is a random number, the terminal acquires the first authentication number by using the preset algorithm by using the random number, and the first authentication number, the storage server The random number generates a second authentication number by using a preset algorithm that is the same as the terminal, and then determines whether the first authentication number is the same as the second authentication number. If it is determined that the first authentication number is the same as the second authentication number, The authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails.
  • the preset algorithm is a system pre- A private encryption algorithm is defined first.
  • the preset algorithm may be an RSA encryption algorithm (an asymmetric force secret algorithm), a DEA (Data Encryption Algorithm), or an MD5 (Message). - Digest Algorithm 5, information digest algorithm 5), which is not limited by the present invention. It should be noted that, the method for authenticating the terminal according to the user identity code by the storage server is not limited by the present invention.
  • the terminal receives an access response message sent by the storage server. Specifically, after the terminal sends the user ID to the storage server, the storage server authenticates the terminal according to the received user ID, and then sends an access response message to the terminal according to the authentication result, where the terminal receives the The access response message sent by the storage server.
  • the access response message received by the terminal has two situations: In the first case, in the case that the storage server successfully authenticates the terminal, the terminal Receiving the access response message sent by the storage server, that is, the terminal only needs to receive the access response message, indicating that the storage server has successfully authenticated the terminal; in the second case, regardless of the authentication result of the storage server to the terminal
  • the access response message is sent to the terminal.
  • the terminal determines whether the authentication is successful according to the information carried in the access response message. That is, the storage server cannot be determined according to whether the terminal receives the access response message. The authentication result of the terminal.
  • the terminal accesses a user storage area located on the network side according to the access response message.
  • the user storage area is a storage area created by the storage server on the network side according to the user identification code. It should be noted that, in the case that the storage server successfully authenticates the terminal, the terminal can access the storage area created by the storage server according to the user identification code. It should be noted that the access may be to back up data in the terminal to the user storage area, or to back up data in the user storage area to the mobile phone, or delete or modify data in the user storage area. , update, etc. It should be noted that the storage server stores a correspondence between the user identification code and the storage area, and the storage server may identify the corresponding storage according to the user identity. Area.
  • the storage server creates a corresponding user storage area according to the user identification code.
  • the user storage area is created by the storage server, but the user storage area may be on the storage server or not on the storage server, but the storage exists in a distributed manner. On other devices managed by the server.
  • An embodiment of the present invention provides a method for processing data. After sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the The storage server authenticates the terminal according to the user identity code.
  • An embodiment of the present invention provides a method for processing data, as shown in FIG. 2, including:
  • the storage server receives an access request sent by the terminal; It should be noted that the storage server is a cloud storage server. It should be noted that the access request message is a trigger condition for the storage server to send an authentication message to the terminal.
  • the storage server sends an authentication message to the terminal, so that the terminal sends a user identity identification code to the storage server according to the authentication message.
  • the authentication message is information used by the storage server to authenticate the terminal.
  • the authentication message may be used only to indicate that the terminal sends the user identity code to the storage server, or may be a random number to increase the security of the authentication, that is, the first random number.
  • the storage server receives the user identity code sent by the terminal. Further, the authentication message includes: when the random number is used, the storage server receives the user identity code and the first authentication number sent by the terminal.
  • the first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code. It should be noted that the random number is randomly generated by the storage server.
  • the storage server not only needs to send the random number to the terminal, but also needs to temporarily store the random number for subsequent authentication of the terminal.
  • the user identity code may be an international mobile subscriber identity code or a mobile phone number.
  • the storage server authenticates the terminal according to the user identity code. It should be noted that, the storage server may perform the following methods for authenticating the terminal according to the user identifier: In the first method, the storage server determines the user according to some preset specifications. Whether the identification code conforms to the specification, if the received user identification code satisfies the preset specification, the authentication is successful; if the received user identification code does not satisfy the preset specification, the authentication fails. Further, when the user identification code is a mobile phone number, the specification of the user identification code set by the storage server must be: a total of 11 decimal digits, and the first digit is 1 or the like.
  • the storage server stores a user identification code list that allows access to the storage server, and then queries whether the stored user identification code list has the same user identity as the user identification code received from the terminal. If the user identification code stored in the query has the same user identification code as the user identification code received from the terminal, the authentication succeeds; if the stored user identification code list is not received from the terminal If the user ID of the same user ID is obtained, the authentication fails.
  • the terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and the foregoing Sending an authentication number to the storage server, and the storage server generates a second authentication number by using the received user identification code and the first random number through the same preset algorithm as the terminal, and then generating a second authentication number, and then Determining whether the first authentication number is the same as the second authentication number, if If it is determined that the first authentication number is the same as the second authentication number, the authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails.
  • the fourth method in a case that the authentication message is a random number, the terminal acquires the first authentication number by using the preset algorithm by using the random number, and the first authentication number, the storage server The random number generates a second authentication number by using a preset algorithm that is the same as the terminal, and then determines whether the first authentication number is the same as the second authentication number. If it is determined that the first authentication number is the same as the second authentication number, The authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails.
  • the preset algorithm is a private encryption algorithm predefined by the system, and the preset algorithm may be an RSA encryption algorithm, or may be a DEA, or It is MD5, and the present invention does not limit this. It should be noted that, the method for authenticating the terminal according to the user identity code by the storage server is not limited by the present invention.
  • the storage server sends an access response message to the terminal according to the authentication result. It should be noted that, according to the specific configuration of the system, the storage server sends an access response message to the terminal in two cases: In the first case, when the storage server successfully authenticates the terminal, The storage server sends an access response message to the terminal. Otherwise, the storage server does not send the access request message. In the second case, the access response message is sent to the terminal regardless of whether the storage server succeeds or fails to authenticate the terminal. After receiving the access response message, the terminal determines whether the authentication is successful according to the information carried in the access response message.
  • An embodiment of the present invention provides a method for processing data.
  • the storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal, and the terminal sends the user identity to the storage server according to the authentication message.
  • the operating steps of the server which in turn improves the user experience.
  • An embodiment of the present invention provides a method for processing data, as shown in FIG. 3, including: 301.
  • the terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card. It should be noted that the terminal identifier may uniquely identify a terminal. It should be noted that the user identification card stores the terminal identifier of the terminal that used the user identification card to perform network storage last time. Specifically, after the SIM card is placed in a terminal for network storage, the identifier of the terminal is stored in the SIM card; and then the next time the network storage is started, the terminal identifier in the SIM card is used and the current S is used.
  • the terminal identifier in the SIM card is updated to ensure that the terminal identifier saved in the SIM card is the last network storage terminal.
  • the terminal determines whether the first terminal identifier and the second terminal identifier are the same. It should be noted that, in this step, the terminal determines whether the terminal that used the user identity card for network storage last time is itself. It should be noted that, according to the result determined by the terminal, the timing at which the terminal sends the access request message to the storage server is different. When the terminal determines that the first terminal identifier and the second terminal identifier are different, the terminal promptly prompts the user whether to access the stored data on the storage server, and sends an access request message to the storage server when the user determines to access the stored data.
  • the terminal determines that the first terminal identifier and the second terminal identifier are the same, the terminal does not actively prompt the user to access the stored data, but only when the user determines that the stored data needs to be accessed.
  • the storage server sends an access request message.
  • the terminal determines whether to send the access request message to the storage server. Specifically, the terminal prompts the user whether to access the stored data, and determines whether to access the stored data according to the result of the user selection, if the terminal determines that the terminal that used the user identification card to perform network storage is not itself.
  • the storage server sends an access request message.
  • the prompting to the user may be displaying the prompt information on the display screen, or prompting the user by voice or other means, so that the user determines whether to immediately send the access request message. It should be noted that, according to the determined result of the terminal, the timing at which the terminal sends the access request message to the storage server is different.
  • the terminal When the terminal determines to send an access request message to the storage server, the terminal immediately sends an access request message to the storage server; if the terminal determines not to send an access request message to the storage server, The terminal does not immediately send an access request message to the storage server, but sends an access request message to the storage server when the user determines that the storage server needs to be accessed.
  • the terminal After the terminal receives the instruction to send the access request message to the storage server, the terminal sends the access request message to the storage server, and the storage server receives the access request sent by the terminal.
  • step 101 For details, refer to step 101 and step 201, and details are not described herein again.
  • the storage server sends a random number to the terminal according to the access request message, where the terminal receives a random number sent by the storage server.
  • step 102 For details, refer to step 102 and step 202, and details are not described herein again.
  • the terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and sends the first authentication number and the user identity identification code to the storage server.
  • the storage server receives the user identification code and the first authentication number sent by the terminal.
  • step 1300 For details, refer to the third method in step 1300, and step 203, and details are not described herein again.
  • the storage server obtains a second authentication number according to the random number and the user identity code, and determines whether the first authentication number and the second authentication number are the same.
  • the storage server determines whether to store the user identifier. It should be noted that, when a terminal accesses the storage server for the first time, the storage server creates a corresponding user storage area according to the user identification code that is reported by the terminal, and records the user identification code and the The correspondence between storage areas. It should be noted that the steps performed by the storage server are different according to the determined result.
  • the storage server determines to store the user identity code, the storage server needs to perform step 309; if the storage server has stored the user identity code, it indicates that the storage server has been configured according to the The user identification area has created a user storage area, then step 309 is not performed.
  • the storage server determines that the user identity code is not stored, the storage server creates a user storage area according to the user identity code.
  • the user storage area is a storage area corresponding to the user identification code. It should be noted that the user storage area is created by the storage server, but the user storage area may be on the storage server or not on the storage server, but the storage exists in a distributed manner. On other devices managed by the server.
  • the storage server sends an access response message to the terminal according to the authentication result, and the terminal receives the access response message sent by the storage server.
  • step 104 For details, refer to step 104 and step 205, and details are not described herein again.
  • the storage server allows the terminal to access the user storage area if the storage server determines to store the user identification code and successfully authenticates the terminal.
  • the terminal accesses a user storage area located on the network side according to the access response message.
  • the storage server stores a relationship between the user identification code and the storage area, and the storage server can identify the corresponding storage area according to the user identity. It should be noted that if the authentication succeeds but the storage server does not find a corresponding user storage area according to the user identification code, the storage server creates a corresponding user storage area according to the user identification code.
  • the terminal performs, by using the storage server, at least one of the following operations on the data of the user storage area: a modify operation, a delete operation, a read operation, a download operation, and an update operation, or the terminal passes the
  • the storage server stores data in the terminal to the user storage area.
  • the terminal may perform at least one of the following operations on data of the user storage area: a modification operation, Deletion operation, read operation, download operation, and update operation; in the case where no data is stored in the user storage area, the terminal can only store data in the terminal to the user storage area.
  • the data stored in the user storage area is data that has been stored before the login to the storage server.
  • the terminal is a mobile phone
  • the data in the mobile phone can be uploaded to the user storage created by the storage server. a region, and storing a folder occupying data with a small storage space in the SIM card, and when the SIM card is used for the mobile phone of the terminal, the storage server can be accessed to the user storage Regional data.
  • the folder structure of the data may be uploaded to the user storage area, when the folder structure stored in the SIM card is damaged or When lost, you can first access the folder structure stored to the user's storage area and download the data.
  • the network speed is sufficient, the user intuitively does not feel the process of logging in to the storage server by the terminal, and the user opens the S IM card application. After that, the user data can be accessed directly.
  • the terminal When the terminal performs a download operation on the data of the user storage area by using the storage server, the terminal stores the data downloaded from the user storage area according to a folder structure.
  • the folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server.
  • the terminal may download the stored data according to the uploaded to the user storage area saved in the user identification card, and store the downloaded data according to the folder structure.
  • the terminal selects any one of the folders in the folder structure twice in a certain period of time, the folder is taken as a root node, and all data in the folder is displayed in a tree structure.
  • the terminal selects the folder node twice in a certain period of time. Any folder in the structure, that is, the user clicks the folder twice in succession.
  • Figure 4 shows the three folders displayed on the terminal. The names of the folders are: photo, movie, music.
  • the terminal displays all the data in the folder with the folder named music as the root node tree structure.
  • An embodiment of the present invention provides a data processing method, where a terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card, and then determines the first terminal identifier and the first If the two terminal identifiers are the same, if the two are not the same, the terminal determines whether to send an access request message to the storage server, and if the terminal determines to send an access request message to the storage server, The terminal sends an access request message to the storage server, and the storage server receives the access request message sent by the terminal, and the storage server authenticates the terminal according to the access request message, and then the storage server performs the authentication result according to the authentication result.
  • the terminal sending an access response message to the terminal, the terminal receiving an access response message sent by the storage server, where the storage server determines to store the user identity code, and if the terminal is successfully authenticated, the terminal
  • the storage server allows the terminal to access the user storage area .
  • the terminal accesses the user storage area according to the access response message. In this way, since the storage server performs authentication according to the user identification code, the user does not need to manually input the account name, password, verification code, etc., but the terminal automatically acquires the user identification code and sends it to the storage server for authentication. The right to reduce the user's operation steps to log in to the storage server, thereby improving the user experience.
  • FIG. 6 is a schematic diagram of a terminal according to an embodiment of the present invention.
  • the terminal includes: a sending unit 601, a receiving unit 602, and a processing unit 603.
  • the sending unit 601 is configured to send an access request message to the storage server. Further, when the sending unit sends the access request message to the storage server, the sending unit 601 is specifically configured to: when the processing unit 603 determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message. When the sending unit sends the access request message to the storage server, the sending unit 601 is specifically configured to: determine, by the processing unit 603, the first terminal identifier and the second terminal identifier.
  • the receiving unit 602 is configured to receive an authentication message that is sent by the storage server according to the access request message. Further, the authentication message includes: a random number.
  • the sending unit 601 is further configured to send the user identity identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity identification code. .
  • the user identification code is used to identify a user identity card located in the terminal.
  • the authentication message includes: a random number
  • the sending by the sending unit 601
  • the user identification code to the storage server according to the authentication message, specifically, according to the random And the user identification code, obtaining a first authentication number by using a preset algorithm, and sending the first authentication number and the user identification code to the storage server.
  • the receiving unit 602 is further configured to receive an access response message sent by the storage server.
  • the processing unit 603 is configured to access the access response message and access the user storage area located on the network side.
  • the user storage area is a storage area created by the storage server on the network side according to the user identification code.
  • the processing unit 603 is further configured to: after accessing the user storage area located on the network side, perform, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, Read operations, download operations, and update operations.
  • processing unit 603 is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side.
  • the processing unit 603 is further configured to store the user by using the storage server When the data of the area is downloaded, the data downloaded from the user storage area is stored in accordance with the folder structure.
  • the folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server.
  • the processing unit 603 is further configured to: when the terminal selects any one of the folder structures twice in a certain period of time, using the folder as a root node, and displaying the file in a tree structure All the data in the folder.
  • the terminal further includes: an obtaining unit 604.
  • the obtaining unit 604 is configured to acquire, after sending the access request message to the storage server, the first terminal identifier of the terminal and the second terminal identifier stored in the user identifier card.
  • the processing unit 603 is further configured to determine whether the first terminal identifier and the second terminal identifier are the same.
  • the terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 1 and FIG. 3. For the specific method flow, reference may be made to the description in the embodiment shown in FIG. 1 and FIG. 3.
  • An embodiment of the present invention provides a terminal, after sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the storage server The terminal is authenticated according to the user identity code. After the authentication is passed, the terminal can access the user storage area on the network side according to the access response message returned by the storage server. In this way, it is not necessary to manually input a user name, a password, a verification code, and the like for authentication, but the terminal automatically acquires the user identification code and sends it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, and further Improve the user experience.
  • the storage server includes: a receiving unit 801, a sending unit 802, a processing unit 803, and a receiving unit 801, configured to receive an access request message sent by the terminal.
  • the sending unit 802 is configured to send an authentication message to the terminal, so that the terminal sends the user identity code to the storage server according to the authentication message. Further, the authentication message includes: a random number.
  • the receiving unit 801 is further configured to receive the user identity code sent by the terminal.
  • the receiving unit 801 is specifically configured to receive a user identity code and a first authentication number sent by the terminal.
  • the first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code.
  • the processing unit 803 is configured to perform authentication on the terminal according to the user identity code received by the receiving unit 801.
  • the processing unit 803 is specifically configured to obtain a second authentication number by using a preset algorithm according to the random number and the user identity code, and Determining whether the first authentication number is the same as the second authentication number.
  • the sending unit 802 is further configured to send an access response message to the terminal according to the authentication result of the processing unit 803.
  • the processing unit 803 is further configured to determine whether to store the user identity code.
  • the processing unit 803 is further configured to create a user storage area according to the user identity code, if it is determined that the user identity code is not stored.
  • the user storage area is a storage area corresponding to the user identification code.
  • the processing unit 803 is further configured to allow the terminal to access the user storage area if it is determined that the user identity code is stored and the terminal is successfully authenticated.
  • the storage server provided in this embodiment is used to implement the method in the embodiment shown in FIG. 2 and FIG. 3. For the specific method flow, reference may be made to the description in the embodiment shown in FIG. 2 and FIG. 3.
  • the embodiment of the present invention provides a storage server.
  • the storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal. After the terminal according to the authentication message, the terminal sends the user identity code to the storage server. The storage server authenticates the terminal according to the user identifier, and finally, the storage server sends an access response message to the terminal according to the authentication result, so that the storage server is The user ID is authenticated, so the user does not need to manually enter the account name, password, and The verification code, etc., is obtained by the terminal automatically acquiring the user identification code and sending it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, thereby improving the user experience.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention. Referring to FIG.
  • the terminal includes: a transmitter 901, a receiver 902, a memory 903, and a processor 904 connected to the transmitter 901, the receiver 902, and the memory 903, respectively.
  • the memory 903 stores a set of program codes
  • the processor 904 is used to call the program code in the memory 903.
  • the sender 901 is configured to send an access request message to the storage server. Further, when the sender 901 sends an access request message to the storage server, the transmitter 901 is specifically configured to: when the first terminal identifier and the second terminal identifier of the processor 904 are different, The storage server sends the access request message.
  • the transmitter 901 is configured to: when the processor 904 determines that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server And the storage server sends the access request message; and when the terminal receives an instruction to send the access request message to the storage server, sending an access request message to the storage server.
  • the receiver 902 is configured to receive an authentication message sent by the storage server. Further, the authentication message includes: a random number.
  • the transmitter 901 is further configured to send the user identity identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity identification code. .
  • the sender 901 sends the user identification code to the storage server according to the authentication message, specifically, according to the random And the user identification code, obtaining a first authentication number by using a preset algorithm, and sending the first authentication number and the user identification code to the storage server.
  • the receiver 902 is further configured to receive an access response message sent by the storage server.
  • the processor 904 is configured to access the network side according to the access response message.
  • User storage area is a storage area created by the storage server on the network side according to the user identification code.
  • the processor 904 is further configured to acquire, after sending the access request message to the storage server, the first terminal identifier of the terminal and the second terminal identifier stored in the user identity card.
  • the processor 904 is further configured to determine whether the first terminal identifier and the second terminal identifier are the same.
  • the processor 904 is further configured to: after accessing the user storage area located on the network side, perform, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, Read operations, download operations, and update operations. Or,
  • the processor 904 is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side.
  • the processor 904 is further configured to store data downloaded from the user storage area according to a folder structure when performing a download operation on data of the user storage area by the storage server.
  • the folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server.
  • the processor 904 is further configured to use the folder as a root node and display the tree structure in a tree structure when the terminal selects any one of the folder structures twice in a certain period of time. All the data in the folder.
  • the terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 1 and FIG. 3.
  • An embodiment of the present invention provides a terminal, after sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the storage server The terminal is authenticated according to the user identity code. After the authentication is passed, the terminal can access the user storage area on the network side according to the access response message returned by the storage server.
  • FIG. 10 is a schematic structural diagram of a storage server according to an embodiment of the present invention.
  • the storage server includes: a transmitter 1001, a receiver 1002, a memory 1003, and a processor 1004 connected to the transmitter 1001, the receiver 1002, and the memory 1003, respectively.
  • a set of program codes is stored in the memory, and the processor 1004 is configured to call the program code in the memory 1003.
  • the receiver 1002 is configured to receive an access request message sent by the terminal.
  • the sender 1001 is configured to send an authentication message to the terminal, so that the terminal sends a user identity code to the storage server according to the authentication message.
  • the authentication message includes: a random number.
  • the transmitter 1001 is specifically configured to send a random number to the terminal according to the access request message.
  • the receiver 1002 is further configured to receive the user identity code sent by the terminal. Further, when the authentication message includes: a random number, the receiver 1002 is configured to receive a user identity code and a first authentication number sent by the terminal.
  • the first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code.
  • the processor 1004 is configured to perform authentication on the terminal according to the user identity code received by the receiver 1002.
  • the processor 1004 is specifically configured to obtain a second authentication number by using a preset algorithm according to the random number and the user identity code, and Determining whether the first authentication number is the same as the second authentication number.
  • the transmitter 1001 is further configured to send an access response message to the terminal according to the authentication result of the processor 1004.
  • the processor 1004 is further configured to determine whether to store the user identity code.
  • the processor 1 004 is further configured to create a user storage area according to the user identity code, if it is determined that the user identity code is not stored.
  • the user storage area is a storage area corresponding to the user identification code.
  • the processor 1 004 is further configured to allow the terminal to access the user storage area if it is determined that the user identification code is stored and the terminal is successfully authenticated.
  • the terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 2 and FIG. 3. For a specific method flow, reference may be made to the description in the embodiment shown in FIG. 2 and FIG. 3.
  • the embodiment of the present invention provides a storage server.
  • the storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal. After the terminal according to the authentication message, the terminal sends the user identity code to the storage server. The storage server authenticates the terminal according to the user identifier, and finally, the storage server sends an access response message to the terminal according to the authentication result, so that the storage server is The user ID is authenticated, so the user does not need to manually input the account name, password, and verification code. Instead, the terminal automatically obtains the user ID and sends it to the storage server for authentication, which reduces the user's login to the storage server. The operating steps improve the user experience.
  • the embodiment of the present invention provides a system for processing data, as shown in FIG.
  • An embodiment of the present invention provides a data processing system, where a terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card, and then determines the first terminal identifier and the first If the two terminal identifiers are the same, if the two are not the same, the terminal determines whether to send an access request message to the storage server, and if the terminal determines to send an access request message to the storage server, The terminal sends an access request message to the storage server, and the storage server receives the access request message sent by the terminal, and the storage server authenticates the terminal according to the access request message, and then the storage server performs the authentication result according to the authentication result.
  • the terminal sending an access response message to the terminal, the terminal receiving an access response message sent by the storage server, where the storage server determines to store the user identity code, and if the terminal is successfully authenticated, the terminal Storage service
  • the device allows the terminal to access the user storage area.
  • the terminal accesses the user storage area according to the access response message.
  • the storage server performs authentication according to the user identification code, the user does not need to manually input the account name, password, verification code, etc., but the terminal automatically acquires the user identification code and sends it to the storage server for authentication. The right to reduce the user's operation steps to log in to the storage server, thereby improving the user experience.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like.
  • the medium of the program code includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to the technical field of mobile communications. Provided in an embodiment of the present invention are a method and terminal for processing data in order to improve user experience. The method comprises: a terminal transmits an access request message to a storage server; the terminal receives an authentication message transmitted by the storage server according to the access request message; according to the authentication message, the terminal transmits a user identification code to the storage server to enable the storage server to authenticate the terminal according to the user identification code; the terminal receives an access response message transmitted by the storage server; and, according to the access response message, the terminal accesses a user storage area located at the network side. The embodiment of the present invention is suitable for a scenario of acquiring data by a mobile phone.

Description

一种处理数据的方法及终端 技术领域 本发明涉及移动通信技术领域, 尤其涉及一种处理数据的方法及终 端。  TECHNICAL FIELD The present invention relates to the field of mobile communications technologies, and in particular, to a method and a terminal for processing data.
背景技术 随着手机的发展, 手机中可以存储大量的数据, 例如: 照片、 图片、 视频等数据。 用户在使用手机时, 为了保证数据存储的可靠性和便利性, 可以将手机中的数据备份到云端的服务器中。 在现有的方案中, 使用以下方法将数据备份到云端服务器: 用户向 服务器申请一个网络硬盘, 并通过登录界面输入用户名及密码后登录到 用户的网络硬盘, 然后将手机中的数据备份到网络硬盘上。 在后续过程 中, 当需要对已备份的数据进行访问或下载时, 需要用户通过输入用户 名及密码登录至该用户的网络硬盘之后, 才能访问或下载已备份的数据。 现有的登录网络硬盘的过程比较麻烦,由此使得网络侧的数据备份、 数据访问均比较麻烦, 用户体验较差。 BACKGROUND With the development of mobile phones, a large amount of data can be stored in a mobile phone, such as photos, pictures, videos, and the like. When users use the mobile phone, in order to ensure the reliability and convenience of data storage, the data in the mobile phone can be backed up to the server in the cloud. In the existing solution, use the following method to back up data to the cloud server: The user applies for a network hard disk to the server, enters the user name and password through the login interface, logs in to the user's network hard disk, and then backs up the data in the mobile phone to On the network hard drive. In the subsequent process, when you need to access or download the backed up data, you need to log in to the user's network hard disk by entering the user name and password before you can access or download the backed up data. The existing process of logging in to the network hard disk is rather cumbersome, thereby making data backup and data access on the network side more troublesome and the user experience is poor.
发明内容 本发明的实施例提供一种处理数据的方法及终端, 用以简化终端访 问网络侧存储空间的过程, 提高用户体验。 为达到上述目的, 本发明的实施例采用如下技术方案: 第一方面, 本发明实施例提供了一种处理数据的方法, 包括: 终端 向存储服务器发送访问请求消息; 所述终端接收所述存储服务器根据所 述访问请求消息发送的鉴权消息; 所述终端根据所述鉴权消息, 将用户 身份识别码发送至所述存储服务器, 以使得所述存储服务器根据所述用 户身份识别码对所述终端进行鉴权; 所述用户身份识别码用于标识位于 所述终端中的用户身份识别卡; 所述终端接收所述存储服务器发送的访 问响应消息; 所述终端根据所述访问响应消息, 访问位于网络侧的用户 存储区域; 所述用户存储区域是所述存储服务器根据所述用户身份识别 码在网络侧创建的存储区域。 在第一方面的种可能的实现方式中, 所述鉴权消息包括:随机数; 所 述终端根据所述鉴权消息, 将所述用户身份识别码发送至所述存储服务 器包括: 所述终端根据所述随机数与所述用户身份识别码, 通过预设算 法获取第一鉴权数, 并将所述第一鉴权数与所述用户身份识别码发送至 所述存储服务器。 结合第一方面或第一方面的第一种可能的实现方式, 在第一方面的 第二种可能的实现方式中, 在所述终端向存储服务器发送访问请求消息 之前, 还包括: 所述终端获取所述终端的第一终端标识和所述用户身份 识别卡中存储的第二终端标识; 所述终端确定所述第一终端标识和所述 第二终端标识是否相同; 所述终端向存储服务器发送访问请求消息包括: 在所述终端确定所述第一终端标识和所述第二终端标识不相同时, 所述 终端向所述存储服务器发送所述访问请求消息。 结合第一方面的第二种可能的实现方式, 在第一方面的第三种可能 的实现方式中, 所述终端向存储服务器发送访问请求消息包括: 在所述 终端确定所述第一终端标识和所述第二终端标识不相同时, 所述终端确 定是否向所述存储服务器发送所述访问请求消息; 在所述终端接收到向 所述存储服务器发送所述访问请求消息的指令后, 所述终端向所述存储 服务器发送所述访问请求消息。 SUMMARY OF THE INVENTION Embodiments of the present invention provide a method and a terminal for processing data, which are used to simplify a process in which a terminal accesses a storage space on a network side, and improve a user experience. To achieve the above objective, the embodiment of the present invention adopts the following technical solutions: In a first aspect, the embodiment of the present invention provides a method for processing data, including: a terminal sending an access request message to a storage server; the terminal receiving the storage An authentication message sent by the server according to the access request message; the terminal sending a user identity identification code to the storage server according to the authentication message, so that the storage server is configured according to the user identity code The terminal performs authentication; the user identification code is used to identify a user identity card located in the terminal; the terminal receives an access response message sent by the storage server; and the terminal according to the access response message, Accessing a user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code. In a possible implementation manner of the first aspect, the authentication message includes: a random number; the terminal sending, according to the authentication message, the user identity identification code to the storage server, where Obtaining a first authentication number by using a preset algorithm according to the random number and the user identity code, and sending the first authentication number and the user identity identification code to the storage server. In combination with the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the foregoing aspect, before the terminal sends the access request message to the storage server, the method further includes: Obtaining a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card; the terminal determining whether the first terminal identifier and the second terminal identifier are the same; the terminal is to a storage server The sending the access request message includes: when the terminal determines that the first terminal identifier and the second terminal identifier are different, the terminal sends the access request message to the storage server. With the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the sending, by the terminal, the access request message to the storage server includes: determining, by the terminal, the first terminal identifier When the second terminal identifier is different from the second terminal identifier, the terminal determines whether to send the access request message to the storage server; after the terminal receives the instruction to send the access request message to the storage server, The terminal sends the access request message to the storage server.
结合第一方面或第一方面的第一至第三任一种可能的实现方式, 在 第一方面的第四种可能的实现方式中, 在所述终端访问位于网络侧的用 户存储区域之后, 还包括: 所述终端通过所述存储服务器对所述用户存 储区域的数据进行以下操作中的至少一种: 修改操作、 删除操作、 读取 操作、 下载操作及更新操作; 或者, 所述终端通过所述存储服务器将所 述终端中的数据存储到所述用户存储区域。 结合第一方面的第四种可能的实现方式, 在第一方面的第五种可能 的实现方式中, 在所述终端通过所述存储服务器对所述用户存储区域的 数据进行下载操作时, 所述方法还包括: 所述终端将从所述用户存储区 域中下载的数据按照文件夹结构进行存储; 所述文件夹结构是所述用户 身份识别卡中文件的存储结构, 或者, 所述文件夹结构是所述存储服务 器中文件的存储结构; 在所述终端在一定时间内连续两次选定所述文件 夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树形结构显 示该文件夹中的所有数据。 With reference to the first aspect or the first to the third possible implementation manners of the first aspect, in the fourth possible implementation manner of the first aspect, after the terminal accesses the user storage area located on the network side, The method further includes: the terminal performing, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the terminal passes The storage server stores data in the terminal to the user storage area. With the fourth possible implementation of the first aspect, in a fifth possible implementation manner of the first aspect, when the terminal performs a download operation on data of the user storage area by using the storage server, The method further includes: the terminal storing data downloaded from the user storage area according to a folder structure; the folder structure is a storage structure of a file in the user identification card, or the folder The structure is a storage structure of files in the storage server; when the terminal selects any one of the folder structures twice in a certain period of time, the folder is taken as a root node and is in a tree shape Structural display Show all the data in this folder.
第二方面, 本发明实施例提供了一种终端, 包括: 发送单元, 用于 向存储服务器发送访问请求消息; 接收单元, 用于接收所述存储服务器 根据所述访问请求消息发送的鉴权消息; 所述发送单元, 还用于根据所 述鉴权消息, 将所述用户身份识别码发送至所述存储服务器, 以使得所 述存储服务器根据所述用户身份识别码对所述终端进行鉴权; 所述用户 身份识别码用于标识位于所述终端中的用户身份识别卡; 所述接收单元, 还用于接收所述存储服务器发送的访问响应消息; 处理单元, 用于根据 所述访问响应消息, 访问位于网络侧的用户存储区域; 所述用户存储区 域是所述存储服务器根据所述用户身份识别码在网络侧创建的存储区 域。  In a second aspect, the embodiment of the present invention provides a terminal, including: a sending unit, configured to send an access request message to a storage server; and a receiving unit, configured to receive an authentication message sent by the storage server according to the access request message The sending unit is further configured to send the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identification code. The user identification code is used to identify a user identity card located in the terminal; the receiving unit is further configured to receive an access response message sent by the storage server, and the processing unit is configured to respond according to the access The message accessing the user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code.
在第二方面的第一种可能的实现方式中, 所述鉴权消息包括: 随机 数; 所述发送单元在根据所述鉴权消息, 将所述用户身份识别码发送至 所述存储服务器时, 具体用于根据所述随机数与所述用户身份识别码, 通过预设算法获取第一鉴权数, 并将所述第一鉴权数与所述用户身份识 别码发送至所述存储服务器。  In a first possible implementation manner of the second aspect, the authentication message includes: a random number; when the sending unit sends the user identity code to the storage server according to the authentication message Specifically, the method is used to obtain a first authentication number according to the random number and the user identity code, and send the first authentication number and the user identity identification code to the storage server. .
结合第二方面或第二方面的第一种可能的实现方式, 在第二方面的 第二种可能的实现方式中, 还包括: 获取单元; 所述获取单元, 用于在 向所述存储服务器发送访问请求消息之前, 获取所述终端的第一终端标 识和所述用户身份识别卡中存储的第二终端标识; 所述处理单元, 还用 于确定所述第一终端标识和所述第二终端标识是否相同; 所述发送单元 在向所述存储服务器发送访问请求消息时, 具体用于在所述处理单元确 定所述第一终端标识和所述第二终端标识不相同的情况下, 向所述存储 服务器发送所述访问请求消息。  With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the method further includes: an acquiring unit, configured to be in the storage server Before the sending the access request message, acquiring the first terminal identifier of the terminal and the second terminal identifier stored in the user identifier card; the processing unit is further configured to determine the first terminal identifier and the second When the sending unit sends the access request message to the storage server, the sending unit is specifically configured to: when the processing unit determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message.
结合第二方面的第二种可能的实现方式, 在第二方面的第三种可能 的实现方式中, 所述发送单元在向所述存储服务器发送访问请求消息时, 具体用于: 在所述处理单元确定所述第一终端标识和所述第二终端标识 不相同的情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在所述终端接收到向所述存储服务器发送所述访问请求消息的指令的情 况下, 向所述存储服务器发送访问请求消息。 结合第二方面或第二方面的第一至第三任一种可能的实现方式, 在 第二方面的第四种可能的实现方式中, 所述处理单元, 还用于在访问位 于网络侧的所述用户存储区域之后, 通过所述存储服务器对所述用户存 储区域的数据进行以下操作中的至少一种: 修改操作、 删除操作、 读取 操作、 下载操作及更新操作; 或者, 所述处理单元, 还用于在访问位于 网络侧的所述用户存储区域之后, 通过所述存储服务器将所述终端中的 数据存储到所述用户存储区域。 With reference to the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the sending unit, when sending the access request message to the storage server, is specifically used to: Determining, by the processing unit, that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server; and receiving, by the terminal, the sending, to the storage server In the case of an instruction to access the request message, an access request message is sent to the storage server. With reference to the second aspect or the first to the third possible implementation manners of the second aspect, in a fourth possible implementation manner of the second aspect, the processing unit is further configured to access the network side After the user storage area, the data of the user storage area is performed by the storage server to perform at least one of the following operations: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the processing The unit is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side.
结合第二方面的第四种可能的实现方式, 在第二方面的第五种可能 的实现方式中, 所述处理单元, 还用于在通过所述存储服务器对所述用 户存储区域的数据进行下载操作时, 将从所述用户存储区域中下载的数 据按照文件夹结构进行存储; 所述文件夹结构是所述用户身份识别卡中 文件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存 储结构; 所述处理单元, 还用于在所述终端在一定时间内连续两次选定 所述文件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树 形结构显示该文件夹中的所有数据。 第三方面, 本发明实施例提供了一种终端, 包括: 发送器, 用于向 存储服务器发送访问请求消息; 接收器, 用于接收所述存储服务器根据 所述访问请求消息发送的鉴权消息; 所述发送器, 还用于根据所述鉴权 消息, 将所述用户身份识别码发送至所述存储服务器, 以使得所述存储 服务器根据所述用户身份识别码对所述终端进行鉴权; 所述用户身份识 别码用于标识位于所述终端中的用户身份识别卡; 所述接收器, 还用于 接收所述存储服务器发送的访问响应消息; 处理器, 用于根据所述访问 响应消息, 访问位于网络侧的用户存储区域; 所述用户存储区域是所述 存储服务器根据所述用户身份识别码在网络侧创建的存储区域。  With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation manner of the second aspect, the processing unit is further configured to perform data on the user storage area by using the storage server During the download operation, the data downloaded from the user storage area is stored in accordance with a folder structure; the folder structure is a storage structure of files in the user identification card, or the folder structure is the a storage structure of the file in the storage server; the processing unit is further configured to use the folder as a root node when the terminal selects any one of the folder structures twice in a certain period of time, And display all the data in the folder in a tree structure. In a third aspect, an embodiment of the present invention provides a terminal, including: a sender, configured to send an access request message to a storage server, and a receiver, configured to receive an authentication message sent by the storage server according to the access request message. The transmitter is further configured to send the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identifier The user identification code is used to identify a user identity card located in the terminal; the receiver is further configured to receive an access response message sent by the storage server; and the processor is configured to respond according to the access The message accessing the user storage area located on the network side; the user storage area is a storage area created by the storage server on the network side according to the user identification code.
在第三方面的第一种可能的实现方式中, 所述鉴权消息包括: 随机 数; 所述发送器在根据所述鉴权消息, 将所述用户身份识别码发送至所 述存储服务器时, 具体用于根据所述随机数与所述用户身份识别码, 通 过预设算法获取第一鉴权数, 并将所述第一鉴权数与所述用户身份识别 码发送至所述存储服务器。  In a first possible implementation manner of the third aspect, the authentication message includes: a random number; when the sender sends the user identity code to the storage server according to the authentication message Specifically, the method is used to obtain a first authentication number according to the random number and the user identity code, and send the first authentication number and the user identity identification code to the storage server. .
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的 第二种可能的实现方式中, 所述处理器, 还用于在向所述存储服务器发 送访问请求消息之前, 获取所述终端的第一终端标识和所述用户身份识 别卡中存储的第二终端标识; 所述处理器, 还用于确定所述第一终端标 识和所述第二终端标识是否相同; 所述发送器在向所述存储服务器发送 访问请求消息时, 具体用于在所述处理器确定所述第一终端标识和所述 第二终端标识不相同的情况下, 向所述存储服务器发送所述访问请求消 息。 结合第三方面的第二种可能的实现方式, 在第三方面的第三种可能 的实现方式中, 所述发送器在向所述存储服务器发送访问请求消息时, 具体用于: 在所述处理器确定所述第一终端标识和所述第二终端标识不 相同的情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在 所述终端接收到向所述存储服务器发送所述访问请求消息的指令的情况 下, 向所述存储服务器发送访问请求消息。 结合第三方面或第三方面的第一至第三任一种可能的实现方式, 在 第三方面的第四种可能的实现方式中, 所述处理器, 还用于在访问位于 网络侧的所述用户存储区域之后, 通过所述存储服务器对所述用户存储 区域的数据进行以下操作中的至少一种: 修改操作、 删除操作、 读取操 作、 下载操作及更新操作; 或者, 所述处理器, 还用于在访问位于网络 侧的所述用户存储区域之后, 通过所述存储服务器将所述终端中的数据 存储到所述用户存储区域。 结合第三方面的第四种可能的实现方式, 在第三方面的第五种可能 的实现方式中, 所述处理器, 还用于在通过所述存储服务器对所述用户 存储区域的数据进行下载操作时, 将从所述用户存储区域中下载的数据 按照文件夹结构进行存储; 所述文件夹结构是所述用户身份识别卡中文 件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储 结构; 所述处理器, 还用于在所述终端在一定时间内连续两次选定所述 文件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树形结 构显示该文件夹中的所有数据。 本发明实施例提供了一种处理数据的方法及终端, 终端在向存储服 务器发送访问请求消息之后, 根据所述存储服务器发送的鉴权消息, 将 用户身份识别码发送至所述存储服务器, 以使得所述存储服务器根据所 述用户身份识别码对所述终端进行鉴权, 在鉴权通过以后, 所述终端根 据存储服务器返回的访问响应消息, 可以访问网络侧的用户存储区域。 这样, 不需要手动输入用户名、 密码以及验证码等消息进行鉴权, 而是 由终端自动获取用户身份识别码并发送至存储服务器来进行鉴权, 减少 了用户登录存储服务器的操作步骤, 进而提高了用户体验。 With the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processor is further configured to send to the storage server Obtaining, by the first terminal identifier of the terminal, a second terminal identifier stored in the user identifier card, and the second terminal identifier, where the processor is further configured to determine the first terminal identifier and the second Whether the terminal identifier is the same or not; when the sender sends the access request message to the storage server, specifically, when the processor determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message. In conjunction with the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the sending, when sending the access request message to the storage server, is specifically used to: Determining, by the processor, that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server; and sending, by the terminal, the sending, to the storage server In the case of an instruction to access the request message, an access request message is sent to the storage server. With reference to the third aspect, or any one of the first to the third possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, the processor is further configured to access the network side After the user storage area, the data of the user storage area is performed by the storage server to perform at least one of the following operations: a modification operation, a deletion operation, a read operation, a download operation, and an update operation; or, the processing And storing, by the storage server, data in the terminal to the user storage area after accessing the user storage area located on the network side. With the fourth possible implementation of the third aspect, in a fifth possible implementation manner of the third aspect, the processor is further configured to perform data on the user storage area by using the storage server During the download operation, the data downloaded from the user storage area is stored in accordance with a folder structure; the folder structure is a storage structure of files in the user identification card, or the folder structure is the a storage structure of the file in the storage server; the processor is further configured to use the folder as a root node when the terminal selects any one of the folder structures twice in a certain period of time, And display all the data in the folder in a tree structure. An embodiment of the present invention provides a method and a terminal for processing data. After sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server. And causing the storage server to authenticate the terminal according to the user identifier, and after the authentication is passed, the terminal root According to the access response message returned by the storage server, the user storage area on the network side can be accessed. In this way, it is not necessary to manually input a user name, a password, a verification code, and the like for authentication, but the terminal automatically acquires the user identification code and sends it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, and further Improve the user experience.
附图说明 为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述 中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅 仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明实施例提供的一种处理数据的方法的流程示意图; 图 2为本发明实施例提供的另一种处理数据的方法的流程示意图; 图 3为本发明实施例提供的另一种处理数据的方法的流程示意图; 图 4为本发明实施例提供的文件夹的显示示例图; 图 5为本发明实施例提供的一种树形结构显示文件夹的示例图; 图 6为本发明实施例提供的一种终端的示意图; 图 7为本发明实施例提供的另一种终端的示意图; 图 8为本发明实施例提供的一种服务器的示意图; 图 9为本发明实施例提供的一种终端的结构示意图; 图 1 0为本发明实施例提供的一种服务器的结构示意图; 图 1 1为本发明实施例提供的一种处理数据的***的结构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案 进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实 施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术 人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本 发明保护的范围。 本发明实施例提供了一种处理数据的方法, 如图 1所示, 包括: 101、 终端向存储服务器发送访问请求消息。 具体的, 所述终端向服务器发送访问请求消息, 以触发所述服务器 在接收到所述访问请求消息后, 向所述终端发送鉴权消息。 需要说明的是, 所述服务器是云端服务器。 需要说明的是, 当用户需要用到网络存储功能时, 就会触发终端向 存储服务器发送访问请求消息, 具体的, 可以是终端上有卡应用程序, 打开卡应用程序就触发终端向存储服务器发送访问请求消息; 也可以是 用户打开存储在手机中的文件夹, 但是该文件夹的数据存储在云端; 还 可以是用户想要访问所述存储服务器的其他情况, 本发明对此不做限制。 BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those of ordinary skill in the art in light of the inventive work. 1 is a schematic flowchart of a method for processing data according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of another method for processing data according to an embodiment of the present invention; FIG. 4 is a schematic diagram showing a display of a folder according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a tree structure display folder according to an embodiment of the present invention; FIG. 7 is a schematic diagram of another terminal according to an embodiment of the present invention; FIG. 8 is a schematic diagram of a server according to an embodiment of the present invention; FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention; FIG. 11 is a schematic structural diagram of a system for processing data according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. The embodiment of the invention provides a method for processing data, as shown in FIG. 1 , including: 101. The terminal sends an access request message to the storage server. Specifically, the terminal sends an access request message to the server, to trigger the server to send an authentication message to the terminal after receiving the access request message. It should be noted that the server is a cloud server. It should be noted that when the user needs to use the network storage function, the terminal is triggered to send an access request message to the storage server. Specifically, the terminal may have a card application, and when the card application is opened, the terminal is triggered to send the terminal to the storage server. The access request message may be: the user may open the folder stored in the mobile phone, but the data of the folder is stored in the cloud; or other situations in which the user wants to access the storage server, the present invention does not limit this.
102、 终端接收存储服务器根据所述访问请求消息发送的鉴权消息。 需要说明的是, 所述鉴权消息是所述存储服务器用来对所述终端进 行鉴权所需的信息。 102. The terminal receives an authentication message that is sent by the storage server according to the access request message. It should be noted that the authentication message is information used by the storage server to authenticate the terminal.
需要说明的是, 所述鉴权消息可以只用来指示所述终端向所述存储 服务器发送用户身份识别码, 也可以是为了增加鉴权的安全性的一个随 机数。  It should be noted that the authentication message may be used only to indicate that the terminal sends the user identity code to the storage server, or may be a random number in order to increase the security of the authentication.
103、 终端根据所述鉴权消息, 将所述用户身份识别码发送至所述存 储服务器, 以使得所述存储服务器根据所述用户身份识别码对所述终端 进行鉴权。 其中, 所述用户身份识别码用于标识位于所述终端中的用户身份识 别卡。 103. The terminal sends the user identity code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity code. The user identification code is used to identify a user identity identification card located in the terminal.
需要说明的是, 所述终端获取的是当前正在使用所述终端的用户身 份识别卡中的用户身份识别码。 需要说明的是, 用户身份识别卡没有固定在某一终端上, 也就是说, 所述用户身份识别卡可以用到不同终端。 但是所述用户身份识别码是固 定于所述用户身份识别卡中的, 用于唯一标识一个用户身份识别卡。 需要说明的是, 当所述终端是手机时, 所述用户身份识别卡可以是 SIM(Subscriber Ident i ty Module,客户识别模块)卡, 所述用户身份识 另1 J码可以是国! ^移动用户 i只另1 J码 ( International Mobile Subscriber Identification Number,简称 IMS I ) , 也可以是手机号码。 需要说明的是, 所述存储服务器根据所述用户身份识别码对所述终 端进行鉴权可以有以下几种方法: 第一种方法, 所述存储服务器根据预先设定的一些规范判断所述用 户身份识别码是否符合规范, 若接收到的用户身份识别码满足预设的规 范, 则鉴权成功; 若接收到的用户身份识别码不满足预设的规范, 则鉴 权失败。 例如, 当所述用户身份识别码是手机号码时, 存储服务器设置 的用户身份识别码必须符合的规范可以为: 共 11位十进制数字, 第一位 为 1等。 It should be noted that the terminal acquires the user identification code in the user identification card that is currently using the terminal. It should be noted that the user identification card is not fixed on a certain terminal, that is, the user identification card can use different terminals. However, the user identification code is fixed in the user identification card and is used to uniquely identify a user identification card. Incidentally, when the terminal is a mobile phone while the user identification card may be a SIM (Subscriber Ident i ty Module, Subscriber Identity Module) card, a user identity identifying the other country code may be 1 J! ^ Mobile user i is only 1 J code (International Mobile Subscriber Identification Number, IMS I for short), or it can be a mobile phone number. It should be noted that, the storage server may perform the following methods for authenticating the terminal according to the user identifier: In the first method, the storage server determines the user according to some preset specifications. Whether the identification code conforms to the specification, if the received user identification code satisfies the preset specification, the authentication is successful; if the received user identification code does not satisfy the preset specification, the authentication fails. For example, when the user ID is a mobile phone number, the specification of the user ID set by the storage server must be: a total of 11 decimal digits, the first digit being 1 or the like.
第二种方法, 所述存储服务器存储有允许访问此存储服务器的用户 身份识别码列表, 然后查询存储的用户身份识别码列表中是否有与从终 端接收到的用户身份识别码相同的用户身份识别码, 若查询存储的用户 身份识别码列表中有与从终端接收到的用户身份识别码相同的用户身份 识别码, 则鉴权成功; 若查询存储的用户身份识别码列表中没有与从终 端接收到的用户身份识别码相同的用户身份识别码, 则鉴权失败。 需要说明的是, 当用户身份识别卡第一次使用时, 终端会向存储服 务器主动上报用户身份识别码, 以使得存储服务器将所述用户身份识别 码添加到存储服务器的用户身份识别码列表中。 第三种方法, 在所述鉴权消息是随机数的情况下, 所述终端根据所 述随机数与所述用户身份识别码, 通过预设算法获取第一鉴权数, 并将 所述第一鉴权数与所述用户身份识别码发送至所述存储服务器, 存储服 务器将接收到的用户身份识别码与随机数通过与终端相同的预设算法, 生成第二鉴权数, 然后确定第一鉴权数与第二鉴权数是否相同, 若确定 第一鉴权数与第二鉴权数相同, 则鉴权成功; 若确定第一鉴权数与第二 鉴权数不相同, 则鉴权失败。 第四种方法, 在所述鉴权消息是随机数的情况下, 所述终端将所述 随机数通过预设算法获取第一鉴权数, 并将所述第一鉴权数, 存储服务 器将随机数通过与终端相同的预设算法, 生成第二鉴权数, 然后确定第 一鉴权数与第二鉴权数是否相同, 若确定第一鉴权数与第二鉴权数相同, 则鉴权成功; 若确定第一鉴权数与第二鉴权数不相同, 则鉴权失败。 需要说明的是, 在第三种和第四种方法中, 所述预设算法是***预 先定义的一种私有加密算法, 所述预设算法可以是 RSA 加密算法 (一种 非对称力口密算法) , 也可以是 DEA ( Data Encryption Algorithm, 数据 加密算法) , 还可以是 MD5 ( Message-Digest Algorithm 5,信息摘要算 法 5 ) , 本发明对此不作限制。 需要说明的是, 对于所述存储服务器根据所述用户身份识别码对所 述终端进行鉴权的方法, 本发明不做限制。 In a second method, the storage server stores a user identification code list that allows access to the storage server, and then queries whether the stored user identification code list has the same user identity as the user identification code received from the terminal. If the user identification code stored in the query has the same user identification code as the user identification code received from the terminal, the authentication succeeds; if the stored user identification code list is not received from the terminal If the user ID of the same user ID is obtained, the authentication fails. It should be noted that, when the user identity card is used for the first time, the terminal actively reports the user ID to the storage server, so that the storage server adds the user ID to the user ID list of the storage server. . In a third method, in a case that the authentication message is a random number, the terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and the foregoing Sending an authentication number to the storage server, and the storage server generates a second authentication number by using the same preset algorithm as the user identifier and the random number, and then determining the first If an authentication number is the same as the second authentication number, if it is determined that the first authentication number is the same as the second authentication number, the authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, Authentication failed. The fourth method, in a case that the authentication message is a random number, the terminal acquires the first authentication number by using the preset algorithm by using the random number, and the first authentication number, the storage server The random number generates a second authentication number by using a preset algorithm that is the same as the terminal, and then determines whether the first authentication number is the same as the second authentication number. If it is determined that the first authentication number is the same as the second authentication number, The authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails. It should be noted that, in the third and fourth methods, the preset algorithm is a system pre- A private encryption algorithm is defined first. The preset algorithm may be an RSA encryption algorithm (an asymmetric force secret algorithm), a DEA (Data Encryption Algorithm), or an MD5 (Message). - Digest Algorithm 5, information digest algorithm 5), which is not limited by the present invention. It should be noted that, the method for authenticating the terminal according to the user identity code by the storage server is not limited by the present invention.
104、 终端接收所述存储服务器发送的访问响应消息。 具体的, 终端向存储服务器发送用户身份识别码后, 存储服务器会 根据接收到的用户身份识别码对终端进行鉴权, 然后根据鉴权结果向所 述终端发送访问响应消息, 所述终端接收所述存储服务器发送的访问响 应消息。 需要说明的是, 根据***具体配置情况的不同, 所述终端接收的访 问响应消息有两种情况: 第一种情况, 在所述存储服务器对所述终端鉴 权成功的情况下, 所述终端接收所述存储服务器发送的访问响应消息, 也就是说, 终端只要接收到访问响应消息, 就说明存储服务器对终端已 鉴权成功; 第二种情况, 不论所述存储服务器对终端的鉴权结果, 都会 向终端发送访问响应消息, 终端接收到访问响应消息后, 根据访问响应 消息携带的信息判断是否鉴权成功, 也就是说, 不能根据终端是否接收 到访问响应消息来判断所述存储服务器对终端的鉴权结果。 104. The terminal receives an access response message sent by the storage server. Specifically, after the terminal sends the user ID to the storage server, the storage server authenticates the terminal according to the received user ID, and then sends an access response message to the terminal according to the authentication result, where the terminal receives the The access response message sent by the storage server. It should be noted that, according to the specific configuration of the system, the access response message received by the terminal has two situations: In the first case, in the case that the storage server successfully authenticates the terminal, the terminal Receiving the access response message sent by the storage server, that is, the terminal only needs to receive the access response message, indicating that the storage server has successfully authenticated the terminal; in the second case, regardless of the authentication result of the storage server to the terminal The access response message is sent to the terminal. After receiving the access response message, the terminal determines whether the authentication is successful according to the information carried in the access response message. That is, the storage server cannot be determined according to whether the terminal receives the access response message. The authentication result of the terminal.
105、终端根据所述访问响应消息,访问位于网络侧的用户存储区域。 其中, 所述用户存储区域是所述存储服务器根据所述用户身份识别 码在网络侧创建的存储区域。 需要说明的是, 只有在存储服务器对终端鉴权成功的情况下, 所述 终端才能访问存储服务器根据用户身份识别码创建的存储区域。 需要说明的是, 所述访问可以是将终端中的数据备份到用户存储区 域, 也可以是将用户存储区域中的数据备份到手机中, 还可以是对用户 存储区域中的数据进行删除、 修改、 更新等操作。 需要说明的是, 所述存储服务器存储有用户身份识别码与存储区域 之间对应的关系, 存储服务器可以根据用户身份识另 'J码找到对应的存储 区域。 需要说明的是, 如果鉴权成功但是存储服务器并没有根据所述用户 身份识别码找到相应的用户存储区域, 则所述存储服务器会为根据所述 用户身份识别码创建相应的用户存储区域。 需要说明的是, 所述用户存储区域是所述存储服务器创建的, 但所 述用户存储区域可以在所述存储服务器上, 也可以不在所述存储服务器 上, 而是分布式的存在所述存储服务器管理的其他设备上。 本发明实施例提供了一种处理数据的方法, 终端在向存储服务器发 送访问请求消息之后, 根据所述存储服务器发送的鉴权消息, 将用户身 份识别码发送至所述存储服务器, 以使得所述存储服务器根据所述用户 身份识别码对所述终端进行鉴权, 在鉴权通过以后, 所述终端根据存储 服务器返回的访问响应消息, 可以访问网络侧的用户存储区域。 这样, 不需要手动输入用户名、 密码以及验证码等消息进行鉴权, 而是由终端 自动获取用户身份识别码并发送至存储服务器来进行鉴权, 减少了用户 登录存储服务器的操作步骤, 进而提高了用户体验。 本发明实施例提供了一种处理数据的方法, 如图 2所示, 包括:105. The terminal accesses a user storage area located on the network side according to the access response message. The user storage area is a storage area created by the storage server on the network side according to the user identification code. It should be noted that, in the case that the storage server successfully authenticates the terminal, the terminal can access the storage area created by the storage server according to the user identification code. It should be noted that the access may be to back up data in the terminal to the user storage area, or to back up data in the user storage area to the mobile phone, or delete or modify data in the user storage area. , update, etc. It should be noted that the storage server stores a correspondence between the user identification code and the storage area, and the storage server may identify the corresponding storage according to the user identity. Area. It should be noted that, if the authentication succeeds but the storage server does not find a corresponding user storage area according to the user identification code, the storage server creates a corresponding user storage area according to the user identification code. It should be noted that the user storage area is created by the storage server, but the user storage area may be on the storage server or not on the storage server, but the storage exists in a distributed manner. On other devices managed by the server. An embodiment of the present invention provides a method for processing data. After sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the The storage server authenticates the terminal according to the user identity code. After the authentication is passed, the terminal can access the user storage area on the network side according to the access response message returned by the storage server. In this way, it is not necessary to manually input a user name, a password, a verification code, and the like for authentication, but the terminal automatically acquires the user identification code and sends it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, and further Improve the user experience. An embodiment of the present invention provides a method for processing data, as shown in FIG. 2, including:
201、 存储服务器接收终端发送的访问请求;肖 , 。 需要说明的是, 所述存储服务器是云存储服务器。 需要说明的是, 所述访问请求消息是所述存储服务器向终端发送鉴 权消息的触发条件。 201. The storage server receives an access request sent by the terminal; It should be noted that the storage server is a cloud storage server. It should be noted that the access request message is a trigger condition for the storage server to send an authentication message to the terminal.
202、 所述存储服务器向所述终端发送鉴权消息, 以使得所述终端根 据所述鉴权消息, 向所述存储服务器发送用户身份识别码。 需要说明的是, 所述鉴权消息是所述存储服务器用来对所述终端进 行鉴权所需的信息。 202. The storage server sends an authentication message to the terminal, so that the terminal sends a user identity identification code to the storage server according to the authentication message. It should be noted that the authentication message is information used by the storage server to authenticate the terminal.
需要说明的是, 所述鉴权消息可以只用来指示所述终端向所述存储 服务器发送用户身份识别码, 也可以是为了增加鉴权的安全性的一个随 机数, 即第一随机数。  It should be noted that the authentication message may be used only to indicate that the terminal sends the user identity code to the storage server, or may be a random number to increase the security of the authentication, that is, the first random number.
203、 所述存储服务器接收所述终端发送的所述用户身份识别码。 进一步的, 所述鉴权消息包括: 随机数时, 所述存储服务器接收所 述终端发送的用户身份识别码及第一鉴权数。 其中, 所述第一鉴权数是所述终端根据所述随机数与所述用户身份 识别码, 通过预设算法获取的数据。 需要说明的是, 所述随机数是所述存储服务器随机产生的。 所述存 储服务器不仅需要将所述随机数发送至终端, 还需要将所述随机数暂时 存储下来, 以便进行后续对终端鉴权。 需要说明的是, 当所述终端是手机时, 所述用户身份识别码可以是 国际移动用户识别码, 也可以是手机号码。 203. The storage server receives the user identity code sent by the terminal. Further, the authentication message includes: when the random number is used, the storage server receives the user identity code and the first authentication number sent by the terminal. The first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code. It should be noted that the random number is randomly generated by the storage server. The storage server not only needs to send the random number to the terminal, but also needs to temporarily store the random number for subsequent authentication of the terminal. It should be noted that, when the terminal is a mobile phone, the user identity code may be an international mobile subscriber identity code or a mobile phone number.
204、 所述存储服务器根据所述用户身份识别码, 对所述终端进行鉴 权。 需要说明的是, 所述存储服务器根据所述用户身份识别码对所述终 端进行鉴权可以有以下几种方法: 第一种方法, 所述存储服务器根据预先设定的一些规范判断所述用 户身份识别码是否符合规范, 若接收到的用户身份识别码满足预设的规 范, 则鉴权成功; 若接收到的用户身份识别码不满足预设的规范, 则鉴 权失败。 进一步的, 当所述用户身份识别码是手机号码时, 存储服务器 设置的用户身份识别码必须符合的规范可以为: 共 1 1位十进制数字, 第 一位为 1等。 第二种方法, 所述存储服务器存储有允许访问此存储服务器的用户 身份识别码列表, 然后查询存储的用户身份识别码列表中是否有与从终 端接收到的用户身份识别码相同的用户身份识别码, 若查询存储的用户 身份识别码列表中有与从终端接收到的用户身份识别码相同的用户身份 识别码, 则鉴权成功; 若查询存储的用户身份识别码列表中没有与从终 端接收到的用户身份识别码相同的用户身份识别码, 则鉴权失败。 204. The storage server authenticates the terminal according to the user identity code. It should be noted that, the storage server may perform the following methods for authenticating the terminal according to the user identifier: In the first method, the storage server determines the user according to some preset specifications. Whether the identification code conforms to the specification, if the received user identification code satisfies the preset specification, the authentication is successful; if the received user identification code does not satisfy the preset specification, the authentication fails. Further, when the user identification code is a mobile phone number, the specification of the user identification code set by the storage server must be: a total of 11 decimal digits, and the first digit is 1 or the like. In a second method, the storage server stores a user identification code list that allows access to the storage server, and then queries whether the stored user identification code list has the same user identity as the user identification code received from the terminal. If the user identification code stored in the query has the same user identification code as the user identification code received from the terminal, the authentication succeeds; if the stored user identification code list is not received from the terminal If the user ID of the same user ID is obtained, the authentication fails.
第三种方法, 在所述鉴权消息是随机数的情况下, 所述终端根据所 述随机数与所述用户身份识别码, 通过预设算法获取第一鉴权数, 并将 所述第一鉴权数与所述用户身份识别码发送至所述存储服务器, 存储服 务器将接收到的用户身份识别码与第一随机数通过与终端相同的预设算 法, 生成第二鉴权数, 然后确定第一鉴权数与第二鉴权数是否相同, 若 确定第一鉴权数与第二鉴权数相同, 则鉴权成功; 若确定第一鉴权数与 第二鉴权数不相同, 则鉴权失败。 第四种方法, 在所述鉴权消息是随机数的情况下, 所述终端将所述 随机数通过预设算法获取第一鉴权数, 并将所述第一鉴权数, 存储服务 器将随机数通过与终端相同的预设算法, 生成第二鉴权数, 然后确定第 一鉴权数与第二鉴权数是否相同, 若确定第一鉴权数与第二鉴权数相同, 则鉴权成功; 若确定第一鉴权数与第二鉴权数不相同, 则鉴权失败。 需要说明的是, 在第三种和第四种方法中, 所述预设算法是***预 先定义的一种私有加密算法, 所述预设算法可以是 RSA 加密算法, 也可 以是 DEA , 还可以是 MD5 , 本发明对此不作限制。 需要说明的是, 对于所述存储服务器根据所述用户身份识别码对所 述终端进行鉴权的方法, 本发明不做限制。 In a third method, in a case that the authentication message is a random number, the terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and the foregoing Sending an authentication number to the storage server, and the storage server generates a second authentication number by using the received user identification code and the first random number through the same preset algorithm as the terminal, and then generating a second authentication number, and then Determining whether the first authentication number is the same as the second authentication number, if If it is determined that the first authentication number is the same as the second authentication number, the authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails. The fourth method, in a case that the authentication message is a random number, the terminal acquires the first authentication number by using the preset algorithm by using the random number, and the first authentication number, the storage server The random number generates a second authentication number by using a preset algorithm that is the same as the terminal, and then determines whether the first authentication number is the same as the second authentication number. If it is determined that the first authentication number is the same as the second authentication number, The authentication succeeds; if it is determined that the first authentication number is different from the second authentication number, the authentication fails. It should be noted that, in the third and fourth methods, the preset algorithm is a private encryption algorithm predefined by the system, and the preset algorithm may be an RSA encryption algorithm, or may be a DEA, or It is MD5, and the present invention does not limit this. It should be noted that, the method for authenticating the terminal according to the user identity code by the storage server is not limited by the present invention.
205、所述存储服务器根据鉴权结果 ,向所述终端发送访问响应消息。 需要说明的是, 根据***具体配置情况的不同, 所述存储服务器向 所述终端发送访问响应消息有两种情况: 第一种情况, 在所述存储服务 器对所述终端鉴权成功的情况下, 所述存储服务器向所述终端发送访问 响应消息, 否则, 存储服务器不发送访问请求消息; 第二种情况, 不论 所述存储服务器对终端鉴权是成功还是失败, 都会向终端发送访问响应 消息, 终端接收到访问响应消息后, 根据访问响应消息携带的信息判断 是否鉴权成功。 本发明实施例提供了一种处理数据的方法, 存储服务器接收终端发 送的访问请求消息, 并向所述终端发送鉴权消息, 终端根据所述鉴权消 息后, 向所述存储服务器发送用户身份识别码, 所述存储服务器根据所 述用户身份识别码, 对所述终端进行鉴权, 最后, 所述存储服务器根据 鉴权结果, 向所述终端发送访问响应消息, 这样, 由于所述存储服务器 是根据用户身份识别码进行鉴权, 所以不需要用户手动输入账户名、 密 码以及验证码等, 而是由终端自动获取用户身份识别码并发送至存储服 务器来进行鉴权, 减少了用户登录存储服务器的操作步骤, 进而提高了 用户体验。 本发明实施例提供了一种处理数据的方法, 如图 3所示, 包括: 301、终端获取所述终端的第一终端标识和所述用户身份识别卡中存 储的第二终端标识。 需要说明的是, 所述终端标识可以唯一标识出一个终端。 需要说明的是, 所述用户身份识别卡中存储有上次使用该用户身份 识别卡进行网络存储的终端的终端标识。 具体的, 当 S IM卡放到一终端中进行网络存储之后, 将该终端的标 识存储到 S IM卡中; 然后在下一次启动网络存储之前, 判断 S IM卡中的 终端标识与当前使用该 S IM卡的终端的终端标识是否一致, 并且, 在该 次网络存储进行中或结束之后, 更新 S IM 卡中的终端标识, 以保证 S IM 卡中保存的终端标识为上一次进行网络存储的终端的标识。 205. The storage server sends an access response message to the terminal according to the authentication result. It should be noted that, according to the specific configuration of the system, the storage server sends an access response message to the terminal in two cases: In the first case, when the storage server successfully authenticates the terminal, The storage server sends an access response message to the terminal. Otherwise, the storage server does not send the access request message. In the second case, the access response message is sent to the terminal regardless of whether the storage server succeeds or fails to authenticate the terminal. After receiving the access response message, the terminal determines whether the authentication is successful according to the information carried in the access response message. An embodiment of the present invention provides a method for processing data. The storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal, and the terminal sends the user identity to the storage server according to the authentication message. An identifier, the storage server authenticating the terminal according to the user identification code, and finally, the storage server sends an access response message to the terminal according to the authentication result, so that the storage server is It is authenticated according to the user identification code, so the user does not need to manually input the account name, password, and verification code, etc., but the terminal automatically obtains the user identification code and sends it to the storage server for authentication, thereby reducing the user login storage. The operating steps of the server, which in turn improves the user experience. An embodiment of the present invention provides a method for processing data, as shown in FIG. 3, including: 301. The terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card. It should be noted that the terminal identifier may uniquely identify a terminal. It should be noted that the user identification card stores the terminal identifier of the terminal that used the user identification card to perform network storage last time. Specifically, after the SIM card is placed in a terminal for network storage, the identifier of the terminal is stored in the SIM card; and then the next time the network storage is started, the terminal identifier in the SIM card is used and the current S is used. Whether the terminal identifier of the terminal of the IM card is consistent, and after the network storage is in progress or after the end, the terminal identifier in the SIM card is updated to ensure that the terminal identifier saved in the SIM card is the last network storage terminal. Logo.
302、 终端确定所述第一终端标识和所述第二终端标识是否相同。 需要说明的是, 此步骤就是所述终端确定上一次使用所述用户身份 识别卡进行网络存储的终端是否为自身。 需要说明的是, 根据终端确定的结果不同, 所述终端向所述存储服 务器发送访问请求消息的时机不同。 在终端确定第一终端标识和第二终 端标识不相同的情况下, 终端就主动提示用户是否访问存储服务器上已 存储数据, 在用户确定访问已存储数据时, 向所述存储服务器发送访问 请求消息; 在终端确定第一终端标识和所述第二终端标识相同的情况下, 所述终端不主动提示用户是否访问已存储的数据, 而是在用户确定需要 访问存储的数据时, 才向所述存储服务器发送访问请求消息。  302. The terminal determines whether the first terminal identifier and the second terminal identifier are the same. It should be noted that, in this step, the terminal determines whether the terminal that used the user identity card for network storage last time is itself. It should be noted that, according to the result determined by the terminal, the timing at which the terminal sends the access request message to the storage server is different. When the terminal determines that the first terminal identifier and the second terminal identifier are different, the terminal promptly prompts the user whether to access the stored data on the storage server, and sends an access request message to the storage server when the user determines to access the stored data. When the terminal determines that the first terminal identifier and the second terminal identifier are the same, the terminal does not actively prompt the user to access the stored data, but only when the user determines that the stored data needs to be accessed. The storage server sends an access request message.
303、在所述终端确定所述第一终端标识和所述第二终端标识不相同 时, 所述终端确定是否向所述存储服务器发送所述访问请求消息。 具体的, 终端在确定出上次使用该用户身份识别卡进行网络存储的 终端不是自身的情况下, 向用户提示是否访问已存储的数据, 然后终端 根据所述用户选择的结果确定是否向所述存储服务器发送访问请求消 息。 需要说明的是,向用户提示的方式可以是在显示屏上显示提示信息, 还可以是以语音或其它方式向用户提示, 从而由用户确定是否立即发送 访问请求消息。 需要说明的是, 根据所述终端的确定的结果不同, 所述终端向所述 存储服务器发送访问请求消息的时机不同。 在所述终端确定向所述存储 服务器发送访问请求消息的情况下, 所述终端立即向所述存储服务器发 送访问请求消息; 在所述终端确定不向所述存储服务器发送访问请求消 息的情况下, 所述终端不立即向所述存储服务器发送访问请求消息, 而 是在用户确定需要访问所述存储服务器时, 才向所述存储服务器发送访 问请求消息。 303. When the terminal determines that the first terminal identifier and the second terminal identifier are different, the terminal determines whether to send the access request message to the storage server. Specifically, the terminal prompts the user whether to access the stored data, and determines whether to access the stored data according to the result of the user selection, if the terminal determines that the terminal that used the user identification card to perform network storage is not itself. The storage server sends an access request message. It should be noted that the prompting to the user may be displaying the prompt information on the display screen, or prompting the user by voice or other means, so that the user determines whether to immediately send the access request message. It should be noted that, according to the determined result of the terminal, the timing at which the terminal sends the access request message to the storage server is different. When the terminal determines to send an access request message to the storage server, the terminal immediately sends an access request message to the storage server; if the terminal determines not to send an access request message to the storage server, The terminal does not immediately send an access request message to the storage server, but sends an access request message to the storage server when the user determines that the storage server needs to be accessed.
304、在所述终端接收到向所述存储服务器发送所述访问请求消息的 指令后, 所述终端向所述存储服务器发送所述访问请求消息, 存储服务 器接收终端发送的访问请求、肖 , 。  After the terminal receives the instruction to send the access request message to the storage server, the terminal sends the access request message to the storage server, and the storage server receives the access request sent by the terminal.
具体的, 可参考步骤 101及步骤 201 , 在此不再赘述。  For details, refer to step 101 and step 201, and details are not described herein again.
305、 所述存储服务器根据所述访问请求消息, 向所述终端发送随机 数, 所述终端接收所述存储服务器发送的随机数。 305. The storage server sends a random number to the terminal according to the access request message, where the terminal receives a random number sent by the storage server.
具体的, 可参考步骤 102与步骤 202 , 在此不再赘述。  For details, refer to step 102 and step 202, and details are not described herein again.
306、 终端根据所述随机数与所述用户身份识别码, 通过预设算法获 取第一鉴权数, 并将所述第一鉴权数与所述用户身份识别码发送至所述 存储服务器, 所述存储服务器接收所述终端发送的用户身份识别码及第 一鉴权数。 306. The terminal acquires a first authentication number by using a preset algorithm according to the random number and the user identity code, and sends the first authentication number and the user identity identification code to the storage server. The storage server receives the user identification code and the first authentication number sent by the terminal.
具体的, 可参考步骤 1 03 中的第三种方法, 与步骤 203 , 在此不再 赘述。  For details, refer to the third method in step 1300, and step 203, and details are not described herein again.
307、 存储服务器根据所述随机数与所述用户身份识别码, 通过预设 算法, 获取第二鉴权数, 并确定所述第一鉴权数与所述第二鉴权数是否 相同。 307. The storage server obtains a second authentication number according to the random number and the user identity code, and determines whether the first authentication number and the second authentication number are the same.
具体的, 可参考步骤 204中的第三种方法, 在此不再赘述。  For details, refer to the third method in step 204, and details are not described herein again.
308、 存储服务器确定是否存储所述用户身份识别码。 需要说明的是, 当某一终端第一次访问过所述存储服务器, 存储服 务器就会根据所该终端是上报的用户身份识别码创建相应的用户存储区 域, 并记录该用户身份识别码与该存储区域之间的对应关系。 需要说明的是, 根据确定的结果不同, 存储服务器执行的步骤不同。 当所述存储服务器确定存储所述用户身份识别码的情况下, 所述存储服 务器需执行步骤 309 ; 若所述存储服务器已存储所述用户身份识别码, 则 表示所述存储服务器已经根据所述用户身份识别码已经创建用户存储区 域, 那么就不执行步骤 309。 308. The storage server determines whether to store the user identifier. It should be noted that, when a terminal accesses the storage server for the first time, the storage server creates a corresponding user storage area according to the user identification code that is reported by the terminal, and records the user identification code and the The correspondence between storage areas. It should be noted that the steps performed by the storage server are different according to the determined result. When the storage server determines to store the user identity code, the storage server needs to perform step 309; if the storage server has stored the user identity code, it indicates that the storage server has been configured according to the The user identification area has created a user storage area, then step 309 is not performed.
309、 在所述存储服务器确定没有存储所述用户身份识别码的情况 下, 所述存储服务器根据所述用户身份识别码创建用户存储区域。 其中,所述用户存储区域是与所述用户识别码——对应的存储区域。 需要说明的是, 所述用户存储区域是所述存储服务器创建的, 但所 述用户存储区域可以在所述存储服务器上, 也可以不在所述存储服务器 上, 而是分布式的存在所述存储服务器管理的其他设备上。 309. When the storage server determines that the user identity code is not stored, the storage server creates a user storage area according to the user identity code. The user storage area is a storage area corresponding to the user identification code. It should be noted that the user storage area is created by the storage server, but the user storage area may be on the storage server or not on the storage server, but the storage exists in a distributed manner. On other devices managed by the server.
31 0、 存储服务器根据鉴权结果, 向所述终端发送访问响应消息, 所 述终端接收所述存储服务器发送的访问响应消息。 The storage server sends an access response message to the terminal according to the authentication result, and the terminal receives the access response message sent by the storage server.
具体的, 可参考步骤 104及步骤 205 , 在此不再赘述。  For details, refer to step 104 and step 205, and details are not described herein again.
31 1、 在所述存储服务器确定存储所述用户身份识别码, 且对所述终 端鉴权成功的情况下, 所述存储服务器允许所述终端访问所述用户存储 区域。 所述终端根据所述访问响应消息, 访问位于网络侧的用户存储区 域。 需要说明的是, 所述存储服务器存储有用户身份识别码与存储区域 之间对应的关系, 存储服务器可以根据用户身份识另 'J码找到对应的存储 区域。 需要说明的是, 如果鉴权成功但是存储服务器并没有根据所述用户 身份识别码找到相应的用户存储区域, 则所述存储服务器会为根据所述 用户身份识别码创建相应的用户存储区域。 31. The storage server allows the terminal to access the user storage area if the storage server determines to store the user identification code and successfully authenticates the terminal. The terminal accesses a user storage area located on the network side according to the access response message. It should be noted that the storage server stores a relationship between the user identification code and the storage area, and the storage server can identify the corresponding storage area according to the user identity. It should be noted that if the authentication succeeds but the storage server does not find a corresponding user storage area according to the user identification code, the storage server creates a corresponding user storage area according to the user identification code.
312、所述终端通过所述存储服务器对所述用户存储区域的数据进行 以下操作中的至少一种: 修改操作、 删除操作、 读取操作、 下载操作及 更新操作, 或者, 所述终端通过所述存储服务器将所述终端中的数据存 储到所述用户存储区域。 需要说明的是, 在所述用户存储区域中存储有数据的情况下, 终端 可以对所述用户存储区域的数据进行以下操作中的至少一种: 修改操作、 删除操作、 读取操作、 下载操作及更新操作; 在所述用户存储区域中存 储没有数据的情况下, 终端只能够将所述终端中的数据存储到所述用户 存储区域。 需要说明的是, 所述用户存储区域存储的数据是在本次登录所述存 储服务器之前已经存储的数据。 需要说明的是, 在所述终端是手机的情况下, 在使用为终端的手机 之前, 即所述 S IM 卡使用其他手机时, 可以将手机中的数据上传至所述 存储服务器创建的用户存储区域, 并将占用存储空间较小的数据的文件 夹保存至 S IM卡中, 当所述 S IM卡换至为终端的手机使用时, 可以通过 所述存储服务器访问已存储至所述用户存储区域的数据。 当然, 当用户 在将所述数据上传至所述用户存储区域的同时, 还可以将这些数据的文 件夹结构上传至所述用户存储区域, 当存储至 S IM 卡中的文件夹结构受 损或丟失时, 可以先访问存储至用户存储区域的文件夹结构, 并以此对 数据进行下载。 需要说明的是, 对所述用户来说, 在网络速度足够的情况下, 用户 直观上感受不到所述终端登录所述存储服务器的过程, 所述用户在打开 了所述 S IM卡应用程序之后, 就能够直接访问所述用户数据。 312. The terminal performs, by using the storage server, at least one of the following operations on the data of the user storage area: a modify operation, a delete operation, a read operation, a download operation, and an update operation, or the terminal passes the The storage server stores data in the terminal to the user storage area. It should be noted that, when data is stored in the user storage area, the terminal may perform at least one of the following operations on data of the user storage area: a modification operation, Deletion operation, read operation, download operation, and update operation; in the case where no data is stored in the user storage area, the terminal can only store data in the terminal to the user storage area. It should be noted that the data stored in the user storage area is data that has been stored before the login to the storage server. It should be noted that, in the case that the terminal is a mobile phone, before using the mobile phone as the terminal, that is, when the S IM card uses another mobile phone, the data in the mobile phone can be uploaded to the user storage created by the storage server. a region, and storing a folder occupying data with a small storage space in the SIM card, and when the SIM card is used for the mobile phone of the terminal, the storage server can be accessed to the user storage Regional data. Of course, when the user uploads the data to the user storage area, the folder structure of the data may be uploaded to the user storage area, when the folder structure stored in the SIM card is damaged or When lost, you can first access the folder structure stored to the user's storage area and download the data. It should be noted that, in the case that the network speed is sufficient, the user intuitively does not feel the process of logging in to the storage server by the terminal, and the user opens the S IM card application. After that, the user data can be accessed directly.
31 3、在所述终端通过所述存储服务器对所述用户存储区域的数据进 行下载操作时, 所述终端将从所述用户存储区域中下载的数据按照文件 夹结构进行存储。 其中, 所述文件夹结构是所述用户身份识别卡中文件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构。 具体的, 终端可以根据用户身份识别卡中保存的上传至用户存储区 构来对存数的数据进行下载, 并将下载后的数据按照文件夹结构进行存 储。 31. When the terminal performs a download operation on the data of the user storage area by using the storage server, the terminal stores the data downloaded from the user storage area according to a folder structure. The folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server. Specifically, the terminal may download the stored data according to the uploaded to the user storage area saved in the user identification card, and store the downloaded data according to the folder structure.
314、在所述终端在一定时间内连续两次选定所述文件夹结构中的任 意一个文件夹时, 以该文件夹为根节点, 并以树形结构显示该文件夹中 的所有数据。  314. When the terminal selects any one of the folders in the folder structure twice in a certain period of time, the folder is taken as a root node, and all data in the folder is displayed in a tree structure.
需要说明的是, 所述终端在一定时间内连续两次选定所述文件夹结 构中的任意一个文件夹, 即用户连续两次点击该文件夹。 示例性的, 图 4为终端上显示的三个文件夹, 文件夹的名字依次是: 照片、 电影、 音乐。 当用户连续两次点击文件夹名为音乐的文件夹时, 如图 5 所示, 终端就会以名为音乐的文件夹为根节点树形结构显示该文 件夹中的所有数据。 It should be noted that the terminal selects the folder node twice in a certain period of time. Any folder in the structure, that is, the user clicks the folder twice in succession. Exemplarily, Figure 4 shows the three folders displayed on the terminal. The names of the folders are: photo, movie, music. When the user clicks on the folder named Music for two times in succession, as shown in FIG. 5, the terminal displays all the data in the folder with the folder named music as the root node tree structure.
需要说明的是, 对于树型结构的显示是纵向显示, 还是横向显示, 根据终端显示屏的长宽与该文件夹下文件的存储结构进行判断。 本发明实施例提供了一种数据处理的方法, 终端获取所述终端的第 一终端标识和所述用户身份识别卡中存储的第二终端标识, 然后确定所 述第一终端标识和所述第二终端标识是否相同, 在两者不相同的情况下, 所述终端确定是否向所述存储服务器发送访问请求消息, 在所述终端确 定向所述存储服务器发送访问请求消息的情况下, 所述终端向所述存储 服务器发送访问请求消息, 存储服务器接收终端发送的访问请求消息, 所述存储服务器根据所述访问请求消息, 对所述终端进行鉴权, 接着所 述存储服务器根据鉴权结果, 向所述终端发送访问响应消息, 所述终端 接收所述存储服务器发送的访问响应消息, 在所述存储服务器确定存储 所述用户身份识别码, 且对所述终端鉴权成功的情况下, 所述存储服务 器允许所述终端访问所述用户存储区域。 所述终端根据所述访问响应消 息, 访问用户存储区域。 这样, 由于所述存储服务器是根据用户身份识 别码进行鉴权, 所以不需要用户手动输入账户名、 密码以及验证码等, 而是由终端自动获取用户身份识别码并发送至存储服务器来进行鉴权, 减少了用户登录存储服务器的操作步骤, 进而提高了用户体验。  It should be noted that, whether the display of the tree structure is a vertical display or a horizontal display, the judgment is made according to the length and width of the display screen of the terminal and the storage structure of the file under the folder. An embodiment of the present invention provides a data processing method, where a terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card, and then determines the first terminal identifier and the first If the two terminal identifiers are the same, if the two are not the same, the terminal determines whether to send an access request message to the storage server, and if the terminal determines to send an access request message to the storage server, The terminal sends an access request message to the storage server, and the storage server receives the access request message sent by the terminal, and the storage server authenticates the terminal according to the access request message, and then the storage server performs the authentication result according to the authentication result. Sending an access response message to the terminal, the terminal receiving an access response message sent by the storage server, where the storage server determines to store the user identity code, and if the terminal is successfully authenticated, the terminal The storage server allows the terminal to access the user storage area . The terminal accesses the user storage area according to the access response message. In this way, since the storage server performs authentication according to the user identification code, the user does not need to manually input the account name, password, verification code, etc., but the terminal automatically acquires the user identification code and sends it to the storage server for authentication. The right to reduce the user's operation steps to log in to the storage server, thereby improving the user experience.
如图 6所示, 其为本发明实施例提供的一种终端的示意图。 参考图 6所示, 该终端包括: 发送单元 601 , 接收单元 602 , 处理单元 603。 发送单元 601 , 用于向存储服务器发送访问请求消息。 进一步的, 所述发送单元 601在向所述存储服务器发送访问请求消 息时, 具体用于在所述处理单元 603 确定所述第一终端标识和所述第二 终端标识不相同的情况下, 向所述存储服务器发送所述访问请求消息。 所述发送单元 601在向所述存储服务器发送访问请求消息时, 具体 用于: 在所述处理单元 603 确定所述第一终端标识和所述第二终端标识 不相同的情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在所述终端接收到向所述存储服务器发送所述访问请求消息的指令的情 况下, 向所述存储服务器发送访问请求消息。 接收单元 602 , 用于接收所述存储服务器根据所述访问请求消息发 送的鉴权消息。 进一步的, 所述鉴权消息包括: 随机数。 所述发送单元 601 , 还用于根据所述鉴权消息, 将所述用户身份识 别码发送至所述存储服务器, 以使得所述存储服务器根据所述用户身份 识别码对所述终端进行鉴权。 其中, 所述用户身份识别码用于标识位于所述终端中的用户身份识 别卡。 FIG. 6 is a schematic diagram of a terminal according to an embodiment of the present invention. Referring to FIG. 6, the terminal includes: a sending unit 601, a receiving unit 602, and a processing unit 603. The sending unit 601 is configured to send an access request message to the storage server. Further, when the sending unit sends the access request message to the storage server, the sending unit 601 is specifically configured to: when the processing unit 603 determines that the first terminal identifier and the second terminal identifier are different, The storage server sends the access request message. When the sending unit sends the access request message to the storage server, the sending unit 601 is specifically configured to: determine, by the processing unit 603, the first terminal identifier and the second terminal identifier. If not the same, determining whether to send the access request message to the storage server; and sending, when the terminal receives an instruction to send the access request message to the storage server, sending an access to the storage server Request message. The receiving unit 602 is configured to receive an authentication message that is sent by the storage server according to the access request message. Further, the authentication message includes: a random number. The sending unit 601 is further configured to send the user identity identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity identification code. . The user identification code is used to identify a user identity card located in the terminal.
进一步的, 在所述鉴权消息包括: 随机数时, 所述发送单元 601在 根据所述鉴权消息, 将所述用户身份识别码发送至所述存储服务器时, 具体用于根据所述随机数与所述用户身份识别码, 通过预设算法获取第 一鉴权数, 并将所述第一鉴权数与所述用户身份识别码发送至所述存储 服务器。  Further, when the authentication message includes: a random number, when the sending, by the sending unit 601, the user identification code to the storage server according to the authentication message, specifically, according to the random And the user identification code, obtaining a first authentication number by using a preset algorithm, and sending the first authentication number and the user identification code to the storage server.
所述接收单元 602 , 还用于接收所述存储服务器发送的访问响应消 息。 处理单元 603 , 用于 居所述访问响应消息, 访问位于网络侧的用 户存储区域。 其中, 所述用户存储区域是所述存储服务器根据所述用户身份识别 码在网络侧创建的存储区域。 所述处理单元 603 , 还用于在访问位于网络侧的所述用户存储区域 之后, 通过所述存储服务器对所述用户存储区域的数据进行以下操作中 的至少一种: 修改操作、 删除操作、 读取操作、 下载操作及更新操作。  The receiving unit 602 is further configured to receive an access response message sent by the storage server. The processing unit 603 is configured to access the access response message and access the user storage area located on the network side. The user storage area is a storage area created by the storage server on the network side according to the user identification code. The processing unit 603 is further configured to: after accessing the user storage area located on the network side, perform, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, Read operations, download operations, and update operations.
或者, 所述处理单元 603 , 还用于在访问位于网络侧的所述用户存 储区域之后, 通过所述存储服务器将所述终端中的数据存储到所述用户 存储区域。  Alternatively, the processing unit 603 is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side.
所述处理单元 603 , 还用于在通过所述存储服务器对所述用户存储 区域的数据进行下载操作时, 将从所述用户存储区域中下载的数据按照 文件夹结构进行存储。 The processing unit 603 is further configured to store the user by using the storage server When the data of the area is downloaded, the data downloaded from the user storage area is stored in accordance with the folder structure.
其中, 所述文件夹结构是所述用户身份识别卡中文件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构。 所述处理单元 603 , 还用于在所述终端在一定时间内连续两次选定 所述文件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树 形结构显示该文件夹中的所有数据。  The folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server. The processing unit 603 is further configured to: when the terminal selects any one of the folder structures twice in a certain period of time, using the folder as a root node, and displaying the file in a tree structure All the data in the folder.
进一步的, 如图 7所示, 所述终端还包括: 获取单元 604。 所述获取单元 604 , 用于在向所述存储服务器发送访问请求消息之 前, 获取所述终端的第一终端标识和所述用户身份识别卡中存储的第二 终端标识。 此时, 所述处理单元 603 , 还用于确定所述第一终端标识和所述第 二终端标识是否相同。 本实施例提供的终端用于实现图 1和图 3所示实施例中的方法, 具 体的方法流程可以参见图 1和图 3所示实施例中的描述。 本发明实施例提供了一种终端, 终端在向存储服务器发送访问请求 消息之后, 根据所述存储服务器发送的鉴权消息, 将用户身份识别码发 送至所述存储服务器, 以使得所述存储服务器根据所述用户身份识别码 对所述终端进行鉴权, 在鉴权通过以后, 所述终端根据存储服务器返回 的访问响应消息, 可以访问网络侧的用户存储区域。 这样, 不需要手动 输入用户名、 密码以及验证码等消息进行鉴权, 而是由终端自动获取用 户身份识别码并发送至存储服务器来进行鉴权, 减少了用户登录存储服 务器的操作步骤, 进而提高了用户体验。 如图 8所示, 其为本发明实施例提供的一种存储服务器的示意图。 参考图 8所示, 该存储服务器包括: 接收单元 801 , 发送单元 802 , 处理 单元 803 , 接收单元 801 , 用于接收终端发送的访问请求消息。 发送单元 802 , 用于向所述终端发送鉴权消息, 以使得所述终端根 据所述鉴权消息, 向所述存储服务器发送用户身份识别码。 进一步的, 所述鉴权消息包括: 随机数。 所述接收单元 801 , 还用于接收所述终端发送的所述用户身份识别 码。 Further, as shown in FIG. 7, the terminal further includes: an obtaining unit 604. The obtaining unit 604 is configured to acquire, after sending the access request message to the storage server, the first terminal identifier of the terminal and the second terminal identifier stored in the user identifier card. At this time, the processing unit 603 is further configured to determine whether the first terminal identifier and the second terminal identifier are the same. The terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 1 and FIG. 3. For the specific method flow, reference may be made to the description in the embodiment shown in FIG. 1 and FIG. 3. An embodiment of the present invention provides a terminal, after sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the storage server The terminal is authenticated according to the user identity code. After the authentication is passed, the terminal can access the user storage area on the network side according to the access response message returned by the storage server. In this way, it is not necessary to manually input a user name, a password, a verification code, and the like for authentication, but the terminal automatically acquires the user identification code and sends it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, and further Improve the user experience. FIG. 8 is a schematic diagram of a storage server according to an embodiment of the present invention. Referring to FIG. 8, the storage server includes: a receiving unit 801, a sending unit 802, a processing unit 803, and a receiving unit 801, configured to receive an access request message sent by the terminal. The sending unit 802 is configured to send an authentication message to the terminal, so that the terminal sends the user identity code to the storage server according to the authentication message. Further, the authentication message includes: a random number. The receiving unit 801 is further configured to receive the user identity code sent by the terminal.
进一步的, 当所述鉴权消息包括: 随机数时, 所述接收单元 801 , 具体用于接收所述终端发送的用户身份识别码及第一鉴权数。 其中, 所述第一鉴权数是所述终端根据所述随机数与所述用户身份 识别码, 通过预设算法获取的数据。 处理单元 803 , 用于根据所述接收单元 801接收的所述用户身份识 别码, 对所述终端进行鉴权。 进一步的, 当所述鉴权消息包括: 随机数时, 所述处理单元 803 , 具体用于根据所述随机数与所述用户身份识别码, 通过预设算法, 获取 第二鉴权数, 并确定所述第一鉴权数与所述第二鉴权数是否相同。 所述发送单元 802 , 还用于根据所述处理单元 803 的鉴权结果, 向 所述终端发送访问响应消息。 所述处理单元 803 , 还用于确定是否存储所述用户身份识别码。 所述处理单元 803 , 还用于在确定没有存储所述用户身份识别码的 情况下, 根据所述用户身份识别码创建用户存储区域。 其中,所述用户存储区域是与所述用户识别码——对应的存储区域。 所述处理单元 803 , 还用于在确定存储所述用户身份识别码, 且对 所述终端鉴权成功的情况下, 允许所述终端访问所述用户存储区域。 本实施例提供的存储服务器用于实现图 2和图 3所示实施例中的方 法, 具体的方法流程可以参见图 2和图 3所示实施例中的描述。 本发明实施例提供了一种存储服务器, 存储服务器接收终端发送的 访问请求消息, 并向所述终端发送鉴权消息, 终端根据所述鉴权消息后, 向所述存储服务器发送用户身份识别码, 所述存储服务器根据所述用户 身份识别码, 对所述终端进行鉴权, 最后, 所述存储服务器根据鉴权结 果, 向所述终端发送访问响应消息, 这样, 由于所述存储服务器是根据 用户身份识别码进行鉴权, 所以不需要用户手动输入账户名、 密码以及 验证码等, 而是由终端自动获取用户身份识别码并发送至存储服务器来 进行鉴权, 减少了用户登录存储服务器的操作步骤, 进而提高了用户体 验。 如图 9所示, 其为本发明实施例提供的一种终端的结构示意图。 参 考图 9所示, 该终端包括: 发送器 901 , 接收器 902 , 存储器 903 , 以及 分别与发送器 901、 接收器 902、 存储器 903连接的处理器 904。 其中, 存储器 903中存储一组程序代码, 处理器 904用于调用存储 器 903中的程序代码。 具体的, 发送器 901 , 用于向存储服务器发送访问请求消息。 进一步的, 所述发送器 901在向所述存储服务器发送访问请求消息 时, 具体用于在所述处理器 904 所述第一终端标识和所述第二终端标识 不相同的情况下, 向所述存储服务器发送所述访问请求消息。 所述发送器 901在向所述存储服务器发送访问请求消息时, 具体用 于: 在所述处理器 904 确定所述第一终端标识和所述第二终端标识不相 同的情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在所 述终端接收到向所述存储服务器发送所述访问请求消息的指令的情况 下, 向所述存储服务器发送访问请求消息。 接收器 902 , 用于接收所述存储服务器发送的鉴权消息。 进一步的, 所述鉴权消息包括: 随机数。 所述发送器 901 , 还用于根据所述鉴权消息, 将所述用户身份识别 码发送至所述存储服务器, 以使得所述存储服务器根据所述用户身份识 别码对所述终端进行鉴权。 进一步的, 当所述鉴权消息包括: 随机数时, 所述发送器 901在根 据所述鉴权消息, 将所述用户身份识别码发送至所述存储服务器时, 具 体用于根据所述随机数与所述用户身份识别码, 通过预设算法获取第一 鉴权数, 并将所述第一鉴权数与所述用户身份识别码发送至所述存储服 务器。 Further, when the authentication message includes: a random number, the receiving unit 801 is specifically configured to receive a user identity code and a first authentication number sent by the terminal. The first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code. The processing unit 803 is configured to perform authentication on the terminal according to the user identity code received by the receiving unit 801. Further, when the authentication message includes: a random number, the processing unit 803 is specifically configured to obtain a second authentication number by using a preset algorithm according to the random number and the user identity code, and Determining whether the first authentication number is the same as the second authentication number. The sending unit 802 is further configured to send an access response message to the terminal according to the authentication result of the processing unit 803. The processing unit 803 is further configured to determine whether to store the user identity code. The processing unit 803 is further configured to create a user storage area according to the user identity code, if it is determined that the user identity code is not stored. The user storage area is a storage area corresponding to the user identification code. The processing unit 803 is further configured to allow the terminal to access the user storage area if it is determined that the user identity code is stored and the terminal is successfully authenticated. The storage server provided in this embodiment is used to implement the method in the embodiment shown in FIG. 2 and FIG. 3. For the specific method flow, reference may be made to the description in the embodiment shown in FIG. 2 and FIG. 3. The embodiment of the present invention provides a storage server. The storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal. After the terminal according to the authentication message, the terminal sends the user identity code to the storage server. The storage server authenticates the terminal according to the user identifier, and finally, the storage server sends an access response message to the terminal according to the authentication result, so that the storage server is The user ID is authenticated, so the user does not need to manually enter the account name, password, and The verification code, etc., is obtained by the terminal automatically acquiring the user identification code and sending it to the storage server for authentication, thereby reducing the operation steps of the user logging in to the storage server, thereby improving the user experience. FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention. Referring to FIG. 9, the terminal includes: a transmitter 901, a receiver 902, a memory 903, and a processor 904 connected to the transmitter 901, the receiver 902, and the memory 903, respectively. The memory 903 stores a set of program codes, and the processor 904 is used to call the program code in the memory 903. Specifically, the sender 901 is configured to send an access request message to the storage server. Further, when the sender 901 sends an access request message to the storage server, the transmitter 901 is specifically configured to: when the first terminal identifier and the second terminal identifier of the processor 904 are different, The storage server sends the access request message. The transmitter 901 is configured to: when the processor 904 determines that the first terminal identifier and the second terminal identifier are different, determining whether to send the access request message to the storage server And the storage server sends the access request message; and when the terminal receives an instruction to send the access request message to the storage server, sending an access request message to the storage server. The receiver 902 is configured to receive an authentication message sent by the storage server. Further, the authentication message includes: a random number. The transmitter 901 is further configured to send the user identity identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identity identification code. . Further, when the authentication message includes: a random number, when the sender 901 sends the user identification code to the storage server according to the authentication message, specifically, according to the random And the user identification code, obtaining a first authentication number by using a preset algorithm, and sending the first authentication number and the user identification code to the storage server.
所述接收器 902 , 还用于接收所述存储服务器发送的访问响应消息。 所述处理器 904 , 用于根据所述访问响应消息, 访问位于网络侧的 用户存储区域。 其中, 所述用户存储区域是所述存储服务器根据所述用户身份识别 码在网络侧创建的存储区域。 所述处理器 904 , 还用于在向所述存储服务器发送访问请求消息之 前, 获取所述终端的第一终端标识和所述用户身份识别卡中存储的第二 终端标识。 The receiver 902 is further configured to receive an access response message sent by the storage server. The processor 904 is configured to access the network side according to the access response message. User storage area. The user storage area is a storage area created by the storage server on the network side according to the user identification code. The processor 904 is further configured to acquire, after sending the access request message to the storage server, the first terminal identifier of the terminal and the second terminal identifier stored in the user identity card.
所述处理器 904 , 还用于确定所述第一终端标识和所述第二终端标 识是否相同。  The processor 904 is further configured to determine whether the first terminal identifier and the second terminal identifier are the same.
所述处理器 904 , 还用于在访问位于网络侧的所述用户存储区域之 后, 通过所述存储服务器对所述用户存储区域的数据进行以下操作中的 至少一种: 修改操作、 删除操作、 读取操作、 下载操作及更新操作。 或者,  The processor 904 is further configured to: after accessing the user storage area located on the network side, perform, by using the storage server, at least one of the following operations on the data of the user storage area: a modification operation, a deletion operation, Read operations, download operations, and update operations. Or,
所述处理器 904 , 还用于在访问位于网络侧的所述用户存储区域之 后, 通过所述存储服务器将所述终端中的数据存储到所述用户存储区域。 所述处理器 904 , 还用于在通过所述存储服务器对所述用户存储区 域的数据进行下载操作时, 将从所述用户存储区域中下载的数据按照文 件夹结构进行存储。  The processor 904 is further configured to store data in the terminal to the user storage area by using the storage server after accessing the user storage area located on the network side. The processor 904 is further configured to store data downloaded from the user storage area according to a folder structure when performing a download operation on data of the user storage area by the storage server.
其中, 所述文件夹结构是所述用户身份识别卡中文件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构。  The folder structure is a storage structure of files in the user identification card, or the folder structure is a storage structure of files in the storage server.
所述处理器 904 , 还用于在所述终端在一定时间内连续两次选定所 述文件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树形 结构显示该文件夹中的所有数据。  The processor 904 is further configured to use the folder as a root node and display the tree structure in a tree structure when the terminal selects any one of the folder structures twice in a certain period of time. All the data in the folder.
本实施例提供的终端用于实现图 1和图 3所示实施例中的方法, 具 体的方法流程可以参见图 1和图 3所示实施例中的描述。 本发明实施例提供了一种终端, 终端在向存储服务器发送访问请求 消息之后, 根据所述存储服务器发送的鉴权消息, 将用户身份识别码发 送至所述存储服务器, 以使得所述存储服务器根据所述用户身份识别码 对所述终端进行鉴权, 在鉴权通过以后, 所述终端根据存储服务器返回 的访问响应消息, 可以访问网络侧的用户存储区域。 这样, 不需要手动 输入用户名、 密码以及验证码等消息进行鉴权, 而是由终端自动获取用 户身份识别码并发送至存储服务器来进行鉴权, 减少了用户登录存储服 务器的操作步骤, 进而提高了用户体验。 如图 10所示,其为本发明实施例提供的一种存储服务器的结构示意 图。 参考图 10所示, 该存储服务器包括: 发送器 1001, 接收器 1002, 存储器 1003, 以及分别与发送器 1001、 接收器 1002、 存储器 1003连接 的处理器 1004。 其中, 存储器中存储一组程序代码, 处理器 1004 用于调用存储器 1003中的程序代码。 具体的, 接收器 1002, 用于接收终端发送的访问请求消息。 发送器 1001, 用于向所述终端发送鉴权消息, 以使得所述终端根据 所述鉴权消息, 向所述存储服务器发送用户身份识别码。 The terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 1 and FIG. 3. For the specific method flow, reference may be made to the description in the embodiment shown in FIG. 1 and FIG. 3. An embodiment of the present invention provides a terminal, after sending an access request message to a storage server, the terminal sends a user identification code to the storage server according to the authentication message sent by the storage server, so that the storage server The terminal is authenticated according to the user identity code. After the authentication is passed, the terminal can access the user storage area on the network side according to the access response message returned by the storage server. This way, no manual is required The user name, password, and verification code are input for authentication, but the terminal automatically obtains the user identification code and sends it to the storage server for authentication, which reduces the operation steps of the user logging in to the storage server, thereby improving the user experience. FIG. 10 is a schematic structural diagram of a storage server according to an embodiment of the present invention. Referring to FIG. 10, the storage server includes: a transmitter 1001, a receiver 1002, a memory 1003, and a processor 1004 connected to the transmitter 1001, the receiver 1002, and the memory 1003, respectively. Wherein, a set of program codes is stored in the memory, and the processor 1004 is configured to call the program code in the memory 1003. Specifically, the receiver 1002 is configured to receive an access request message sent by the terminal. The sender 1001 is configured to send an authentication message to the terminal, so that the terminal sends a user identity code to the storage server according to the authentication message.
进一步的, 所述鉴权消息包括: 随机数。 此时, 所述发送器 1001, 具体用于根据所述访问请求消息, 向所述 终端发送随机数。  Further, the authentication message includes: a random number. At this time, the transmitter 1001 is specifically configured to send a random number to the terminal according to the access request message.
所述接收器 1002,还用于接收所述终端发送的所述用户身份识别码。 进一步的, 当所述鉴权消息包括: 随机数时, 所述接收器 1002, 具 体用于接收所述终端发送的用户身份识别码及第一鉴权数。 所述第一鉴 权数是所述终端根据所述随机数与所述用户身份识别码, 通过预设算法 获取的数据。  The receiver 1002 is further configured to receive the user identity code sent by the terminal. Further, when the authentication message includes: a random number, the receiver 1002 is configured to receive a user identity code and a first authentication number sent by the terminal. The first authentication number is data obtained by the terminal by using a preset algorithm according to the random number and the user identity code.
处理器 1004, 用于根据所述接收器 1002接收的所述用户身份识别 码, 对所述终端进行鉴权。  The processor 1004 is configured to perform authentication on the terminal according to the user identity code received by the receiver 1002.
进一步的, 当所述鉴权消息包括: 随机数时, 所述处理器 1004, 具 体用于根据所述随机数与所述用户身份识别码, 通过预设算法, 获取第 二鉴权数, 并确定所述第一鉴权数与所述第二鉴权数是否相同。 所述发送器 1001, 还用于根据所述处理器 1004 的鉴权结果, 向所 述终端发送访问响应消息。  Further, when the authentication message includes: a random number, the processor 1004 is specifically configured to obtain a second authentication number by using a preset algorithm according to the random number and the user identity code, and Determining whether the first authentication number is the same as the second authentication number. The transmitter 1001 is further configured to send an access response message to the terminal according to the authentication result of the processor 1004.
所述处理器 1004, 还用于确定是否存储所述用户身份识别码。 所述处理器 1 004 , 还用于在确定没有存储所述用户身份识别码的情 况下, 根据所述用户身份识别码创建用户存储区域。 其中,所述用户存储区域是与所述用户识别码——对应的存储区域。 所述处理器 1 004 , 还用于在确定存储所述用户身份识别码, 且对所 述终端鉴权成功的情况下, 允许所述终端访问所述用户存储区域。 本实施例提供的终端用于实现图 2和图 3所示实施例中的方法, 具 体的方法流程可以参见图 2和图 3所示实施例中的描述。 本发明实施例提供了一种存储服务器, 存储服务器接收终端发送的 访问请求消息, 并向所述终端发送鉴权消息, 终端根据所述鉴权消息后, 向所述存储服务器发送用户身份识别码, 所述存储服务器根据所述用户 身份识别码, 对所述终端进行鉴权, 最后, 所述存储服务器根据鉴权结 果, 向所述终端发送访问响应消息, 这样, 由于所述存储服务器是根据 用户身份识别码进行鉴权, 所以不需要用户手动输入账户名、 密码以及 验证码等, 而是由终端自动获取用户身份识别码并发送至存储服务器来 进行鉴权, 减少了用户登录存储服务器的操作步骤, 进而提高了用户体 验。 本发明实施例提供了一种处理数据的***, 如图 1 1所示, 包括: 终 端 1 1 01以及存储服务器 1 1 02。 其中, 所述终端 1 1 01是上述实施例中所述的终端; 所述存储服务器 1 1 02是上述实施例中所述的存储服务器。 本发明实施例提供了一种数据处理的***, 终端获取所述终端的第 一终端标识和所述用户身份识别卡中存储的第二终端标识, 然后确定所 述第一终端标识和所述第二终端标识是否相同, 在两者不相同的情况下, 所述终端确定是否向所述存储服务器发送访问请求消息, 在所述终端确 定向所述存储服务器发送访问请求消息的情况下, 所述终端向所述存储 服务器发送访问请求消息, 存储服务器接收终端发送的访问请求消息, 所述存储服务器根据所述访问请求消息, 对所述终端进行鉴权, 接着所 述存储服务器根据鉴权结果, 向所述终端发送访问响应消息, 所述终端 接收所述存储服务器发送的访问响应消息, 在所述存储服务器确定存储 所述用户身份识别码, 且对所述终端鉴权成功的情况下, 所述存储服务 器允许所述终端访问所述用户存储区域。 所述终端根据所述访问响应消 息, 访问用户存储区域。 这样, 由于所述存储服务器是根据用户身份识 别码进行鉴权, 所以不需要用户手动输入账户名、 密码以及验证码等, 而是由终端自动获取用户身份识别码并发送至存储服务器来进行鉴权, 减少了用户登录存储服务器的操作步骤, 进而提高了用户体验。 The processor 1004 is further configured to determine whether to store the user identity code. The processor 1 004 is further configured to create a user storage area according to the user identity code, if it is determined that the user identity code is not stored. The user storage area is a storage area corresponding to the user identification code. The processor 1 004 is further configured to allow the terminal to access the user storage area if it is determined that the user identification code is stored and the terminal is successfully authenticated. The terminal provided in this embodiment is used to implement the method in the embodiment shown in FIG. 2 and FIG. 3. For a specific method flow, reference may be made to the description in the embodiment shown in FIG. 2 and FIG. 3. The embodiment of the present invention provides a storage server. The storage server receives an access request message sent by the terminal, and sends an authentication message to the terminal. After the terminal according to the authentication message, the terminal sends the user identity code to the storage server. The storage server authenticates the terminal according to the user identifier, and finally, the storage server sends an access response message to the terminal according to the authentication result, so that the storage server is The user ID is authenticated, so the user does not need to manually input the account name, password, and verification code. Instead, the terminal automatically obtains the user ID and sends it to the storage server for authentication, which reduces the user's login to the storage server. The operating steps improve the user experience. The embodiment of the present invention provides a system for processing data, as shown in FIG. 11, including: a terminal 1 1 01 and a storage server 1 1 02. The terminal 1 1 01 is the terminal described in the foregoing embodiment; the storage server 1 102 is the storage server described in the foregoing embodiment. An embodiment of the present invention provides a data processing system, where a terminal acquires a first terminal identifier of the terminal and a second terminal identifier stored in the user identifier card, and then determines the first terminal identifier and the first If the two terminal identifiers are the same, if the two are not the same, the terminal determines whether to send an access request message to the storage server, and if the terminal determines to send an access request message to the storage server, The terminal sends an access request message to the storage server, and the storage server receives the access request message sent by the terminal, and the storage server authenticates the terminal according to the access request message, and then the storage server performs the authentication result according to the authentication result. Sending an access response message to the terminal, the terminal receiving an access response message sent by the storage server, where the storage server determines to store the user identity code, and if the terminal is successfully authenticated, the terminal Storage service The device allows the terminal to access the user storage area. The terminal accesses the user storage area according to the access response message. In this way, since the storage server performs authentication according to the user identification code, the user does not need to manually input the account name, password, verification code, etc., but the terminal automatically acquires the user identification code and sends it to the storage server for authentication. The right to reduce the user's operation steps to log in to the storage server, thereby improving the user experience.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***, 装 置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例 仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以结合或者 可以集成到另一个***, 或一些特征可以忽略, 或不执行。 另一点, 所 显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接 口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形 式。 所述作为分离部件说明的单元可以是或者也可以不是物理上分开 的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于 一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选 择其中的部分或者全部单元来实现本实施例方案的目的。 另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单 元中, 也可以是各个单元单独物理包括, 也可以两个或两个以上单元集 成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以 采用硬件加软件功能单元的形式实现。 上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计 算机可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包 括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或 者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的 存储介质包括: U盘、 移动硬盘、 只读存储器 (Read-On l y Memory , 简称 ROM ) 、 随机存取存储器 ( Random Acce s s Memory , 简称 RAM ) 、 磁碟或 者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案 进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替 换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和 范围。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like. The medium of the program code. Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, It should be understood by those skilled in the art that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the essence of the corresponding technical solutions. The spirit and scope of the technical solutions of the embodiments.

Claims

权 利 要 求 书 claims
1、 一种处理数据的方法, 其特征在于, 包括: 终端向存储服务器发送访问请求;肖 , ; 所述终端接收所述存储服务器根据所述访问请求消息发送的鉴权消 息; 1. A method of processing data, characterized by comprising: a terminal sending an access request to a storage server; the terminal receiving an authentication message sent by the storage server according to the access request message;
所述终端根据所述鉴权消息, 将用户身份识别码发送至所述存储服 务器, 以使得所述存储服务器根据所述用户身份识别码对所述终端进行 鉴权; 所述用户身份识别码用于标识位于所述终端中的用户身份识别卡; 所述终端接收所述存储服务器发送的访问响应消息; 所述终端根据所述访问响应消息,访问位于网络侧的用户存储区域; 所述用户存储区域是所述存储服务器根据所述用户身份识别码在网络侧 创建的存储区域。 The terminal sends the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identification code; the user identification code is used To identify the user identification card located in the terminal; The terminal receives the access response message sent by the storage server; The terminal accesses the user storage area located on the network side according to the access response message; The user storage The area is a storage area created by the storage server on the network side based on the user identification code.
2、 根据权利要求 1所述的方法, 其特征在于, 所述鉴权消息包括:随机数; 所述终端根据所述鉴权消息, 将所述用户身份识别码发送至所述存 储服务器包括: 所述终端根据所述随机数与所述用户身份识别码, 通过预设算法获 取第一鉴权数, 并将所述第一鉴权数与所述用户身份识别码发送至所述 存储服务器。 2. The method according to claim 1, wherein the authentication message includes: a random number; and the terminal sending the user identification code to the storage server according to the authentication message includes: The terminal obtains a first authentication number through a preset algorithm based on the random number and the user identification code, and sends the first authentication number and the user identification code to the storage server.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在所述终端向存 储服务器发送访问请求消息之前, 还包括: 所述终端获取所述终端的第一终端标识和所述用户身份识别卡中存 储的第二终端标识; 所述终端确定所述第一终端标识和所述第二终端标识是否相同; 所述终端向存储服务器发送访问请求;肖息包括: 在所述终端确定所述第一终端标识和所述第二终端标识不相同时, 所述终端向所述存储服务器发送所述访问请求消 , 。 3. The method according to claim 1 or 2, characterized in that, before the terminal sends an access request message to the storage server, it further includes: the terminal obtains the first terminal identification and the user identity of the terminal. identify the second terminal identification stored in the card; the terminal determines whether the first terminal identification and the second terminal identification are the same; the terminal sends an access request to the storage server; the information includes: When the first terminal identifier and the second terminal identifier are different, the terminal sends the access request message to the storage server.
4、 根据权利要求 3所述的方法, 其特征在于, 所述终端向存储服务器发送访问请求;肖息包括: 在所述终端确定所述第一终端标识和所述第二终端标识不相同时, 所述终端确定是否向所述存储服务器发送所述访问请求消息; 4. The method according to claim 3, characterized in that, the terminal sends an access request to the storage server; the information includes: when the terminal determines that the first terminal identification and the second terminal identification are different. , the terminal determines whether to send the access request message to the storage server;
在所述终端接收到向所述存储服务器发送所述访问请求消息的指令 后, 所述终端向所述存储服务器发送所述访问请求消息。 After the terminal receives the instruction to send the access request message to the storage server, the terminal sends the access request message to the storage server.
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 在所述终端访问位于网络侧的用户存储区域之后, 还包括: 所述终端通过所述存储服务器对所述用户存储区域的数据进行以下 操作中的至少一种: 修改操作、 删除操作、 读取操作、 下载操作及更新 操作; 或者, 5. The method according to any one of claims 1 to 4, characterized in that, after the terminal accesses the user storage area located on the network side, it further includes: the terminal stores the user information through the storage server. Perform at least one of the following operations on the data in the area: modification operation, deletion operation, read operation, download operation and update operation; or,
所述终端通过所述存储服务器将所述终端中的数据存储到所述用户 存储区域。 The terminal stores data in the terminal into the user storage area through the storage server.
6、 根据权利要求 5所述的方法, 其特征在于, 在所述终端通过所述存储服务器对所述用户存储区域的数据进行下 载操作时, 所述方法还包括: 6. The method according to claim 5, wherein when the terminal downloads the data in the user storage area through the storage server, the method further includes:
所述终端将从所述用户存储区域中下载的数据按照文件夹结构进行 存储; 所述文件夹结构是所述用户身份识别卡中文件的存储结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构; The terminal stores the data downloaded from the user storage area according to a folder structure; the folder structure is the storage structure of the files in the user identification card, or the folder structure is the storage structure. The storage structure of files in the server;
在所述终端在一定时间内连续两次选定所述文件夹结构中的任意一 个文件夹时, 以该文件夹为根节点, 并以树形结构显示该文件夹中的所 有数据。 When the terminal selects any folder in the folder structure twice consecutively within a certain period of time, the folder is used as the root node and all data in the folder is displayed in a tree structure.
7、 一种终端, 其特征在于, 包括: 发送单元, 用于向存储服务器发送访问请求消息; 7. A terminal, characterized in that it includes: a sending unit, configured to send an access request message to the storage server;
接收单元, 用于接收所述存储服务器根据所述访问请求消息发送的 鉴权消息; 所述发送单元, 还用于根据所述鉴权消息, 将所述用户身份识别码 发送至所述存储服务器, 以使得所述存储服务器根据所述用户身份识别 码对所述终端进行鉴权; 所述用户身份识别码用于标识位于所述终端中 的用户身份识别卡; The receiving unit is configured to receive the authentication message sent by the storage server according to the access request message; the sending unit is also configured to send the user identification code to the storage server according to the authentication message. , so that the storage server identifies the user according to the user identity The code authenticates the terminal; the user identification code is used to identify the user identification card located in the terminal;
所述接收单元, 还用于接收所述存储服务器发送的访问响应消息; 处理单元, 用于根据所述访问响应消息, 访问位于网络侧的用户存 储区域; 所述用户存储区域是所述存储服务器根据所述用户身份识别码 在网络侧创建的存储区域。 The receiving unit is also used to receive the access response message sent by the storage server; the processing unit is used to access the user storage area located on the network side according to the access response message; the user storage area is the storage server A storage area created on the network side based on the user identification code.
8、 根据权利要求 7所述的终端, 其特征在于, 所述鉴权消息包括: 随机数; 所述发送单元在根据所述鉴权消息, 将所述用户身份识别码发送至 所述存储服务器时, 具体用于根据所述随机数与所述用户身份识别码, 通过预设算法获取第一鉴权数, 并将所述第一鉴权数与所述用户身份识 别码发送至所述存储服务器。 8. The terminal according to claim 7, characterized in that, the authentication message includes: a random number; the sending unit sends the user identification code to the storage server according to the authentication message. When, it is specifically used to obtain a first authentication number through a preset algorithm according to the random number and the user identification code, and send the first authentication number and the user identification code to the storage server.
9、 根据权利要求 7或 8所述的终端, 其特征在于, 还包括: 获取单 元; 9. The terminal according to claim 7 or 8, further comprising: an acquisition unit;
所述获取单元, 用于在向所述存储服务器发送访问请求消息之前, 获取所述终端的第一终端标识和所述用户身份识别卡中存储的第二终端 标识; The obtaining unit is configured to obtain the first terminal identification of the terminal and the second terminal identification stored in the user identification card before sending an access request message to the storage server;
所述处理单元, 还用于确定所述第一终端标识和所述第二终端标识 是否相同; 所述发送单元在向所述存储服务器发送访问请求消息时, 具体用于 在所述处理单元确定所述第一终端标识和所述第二终端标识不相同的情 况下, 向所述存储服务器发送所述访问请求消息。 The processing unit is also configured to determine whether the first terminal identifier and the second terminal identifier are the same; when the sending unit sends an access request message to the storage server, the sending unit is specifically configured to determine whether the first terminal identifier and the second terminal identifier are the same. When the first terminal identifier and the second terminal identifier are different, the access request message is sent to the storage server.
10、 根据权利要求 9所述的终端, 其特征在于, 所述发送单元在向所述存储服务器发送访问请求消息时,具体用于: 在所述处理单元确定所述第一终端标识和所述第二终端标识不相同 的情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在所述 终端接收到向所述存储服务器发送所述访问请求消息的指令的情况下, 向所述存储服务器发送访问请求消息。 10. The terminal according to claim 9, characterized in that, when the sending unit sends an access request message to the storage server, the sending unit is specifically configured to: determine the first terminal identifier and the first terminal identifier in the processing unit. When the second terminal identities are different, determine whether to send the access request message to the storage server; when the terminal receives an instruction to send the access request message to the storage server, send the access request message to the storage server. The storage server sends an access request message.
11、 根据权利要求 7-1 0任一项所述的终端, 其特征在于, 所述处理单元,还用于在访问位于网络侧的所述用户存储区域之后, 通过所述存储服务器对所述用户存储区域的数据进行以下操作中的至少 一种: 修改操作、 删除操作、 读取操作、 下载操作及更新操作; 或者, 11. The terminal according to any one of claims 7-10, characterized in that, the processing unit is further configured to, after accessing the user storage area located on the network side, store the user data through the storage server. The data in the user storage area undergoes at least one of the following operations: modification operation, deletion operation, read operation, download operation and update operation; or,
所述处理单元,还用于在访问位于网络侧的所述用户存储区域之后, 通过所述存储服务器将所述终端中的数据存储到所述用户存储区域。 The processing unit is also configured to store the data in the terminal into the user storage area through the storage server after accessing the user storage area located on the network side.
12、 根据权利要求 11所述的终端, 其特征在于, 所述处理单元, 还用于在通过所述存储服务器对所述用户存储区域 的数据进行下载操作时, 将从所述用户存储区域中下载的数据按照文件 夹结构进行存储; 所述文件夹结构是所述用户身份识别卡中文件的存储 结构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构; 12. The terminal according to claim 11, characterized in that, the processing unit is further configured to download the data from the user storage area from the user storage area through the storage server. The downloaded data is stored according to a folder structure; the folder structure is the storage structure of files in the user identification card, or the folder structure is the storage structure of files in the storage server;
所述处理单元, 还用于在所述终端在一定时间内连续两次选定所述 文件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树形结 构显示该文件夹中的所有数据。 The processing unit is also configured to use the folder as the root node and display the file in a tree structure when the terminal selects any folder in the folder structure twice consecutively within a certain period of time. All data in the folder.
1 3、 一种终端, 其特征在于, 包括: 发送器, 用于向存储服务器发送访问请求消息; 接收器, 用于接收所述存储服务器根据所述访问请求消息发送的鉴 权消息; 所述发送器, 还用于根据所述鉴权消息, 将所述用户身份识别码发 送至所述存储服务器, 以使得所述存储服务器根据所述用户身份识别码 对所述终端进行鉴权; 所述用户身份识别码用于标识位于所述终端中的 用户身份识别卡; 所述接收器, 还用于接收所述存储服务器发送的访问响应消息; 处理器, 用于根据所述访问响应消息, 访问位于网络侧的用户存储 区域; 所述用户存储区域是所述存储服务器根据所述用户身份识别码在 网络侧创建的存储区域。 1 3. A terminal, characterized in that it includes: a transmitter, used to send an access request message to a storage server; a receiver, used to receive an authentication message sent by the storage server according to the access request message; The sender is further configured to send the user identification code to the storage server according to the authentication message, so that the storage server authenticates the terminal according to the user identification code; The user identification code is used to identify the user identification card located in the terminal; the receiver is also used to receive the access response message sent by the storage server; the processor is used to access according to the access response message A user storage area located on the network side; The user storage area is a storage area created by the storage server on the network side based on the user identification code.
14、 根据权利要求 1 3所述的终端, 其特征在于, 所述鉴权消息包括: 随机数; 所述发送器在根据所述鉴权消息, 将所述用户身份识别码发送至所 述存储服务器时, 具体用于根据所述随机数与所述用户身份识别码, 通 过预设算法获取第一鉴权数, 并将所述第一鉴权数与所述用户身份识别 码发送至所述存储服务器。 14. The terminal according to claim 13, characterized in that, The authentication message includes: a random number; when the sender sends the user identification code to the storage server according to the authentication message, the sender is specifically configured to use the random number and the user identity according to the random number. Identification code, obtain the first authentication number through a preset algorithm, and send the first authentication number and the user identification code to the storage server.
1 5、 根据权利要求 1 3或 14所述的终端, 其特征在于, 所述处理器, 还用于在向所述存储服务器发送访问请求消息之前, 获取所述终端的第一终端标识和所述用户身份识别卡中存储的第二终端 标识; 15. The terminal according to claim 13 or 14, characterized in that, the processor is further configured to obtain the first terminal identification and the first terminal identification of the terminal before sending an access request message to the storage server. The second terminal identification stored in the user identification card;
所述处理器, 还用于确定所述第一终端标识和所述第二终端标识是 否相同; The processor is also configured to determine whether the first terminal identification and the second terminal identification are the same;
所述发送器在向所述存储服务器发送访问请求消息时, 具体用于在 所述处理器确定所述第一终端标识和所述第二终端标识不相同的情况 下, 向所述存储服务器发送所述访问请求消息。 When the sender sends an access request message to the storage server, the sender is specifically configured to send an access request message to the storage server when the processor determines that the first terminal identification and the second terminal identification are different. The access request message.
1 6、 根据权利要求 1 5所述的终端, 其特征在于, 所述发送器在向所述存储服务器发送访问请求消息时, 具体用于: 在所述处理器确定所述第一终端标识和所述第二终端标识不相同的 情况下, 确定是否向所述存储服务器发送所述访问请求消息; 在所述终 端接收到向所述存储服务器发送所述访问请求消息的指令的情况下, 向 所述存储服务器发送访问请求消息。 16. The terminal according to claim 15, wherein when the sender sends an access request message to the storage server, the sender is specifically configured to: determine the first terminal identifier and the If the second terminal identities are different, determine whether to send the access request message to the storage server; if the terminal receives an instruction to send the access request message to the storage server, The storage server sends an access request message.
1 7、 根据权利要求 1 3- 1 6任一项所述的终端, 其特征在于, 所述处理器, 还用于在访问位于网络侧的所述用户存储区域之后, 通过所述存储服务器对所述用户存储区域的数据进行以下操作中的至少 一种: 修改操作、 删除操作、 读取操作、 下载操作及更新操作; 或者, 17. The terminal according to any one of claims 13 to 16, characterized in that, the processor is further configured to, after accessing the user storage area located on the network side, store the data through the storage server. The data in the user storage area undergoes at least one of the following operations: modification operation, deletion operation, read operation, download operation and update operation; or,
所述处理器, 还用于在访问位于网络侧的所述用户存储区域之后, 通过所述存储服务器将所述终端中的数据存储到所述用户存储区域。 The processor is also configured to store the data in the terminal into the user storage area through the storage server after accessing the user storage area located on the network side.
1 8、 根据权利要求 1 7所述的终端, 其特征在于, 所述处理器, 还用于在通过所述存储服务器对所述用户存储区域的 数据进行下载操作时, 将从所述用户存储区域中下载的数据按照文件夹 结构进行存储; 所述文件夹结构是所述用户身份识别卡中文件的存储结 构, 或者, 所述文件夹结构是所述存储服务器中文件的存储结构; 18. The terminal according to claim 17, characterized in that, The processor is also configured to store the data downloaded from the user storage area according to a folder structure when downloading data in the user storage area through the storage server; the folder structure is the storage structure of files in the user identification card, or, the folder structure is the storage structure of files in the storage server;
所述处理器, 还用于在所述终端在一定时间内连续两次选定所述文 件夹结构中的任意一个文件夹时, 以该文件夹为根节点, 并以树形结构 显示该文件夹中的所有数据。 The processor is also configured to use the folder as the root node and display the file in a tree structure when the terminal selects any folder in the folder structure twice consecutively within a certain period of time. All data in the folder.
PCT/CN2014/074657 2014-04-02 2014-04-02 Data processing method and terminal WO2015149309A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074657 WO2015149309A1 (en) 2014-04-02 2014-04-02 Data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074657 WO2015149309A1 (en) 2014-04-02 2014-04-02 Data processing method and terminal

Publications (1)

Publication Number Publication Date
WO2015149309A1 true WO2015149309A1 (en) 2015-10-08

Family

ID=54239288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074657 WO2015149309A1 (en) 2014-04-02 2014-04-02 Data processing method and terminal

Country Status (1)

Country Link
WO (1) WO2015149309A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014133A (en) * 2010-11-26 2011-04-13 清华大学 Method for implementing safe storage system in cloud storage environment
CN102571771A (en) * 2011-12-23 2012-07-11 华中科技大学 Safety authentication method of cloud storage system
CN101778117B (en) * 2010-03-12 2013-03-20 华为终端有限公司 Network storing and processing method, device and wireless terminal
US20130235418A1 (en) * 2012-03-07 2013-09-12 Fuji Xerox Co., Ltd. Printing system, management apparatus, management method, image forming apparatus, image forming method, and non-transitory computer readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778117B (en) * 2010-03-12 2013-03-20 华为终端有限公司 Network storing and processing method, device and wireless terminal
CN102014133A (en) * 2010-11-26 2011-04-13 清华大学 Method for implementing safe storage system in cloud storage environment
CN102571771A (en) * 2011-12-23 2012-07-11 华中科技大学 Safety authentication method of cloud storage system
US20130235418A1 (en) * 2012-03-07 2013-09-12 Fuji Xerox Co., Ltd. Printing system, management apparatus, management method, image forming apparatus, image forming method, and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
JP5989807B2 (en) Software installation method, device and system
US9723482B2 (en) Anti-theft protection method and device for cellular phone
TWI743405B (en) Voice broadcast method, intelligent broadcast device, one or more non-temporary computer storage media encoded with computer program instructions, and intelligent broadcast equipment
EP3691215A1 (en) Access token management method, terminal and server
RU2391796C2 (en) Limited access to functional sets of mobile terminal
CN102761612B (en) Take pictures based on wireless telecommunications system the method and system automatically uploaded
US11924197B1 (en) User authentication systems and methods
WO2015024261A1 (en) Internet account number management method, manager, server and system
WO2018000834A1 (en) Wifi hotspot information modification method and device
EP2657871A2 (en) Secure configuration of mobile application
EP3089494A1 (en) Trusted execution environment initialization method and device
CN108337210B (en) Equipment configuration method, device and system
WO2014032612A1 (en) Method, device, server, system, and apparatus for preventing information leakage
WO2012163176A1 (en) Method, device and system for configuring set top box
WO2014111022A1 (en) Mobile terminal user information display method, mobile terminal, and service system
EP4207847A1 (en) Virtual private dial-up network access method, network-side system, system, and storage medium
CN106559213B (en) Equipment management method, equipment and system
WO2017107961A1 (en) Backup system and method
WO2018129723A1 (en) Management method for subscription data set, terminal, and server
CN109379388B (en) Identity recognition method, terminal and wearable device
CN109495874B (en) Profile downloading method and device
WO2012034325A1 (en) Method and apparatus for backing up mobile terminal files
WO2018165983A1 (en) Euicc profile deletion method and device
WO2011140756A1 (en) Mobile terminal, data protection method of mobile terminal and monitor system of mobile terminal
CN113886803A (en) Object storage system of instant messaging, object storage request method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14887840

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
122 Ep: pct application non-entry in european phase

Ref document number: 14887840

Country of ref document: EP

Kind code of ref document: A1