CN106648919A - Image uploading method, system and device - Google Patents

Image uploading method, system and device Download PDF

Info

Publication number
CN106648919A
CN106648919A CN201610849616.5A CN201610849616A CN106648919A CN 106648919 A CN106648919 A CN 106648919A CN 201610849616 A CN201610849616 A CN 201610849616A CN 106648919 A CN106648919 A CN 106648919A
Authority
CN
China
Prior art keywords
picture
uploaded
module
central data
operation layer
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
CN201610849616.5A
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 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information 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 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201610849616.5A priority Critical patent/CN106648919A/en
Publication of CN106648919A publication Critical patent/CN106648919A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

The embodiment of the invention provides an image uploading method, system and device. The image uploading system comprises an image selection module, an image uploading module and a central data storage module, wherein the image selection module and the image uploading module are coupled to the central data storage module; the image selection module is used for acquiring a to-be-uploaded image selected by a user on a business layer and storing the to-be-uploaded image into the central data storage module; the image uploading module is used for receiving an image uploading instruction sent by the business layer, acquiring the to-be-uploaded image from the central data storage module according to the image uploading instruction and sending the to-be-uploaded image to the business layer. The image uploading method, system and device are used for improving the maintaining efficiency of the image uploading system.

Description

Picture upload method, system and device
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of picture upload method, system and device.
Background technology
At present, multiple application programs can be installed in terminal device (such as mobile phone, computer etc.), and in most application programs It is respectively provided with picture upload function.
In the prior art, picture upload function is generally realized that picture is selected by transmission module on picture selecting module and picture Select and have between transmission module on module and picture interface, the picture that picture selecting module can select user is sent out by the interface Transmission module on picture is given, so that the picture that transmission module upload user is selected on picture.Picture selecting module and picture upload mould There is dependence, when modifying to a module, it may be necessary to be also carried out adaptability to another module between block Modification;For example, when the function of picture selecting module selects to be changed to many pictures to select from free hand drawing piece, then transmission module on picture In, the relevant parameter of picture for receiving the transmission of picture selecting module is also required to be changed.
From the foregoing, it will be observed that in the prior art, interdepend between transmission module in picture selecting module and picture, when to one When module is modified, then need to be also carried out another module corresponding modification, cause the maintenance efficiency to picture uploading pictures It is relatively low.
The content of the invention
The embodiment of the present invention provides a kind of picture upload method, system and device, for improving to picture uploading system Maintenance efficiency.
In a first aspect, the embodiment of the present invention provides a kind of picture uploading system, including picture selecting module, picture upload mould Block, central data store module, in the picture selecting module and the picture transmission module respectively with central data store module Coupling, wherein,
The picture selecting module is used for, and obtains the picture to be uploaded that user selects in operation layer, and will be described to be uploaded Picture is stored to the central data store module;
Transmission module is used on the picture, receives the picture uploading instructions that the operation layer sends, and according to the picture Uploading instructions obtain the picture to be uploaded in the central data store module, and to the operation layer upload described in treat Blit piece.
In a kind of possible embodiment, the picture selecting module stores the picture to be uploaded to the central authorities Data memory module, including:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
In alternatively possible embodiment, the picture selecting module stores the picture to be uploaded in described After the data memory module of centre, also include:
The picture selecting module sends the picture identification of the picture to be uploaded to the operation layer.
In alternatively possible embodiment, the picture uploading instructions include the picture mark of the picture to be uploaded Know;Transmission module obtains the figure to be uploaded according to the picture uploading instructions in the central data store module on the picture Piece, including:
Transmission module obtains the picture identification of the picture to be uploaded in the picture uploading instructions on the picture;
Transmission module is according to the picture identification of the picture to be uploaded on the picture, in the central data store module Obtain the picture to be uploaded.
In alternatively possible embodiment, the picture uploading system also includes picture editor's module and picture editor Interface, wherein,
Picture editor's module is used for, and the picture that the transmission module reception operation layer sends on the picture is uploaded and referred to Before order, the picture editor's instruction sent by operation layer described in picture editor's interface, picture editor's instruction Include the picture identification of picture to be edited, the picture to be edited is part or all of in the picture to be uploaded;
Picture editor's module is additionally operable to, and is instructed according to the picture editor, in the central data store module The picture to be edited is obtained, and according to picture editor's operation that the operation layer sends, the picture to be edited is compiled Volume, picture after being edited;
Picture editor's module is additionally operable to, according to the picture identification of picture after editor, by the central data store mould The corresponding picture of the picture identification of picture is updated to picture after the editor in block, after the editor.
In alternatively possible embodiment, also include that picture selects interface in the picture uploading system;Accordingly, The picture selecting module obtains the picture to be uploaded that user selects in operation layer, including:
The picture selecting module selects the call request of operation layer transmission described in interface by picture;
The picture selecting module is sent for carrying out the aobvious of picture selection according to the call request to the operation layer Show interface, so that the user selects the picture to be uploaded in the display interface;
The picture selecting module obtains the picture described to be uploaded that user selects in the display interface.
In alternatively possible embodiment, the picture uploading system also includes that picture uploads interface;Accordingly, institute State transmission module on picture and receive the picture uploading instructions that the operation layer sends, including:
Transmission module uploads the picture upload that operation layer described in interface sends by the picture on the picture Instruction;
Transmission module sends the picture to be uploaded to the operation layer on the picture, including:
Transmission module uploads interface by the picture on the picture, and to the operation layer picture to be uploaded is sent.
Second aspect, the embodiment of the present invention provides a kind of picture upload method, including:
The picture to be uploaded that user selects in operation layer is obtained, and the picture to be uploaded is stored to the central data Memory module;
The picture uploading instructions that the operation layer sends are received, and according to the picture uploading instructions in the central data The picture to be uploaded is obtained in memory module;
The picture to be uploaded is uploaded to the operation layer.
In a kind of possible embodiment, the picture to be uploaded is stored to the central data store module, bag Include:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
In a kind of possible embodiment, the picture uploading instructions include the picture identification of the picture to be uploaded; Accordingly, the picture to be uploaded is obtained in the central data store module according to the picture uploading instructions, including:
The picture identification of the picture to be uploaded is obtained in the picture uploading instructions;
According to the picture identification of the picture to be uploaded, the figure to be uploaded is obtained in the central data store module Piece.
The third aspect, the embodiment of the present invention provides a kind of picture and uploads device, including:
First acquisition module, for obtaining the picture to be uploaded that user selects in operation layer;
Memory module, for the picture to be uploaded to be stored to the central data store module;
Receiver module, for receiving the picture uploading instructions that the operation layer sends;
Second acquisition module, described in being obtained in the central data store module according to the picture uploading instructions Picture to be uploaded;
Upper transmission module is used for, and to the operation layer picture to be uploaded is uploaded.
In a kind of possible embodiment, the memory module specifically for:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
In alternatively possible embodiment, the picture uploading instructions include the picture mark of the picture to be uploaded Know;Second acquisition module specifically for:
The picture identification of the picture to be uploaded is obtained in the picture uploading instructions;
According to the picture identification of the picture to be uploaded, the figure to be uploaded is obtained in the central data store module Piece.
Picture uploading system method, system and device provided in an embodiment of the present invention, in picture uploading system figure is included Transmission module, central data store module on piece selecting module, picture, transmission module is separate in picture selecting module and picture, And direction communication is not carried out on picture selecting module and picture between transmission module, transmission module is stored in picture to be uploaded on picture In central data store module, so that transmission module can obtain picture to be uploaded in central data store module on picture, and Picture to be uploaded is uploaded into operation layer.In the picture uploading system, due on picture selecting module and image transmission module it Between it is separate, so, when modifying to a module, without the need for modifying to another module, so improve it is right The maintenance efficiency of picture uploading system.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
The structural representation one of the picture uploading system that Fig. 1 is provided for the present invention;
The structural representation two of the picture uploading system that Fig. 2 is provided for the present invention;
The schematic flow sheet one of the picture upload method that Fig. 3 is provided for the present invention;
The schematic flow sheet two of the picture upload method that Fig. 4 is provided for the present invention;
Fig. 5 uploads the structural representation of device for the picture that the present invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In this application, special construction platform can be passed through and builds picture uploading system, the construction platform can pass through The realization of react native technologies, can arrange react native clusters, in react native clusters in construction platform It is that business is former including the granularity of multiple components for realizing picture uploading system and corresponding interface, each component and interface Sub- rank, so that the picture that only need to can obtain possessing difference in functionality by carrying out component and corresponding interface assembly is uploaded System.So, when picture uploading system is built, the function that only need to be needed to have according to picture uploading system, in react Corresponding component and corresponding interface is selected to carry out assembly in native clusters.So, structure picture can not only be improved The efficiency of uploading system, in actual application, can also increase or decrease according to actual needs in picture uploading system Some functions, and then it is easy to the maintenance to picture uploading system.
Can apply in any application in the picture uploading system shown in the embodiment of the present application, the application program can With in the terminal devices such as mobile phone, computer.It is in this application, separate between picture uploading system and application program, Picture uploading system can provide interface to application program, so that application program can pass through the interface interchange picture uploading system. So, when needing to be updated picture uploading system, only maintenance is updated to picture uploading system, without the need for correspondence Maintenance is updated with program, it is to avoid because picture uploading system and application program are integrally disposed in prior art, and cause When to needing to be updated picture uploading system, needs are updated and issue redaction to whole application program.
The structural representation one of the picture uploading system that Fig. 1 is provided for the present invention, refers to Fig. 1, in picture uploading system Including transmission module 102, central data store module 103 in picture selecting module 101, picture, picture selecting module 101 and picture Upper transmission module 102 is coupled respectively with central data store module 103.
Picture selecting module 101 is used for, and obtains the picture to be uploaded that user selects in operation layer, and picture to be uploaded is deposited Store up to central data store module 103;
Transmission module 102 is used on picture, receives the picture uploading instructions that operation layer sends, and is existed according to picture uploading instructions Picture to be uploaded is obtained in central data store module 103, and picture to be uploaded is uploaded to operation layer.
In this application, the language of writing that what picture uploading system was used write language and operation layer is used can not Together.Optionally, operation layer can be realized by JavaScript language.
In the embodiment shown in fig. 1, picture uploading system include on picture selecting module, picture transmission module and in Centre data memory module.Picture selecting module with operation layer there is picture to select interface, so that operation layer can be selected by picture Select interface interchange picture selecting module and perform corresponding operation;Transmission module with operation layer there is picture to upload interface on picture, with Allow operation layer to upload transmission module on interface interchange picture by picture and perform corresponding operation., picture selecting module and figure On piece transmission module respectively with central data store module couples so that transmission module can be to data on picture selecting module and picture Data in memory module are written and read operation.Wherein, coupling referred to and set by wired connection or two between two equipment Putting can mutually be accessed by preset instructions.
In actual application, when user is needed by picture uploading system uploading pictures, user can be in business Layer input preset instructions, so that operation layer can select interface to send call request, picture to picture selecting module by picture Selecting module sends display interface for carrying out picture selection according to call request to operation layer, so that user is in display interface Middle to select picture to be uploaded, after user completes picture to be uploaded according to display interface selection, picture selecting module is obtained to be used The picture to be uploaded that family selects in display interface.Optionally, multiple functional units, example can be included in picture selecting module Such as photograph album select unit, photograph album switch unit, photographing unit, big figure browse unit, wherein, each functional unit has its right The interface answered, so as to can be called by corresponding interface between each functional unit, it is of course also possible to provide to operation layer The interface of each functional unit, so that operation layer directly can be called according to corresponding interface to each functional unit.
After the picture to be uploaded that picture selecting module gets user's selection, picture selecting module selects user Picture to be uploaded is sent to central data store module, is treated uploading pictures by central data store module and is cached.It is optional , picture selecting module can generate the picture identification of each picture to be uploaded, and deposit picture to be uploaded is corresponding with picture identification Store up into central data store module.By the way that picture to be uploaded and picture identification are carried out into correspondence storage, and then allow to root Corresponding picture is obtained according to picture identification.
After user's selection completes picture to be uploaded, when user determines and picture is uploaded, user can be in industry Business layer input dependent instruction (clicking operation that for example confirming button is carried out), so that operation layer refers to according to the correlation of user input The transmission module on picture is made to send picture uploading instructions.Optionally, picture to be uploaded is stored to central authorities in picture selecting module After data memory module, picture selecting module can send the picture identification of picture to be uploaded, accordingly, business to operation layer The picture identification of picture to be uploaded can be included in the picture uploading instructions that layer sends to transmission module on picture.
Transmission module is received after the picture uploading instructions of operation layer transmission on the picture, and transmission module can be in figure on picture The picture identification of picture to be uploaded is obtained in piece uploading instructions, according to the picture identification of picture to be uploaded, in central data store Picture to be uploaded is obtained in module, and picture to be uploaded is sent to operation layer, optionally, operation layer can upload mould according to picture The picture that block is uploaded, picture is distributed in application program, optionally, according to actual needs can be uploaded in picture to be uploaded Circle of friends of application program etc..
Picture uploading system provided in an embodiment of the present invention includes transmission module, central data on picture selecting module, picture Memory module, transmission module is separate in picture selecting module and picture, and on picture selecting module and picture between transmission module Direction communication is not carried out, transmission module is stored in picture to be uploaded in central data store module on picture, so that picture is uploaded Module can obtain picture to be uploaded in central data store module, and picture to be uploaded is uploaded into operation layer.In the figure In piece uploading system, due to separate between transmission module on picture selecting module and image, so, when carrying out to a module During modification, without the need for modifying to another module, and then the maintenance efficiency to picture uploading system is improve.
On the basis of embodiment illustrated in fig. 1, picture editor's module can also be included in picture uploading system, the picture is compiled Collecting module can realize that treating uploading pictures enters edlin, specifically, embodiment shown in Figure 2.
The structural representation two of the picture uploading system that Fig. 2 is provided for the present invention, on the basis of embodiment illustrated in fig. 1, Fig. 2 is referred to, picture uploading system also includes picture editor's module 104 and picture editor's interface (not shown), wherein,
Picture editor's module 104 is used for, on picture transmission module 102 receive operation layer send picture uploading instructions it Before, the picture editor's instruction sent by picture editor's interface operation layer, picture editor's instruction includes picture to be edited Picture identification, picture to be edited is part or all of in picture to be uploaded;
Picture editor's module 104 is additionally operable to, and is instructed according to picture editor, obtains in central data store module 103 and treats Editing picture, and according to picture editor's operation that operation layer sends, treat editing picture and enter edlin, picture after being edited;
Picture editor's module 104 is additionally operable to, according to the picture identification of picture after editor, by central data store module 103 In, editor after picture the corresponding picture of picture identification be updated to editor after picture.
In the embodiment shown in Figure 2, picture editor's module is also included in picture uploading system, so that picture editor's module Edlin can be entered to picture to be uploaded.Specifically:
After picture to be uploaded to be stored in picture selecting module central data store module, if user needs to treat Part or all of picture in blit piece enters edlin, then user can be input into command adapted thereto and (for example editor be pressed in operation layer Button carries out push-botton operation), optionally, user be input into command adapted thereto when, it is also an option that needing the picture into edlin.In industry Business layer is received after the command adapted thereto of user input, the figure that operation layer is sent by picture editor's interface to picture editor's module Piece edit instruction, picture editor's instruction includes the picture identification of picture to be edited.
Picture editor's module is received after picture editor's instruction of operation layer transmission, and picture editor's module is in picture editor The mark of picture to be edited is obtained in instruction, and is obtained in central data store module according to the mark of picture to be edited and is waited to compile Picture is collected, and according to picture editor's operation that operation layer sends, is treated editing picture and is entered edlin.Optionally, operation layer sends Picture editor's operation can be picture editor's operation that user be input into operation layer.
Complete to treat after editing picture enters edlin in picture editor's module, picture after being edited, and according to editor Afterwards the picture identification of picture, the corresponding picture of picture identification of picture in central data store module, after editor is updated to compile Picture after volume.Optionally, can by central data store module, picture to be edited replace with editor after picture.
It should be noted that in actual application, can also arrange in picture uploading system according to actual needs Other modules, the present invention is not especially limited to the module that picture uploading system includes.
In above process, transmission module will need what is interacted on picture editor's module, picture selecting module and picture Data storage into central data store module, with realize on picture editor's module, picture selecting module and picture transmission module it Between so, when modifying to a module, without the need for modifying to other modules, and then can be improve with separate Maintenance efficiency to picture uploading system.
Below, with the interaction of transmission module and central data store module on operation layer, picture selecting module, picture As a example by, the course of work of the picture uploading system shown in Fig. 1-Fig. 2 embodiments is described in detail.
The schematic flow sheet one of the picture upload method that Fig. 3 is provided for the present invention, refers to Fig. 3, and the method can include:
S301, operation layer select interface to be called picture selecting module by picture;
S302, picture selecting module send the display interface for carrying out picture selection to operation layer, so that user is aobvious Show and select in interface picture to be uploaded;
S303, picture selecting module obtain user and picture to be uploaded are selected in display interface;
S304, picture selecting module generate the picture identification of picture to be uploaded;
S305, the picture selecting module correspondence in central data store module stores picture to be uploaded and picture to be uploaded Picture identification;
S306, picture selecting module send the picture identification of picture to be uploaded to operation layer;
S307, in user after operation layer is input into for the instruction for carrying out picture editor, operation layer is to picture editor's mould Block sends picture editor's instruction, and picture editor's instruction includes the picture identification of picture to be edited;
S308, picture editor's module are obtained in central data store module and treated according to the picture identification of picture to be edited Editing picture;
S309, picture editor's module are operated according to the picture editor that operation layer sends, and are treated editing picture and are entered edlin, are obtained The picture to after editor;
S310, picture editor's module according to the picture identification of picture after editor, by central data store module, Bian Jihou The corresponding picture of picture identification of picture is updated to picture after editor;
S311, in user after operation layer is input into for the instruction for carrying out picture upload, operation layer to picture upload mould Block sends picture uploading instructions, and picture uploading instructions include the mark of picture to be uploaded;
The mark of to be uploaded picture of the transmission module in picture uploading instructions on S312, picture, in central data store Picture to be uploaded is obtained in module;
Transmission module uploads picture to be uploaded to operation layer on S313, picture.
It should be noted that transmission module and central data store in the picture selecting module, picture shown in Fig. 3 embodiments The interaction of module, it is identical to the process that picture is uploaded with the picture uploading system shown in Fig. 1-Fig. 2 embodiments, herein no longer Repeated.
Below, by specific example, the method shown in Fig. 3 embodiments is described in detail.
Exemplary, it is assumed that application program 1 is installed, application program 1 is included shown in above-described embodiment in terminal device Picture uploading system.
When user is needed by 1 uploading pictures of application program, user can be input into preset instructions in application program 1, So that operation layer selects interface to be called picture selecting module by picture, picture selecting module can send to operation layer For carrying out the display interface of picture selection, so that user selects picture to be uploaded in display interface, for example, picture selects mould Block can send photograph album selection interface to operation layer, so that user selects photograph album in photograph album selection interface, and send out to operation layer All pictures that the photograph album selected of sending to be elected includes, so that user selects picture to be uploaded in the picture for showing.
After user's selection completes picture to be uploaded, picture is selected and module obtains user and selects to treat in display interface Uploading pictures, generate the picture identification of picture to be uploaded, and in central data store module correspondence storage picture to be uploaded and The picture identification of picture to be uploaded;Assume that user have selected 3 pictures, picture 1- pictures 3 are designated as respectively, then picture generation is each The picture identification of picture can be as shown in table 1:
Table 1
Picture identification Picture
001 Picture 1
002 Picture 2
003 Picture 3
Picture selecting module sends the picture identification (001,002,003) of picture to be uploaded to operation layer.
When user needs to treat uploading pictures and enters edlin, user can be input into for carrying out picture editor in operation layer Instruction, it is assumed that user needs to enter edlin to picture 2, then user, can be with when input is for the instruction for carrying out picture editor Selection is that 002 picture 2 enters edlin to picture identification;Operation layer receive user input for carrying out picture editor's After instruction, operation layer to picture editor's module sends picture editor's instruction, and picture editor's instruction includes picture to be edited Picture identification (002).
The picture identification (002) of to be edited picture of picture editor's module in picture editor's instruction, in central data Picture to be edited (picture 2) is obtained in memory module, and is operated according to the picture editor of operation layer, edlin is entered to picture 2, obtained Picture 2 to after editor, and 002 corresponding picture in central data store module is updated into the picture 2 after editing.
In user after operation layer is input into for the instruction for carrying out picture upload, operation layer to transmission module on picture sends Picture uploading instructions, the picture uploading instructions include the picture identification (001,002,003) of picture to be uploaded, and picture uploads mould Root tuber according to picture uploading instructions in picture to be uploaded picture identification (001,002,003), obtain picture 1- pictures 3, and to Operation layer uploading pictures 1- picture 3.
The embodiment of the present invention also provides a kind of picture upload method, and the executive agent of the method is picture uploading system, under Face, is illustrated by the method shown in Fig. 4 embodiments.
The schematic flow sheet two of the picture upload method that Fig. 4 is provided for the present invention, refers to Fig. 4, and the method can include:
S401, the picture to be uploaded that selects in operation layer of user is obtained, and picture to be uploaded is stored to central data deposit Storage module;
S402, the picture uploading instructions for receiving operation layer transmission, and according to picture uploading instructions in central data store mould Picture to be uploaded is obtained in block;
S403, upload picture to be uploaded to operation layer.
The executive agent of the embodiment of the present invention is picture uploading system, and the picture uploading system can be arranged on arbitrarily application In program.Optionally, the picture uploading system can be realized by software and/or hardware.
In actual application, when user passes through picture uploading system uploading pictures, picture uploading system is first obtained The picture to be uploaded that user selects in operation layer, and picture to be uploaded is stored to central data store module;Optionally, picture Uploading system can generate the picture identification of each picture to be uploaded, store picture to be uploaded is corresponding with picture identification to central number According in memory module, picture uploading system also sends the mark of picture to be uploaded to operation layer.
When user determines that the picture to be uploaded to selecting is uploaded, sent to picture uploading system by operation layer and schemed Piece uploading instructions, can include the mark of picture to be uploaded, so that picture uploading system is on picture in the picture uploading instructions The picture identification of picture to be uploaded is obtained in teletype command, according to the picture identification of picture to be uploaded, in central data store module It is middle to obtain picture to be uploaded, and send picture to be uploaded to operation layer.
In above process, each functional module in picture uploading system will need the data storage for interacting into Centre data memory module in, to realize picture uploading system in modules between can be with separate, so, when to picture When a module in uploading system is modified, without the need for modifying to other modules, and then improve to picture upload system The maintenance efficiency of system.
Fig. 5 uploads the structural representation of device for the picture that the present invention is provided, and refers to Fig. 5, and the device can include:
First acquisition module 501, for obtaining the picture to be uploaded that user selects in operation layer;
Memory module 502, for the picture to be uploaded to be stored to the central data store module;
Receiver module 503, for receiving the picture uploading instructions that the operation layer sends;
Second acquisition module 504, for being obtained in the central data store module according to the picture uploading instructions The picture to be uploaded;
Upper transmission module 505, is used for, and to the operation layer picture to be uploaded is uploaded.
Picture upload device provided in an embodiment of the present invention can perform the technical scheme shown in said method embodiment, its Realize that principle and beneficial effect are similar, no longer repeated herein.
In a kind of possible embodiment, the memory module 502 specifically for:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
In alternatively possible embodiment, the picture uploading instructions include the picture mark of the picture to be uploaded Know;Second acquisition module 504 specifically for:
The picture identification of the picture to be uploaded is obtained in the picture uploading instructions;
According to the picture identification of the picture to be uploaded, the figure to be uploaded is obtained in the central data store module Piece.
Picture upload device provided in an embodiment of the present invention can perform the technical scheme shown in said method embodiment, its Realize that principle and beneficial effect are similar, no longer repeated herein.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only to illustrate technical scheme, rather than a limitation;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, either which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, do not make the essence disengaging various embodiments of the present invention technology of appropriate technical solution The scope of scheme.

