CN112804317A - Method and device for uploading pictures of mobile terminal - Google Patents

Method and device for uploading pictures of mobile terminal Download PDF

Info

Publication number
CN112804317A
CN112804317A CN202110001886.1A CN202110001886A CN112804317A CN 112804317 A CN112804317 A CN 112804317A CN 202110001886 A CN202110001886 A CN 202110001886A CN 112804317 A CN112804317 A CN 112804317A
Authority
CN
China
Prior art keywords
uploading
user
picture
mobile terminal
token
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110001886.1A
Other languages
Chinese (zh)
Inventor
殷允恒
黄霖颉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yiyuanku Technology Co ltd
Original Assignee
Beijing Yiyuanku Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yiyuanku Technology Co ltd filed Critical Beijing Yiyuanku Technology Co ltd
Priority to CN202110001886.1A priority Critical patent/CN112804317A/en
Publication of CN112804317A publication Critical patent/CN112804317A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • 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/36User authentication by graphic or iconic representation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00095Systems or arrangements for the transmission of the picture signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of picture uploading methods, in particular to a method and a device for uploading pictures of a mobile terminal. The method for uploading the pictures of the mobile terminal comprises the steps of creating token certificates of a login state of a PC Web end, sharing the token certificates to a browser of a mobile phone end, carrying the token certificates when the browser of the mobile phone end uploads, and identifying user information by a server through analyzing the token certificates. According to the method and the device for uploading the mobile terminal picture, the operation steps of uploading the mobile phone picture to the Web end design page by the user are reduced, and the satisfaction degree of the user is greatly improved.

Description