Claims (13)

1. a kind of picture uploading system, it is characterised in that including transmission module, central data store on picture selecting module, picture Module, in the picture selecting module and the picture transmission module respectively with central data store module couples, wherein,
The picture selecting module is used for, and obtains the picture to be uploaded that selects in operation layer of user, and by the picture to be uploaded Store to the central data store module;
Transmission module is used on the picture, receives the picture uploading instructions that the operation layer sends, and is uploaded according to the picture Instruction obtains the picture to be uploaded in the central data store module, and uploads the figure to be uploaded to the operation layer Piece.
2. system according to claim 1, it is characterised in that the picture selecting module stores in the picture to be uploaded To the central data store module, including:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
3. system according to claim 2, it is characterised in that the picture selecting module stores in the picture to be uploaded To the central data store module, also include:
The picture selecting module sends the picture identification of the picture to be uploaded to the operation layer.
4. system according to claim 3, it is characterised in that the picture uploading instructions include the picture to be uploaded Picture identification;Transmission module obtains described according to the picture uploading instructions in the central data store module on the picture Picture to be uploaded, including:
Transmission module obtains the picture identification of the picture to be uploaded in the picture uploading instructions on the picture;
Transmission module is obtained according to the picture identification of the picture to be uploaded in the central data store module on the picture The picture to be uploaded.
5. system according to claim 3, it is characterised in that the picture uploading system also include picture editor's module and Picture editor's interface, wherein,
Picture editor's module is used for, on the picture transmission module receive picture uploading instructions that the operation layer sends it Before, the picture editor's instruction sent by operation layer described in picture editor's interface is wrapped in picture editor's instruction The picture identification of picture to be edited is included, the picture to be edited is part or all of in the picture to be uploaded;
Picture editor's module is additionally operable to, and is instructed according to the picture editor, obtains in the central data store module The picture to be edited, and according to picture editor's operation that the operation layer sends, edlin is entered to the picture to be edited, obtain The picture to after editor;
Picture editor's module is additionally operable to, according to the picture identification of picture after editor, by the central data store module, The corresponding picture of the picture identification of picture is updated to picture after the editor after the editor.
6. the system according to any one of claim 1-4, it is characterised in that also include picture in the picture uploading system Select interface;Accordingly, the picture selecting module obtains the picture to be uploaded that user selects in operation layer, including:
The picture selecting module selects the call request of operation layer transmission described in interface by picture;
The picture selecting module sends display circle for carrying out picture selection according to the call request to the operation layer Face, so that the user selects the picture to be uploaded in the display interface;
The picture selecting module obtains the picture described to be uploaded that user selects in the display interface.
7. the system according to any one of claim 1-4, it is characterised in that the picture uploading system is also included on picture Pass interface;Accordingly, transmission module receives the picture uploading instructions that the operation layer sends on the picture, including:
Transmission module uploads the picture uploading instructions that operation layer described in interface sends by the picture on the picture;
Transmission module sends the picture to be uploaded to the operation layer on the picture, including:
Transmission module uploads interface by the picture on the picture, and to the operation layer picture to be uploaded is sent.
8. a kind of picture upload method, it is characterised in that include:
The picture to be uploaded that user selects in operation layer is obtained, and the picture to be uploaded is stored to the central data store Module;
The picture uploading instructions that the operation layer sends are received, and according to the picture uploading instructions in the central data store The picture to be uploaded is obtained in module;
The picture to be uploaded is uploaded to the operation layer.
9. method according to claim 8, it is characterised in that the picture to be uploaded is stored to the central data and is deposited Storage module, including:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
10. method according to claim 9, it is characterised in that the picture uploading instructions include the picture to be uploaded Picture identification;Accordingly, the figure to be uploaded is obtained in the central data store module according to the picture uploading instructions Piece, including:
The picture identification of the picture to be uploaded is obtained in the picture uploading instructions;
According to the picture identification of the picture to be uploaded, the picture to be uploaded is obtained in the central data store module.
A kind of 11. pictures upload device, it is characterised in that include:
First acquisition module, for obtaining the picture to be uploaded that user selects in operation layer;
Memory module, for the picture to be uploaded to be stored to the central data store module;
Receiver module, for receiving the picture uploading instructions that the operation layer sends;
Second acquisition module, for treating described in being obtained in the central data store module according to the picture uploading instructions Blit piece;
Upper transmission module is used for, and to the operation layer picture to be uploaded is uploaded.
12. devices according to claim 11, it is characterised in that the memory module specifically for:
Generate the picture identification of each picture to be uploaded;
Store the picture to be uploaded is corresponding with the picture identification into the central data store module.
13. devices according to claim 12, it is characterised in that the picture uploading instructions include the picture to be uploaded Picture identification;Second acquisition module specifically for:
The picture identification of the picture to be uploaded is obtained in the picture uploading instructions;
According to the picture identification of the picture to be uploaded, the picture to be uploaded is obtained in the central data store module.
CN201610849616.5A 2016-09-23 2016-09-23 Image uploading method, system and device Pending CN106648919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610849616.5A CN106648919A (en) 2016-09-23 2016-09-23 Image uploading method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610849616.5A CN106648919A (en) 2016-09-23 2016-09-23 Image uploading method, system and device