Method and device for uploading pictures of mobile terminal
Technical Field
The invention relates to the technical field of picture uploading methods, in particular to a method and a device for uploading pictures of a mobile terminal.
Background
During the process that a user for online graphic editing designs on a Web end of a PC, most of used pictures may exist on the computer, and the pictures are directly uploaded from the computer; however, there are some pictures used in the mobile phone, and there is a need to upload pictures from the mobile terminal.
In a conventional mode, a file transmission assistant of a communication tool (such as WeChat) is used for sending pictures on a mobile phone to a computer and then uploading the pictures from the computer; in another mode, a complete set of mobile terminal uploading facilities is developed by a tool side, and a user opens a mobile phone browser to log in an account and then selects pictures to upload.
The above two methods have the disadvantages that:
1. in the uploading mode by the aid of the file transmission assistant, the user needs to select the picture to be sent to the transmission assistant, then the picture is stored to a certain position of the computer end from the transmission assistant, and then the picture is uploaded. Therefore, the whole process is too complicated, the time cost for uploading a picture is high, and a user feels dissatisfied to a certain extent.
2. If a complete set of mobile terminal uploading facilities is developed by a tool side, functions of account login, folder listing, uploading and the like are generally required, which undoubtedly increases the research and development cost.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and a device for uploading a mobile terminal picture, which reduce the operation steps of uploading a mobile phone picture to a Web end design page by a user and greatly improve the satisfaction degree of the user.
The technical scheme adopted by the invention is as follows:
a method for uploading pictures of a mobile terminal comprises the steps of generating an uploading two-dimensional code at a browser end at a PC end and scanning, analyzing and reading the uploading pictures of the two-dimensional code by a mobile terminal of a user,
the step of generating the uploading two-dimensional code at the PC side browser side specifically comprises the following steps:
A. a user requests for applying for uploading a picture on a PC-side browser, the PC-side browser requests a mobile phone to upload a token certificate to a server, the server generates a universal unique identification code, a mapping relation is established between the universal unique identification code and the token certificate, and the universal unique identification code is stored in a Redis database;
B. the PC side browser generates a two-dimensional code, and the two-dimensional code stores an uploading path of the mobile terminal picture and the token certificate;
the steps of scanning the two-dimensional code uploading picture and analyzing and reading by the user mobile terminal specifically comprise:
C. scanning the two-dimensional code by a user, and entering an uploading page by a mobile terminal browser;
D. the user selects the picture in the mobile phone album to upload, and at the moment, the mobile terminal browser carries the token voucher to send an upload request to the server;
E. the server processes the uploading request, acquires a user ID corresponding to the current token certificate and folder information to be stored in the picture to be uploaded from a Redis database, analyzes the user ID and the folder information, and then uploads the file information;
F. and the PC browser acquires the uploading completion state, and the user can check the picture uploaded by the mobile phone.
The token certificate comprises the ID of the currently logged-in user and folder information to be stored in the picture to be uploaded.
And step B, polling a request server by a PC-side browser to acquire a picture uploading state, and step E, updating the processing state of the token certificate to be a finished state.
The folder information is address information stored in the folder.
In step E, the uploading process includes the specific steps of:
a. saving pictures to a file storage server
b. And saving the uploading record of the user to the database.
A device for uploading pictures of a mobile terminal comprises a PC terminal browser module, a mobile terminal browser module and a server, and is characterized in that,
(1) the PC side browser module comprises a user demand proposing unit and a two-dimensional code generating unit:
the user demand proposing unit is used for proposing a mobile terminal picture uploading demand by a user;
the two-dimensional code generating unit is used for generating a two-dimensional code containing a token certificate;
(2) the server comprises a universal unique identification code generating unit, a mapping unit, a storage unit and an analyzing unit:
the universal unique identification code generating sheet is used for generating a universal unique identification code according to the mobile terminal picture uploading requirement;
the mapping unit is used for establishing mapping between the universal unique identification code and the token certificate;
the storage unit is used for storing the mapped universal unique identification code into a Redis database;
the analysis unit is used for analyzing the token certificate in the two-dimensional code after the user scans the two-dimensional code;
(3) the mobile terminal browser module comprises a token credential uploading request unit and a token credential uploading verification unit:
the token certificate uploading request unit is used for requesting the server to upload the token certificate after the user puts forward the picture uploading requirement of the mobile terminal;
and the token certificate uploading verification unit is used for uploading the picture and the token certificate after the user scans the two-dimensional code, so that the picture and the token certificate can be analyzed by the server.
The technical scheme provided by the invention has the beneficial effects that:
the technical scheme of the invention is mainly used for helping the user to quickly upload the picture to the design page of the Web end of the PC at the mobile terminal, and makes up for more defects of the existing scheme:
1. the operation steps of the user are simplified to the maximum extent. If the mode of the file transmission assistant is selected, the steps of sending the picture to the transmission assistant, saving the picture from the transmission assistant, uploading the picture and the like need to be carried out, and by using the method and the device, the steps of scanning the code by the mobile phone, selecting the picture and uploading the like only need to be carried out, so that the operation time is greatly shortened.
2. The development cost is low. In the conventional mobile phone uploading function, a tool side needs to develop a complete set of mobile terminal uploading facilities, and usually needs to have the functions of account login, folder list, uploading and the like.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method and an apparatus for uploading pictures at a mobile terminal according to the present invention;
fig. 2 is a block diagram of an apparatus structure of a method and an apparatus for uploading a picture by a mobile terminal according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
As shown in fig. 1, the embodiment provides a method for uploading pictures by a mobile terminal, where an uploading operation at a PCWeb end is based on a login state of a user, and a server can only distinguish user information to perform an uploading process if the server is kept in the login state. However, no login state exists when no login is performed on the browser of the mobile phone, so that a copy of the login state of the PCWeb end needs to be created (namely upload _ token, self-defined term, token certificate of picture uploading by the mobile phone end, the content of the token certificate is UUID character string, and the UUID character string is associated with the user ID and the uploading folder information), and the copy is shared to the browser of the mobile phone end, the upload _ token is carried when the browser of the mobile phone end uploads, and the user information can be identified by analyzing the upload _ token processing by the server.
The detailed process is as follows:
1. and the PC browser requests the mobile phone to upload the voucher upload _ token from the server. The server generates a UUID, establishes a mapping relation with a currently logged-in user ID and folder information to be stored in the picture to be uploaded, and stores the information into a Redis database;
2. the PC browser generates a two-dimensional code (the uploading page path and upload _ token information of the mobile phone end are stored), and then the PC browser polls a request server to acquire a picture uploading state;
3. scanning the two-dimensional code by a user, and entering a browser of a mobile phone end into an uploading page;
4. a user selects a picture in a mobile phone album to upload, and at the moment, a browser at a mobile phone end carries an upload _ token to send an upload request to a server;
5. the server processes the uploading request, acquires the user ID and the uploading folder information corresponding to the current upload _ token from the Redis, uploads the user ID and the uploading folder information, and updates the processing state of the upload _ token to be finished;
6. and the PC browser acquires the uploading completion state, and the user can check the picture uploaded by the mobile phone terminal.
Example two
As shown in fig. 2, the present embodiment provides an apparatus for uploading pictures of a mobile terminal, which includes a PC-side browser module, a mobile terminal browser module and a server, wherein,
(1) the PC side browser module comprises a user demand proposing unit and a two-dimensional code generating unit:
the user demand proposing unit is used for proposing a mobile terminal picture uploading demand by a user;
the two-dimensional code generating unit is used for generating a two-dimensional code containing a token certificate;
(2) the server comprises a universal unique identification code generating unit, a mapping unit, a storage unit and an analyzing unit:
the universal unique identification code generating sheet is used for generating a universal unique identification code according to the mobile terminal picture uploading requirement;
the mapping unit is used for establishing mapping between the universal unique identification code and the token certificate;
the storage unit is used for storing the mapped universal unique identification code into a Redis database;
the analysis unit is used for analyzing the token certificate in the two-dimensional code after the user scans the two-dimensional code;
(3) the mobile terminal browser module comprises a token credential uploading request unit and a token credential uploading verification unit:
the token certificate uploading request unit is used for requesting the server to upload the token certificate after the user puts forward the picture uploading requirement of the mobile terminal;
and the token certificate uploading verification unit is used for uploading the picture and the token certificate after the user scans the two-dimensional code, so that the picture and the token certificate can be analyzed by the server.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A method for uploading pictures of a mobile terminal comprises the steps of generating an uploading two-dimensional code at a browser end at a PC end and scanning, analyzing and reading the uploading pictures of the two-dimensional code by a mobile terminal of a user,
the step of generating the uploading two-dimensional code at the PC side browser side specifically comprises the following steps:
A. a user requests for applying for uploading a picture on a PC-side browser, the PC-side browser requests a mobile phone to upload a token certificate to a server, the server generates a universal unique identification code, a mapping relation is established between the universal unique identification code and the token certificate, and the universal unique identification code is stored in a Redis database;
B. the PC side browser generates a two-dimensional code, and the two-dimensional code stores an uploading path of the mobile terminal picture and the token certificate;
the steps of scanning the two-dimensional code uploading picture and analyzing and reading by the user mobile terminal specifically comprise:
C. scanning the two-dimensional code by a user, and entering an uploading page by a mobile terminal browser;
D. the user selects the picture in the mobile phone album to upload, and at the moment, the mobile terminal browser carries the token voucher to send an upload request to the server;
E. the server processes the uploading request, acquires a user ID corresponding to the current token certificate and folder information to be stored in the picture to be uploaded from a Redis database, analyzes the user ID and the folder information, and then uploads the file information;
F. and the PC browser acquires the uploading completion state, and the user can check the picture uploaded by the mobile phone.
2. The method as claimed in claim 1, wherein the token credential includes a currently logged-in user ID and folder information to be stored in the picture to be uploaded.
3. The method according to claim 1, wherein the step B includes a step of the PC browser polling the request server to obtain the picture upload status, and the step E includes a step of updating the processing status of the token credential to be completed.
4. The method according to claim 1, wherein the folder information is address information stored in a folder.
5. The method for uploading pictures of a mobile terminal according to claim 1, wherein in the step E, the specific step of uploading processing includes:
a. saving pictures to a file storage server
b. And saving the uploading record of the user to the database.
6. A device for uploading pictures of a mobile terminal comprises a PC terminal browser module, a mobile terminal browser module and a server, and is characterized in that,
(1) the PC side browser module comprises a user demand proposing unit and a two-dimensional code generating unit:
the user demand proposing unit is used for proposing a mobile terminal picture uploading demand by a user;
the two-dimensional code generating unit is used for generating a two-dimensional code containing a token certificate;
(2) the server comprises a universal unique identification code generating unit, a mapping unit, a storage unit and an analyzing unit:
the universal unique identification code generating sheet is used for generating a universal unique identification code according to the mobile terminal picture uploading requirement;
the mapping unit is used for establishing mapping between the universal unique identification code and the token certificate;
the storage unit is used for storing the mapped universal unique identification code into a Redis database;
the analysis unit is used for analyzing the token certificate in the two-dimensional code after the user scans the two-dimensional code;
(3) the mobile terminal browser module comprises a token credential uploading request unit and a token credential uploading verification unit:
the token certificate uploading request unit is used for requesting the server to upload the token certificate after the user puts forward the picture uploading requirement of the mobile terminal;
and the token certificate uploading verification unit is used for uploading the picture and the token certificate after the user scans the two-dimensional code, so that the picture and the token certificate can be analyzed by the server.
CN202110001886.1A 2021-01-04 2021-01-04 Method and device for uploading pictures of mobile terminal Pending CN112804317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110001886.1A CN112804317A (en) 2021-01-04 2021-01-04 Method and device for uploading pictures of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110001886.1A CN112804317A (en) 2021-01-04 2021-01-04 Method and device for uploading pictures of mobile terminal