Publications (1)

Publication Number Publication Date
CN106648919A true CN106648919A (en) 2017-05-10

Family

ID=58854905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610849616.5A Pending CN106648919A (en) 2016-09-23 2016-09-23 Image uploading method, system and device

Country Status (1)

Country Link
CN (1) CN106648919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282632A (en) * 2021-04-21 2021-08-20 荣耀终端有限公司 Data transmission method and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291409A (en) * 2011-08-17 2011-12-21 韩智纲 House information display system
CN102857530A (en) * 2011-06-30 2013-01-02 腾讯科技(深圳)有限公司 Picture uploading method and system
WO2013100484A1 (en) * 2011-12-30 2013-07-04 주식회사 네오위즈인터넷 User terminal and method for sharing data between applications thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857530A (en) * 2011-06-30 2013-01-02 腾讯科技(深圳)有限公司 Picture uploading method and system
CN102291409A (en) * 2011-08-17 2011-12-21 韩智纲 House information display system
WO2013100484A1 (en) * 2011-12-30 2013-07-04 주식회사 네오위즈인터넷 User terminal and method for sharing data between applications thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282632A (en) * 2021-04-21 2021-08-20 荣耀终端有限公司 Data transmission method and equipment

Similar Documents

Publication Publication Date Title
CN107463584B (en) A kind of the editing and processing method and terminal of interaction page
CN107066273A (en) A kind of style sheet update method and device
CN102916984B (en) The method and system that a kind of picture editor's action is shared
KR101748370B1 (en) Operation System And Method For Identification Code, and Device supporting the same
CN103475682B (en) File transfer method and file transfer equipment
CN104239315A (en) Picture correlation method
AU2013338862B2 (en) Object based server page reception in electronic device
CN107172477A (en) voting method and device
CN109388620A (en) A kind of method and the first electronic equipment of striding equipment access data
CN105409160A (en) System for remotely controlling electronic device and method of operating the same
CN104077026A (en) Device and method for displaying execution result of application
CN102222062A (en) User space page personalized setting method and device for instant messaging system
CN107392829A (en) Water power Emigration in Water Conservancy Project evaluation information system
CN106843953A (en) Application program transverse direction switching system and method based on iOS system
CN105760408A (en) Picture sharing method and apparatus and terminal device
CN105631970B (en) One-touch information sharing method and system based on drive recorder
CN106339632A (en) Method for allocating M2M device administration authority, user device and system
CN105681315A (en) Method for binding intelligent equipment, intelligent equipment and terminal equipment
CN106127687A (en) Picture combination method and device, electronic equipment and system
CN109254817A (en) A kind of dial plate replacing options, system and the wearable device of wearable device
CN106203206A (en) A kind of complex background barcode scanning identification control method and device
CN105471706A (en) Table processing method and device
CN105912664A (en) Method and equipment for file processing
CN106648919A (en) Image uploading method, system and device
CN105871971A (en) Data storage and obtaining method, device and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510