Publications (1)

Publication Number Publication Date
CN112804317A true CN112804317A (en) 2021-05-14

Family

ID=75807743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110001886.1A Pending CN112804317A (en) 2021-01-04 2021-01-04 Method and device for uploading pictures of mobile terminal

Country Status (1)

Country Link
CN (1) CN112804317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272325A (en) * 2020-10-20 2021-01-26 深圳市前海手绘科技文化有限公司 Method for synchronizing mobile terminal and webpage terminal materials in real time in online video production
CN116614490A (en) * 2023-04-28 2023-08-18 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170237726A1 (en) * 2016-02-14 2017-08-17 Ynjiun Paul Wang Mobile Secure Login System and Method
CN108200040A (en) * 2017-12-28 2018-06-22 北京奇虎科技有限公司 Mobile client exempts from method, system, browser and the mobile terminal of close login
CN111460423A (en) * 2020-03-03 2020-07-28 深圳市思迪信息技术股份有限公司 Two-dimensional code scanning login method and device
CN112118234A (en) * 2020-08-27 2020-12-22 紫光云(南京)数字技术有限公司 Method for controlling multi-terminal authentication based on dynamic two-dimensional code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170237726A1 (en) * 2016-02-14 2017-08-17 Ynjiun Paul Wang Mobile Secure Login System and Method
CN108200040A (en) * 2017-12-28 2018-06-22 北京奇虎科技有限公司 Mobile client exempts from method, system, browser and the mobile terminal of close login
CN111460423A (en) * 2020-03-03 2020-07-28 深圳市思迪信息技术股份有限公司 Two-dimensional code scanning login method and device
CN112118234A (en) * 2020-08-27 2020-12-22 紫光云(南京)数字技术有限公司 Method for controlling multi-terminal authentication based on dynamic two-dimensional code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272325A (en) * 2020-10-20 2021-01-26 深圳市前海手绘科技文化有限公司 Method for synchronizing mobile terminal and webpage terminal materials in real time in online video production
CN116614490A (en) * 2023-04-28 2023-08-18 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium
CN116614490B (en) * 2023-04-28 2023-12-26 广州市良策网络技术有限公司 Cross-device data transmission method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11223611B2 (en) Relay apparatus, communication apparatus and relay method
US9092758B2 (en) Service providing apparatus, information processing system and methods
US9100394B2 (en) Method and system for content submission
CN101937428B (en) Method and system for rearranging pictures with literal contents for mobile terminal equipment
US10225254B2 (en) Server transmitting device information assigned to service identification information
CN112804317A (en) Method and device for uploading pictures of mobile terminal
EP3180714A1 (en) Form filling method and related terminal
JP2014048724A (en) Image forming apparatus, method for controlling the same, and program
CN103716488A (en) Information processing device
CN111506551B (en) Conference file extraction method, system and computer equipment
US20040145679A1 (en) Method of transmitting images for online publication
US20100223340A1 (en) System for remotely scanning a document
CN1438586A (en) Periphery apparatus, service device, information processing system and control method
CN107147706A (en) Data export method and device
US9591092B2 (en) Relaying device, image processing device, and system comprising image processing device, relaying device and service server
CN105812348A (en) Image forming apparatus and control method for same
CN111145143B (en) Problem image determining method and device, electronic equipment and storage medium
CN111523075A (en) Information feedback method, equipment and information feedback system
JP2017068682A (en) Electronic device, information processing system, and external cooperation method
CN110728593A (en) Case planning method and device, electronic device, and storage medium
TW202018523A (en) Data exchange system and method for starting point-to-point transmission with graphic code
US10257370B2 (en) Cloud-based document quality assurance
CN113900602B (en) Intelligent printing method and system for automatically eliminating target object filling information
US20230247164A1 (en) Information processing device, information processing method, and non-transitory computer readable medium
JP6828783B2 (en) Electronic devices, information information systems and external cooperation methods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination