WO2019179257A1 - Image transmission method and system, server, client, and user equipment - Google Patents

Image transmission method and system, server, client, and user equipment Download PDF

Info

Publication number
WO2019179257A1
WO2019179257A1 PCT/CN2019/074124 CN2019074124W WO2019179257A1 WO 2019179257 A1 WO2019179257 A1 WO 2019179257A1 CN 2019074124 W CN2019074124 W CN 2019074124W WO 2019179257 A1 WO2019179257 A1 WO 2019179257A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
server
client
user equipment
request
Prior art date
Application number
PCT/CN2019/074124
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 阿里巴巴集团控股有限公司
Publication of WO2019179257A1 publication Critical patent/WO2019179257A1/en

Links

Images

Classifications

    • 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/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/327Initiating, continuing or ending a single-mode communication; Handshaking therefor
    • H04N1/32765Initiating a communication
    • H04N1/32771Initiating a communication in response to a request, e.g. for a particular document
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the embodiments of the present disclosure relate to the field of information transmission technologies, and in particular, to a picture transmission method, system, server, client, and user equipment.
  • pre-stored users' pictures can be used for user authentication and the like.
  • a merchant can bind a user ID and a user avatar to a client.
  • the user identity can be verified according to the user's own photo comparison with the stored user.
  • the device for uploading the user picture must be equipped with a camera device.
  • a camera device For most PCs, since the device itself is usually not equipped with a camera, an additional camera or the like is required. If the camera device is not equipped, you need to take a picture with a shooting device, such as a camera or a mobile phone, and then transfer the captured picture to a PC, and then upload the picture to the server. The operation is cumbersome and inconvenient, so it is necessary to provide a more efficient solution for transferring pictures through a PC.
  • the purpose of the embodiments of the present specification is to provide a picture transmission method, system, server, client, and user equipment, which can improve the convenience of transmitting pictures by a PC.
  • a picture transmission method includes:
  • the server Receiving, by the server, a request for transmitting a picture by the user equipment, in response to the request, the server sending an entry information to the client; the entry information is used by the user equipment to connect to the server;
  • the server receives a picture that is transmitted by the user equipment according to the portal information.
  • a picture transmission method includes:
  • the client sends a request to the server to transfer the picture by the user equipment
  • the client receives the portal information sent by the server in response to the request; the portal information is used by the user equipment to connect to the server;
  • the client provides the portal information to the user equipment, so that the user equipment transmits a picture to the server.
  • a picture transmission method includes:
  • the user equipment acquires the portal information provided by the client for transmitting the picture; the portal information is sent by the server to the client; the portal information is that the server transmits the picture by the user equipment in response to the request sent by the client Request generated
  • the user equipment accesses the server by using the portal information
  • the user equipment transmits a picture to the server.
  • a system for image transmission comprising: a server, a client, and a user device; wherein
  • the server is configured to receive a request by the client to transmit a picture by the user equipment; the server sends an entry information to the client in response to the request; the server is configured to receive the user a picture transmitted by the device according to the portal information;
  • the client is configured to send a request for transmitting a picture by the user equipment to the server, receive entry information sent by the server in response to the request, and provide the entry information to the user equipment;
  • the user equipment is configured to acquire portal information provided by the client for transmitting a picture, access the server by using the portal information, and transmit a picture to the server.
  • a server includes: an portal information sending module and a picture receiving module; wherein
  • the portal information sending module is configured to receive a request sent by the client to transmit a picture by the user equipment, and send an entry information to the client in response to the request;
  • the picture receiving module is configured to receive a picture that is transmitted by the user equipment according to the portal information.
  • a client includes: a request sending module, an entry information receiving module, and an entry information providing module;
  • the request sending module is configured to send a request for transmitting a picture by the user equipment to the server;
  • the portal information receiving module is configured to receive entry information sent by the server in response to the request;
  • the portal information providing module is configured to provide the portal information to the user equipment, so that the user equipment transmits a picture to the server.
  • a user equipment comprising: an entry information acquisition module, an access module, and a picture transmission module;
  • the portal information obtaining module is configured to obtain entry information provided by the client for transmitting a picture
  • the access module is configured to access the server by using the portal information
  • the picture transmission module is configured to transmit a picture to the server.
  • the client after the client sends a request for transmitting a picture by the user equipment to the server, the client returns an entry information responsive to the request, and the client may provide the portal information to the portal information.
  • the user equipment so that the user equipment accesses the server according to the portal information, and transmits the picture to the server. Since the picture is directly transmitted from the user equipment to the server, the transmission operation is convenient. At the same time, the picture of the user equipment can be transmitted to the server at most, and the efficiency of transmitting pictures is provided.
  • the user equipment directly transmits the picture to the server, which can ensure that the user picture is stored in the user equipment, which reduces the insecurity caused by the user being stored in the client, and improves the user experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a picture transmission method provided by the present specification
  • FIG. 2 is a flow chart of an embodiment of a picture transmission method on the server side provided by the present specification
  • FIG. 3 is a flow chart of an embodiment of a picture transmission method on the client side provided by the present specification
  • FIG. 4 is a flowchart of an embodiment of a picture transmission method on a user equipment side provided by the present specification
  • FIG. 5 is a block diagram showing the hardware structure of a server in the embodiment of the present specification.
  • FIG. 6 is a schematic structural diagram of an embodiment of a picture transmission system provided by the present specification.
  • FIG. 7 is a schematic structural diagram of a module of an embodiment of a server for picture transmission provided by the present specification.
  • FIG. 8 is a schematic structural diagram of a module of an embodiment of a client for picture transmission provided by the present specification.
  • FIG. 9 is a schematic structural diagram of a module of an embodiment of a user equipment for picture transmission provided by the present specification.
  • the embodiment of the present specification provides a picture transmission method, system, server, client, and user equipment.
  • the captured picture needs to be transmitted from the shooting device to the PC first, and then uploaded by the PC, the operation is cumbersome.
  • the captured pictures need to be stored in both the shooting device and the PC before being uploaded to the server, which will cause waste of storage resources.
  • the storage device and the photographed image may be processed in advance due to the large amount of data to be taken, the network, etc., and the pre-processed image is uploaded to the server. Meeting the requirements of the server to store photos may need to be processed again, not only wasting computer resources, but also reducing the efficiency of image transmission.
  • the user may be poorly checked due to the user's unwillingness to store his or her personal picture on the public device.
  • the user may be provided with an entry for uploading a picture, and the user may use his own electronic device to access the entrance of the uploaded picture, and directly upload the captured picture to the server, so as to improve the efficiency and user of the user to transfer the picture.
  • the user may be provided with an entry for uploading a picture, and the user may use his own electronic device to access the entrance of the uploaded picture, and directly upload the captured picture to the server, so as to improve the efficiency and user of the user to transfer the picture.
  • FIG. 1 is a schematic flow chart of an embodiment of a picture transmission method provided by the present specification.
  • the present specification provides method operation steps as described in the embodiment or the flowchart, but may include more or more based on conventional or non-creative labor. Less steps.
  • the order of the steps recited in the embodiments is only one of the many steps of the order of execution, and does not represent a single order of execution.
  • the actual system or client product When the actual system or client product is executed, it may be executed sequentially or in parallel according to the method shown in the embodiment or the drawings (for example, a parallel processor or a multi-threaded environment).
  • the method may include the following steps.
  • S102 The client sends a request for transmitting a picture by the user equipment to the server.
  • the client may be a device without a camera.
  • a PC a smart terminal device, or the like equipped with a photographing device may be omitted.
  • the user equipment may be a device for acquiring a picture by a user, and may specifically be a device equipped with an imaging device or a user picture.
  • the user device can be a user's mobile phone, tablet, or the like.
  • the request may include an identification of the client.
  • the request may also include the name of the picture to be uploaded.
  • the merchant client identified as “001” may send a request for transmitting a picture by the user's mobile phone to the merchant server, and the request may include the merchant client identifier “001” and to be uploaded.
  • S104 The server sends an entry information to the client in response to the request.
  • the server may send an entry message to the client in response to the request.
  • the portal information may be used by the user equipment to connect to the server.
  • the portal information may include an address at which the server stores a picture.
  • the portal information may comprise a code picture.
  • the barcode picture may be a two-dimensional code picture.
  • the barcode image may correspond to a URL.
  • the barcode image can be decoded to obtain the URL.
  • the server can be connected through the URL.
  • the method may further include: the server may use the client identifier and the to-be-served according to the request.
  • the name of the uploaded image verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server, and if the association is performed, the request is reasonable. For example, it may be verified whether the client identifier of the client is stored in the server, and whether the client has the right to upload a picture of the name.
  • the method may further include: the server setting a process state corresponding to the request for transmitting a picture.
  • the flow state can be used to indicate the completion progress of the request to transfer the picture.
  • the process state corresponding to the request may be set to an incomplete state. For example, suppose “0" indicates an incomplete state, and "1" indicates a completed state. Then, when the merchant client identified as "001" sends a request for transmitting a picture by the user's mobile phone to the merchant server, the server goes to the client.
  • the server may set the process state corresponding to the request to “0” indicating the incomplete state.
  • S106 The client receives the portal information, and provides the portal information to the user equipment.
  • the client can receive the portal information.
  • the client may also provide the portal information to the user equipment. Specifically, the client may send the portal information to the user equipment in a manner of sending a message, or the client may display the portal information to the user equipment.
  • the client may send the barcode picture to the user equipment as a message; or the client may display the barcode picture by using a display, so that The user equipment can acquire the barcode picture.
  • S108 The user equipment accesses the server by using the portal information provided by the client.
  • the user equipment may access the server by using the portal information provided by the client.
  • the user equipment may access the server by acquiring the barcode image.
  • the user equipment can access the server by scanning a barcode picture displayed by the client on the display.
  • the user equipment may access the server by using a barcode picture in the received message.
  • S110 The user equipment transmits a picture to the server.
  • the user equipment may transmit a picture to the server.
  • the transmitted picture may correspond to a name of the picture to be uploaded.
  • the device of user A can transmit a picture to the server after accessing the server, that is, the ID picture of user A.
  • the transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
  • S112 The server receives a picture transmitted by the user equipment.
  • the server may receive a picture transmitted by the user equipment.
  • the method may further include: the server changing a process state corresponding to the request to a completed state.
  • the server goes to the client.
  • the server may set the process state corresponding to the request to “0” indicating the incomplete state.
  • the server may change the process state corresponding to the request to "1" indicating the completed state.
  • the method may further include: the server sending a message that the transmission is successful to the user equipment and/or the client.
  • the present specification also provides an embodiment of a picture transmission method on the server side.
  • 2 is a flow chart of an embodiment of a picture transmission method on the server side provided by the present specification. Referring to Figure 2, the method can include the following steps.
  • S202 The server receives a request sent by a client to transmit a picture by a user equipment, and in response to the request, the server sends an entry information to the client.
  • the request can include an identification of the client.
  • the request may also include the name of the picture to be uploaded.
  • the server may send an entry message to the client in response to the request.
  • the portal information may be used by the user equipment to connect to the server.
  • the portal information may include an address at which the server stores a picture.
  • the portal information may comprise a code picture.
  • the barcode picture may be a two-dimensional code picture.
  • the method may further include: the server may use the client identifier and the to-be-served according to the request.
  • the name of the uploaded image verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server, and if the association is performed, the request is reasonable.
  • the method may further include: the server setting a process state corresponding to the request for transmitting a picture.
  • the flow state can be used to indicate the completion progress of the request to transfer the picture.
  • the process state corresponding to the request may be set to an incomplete state.
  • S204 The server receives a picture that is transmitted by the user equipment according to the portal information.
  • the server may receive a picture that is transmitted by the user equipment according to the portal information.
  • the transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
  • the method may further include: the server changing a process state corresponding to the request to a completed state.
  • the method may further include: the server sending a message that the transmission is successful to the user equipment and/or the client.
  • FIG. 3 is a flowchart of an embodiment of a picture transmission method on the client side provided by the present specification. Referring to Figure 3, the method can include the following steps.
  • S302 The client sends a request for transmitting a picture by the user equipment to the server.
  • the client may issue a request to the server to transmit a picture by the user equipment.
  • the client may be a device without a camera.
  • it may be a PC, a smart terminal device, or the like that is not equipped with a photographing device.
  • the user equipment may be a device for acquiring a picture by a user, and may specifically be a device equipped with an imaging device or a user picture.
  • the request can include an identification of the client.
  • the request may also include the name of the picture to be uploaded.
  • S304 The client receives the portal information sent by the server in response to the request.
  • the client may receive portal information of the server in response to the request.
  • the portal information may be used by the user equipment to connect to the server.
  • the portal information may include an address at which the server stores a picture.
  • the portal information may be a code picture.
  • the barcode picture may be a two-dimensional code picture.
  • S306 The client provides the portal information to the user equipment, so that the user equipment transmits a picture to the server.
  • the client may provide the portal information to the user equipment. Specifically, the client may send the portal information to the user equipment in a manner of sending a message, or the client may display the portal information to the user equipment.
  • the user equipment can be conveniently transmitted to the server by providing the portal information to the user equipment.
  • the user equipment may connect to the server according to the portal information, and transmit a picture to the server.
  • FIG. 4 is a flowchart of an embodiment of a picture transmission method on the user equipment side provided by the present specification. Referring to Figure 4, the method can include the following steps.
  • S402 The user equipment acquires the portal information provided by the client for transmitting the picture.
  • the user equipment can obtain the portal information provided by the client for transmitting pictures.
  • the portal information may be provided by the client to the user equipment.
  • the portal information may be sent by the server to the client.
  • the portal information may be generated by the server in response to a request by the client to request the user equipment to transmit a picture.
  • the entry information may be a code picture.
  • the acquiring, by the user equipment, the portal information provided by the client for transmitting a picture may include: the user equipment may scan The client displays a bar code picture on the display.
  • the user equipment acquiring the portal information provided by the client for transmitting a picture may include: The user equipment can obtain a bar code picture in the received message.
  • S404 The user equipment accesses the server by using the portal information.
  • the user equipment may access the server by using the portal information.
  • S406 The user equipment transmits a picture to the server.
  • the user equipment may transmit a picture to the server.
  • the transmitted picture may correspond to a name of the picture to be uploaded.
  • the transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
  • the method for transmitting a picture provided by the foregoing embodiment, after the client sends a request for transmitting a picture by the user equipment to the server, the client returns an entry information responsive to the request, and the client may provide the entry information to the user equipment.
  • the user equipment accesses the server according to the portal information and transmits the picture to the server. Since the picture is directly transmitted from the user equipment to the server, the transmission operation is convenient. At the same time, the picture of the user equipment can be transmitted to the server at most, and the efficiency of transmitting pictures is provided.
  • the user equipment directly transmits the picture to the server, which can ensure that the user picture is stored in the user equipment, which reduces the insecurity caused by the user being stored in the client, and improves the user experience.
  • FIG. 5 is a block diagram showing the hardware structure of a server in the embodiment of the present specification.
  • the server may include one or more (only one shown in the figure) processor 102, a memory 104 for storing data, and a transmission module 106 for communication functions.
  • the processor 102 may include a central processing unit (CPU) or a graphics processing unit (GPU), and may of course include other microcontrollers, logic gates, integrated circuits, etc. having logic processing capabilities, or a suitable combination thereof.
  • CPU central processing unit
  • GPU graphics processing unit
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the search method in the embodiment of the present invention, and the processor 102 executes each by running a software program and a module stored in the memory 104.
  • a functional application and data processing that is, a method of implementing document processing in the above embodiments.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 can further include memory remotely located relative to processor 102, which can be connected to the server over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. When implemented, the memory may also be implemented by using a cloud memory. The specific implementation manner is not limited in this specification.
  • the transmission module 106 can be configured to receive or transmit data via a network.
  • the network specific example described above may include a wireless network provided by a communication provider of the page display device.
  • the transport module 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission module 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • the structure shown in FIG. 5 is merely illustrative, and does not limit the structure of the above server.
  • the server may further include more or less components than those shown in FIG. 5, for example, may also include other processing hardware, such as a GPU (Graphics Processing Unit), or have the same as shown in FIG. Different configurations.
  • GPU Graphics Processing Unit
  • the present specification also provides a picture transmission system, a server, a client, and a user equipment.
  • the system, the server, the client, and the user equipment may use software (application), modules, components, devices, and the like of the method described in the embodiments of the present specification in combination with necessary implementation hardware.
  • the system, server, client and user equipment provided by this specification are as described in the following embodiments.
  • the server, the client, and the user equipment in the embodiments of the present disclosure refer to the implementation of the foregoing method, and the repeated description is not repeated here.
  • the servers, clients, and user devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a schematic structural diagram of an embodiment of a picture transmission system provided by the present specification.
  • the picture transmission system 600 can include a server 602, a client 604, and a user equipment 606.
  • the server 602 can be configured to receive a request by the client 604 to transmit a picture by the user equipment 606.
  • the server 602 can be configured to send an entry information to the client 604 in response to the request.
  • the server 602 can be configured to receive a picture that the user equipment 606 transmits according to the portal information.
  • the request can include an identification of the client.
  • the request may also include the name of the picture to be uploaded.
  • the client 604 can be configured to issue a request to the server 602 to transfer a picture by the user device 606.
  • the client 604 is further configured to receive the portal information sent by the server 602 in response to the request, and provide the portal information to the user equipment 606, so that the user equipment 606 is sent to the server 602. Transfer pictures.
  • the user equipment 606 may be configured to acquire entry information provided by the client 604 for transmitting a picture, access the server 602 by using the entry information, and transmit a picture to the server 602.
  • the server 602 may further be configured to use the client identifier and the to-be-uploaded image according to the request before sending the portal information to the client 604 in response to the request.
  • the name verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server.
  • the server 602 is further configured to set a process state corresponding to the request for transmitting a picture.
  • the flow state can be used to indicate the completion progress of the request to transfer the picture.
  • the server 602 may be configured to set a process state corresponding to the request to an incomplete state when sending the portal information to the client 604 in response to the request.
  • the server 602 may also be used to change the process status corresponding to the request to the completed status.
  • the server 602 may also be configured to send a message of successful transmission to the user equipment 606 and/or the client 604.
  • FIG. 7 is a schematic structural diagram of a module of an embodiment of a server for picture transmission provided by the present specification.
  • the server 602 may include an entry information sending module 6021 and a picture receiving module 6022.
  • the portal information sending module 6021 may be configured to receive a request sent by the client 604 to transmit a picture by the user equipment 606, and send an entry information to the client 604 in response to the request.
  • the picture receiving module 6022 can be configured to receive a picture that is sent by the user equipment 606 according to the portal information.
  • the server may further include: a verification module 6023, configured to use the client identifier and the user according to the request before sending the portal information to the client 604 in response to the request
  • a verification module 6023 configured to use the client identifier and the user according to the request before sending the portal information to the client 604 in response to the request
  • the name of the image to be uploaded verifies the reasonableness of the request.
  • the server may further include: a process status module 6024, configured to set a process status corresponding to the request for transmitting a picture.
  • the process status module 6024 is further configured to: after the picture receiving module 6022 receives the picture transmitted by the user equipment 606, change the process state corresponding to the request to a completed status.
  • the server may further include: a completion message sending module 6025, configured to: after the picture receiving module 6022 receives the picture transmitted by the user equipment 606, to the user equipment 606 and/or the Client 604 sends a message that the transmission was successful.
  • a completion message sending module 6025 configured to: after the picture receiving module 6022 receives the picture transmitted by the user equipment 606, to the user equipment 606 and/or the Client 604 sends a message that the transmission was successful.
  • FIG. 8 is a schematic structural diagram of a module of an embodiment of a client for picture transmission provided by the present specification.
  • the client 604 may include a request sending module 6041, an ingress information receiving module 6042, and an ingress information providing module 6043.
  • the request sending module 6041 can be configured to send a request to the server 602 to transfer a picture by the user equipment 606.
  • the portal information receiving module 6042 can be configured to receive the portal information sent by the server 602 in response to the request.
  • the portal information providing module 6043 may be configured to provide the portal information to the user equipment 606, so that the user equipment 606 transmits a picture to the server 602.
  • FIG. 9 is a schematic structural diagram of a module of an embodiment of a user equipment for picture transmission provided by the present specification.
  • the user equipment 606 may include an entry information obtaining module 6061, an access module 6062, and a picture transmission module 6063.
  • the portal information obtaining module 6061 can be configured to obtain the portal information provided by the client 604 for transmitting a picture.
  • the access module 6062 can be configured to access the server 602 by using the portal information.
  • the picture transmission module 6063 can be configured to transmit a picture to the server 602.
  • the above picture transmission method or apparatus provided by the embodiments of the present specification may be implemented by a processor executing corresponding program instructions in a computer, such as using a C++ language of a Windows operating system on a PC side, or other programs such as using android and iOS programs. Language is implemented in intelligent terminals, as well as processing logic based on quantum computers.
  • the present specification further provides a server, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the server receives And sending, by the client, a request for transmitting a picture by the user equipment, in response to the request, the server sending an entry information to the client; the server receiving a picture that is transmitted by the user equipment according to the entry information.
  • executing the computer program instructions may further implement the step of: before the server sends the portal information to the client in response to the request, the server may be based on a client in the request The end identifier and the name of the picture to be uploaded verify the rationality of the request.
  • executing the computer program instructions may further implement the step of: the server setting a flow state corresponding to the request to transmit a picture.
  • executing the computer program instructions may further implement the following steps: after the server receives the transmitted picture, the server changes the process state corresponding to the request to a completed state.
  • the executing the computer program instructions may further implement the following steps: after the server receives the transmitted picture, the server sends a message of successful transmission to the user equipment and/or the client. .
  • Another aspect of the present specification also provides a client, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the client sends a message to the server a request by the user equipment to transmit a picture; the client receiving entry information sent by the server in response to the request; the client providing the entry information to the user equipment, so that the user equipment The server transfers the picture.
  • Another aspect of the present specification is also a user equipment, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the user equipment acquires a client providing The portal information for transmitting a picture; the user equipment accessing the server by using the portal information; the user equipment transmitting a picture to the server.
  • the embodiment of the picture transmission system, the server, the client, and the user equipment provided in this specification and the method embodiment in the present specification are based on the same innovative concept. Therefore, the picture transmission system, the server, and the client provided in this specification are provided.
  • the embodiment of the user equipment can implement the technical effects of the method embodiments in the specification.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically erasable programmable read only memory
  • flash memory or other memory technology
  • compact disk read only memory CD-ROM
  • DVD digital versatile disk
  • Magnetic cassette tape magnetic tape storage
  • graphene storage or other magnetic storage devices or any other non-transportable media
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present specification can be provided as a method, apparatus, or computer program product. Accordingly, the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the description provide an image transmission method and system, a server, a client, and a user equipment. The method comprises: a client sends, to a server, a request for transmitting an image by a user equipment; the server sends a piece of portal information to the client in response to the request; the client receives the portal information and provides the portal information to the user equipment; the user equipment accesses the server by means of the portal information provided by the client; the user equipment transmits an image to the server; the server receives the image transmitted by the user equipment.

Description

一种图片传输方法、***、服务器、客户端及用户设备Picture transmission method, system, server, client and user equipment 技术领域Technical field
本说明书实施例涉及信息传输技术领域,特别涉及一种图片传输方法、***、服务器、客户端及用户设备。The embodiments of the present disclosure relate to the field of information transmission technologies, and in particular, to a picture transmission method, system, server, client, and user equipment.
背景技术Background technique
在日常生活中,随着互联网技术的发展,预先存储用户的图片可以用于用户身份验证等。例如,一个商家可以为客户绑定用户ID和用户头像,当需要验证用户身份时,可以根据用户本人与绑定存储的用户照片进行对比来验证用户身份。In daily life, with the development of Internet technology, pre-stored users' pictures can be used for user authentication and the like. For example, a merchant can bind a user ID and a user avatar to a client. When the user identity needs to be verified, the user identity can be verified according to the user's own photo comparison with the stored user.
在绑定用户ID和用户头像阶段,由于需要上传用户图片,则需要拍摄图片,因此,上传用户图片的设备必须配备摄像装置。对于大部分PC机,由于设备本身通常不配备摄像装置,则需要额外配备摄像头等装置。若未配备摄像装置,则需要利用拍摄设备,例如相机、手机等,拍摄图片,再将拍摄的图片传输至PC机,PC机再进行图片上传至服务器的操作。操作繁琐不便捷,因此,需要提供更有效的PC机传输图片的方案。In the stage of binding the user ID and the user avatar, since the user picture needs to be uploaded, the picture needs to be taken. Therefore, the device for uploading the user picture must be equipped with a camera device. For most PCs, since the device itself is usually not equipped with a camera, an additional camera or the like is required. If the camera device is not equipped, you need to take a picture with a shooting device, such as a camera or a mobile phone, and then transfer the captured picture to a PC, and then upload the picture to the server. The operation is cumbersome and inconvenient, so it is necessary to provide a more efficient solution for transferring pictures through a PC.
发明内容Summary of the invention
本说明书实施例的目的是提供一种图片传输方法、***、服务器、客户端及用户设备,可以提高PC机传输图片的便捷性。The purpose of the embodiments of the present specification is to provide a picture transmission method, system, server, client, and user equipment, which can improve the convenience of transmitting pictures by a PC.
本说明书实施例是这样实现的:Embodiments of the present specification are implemented as follows:
一种图片传输方法,包括:A picture transmission method includes:
服务器接收客户端发出的由用户设备传输图片的请求,响应于所述请求所述服务器向所述客户端发送一入口信息;所述入口信息用于所述用户设备连接所述服务器;Receiving, by the server, a request for transmitting a picture by the user equipment, in response to the request, the server sending an entry information to the client; the entry information is used by the user equipment to connect to the server;
所述服务器接收所述用户设备根据所述入口信息传输的图片。The server receives a picture that is transmitted by the user equipment according to the portal information.
一种图片传输方法,包括:A picture transmission method includes:
客户端向服务器发出由用户设备传输图片的请求;The client sends a request to the server to transfer the picture by the user equipment;
所述客户端接收所述服务器发出的响应于所述请求的入口信息;所述入口信息用于所述用户设备连接所述服务器;The client receives the portal information sent by the server in response to the request; the portal information is used by the user equipment to connect to the server;
所述客户端向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。The client provides the portal information to the user equipment, so that the user equipment transmits a picture to the server.
一种图片传输方法,包括:A picture transmission method includes:
用户设备获取客户端提供的用于传输图片的入口信息;所述入口信息由服务器发送给所述客户端;所述入口信息是所述服务器响应于客户端发出的请求所述用户设备传输图片的请求生成的;The user equipment acquires the portal information provided by the client for transmitting the picture; the portal information is sent by the server to the client; the portal information is that the server transmits the picture by the user equipment in response to the request sent by the client Request generated
所述用户设备利用所述入口信息接入服务器;The user equipment accesses the server by using the portal information;
所述用户设备向所述服务器传输图片。The user equipment transmits a picture to the server.
一种图片传输的***,包括:服务器、客户端和用户设备;其中,A system for image transmission, comprising: a server, a client, and a user device; wherein
所述服务器,用于接收所述客户端发出的由所述用户设备传输图片的请求;所述服务器响应于所述请求向所述客户端发送一入口信息;所述服务器用于接收所述用户设备根据所述入口信息传输的图片;The server is configured to receive a request by the client to transmit a picture by the user equipment; the server sends an entry information to the client in response to the request; the server is configured to receive the user a picture transmitted by the device according to the portal information;
所述客户端,用于向所述服务器发出由所述用户设备传输图片的请求,接收所述服务器发出的响应于所述请求的入口信息,并向所述用户设备提供所述入口信息;The client is configured to send a request for transmitting a picture by the user equipment to the server, receive entry information sent by the server in response to the request, and provide the entry information to the user equipment;
所述用户设备,用于获取客户端提供的用于传输图片的入口信息,利用所述入口信息接入所述服务器,并向所述服务器传输图片。The user equipment is configured to acquire portal information provided by the client for transmitting a picture, access the server by using the portal information, and transmit a picture to the server.
一种服务器,包括:入口信息发送模块和图片接收模块;其中,A server includes: an portal information sending module and a picture receiving module; wherein
所述入口信息发送模块,用于接收客户端发出的由用户设备传输图片的请求,响应于所述请求向所述客户端发送一入口信息;The portal information sending module is configured to receive a request sent by the client to transmit a picture by the user equipment, and send an entry information to the client in response to the request;
所述图片接收模块,用于接收所述用户设备根据所述入口信息传输的图片。The picture receiving module is configured to receive a picture that is transmitted by the user equipment according to the portal information.
一种客户端,包括:请求发送模块、入口信息接收模块和入口信息提供模块;其中,A client includes: a request sending module, an entry information receiving module, and an entry information providing module; wherein
所述请求发送模块,用于向服务器发出由用户设备传输图片的请求;The request sending module is configured to send a request for transmitting a picture by the user equipment to the server;
所述入口信息接收模块,用于接收所述服务器发出的响应于所述请求的入口信息;The portal information receiving module is configured to receive entry information sent by the server in response to the request;
所述入口信息提供模块,用于向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。The portal information providing module is configured to provide the portal information to the user equipment, so that the user equipment transmits a picture to the server.
一种用户设备,包括:入口信息获取模块、接入模块和图片传输模块;A user equipment, comprising: an entry information acquisition module, an access module, and a picture transmission module;
所述入口信息获取模块,用于获取客户端提供的用于传输图片的入口信息;The portal information obtaining module is configured to obtain entry information provided by the client for transmitting a picture;
所述接入模块,用于利用所述入口信息接入服务器;The access module is configured to access the server by using the portal information;
所述图片传输模块,用于向所述服务器传输图片。The picture transmission module is configured to transmit a picture to the server.
由以上可见,本说明书一个或多个实施例,通过客户端向服务器发送由用户设备传输图片的请求后,客户端返回一响应于所述请求的入口信息,客户端可以将该入口信息提供给用户设备,以便用户设备根据该入口信息接入服务器,并向服务器传输图片。由于图片直接由用户设备传输至服务器,传输操作便捷。同时,用户设备的图片最多只需要进行以此处理即可传输至服务器,提供了传输图片的效率。另一方面,用户设备直接向服务器传输图片,可以保证用户图片存储于用户设备中,降低了用户由于图片存储于客户端造成的不安全感,提高了用户体验。It can be seen from the above that, in one or more embodiments of the present specification, after the client sends a request for transmitting a picture by the user equipment to the server, the client returns an entry information responsive to the request, and the client may provide the portal information to the portal information. The user equipment, so that the user equipment accesses the server according to the portal information, and transmits the picture to the server. Since the picture is directly transmitted from the user equipment to the server, the transmission operation is convenient. At the same time, the picture of the user equipment can be transmitted to the server at most, and the efficiency of transmitting pictures is provided. On the other hand, the user equipment directly transmits the picture to the server, which can ensure that the user picture is stored in the user equipment, which reduces the insecurity caused by the user being stored in the client, and improves the user experience.
附图说明DRAWINGS
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, in the following description The drawings are merely some of the embodiments described in the specification, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图1是本说明书提供的图片传输方法的一种实施例的流程示意图;1 is a schematic flow chart of an embodiment of a picture transmission method provided by the present specification;
图2是本说明书提供的服务器一侧的图片传输方法一个实施例的流程图;2 is a flow chart of an embodiment of a picture transmission method on the server side provided by the present specification;
图3是本说明书提供的客户端一侧的图片传输方法一个实施例的流程图;3 is a flow chart of an embodiment of a picture transmission method on the client side provided by the present specification;
图4是本说明书提供的用户设备一侧的图片传输方法一个实施例的流程图;4 is a flowchart of an embodiment of a picture transmission method on a user equipment side provided by the present specification;
图5是本说明书实施例中一种服务器的硬件结构框图;5 is a block diagram showing the hardware structure of a server in the embodiment of the present specification;
图6是本说明书提供的图片传输***一个实施例的结构示意图;6 is a schematic structural diagram of an embodiment of a picture transmission system provided by the present specification;
图7是本说明书提供的用于图片传输的服务器一个实施例的模块结构示意图;7 is a schematic structural diagram of a module of an embodiment of a server for picture transmission provided by the present specification;
图8是本说明书提供的用于图片传输的客户端一个实施例的模块结构示意图;FIG. 8 is a schematic structural diagram of a module of an embodiment of a client for picture transmission provided by the present specification; FIG.
图9是本说明书提供的用于图片传输的用户设备一个实施例的模块结构示意图。FIG. 9 is a schematic structural diagram of a module of an embodiment of a user equipment for picture transmission provided by the present specification.
具体实施方式detailed description
本说明书实施例提供一种图片传输方法、***、服务器、客户端及用户设备。The embodiment of the present specification provides a picture transmission method, system, server, client, and user equipment.
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书保护的范围。In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the specification. The embodiments are only a part of the embodiments of the specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present specification without departing from the inventive scope should fall within the scope of the present disclosure.
在日常生活中,常常会遇到需要在PC端上传图像的情形,例如用户注册为商家的会员时需要上传用户的照片、或者用户访问某一网页时需要上传身份证照片、或者用户提交的资料中包括某一证件的图片。此时若PC机没有配备用于拍摄图片的拍摄装置,用户需要利用另外的拍摄设备先拍摄图片,再将拍摄的图片利用传输工具传输至PC机,PC机再将拍摄设备发来的图片上传至服务器。In daily life, you often encounter situations where you need to upload images on the PC. For example, when a user registers as a member of a merchant, they need to upload a photo of the user, or when the user visits a webpage, they need to upload an ID photo or a user-submitted data. Includes a picture of a document. At this time, if the PC is not equipped with a shooting device for taking pictures, the user needs to take a picture with another shooting device, and then transfer the captured picture to the PC using the transmission tool, and then the PC uploads the picture sent by the shooting device. To the server.
由于拍摄的图片需要从拍摄设备先传输至PC机,再由PC机进行上传,操作较为繁琐。拍摄的图片中上传至服务器之前需要同时被存储中拍摄设备和PC机中,将造成存储资源的浪费。并且,在拍摄设备传输至PC机的过程中,存储设备和可能由于拍摄图片数据量较大、网络等原因需要对拍摄的图片预先进行处理,预先处理后的图片在上传至服务器的过程中为符合服务器存储照片的要求可能需要再次经过处理,不仅浪费计算机资源,也降低了图片传输的效率。另一方面,若PC机为公用设备,可能由于用户不愿意将自己的个人图片存储在公共设备导致用户体检差。基于此,本说明书实施例中可以为用户提供用于上传图片的入口,用户可以利用自己的电子设备接入上传图片的入口,直接将拍摄图片上传至服务器,以提高用户传输图片的效率和用户体验。Since the captured picture needs to be transmitted from the shooting device to the PC first, and then uploaded by the PC, the operation is cumbersome. The captured pictures need to be stored in both the shooting device and the PC before being uploaded to the server, which will cause waste of storage resources. Moreover, in the process of transmitting the photographing device to the PC, the storage device and the photographed image may be processed in advance due to the large amount of data to be taken, the network, etc., and the pre-processed image is uploaded to the server. Meeting the requirements of the server to store photos may need to be processed again, not only wasting computer resources, but also reducing the efficiency of image transmission. On the other hand, if the PC is a public device, the user may be poorly checked due to the user's unwillingness to store his or her personal picture on the public device. Based on this, in the embodiment of the present specification, the user may be provided with an entry for uploading a picture, and the user may use his own electronic device to access the entrance of the uploaded picture, and directly upload the captured picture to the server, so as to improve the efficiency and user of the user to transfer the picture. Experience.
以下介绍本说明书图片传输方法的一种具体实施例。图1是本说明书提供的图片传输方法的一种实施例的流程示意图,本说明书提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的***或客户端产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。具体的如图1所示,所述方法可以包括以下步骤。A specific embodiment of the picture transmission method of this specification will be described below. 1 is a schematic flow chart of an embodiment of a picture transmission method provided by the present specification. The present specification provides method operation steps as described in the embodiment or the flowchart, but may include more or more based on conventional or non-creative labor. Less steps. The order of the steps recited in the embodiments is only one of the many steps of the order of execution, and does not represent a single order of execution. When the actual system or client product is executed, it may be executed sequentially or in parallel according to the method shown in the embodiment or the drawings (for example, a parallel processor or a multi-threaded environment). Specifically, as shown in FIG. 1, the method may include the following steps.
S102:客户端向服务器发出由用户设备传输图片的请求。S102: The client sends a request for transmitting a picture by the user equipment to the server.
在一个实施方式中,所述客户端可以是没有拍摄装置的设备。例如,可以时没有配备拍摄装置的PC机、智能终端设备等。In one embodiment, the client may be a device without a camera. For example, a PC, a smart terminal device, or the like equipped with a photographing device may be omitted.
当所述客户端需要向服务器上传用户的图片时,可以向所述服务器发出由用户设备传输图片的请求。所述用户设备可以是用户获取图片的设备,具体地可以是配备了摄像装置或者存储了用户图片的设备。例如,所述用户设备可以是用户的手机、平板电脑等。When the client needs to upload a picture of the user to the server, a request for transmitting the picture by the user equipment may be sent to the server. The user equipment may be a device for acquiring a picture by a user, and may specifically be a device equipped with an imaging device or a user picture. For example, the user device can be a user's mobile phone, tablet, or the like.
在一个实施方式中,所述请求可以包括所述客户端的标识。In one embodiment, the request may include an identification of the client.
在一个实施方式中,所述请求还可以包括待上传的图片的名称。In one embodiment, the request may also include the name of the picture to be uploaded.
例如,一商家***中需要用户身份证照片时,标识为“001“的商家客户端可以向商家服务器发送由用户手机传输图片的请求,该请求中可以包括商家客户端标识“001”和待上传的图片的名称“身份证照片”。For example, when a user ID photo is required in a merchant system, the merchant client identified as “001” may send a request for transmitting a picture by the user's mobile phone to the merchant server, and the request may include the merchant client identifier “001” and to be uploaded. The name of the picture "ID card photo".
S104:所述服务器响应于所述请求向所述客户端发送一入口信息。S104: The server sends an entry information to the client in response to the request.
在一个实施方式中,所述服务器可以响应于所述请求向所述客户端发送一入口信息。所述入口信息可以用于所述用户设备连接所述服务器。所述入口信息可以包括所述服务器存储图片的地址。In one embodiment, the server may send an entry message to the client in response to the request. The portal information may be used by the user equipment to connect to the server. The portal information may include an address at which the server stores a picture.
在一个实施方式中,所述入口信息可以包括一条码图片。所述条码图片可以是二维码图片。所述条码图片可以对应一URL。所述条码图片经解码后可以获取该URL。通过该URL可以连接所述服务器。In one embodiment, the portal information may comprise a code picture. The barcode picture may be a two-dimensional code picture. The barcode image may correspond to a URL. The barcode image can be decoded to obtain the URL. The server can be connected through the URL.
在一个实施方式中,在所述服务器响应于所述请求向所述客户端发送入口信息前,所述方法还可以包括:所述服务器可以根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。具体地,可以验证所述客户端标识和所述待上传的图片的名称是否与所述服务器关联,若关联,则所述请求合理。例如,可以验证所述服务器中是否存储有所述客户端的客户端标识,以及该客户端是否具有上传所述名称的图片的权限。In an embodiment, before the server sends the portal information to the client in response to the request, the method may further include: the server may use the client identifier and the to-be-served according to the request The name of the uploaded image verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server, and if the association is performed, the request is reasonable. For example, it may be verified whether the client identifier of the client is stored in the server, and whether the client has the right to upload a picture of the name.
在另一个实施方式中,所述方法还可以包括:所述服务器设置与所述传输图片的请求对应的流程状态。所述流程状态可以用于表示所述传输图片的请求的完成进度。具体地,在响应于所述请求向所述客户端发送入口信息时,可以设置与所述请求对应的流程状态为未完成状态。例如,假设“0”表示未完成状态,“1”表示已完成状态,那么标识为“001“的商家客户端向商家服务器发送由用户手机传输图片的请求后,所述服务器中向所述客户端发送入口信息时,所述服务器可以设置与所述请求对应的流程状态为表示未完成状态的“0”。In another embodiment, the method may further include: the server setting a process state corresponding to the request for transmitting a picture. The flow state can be used to indicate the completion progress of the request to transfer the picture. Specifically, when the portal information is sent to the client in response to the request, the process state corresponding to the request may be set to an incomplete state. For example, suppose "0" indicates an incomplete state, and "1" indicates a completed state. Then, when the merchant client identified as "001" sends a request for transmitting a picture by the user's mobile phone to the merchant server, the server goes to the client. When the terminal sends the portal information, the server may set the process state corresponding to the request to “0” indicating the incomplete state.
S106:所述客户端接收所述入口信息,并向所述用户设备提供所述入口信息。S106: The client receives the portal information, and provides the portal information to the user equipment.
所述客户端可以接收所述入口信息。The client can receive the portal information.
所述客户端还可以向所述用户设备提供所述入口信息。具体地,所述客户端可以将所述入口信息以发送消息的方式发送给所述用户设备或所述客户端可以向所述用户设备展示所述入口信息。The client may also provide the portal information to the user equipment. Specifically, the client may send the portal information to the user equipment in a manner of sending a message, or the client may display the portal information to the user equipment.
例如,当所述入口信息为一条码图片时,所述客户端可以将该条码图片以消息的方式发送给所述用户设备;或者,所述客户端可以将该条码图片利用显示器进行展示,以便所述用户设备可以获取该条码图片。For example, when the entry information is a code picture, the client may send the barcode picture to the user equipment as a message; or the client may display the barcode picture by using a display, so that The user equipment can acquire the barcode picture.
S108:所述用户设备利用所述客户端提供的入口信息接入所述服务器。S108: The user equipment accesses the server by using the portal information provided by the client.
所述用户设备可以利用所述客户端提供的入口信息接入所述服务器。The user equipment may access the server by using the portal information provided by the client.
具体地,当所述入口信息为条码图片时,所述用户设备可以通过获取该条码图片接入所述服务器。Specifically, when the portal information is a barcode image, the user equipment may access the server by acquiring the barcode image.
在一个实施方式中,若所述客户端利用显示器向所述用户设备展示所述入口信息,那么所述用户设备可以通过扫描所述客户端展示在显示器上的条码图片接入所述服务器。In one embodiment, if the client presents the portal information to the user equipment using a display, the user equipment can access the server by scanning a barcode picture displayed by the client on the display.
在另一个实施方式中,若所述客户端将所述入口信息以发送消息的方式发送给所述用户设备,那么,所述用户设备可以通过接收到的消息中的条码图片接入所述服务器。In another embodiment, if the client sends the portal information to the user equipment by sending a message, the user equipment may access the server by using a barcode picture in the received message. .
S110:所述用户设备向所述服务器传输图片。S110: The user equipment transmits a picture to the server.
所述用户设备接入所述服务器后,可以向所述服务器传输图片。所述传输的图片可以与所述待上传的图片的名称对应。After the user equipment accesses the server, the user equipment may transmit a picture to the server. The transmitted picture may correspond to a name of the picture to be uploaded.
例如,待上传的图片的名称为“身份证照片”,那么,用户A的设备接入所述服务器后可以向所述服务器传输图片,即用户A的身份证照片。For example, if the name of the picture to be uploaded is “ID card photo”, then the device of user A can transmit a picture to the server after accessing the server, that is, the ID picture of user A.
所述传输的图片可以为即时拍摄的图片,也可以为所述用户设备中存储的图片。The transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
S112:所述服务器接收所述用户设备传输的图片。S112: The server receives a picture transmitted by the user equipment.
所述服务器可以接收所述用户设备传输的图片。The server may receive a picture transmitted by the user equipment.
进一步地,在另一个实施方式中,所述服务器接收所述传输的图片后,所述方法还可以包括:所述服务器更改所述请求对应的流程状态为已完成状态。Further, in another embodiment, after the server receives the transmitted picture, the method may further include: the server changing a process state corresponding to the request to a completed state.
例如,假设“0”表示未完成状态,“1”表示已完成状态,那么标识为“001“的商 家客户端向商家服务器发送由用户手机传输图片的请求后,所述服务器中向所述客户端发送入口信息时,所述服务器可以设置与所述请求对应的流程状态为表示未完成状态的“0”。当用户通过所述入口信息接入所述服务器并向所述服务器完成图片的传输后,所述服务器可以将该请求对应的流程状态更改为表示已完成状态的“1”。For example, suppose "0" indicates an incomplete state, and "1" indicates a completed state. Then, when the merchant client identified as "001" sends a request for transmitting a picture by the user's mobile phone to the merchant server, the server goes to the client. When the terminal sends the portal information, the server may set the process state corresponding to the request to “0” indicating the incomplete state. After the user accesses the server through the portal information and completes the transmission of the image to the server, the server may change the process state corresponding to the request to "1" indicating the completed state.
进一步地,在另一个实施方式中,所述服务器接收所述传输的图片后,所述方法还可以包括:所述服务器向所述用户设备和/或所述客户端发送传输成功的消息。Further, in another embodiment, after the server receives the transmitted picture, the method may further include: the server sending a message that the transmission is successful to the user equipment and/or the client.
本说明书还提供服务器一侧的图片传输方法的实施例。图2是本说明书提供的服务器一侧的图片传输方法一个实施例的流程图。参照图2,所述方法可以包括以下步骤。The present specification also provides an embodiment of a picture transmission method on the server side. 2 is a flow chart of an embodiment of a picture transmission method on the server side provided by the present specification. Referring to Figure 2, the method can include the following steps.
S202:所述服务器接收客户端发出的由用户设备传输图片的请求,响应于所述请求所述服务器向所述客户端发送一入口信息。S202: The server receives a request sent by a client to transmit a picture by a user equipment, and in response to the request, the server sends an entry information to the client.
所述请求可以包括所述客户端的标识。所述请求还可以包括待上传的图片的名称。The request can include an identification of the client. The request may also include the name of the picture to be uploaded.
所述服务器可以响应于所述请求向所述客户端发送一入口信息。所述入口信息可以用于所述用户设备连接所述服务器。所述入口信息可以包括所述服务器存储图片的地址。The server may send an entry message to the client in response to the request. The portal information may be used by the user equipment to connect to the server. The portal information may include an address at which the server stores a picture.
在一个实施方式中,所述入口信息可以包括一条码图片。所述条码图片可以是二维码图片。In one embodiment, the portal information may comprise a code picture. The barcode picture may be a two-dimensional code picture.
在一个实施方式中,在所述服务器响应于所述请求向所述客户端发送入口信息前,所述方法还可以包括:所述服务器可以根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。具体地,可以验证所述客户端标识和所述待上传的图片的名称是否与所述服务器关联,若关联,则所述请求合理。In an embodiment, before the server sends the portal information to the client in response to the request, the method may further include: the server may use the client identifier and the to-be-served according to the request The name of the uploaded image verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server, and if the association is performed, the request is reasonable.
在另一个实施方式中,所述方法还可以包括:所述服务器设置与所述传输图片的请求对应的流程状态。所述流程状态可以用于表示所述传输图片的请求的完成进度。具体地,在响应于所述请求向所述客户端发送入口信息时,可以设置与所述请求对应的流程状态为未完成状态。In another embodiment, the method may further include: the server setting a process state corresponding to the request for transmitting a picture. The flow state can be used to indicate the completion progress of the request to transfer the picture. Specifically, when the portal information is sent to the client in response to the request, the process state corresponding to the request may be set to an incomplete state.
S204:所述服务器接收所述用户设备根据所述入口信息传输的图片。S204: The server receives a picture that is transmitted by the user equipment according to the portal information.
所述服务器可以接收所述用户设备根据所述入口信息传输的图片。所述传输的图片可以为即时拍摄的图片,也可以为所述用户设备中存储的图片。The server may receive a picture that is transmitted by the user equipment according to the portal information. The transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
在另一个实施方式中,所述服务器接收所述传输的图片后,所述方法还可以包括:所述服务器更改所述请求对应的流程状态为已完成状态。In another embodiment, after the server receives the transmitted picture, the method may further include: the server changing a process state corresponding to the request to a completed state.
在另一个实施方式中,所述服务器接收所述传输的图片后,所述方法还可以包括:所述服务器向所述用户设备和/或所述客户端发送传输成功的消息。In another embodiment, after the server receives the transmitted picture, the method may further include: the server sending a message that the transmission is successful to the user equipment and/or the client.
本说明书还提供客户端一侧的图片传输方法的实施例。图3是本说明书提供的客户端一侧的图片传输方法一个实施例的流程图。参照图3,所述方法可以包括以下步骤。The present specification also provides an embodiment of a picture transmission method on the client side. FIG. 3 is a flowchart of an embodiment of a picture transmission method on the client side provided by the present specification. Referring to Figure 3, the method can include the following steps.
S302:客户端向服务器发出由用户设备传输图片的请求。S302: The client sends a request for transmitting a picture by the user equipment to the server.
所述客户端可以向说是服务器发出由用户设备传输图片的请求。The client may issue a request to the server to transmit a picture by the user equipment.
所述客户端可以是没有拍摄装置的设备。例如,可以是没有配备拍摄装置的PC机、智能终端设备等。The client may be a device without a camera. For example, it may be a PC, a smart terminal device, or the like that is not equipped with a photographing device.
所述用户设备可以是用户获取图片的设备,具体地可以是配备了摄像装置或者存储了用户图片的设备。The user equipment may be a device for acquiring a picture by a user, and may specifically be a device equipped with an imaging device or a user picture.
所述请求可以包括所述客户端的标识。所述请求还可以包括待上传的图片的名称。The request can include an identification of the client. The request may also include the name of the picture to be uploaded.
S304:所述客户端接收所述服务器发出的响应于所述请求的入口信息。S304: The client receives the portal information sent by the server in response to the request.
所述客户端可以接收所述服务器响应于所述请求的入口信息。The client may receive portal information of the server in response to the request.
所述入口信息可以用于所述用户设备连接所述服务器。所述入口信息可以包括所述服务器存储图片的地址。The portal information may be used by the user equipment to connect to the server. The portal information may include an address at which the server stores a picture.
在一个实施方式中,所述入口信息可以是一条码图片。所述条码图片可以是二维码图片。In one embodiment, the portal information may be a code picture. The barcode picture may be a two-dimensional code picture.
S306:所述客户端向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。S306: The client provides the portal information to the user equipment, so that the user equipment transmits a picture to the server.
所述客户端可以向所述用户设备提供所述入口信息。具体地,所述客户端可以将所述入口信息以发送消息的方式发送给所述用户设备或所述客户端可以向所述用户设备展示所述入口信息。The client may provide the portal information to the user equipment. Specifically, the client may send the portal information to the user equipment in a manner of sending a message, or the client may display the portal information to the user equipment.
通过向所述用户设备提供所述入口信息,可以便于所述用户设备向所述服务器传输图片。具体地,所述用户设备可以根据所述入口信息连接所述服务器,并向所述服务器传输图片。The user equipment can be conveniently transmitted to the server by providing the portal information to the user equipment. Specifically, the user equipment may connect to the server according to the portal information, and transmit a picture to the server.
本说明书还提供用户设备一侧的图片传输方法的实施例。图4是本说明书提供的用户设备一侧的图片传输方法一个实施例的流程图。参照图4,所述方法可以包括以 下步骤。The present specification also provides an embodiment of a picture transmission method on the side of the user equipment. FIG. 4 is a flowchart of an embodiment of a picture transmission method on the user equipment side provided by the present specification. Referring to Figure 4, the method can include the following steps.
S402:用户设备获取客户端提供的用于传输图片的入口信息。S402: The user equipment acquires the portal information provided by the client for transmitting the picture.
用户设备可以获取客户端提供的用于传输图片的入口信息。The user equipment can obtain the portal information provided by the client for transmitting pictures.
所述入口信息可以由客户端提供给所述用户设备。所述入口信息可以是服务器发送给所述客户端的。所述入口信息可以是所述服务器响应于客户端发出的请求所述用户设备传输图片的请求生成的。所述入口信息可以为一条码图片。The portal information may be provided by the client to the user equipment. The portal information may be sent by the server to the client. The portal information may be generated by the server in response to a request by the client to request the user equipment to transmit a picture. The entry information may be a code picture.
在一个实施方式中,若所述客户端利用显示器向所述用户设备展示所述入口信息,那么所述用户设备获取客户端提供的用于传输图片的入口信息可以包括:所述用户设备可以扫描所述客户端展示在显示器上的条码图片。In an embodiment, if the client displays the portal information to the user equipment by using a display, the acquiring, by the user equipment, the portal information provided by the client for transmitting a picture may include: the user equipment may scan The client displays a bar code picture on the display.
在另一个实施方式中,若所述客户端将所述入口信息以发送消息的方式发送给所述用户设备,那么所述用户设备获取客户端提供的用于传输图片的入口信息可以包括:所述用户设备可以获取接收到的消息中的条码图片。In another embodiment, if the client sends the portal information to the user equipment by sending a message, the user equipment acquiring the portal information provided by the client for transmitting a picture may include: The user equipment can obtain a bar code picture in the received message.
S404:所述用户设备利用所述入口信息接入服务器。S404: The user equipment accesses the server by using the portal information.
所述用户设备可以利用所述入口信息接入所述服务器。The user equipment may access the server by using the portal information.
S406:所述用户设备向所述服务器传输图片。S406: The user equipment transmits a picture to the server.
所述用户设备接入所述服务器后,可以向所述服务器传输图片。所述传输的图片可以与所述待上传的图片的名称对应。After the user equipment accesses the server, the user equipment may transmit a picture to the server. The transmitted picture may correspond to a name of the picture to be uploaded.
所述传输的图片可以为即时拍摄的图片,也可以为所述用户设备中存储的图片。The transmitted picture may be a picture taken in real time, or may be a picture stored in the user equipment.
上述实施例提供的传输图片的方法,通过客户端向服务器发送由用户设备传输图片的请求后,客户端返回一响应于所述请求的入口信息,客户端可以将该入口信息提供给用户设备,以便用户设备根据该入口信息接入服务器,并向服务器传输图片。由于图片直接由用户设备传输至服务器,传输操作便捷。同时,用户设备的图片最多只需要进行以此处理即可传输至服务器,提供了传输图片的效率。另一方面,用户设备直接向服务器传输图片,可以保证用户图片存储于用户设备中,降低了用户由于图片存储于客户端造成的不安全感,提高了用户体验。The method for transmitting a picture provided by the foregoing embodiment, after the client sends a request for transmitting a picture by the user equipment to the server, the client returns an entry information responsive to the request, and the client may provide the entry information to the user equipment. The user equipment accesses the server according to the portal information and transmits the picture to the server. Since the picture is directly transmitted from the user equipment to the server, the transmission operation is convenient. At the same time, the picture of the user equipment can be transmitted to the server at most, and the efficiency of transmitting pictures is provided. On the other hand, the user equipment directly transmits the picture to the server, which can ensure that the user picture is stored in the user equipment, which reduces the insecurity caused by the user being stored in the client, and improves the user experience.
本申请实施例所提供的方法实施例可以在移动终端、计算机终端、服务器或者类似的运算装置中执行。以运行在服务器上为例,图5是本说明书实施例中一种服务器的硬件结构框图。如图5所示,所述服务器可以包括一个或多个(图中仅示出一个)处 理器102、用于存储数据的存储器104以及用于通信功能的传输模块106。The method embodiments provided by the embodiments of the present application may be implemented in a mobile terminal, a computer terminal, a server, or the like. Taking the operation on the server as an example, FIG. 5 is a block diagram showing the hardware structure of a server in the embodiment of the present specification. As shown in FIG. 5, the server may include one or more (only one shown in the figure) processor 102, a memory 104 for storing data, and a transmission module 106 for communication functions.
所述处理器102可以包括中央处理器(CPU)或图形处理器(GPU),当然也可以包括其他的具有逻辑处理能力的单片机、逻辑门电路、集成电路等,或其适当组合。The processor 102 may include a central processing unit (CPU) or a graphics processing unit (GPU), and may of course include other microcontrollers, logic gates, integrated circuits, etc. having logic processing capabilities, or a suitable combination thereof.
所述存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的搜索方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述实施例中的文档处理的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述服务器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。实现的时候,该存储器也可以采用云存储器的方式实现,具体实现方式,本说明书不作出限定。The memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the search method in the embodiment of the present invention, and the processor 102 executes each by running a software program and a module stored in the memory 104. A functional application and data processing, that is, a method of implementing document processing in the above embodiments. Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 104 can further include memory remotely located relative to processor 102, which can be connected to the server over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. When implemented, the memory may also be implemented by using a cloud memory. The specific implementation manner is not limited in this specification.
所述传输模块106可以用于经由一个网络接收或者发送数据。上述的网络具体实例可包括所述页面显示设备的通信供应商提供的无线网络。在一个实例中,传输模块106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输模块106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The transmission module 106 can be configured to receive or transmit data via a network. The network specific example described above may include a wireless network provided by a communication provider of the page display device. In one example, the transport module 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission module 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
本领域普通技术人员可以理解,图5所示的结构仅为示意,其并不对上述服务器的结构造成限定。例如,所述服务器还可包括比图5中所示更多或者更少的组件,例如还可以包括其他的处理硬件,如GPU(Graphics Processing Unit,图像处理器),或者具有与图5所示不同的配置。It will be understood by those skilled in the art that the structure shown in FIG. 5 is merely illustrative, and does not limit the structure of the above server. For example, the server may further include more or less components than those shown in FIG. 5, for example, may also include other processing hardware, such as a GPU (Graphics Processing Unit), or have the same as shown in FIG. Different configurations.
基于上述所述的文档处理方法,本说明书还提供一种图片传输***、服务器、客户端及用户设备。所述的***、服务器、客户端及用户设备可以使用了本说明书实施例所述方法的软件(应用)、模块、组件、设备等并结合必要的实施硬件。基于同一创新构思,本说明书提供的***、服务器、客户端及用户设备如下面的实施例所述。由于和方法解决问题的实现方案与方法相似,因此本说明书实施例具体的***、服务器、客户端及用户设备的实施可以参见前述方法的实施,重复之处不再赘述。尽管以下实施例所描述的、服务器、客户端及用户设备较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。Based on the document processing method described above, the present specification also provides a picture transmission system, a server, a client, and a user equipment. The system, the server, the client, and the user equipment may use software (application), modules, components, devices, and the like of the method described in the embodiments of the present specification in combination with necessary implementation hardware. Based on the same innovative concept, the system, server, client and user equipment provided by this specification are as described in the following embodiments. For the implementation of the specific system, the server, the client, and the user equipment in the embodiments of the present disclosure, refer to the implementation of the foregoing method, and the repeated description is not repeated here. Although the servers, clients, and user devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是本说明书提供的图片传输***一个实施例的结构示意图。如图6所示,所述图片传输***600可以包括:服务器602、客户端604和用户设备606。FIG. 6 is a schematic structural diagram of an embodiment of a picture transmission system provided by the present specification. As shown in FIG. 6, the picture transmission system 600 can include a server 602, a client 604, and a user equipment 606.
所述服务器602可以用于接收所述客户端604发出的由所述用户设备606传输图片的请求。所述服务器602可以用于响应于所述请求向所述客户端604发送一入口信息。所述服务器602可以用于接收所述用户设备606根据所述入口信息传输的图片。所述请求可以包括所述客户端的标识。所述请求还可以包括待上传的图片的名称。The server 602 can be configured to receive a request by the client 604 to transmit a picture by the user equipment 606. The server 602 can be configured to send an entry information to the client 604 in response to the request. The server 602 can be configured to receive a picture that the user equipment 606 transmits according to the portal information. The request can include an identification of the client. The request may also include the name of the picture to be uploaded.
所述客户端604可以用于向所述服务器602发出由所述用户设备606传输图片的请求。所述客户端604还可以用于接收所述服务器602发出的响应于所述请求的入口信息,并向所述用户设备606提供所述入口信息,以便于所述用户设备606向所述服务器602传输图片。The client 604 can be configured to issue a request to the server 602 to transfer a picture by the user device 606. The client 604 is further configured to receive the portal information sent by the server 602 in response to the request, and provide the portal information to the user equipment 606, so that the user equipment 606 is sent to the server 602. Transfer pictures.
所述用户设备606可以用于获取客户端604提供的用于传输图片的入口信息,利用所述入口信息接入所述服务器602,并向所述服务器602传输图片。The user equipment 606 may be configured to acquire entry information provided by the client 604 for transmitting a picture, access the server 602 by using the entry information, and transmit a picture to the server 602.
在另一个实施方式中,所述服务器602在响应于所述请求向所述客户端604发送入口信息前,还可以用于根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。具体地,可以验证所述客户端标识和所述待上传的图片的名称是否与所述服务器关联。In another embodiment, the server 602 may further be configured to use the client identifier and the to-be-uploaded image according to the request before sending the portal information to the client 604 in response to the request. The name verifies the reasonableness of the request. Specifically, it may be verified whether the client identifier and the name of the picture to be uploaded are associated with the server.
在另一个实施方式中,所述服务器602还可以用于设置与所述传输图片的请求对应的流程状态。所述流程状态可以用于表示所述传输图片的请求的完成进度。具体地,所述服务器602可以用于在响应于所述请求向所述客户端604发送入口信息时,设置与所述请求对应的流程状态为未完成状态。In another embodiment, the server 602 is further configured to set a process state corresponding to the request for transmitting a picture. The flow state can be used to indicate the completion progress of the request to transfer the picture. Specifically, the server 602 may be configured to set a process state corresponding to the request to an incomplete state when sending the portal information to the client 604 in response to the request.
进一步地,所述服务器602接收所述用户设备606传输的图片后,还可以用于更改所述请求对应的流程状态为已完成状态。Further, after the server 602 receives the picture transmitted by the user equipment 606, the server 602 may also be used to change the process status corresponding to the request to the completed status.
在另一个实施方式中,所述服务器602接收所述用户设备606传输的图片后,还可以用于向所述用户设备606和/或所述客户端604发送传输成功的消息。In another embodiment, after receiving the picture transmitted by the user equipment 606, the server 602 may also be configured to send a message of successful transmission to the user equipment 606 and/or the client 604.
图7是本说明书提供的用于图片传输的服务器一个实施例的模块结构示意图。参照图7,所述服务器602可以包括:入口信息发送模块6021和图片接收模块6022。FIG. 7 is a schematic structural diagram of a module of an embodiment of a server for picture transmission provided by the present specification. Referring to FIG. 7, the server 602 may include an entry information sending module 6021 and a picture receiving module 6022.
所述入口信息发送模块6021,可以用于接收所述客户端604发出的由所述用户设备606传输图片的请求,响应于所述请求向所述客户端604发送一入口信息。The portal information sending module 6021 may be configured to receive a request sent by the client 604 to transmit a picture by the user equipment 606, and send an entry information to the client 604 in response to the request.
所述图片接收模块6022,可以用于接收所述用户设备606根据所述入口信息传输的图片。The picture receiving module 6022 can be configured to receive a picture that is sent by the user equipment 606 according to the portal information.
在一个实施方式中,所述服务器还可以包括:验证模块6023,可以在响应于所述请求向所述客户端604发送入口信息前,用于根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。In an embodiment, the server may further include: a verification module 6023, configured to use the client identifier and the user according to the request before sending the portal information to the client 604 in response to the request The name of the image to be uploaded verifies the reasonableness of the request.
在一个实施方式中,所述服务器还可以包括:流程状态模块6024,可以用于设置与所述传输图片的请求对应的流程状态。In an embodiment, the server may further include: a process status module 6024, configured to set a process status corresponding to the request for transmitting a picture.
在另一个实施方式中,所述流程状态模块6024还可以用于在所述图片接收模块6022接收所述用户设备606传输的图片后更改所述请求对应的流程状态为已完成状态。In another embodiment, the process status module 6024 is further configured to: after the picture receiving module 6022 receives the picture transmitted by the user equipment 606, change the process state corresponding to the request to a completed status.
在一个实施方式中,所述服务器还可以包括:完成消息发送模块6025,可以用于在所述图片接收模块6022接收所述用户设备606传输的图片后向所述用户设备606和/或所述客户端604发送传输成功的消息。In an embodiment, the server may further include: a completion message sending module 6025, configured to: after the picture receiving module 6022 receives the picture transmitted by the user equipment 606, to the user equipment 606 and/or the Client 604 sends a message that the transmission was successful.
图8是本说明书提供的用于图片传输的客户端一个实施例的模块结构示意图。参照图8,所述客户端604可以包括:请求发送模块6041、入口信息接收模块6042和入口信息提供模块6043。FIG. 8 is a schematic structural diagram of a module of an embodiment of a client for picture transmission provided by the present specification. Referring to FIG. 8, the client 604 may include a request sending module 6041, an ingress information receiving module 6042, and an ingress information providing module 6043.
所述请求发送模块6041,可以用于向所述服务器602发出由所述用户设备606传输图片的请求。The request sending module 6041 can be configured to send a request to the server 602 to transfer a picture by the user equipment 606.
所述入口信息接收模块6042,可以用于接收所述服务器602发出的响应于所述请求的入口信息。The portal information receiving module 6042 can be configured to receive the portal information sent by the server 602 in response to the request.
所述入口信息提供模块6043,可以用于向所述用户设备606提供所述入口信息,以便于所述用户设备606向所述服务器602传输图片。The portal information providing module 6043 may be configured to provide the portal information to the user equipment 606, so that the user equipment 606 transmits a picture to the server 602.
图9是本说明书提供的用于图片传输的用户设备一个实施例的模块结构示意图。参照图9,所述用户设备606可以包括:入口信息获取模块6061、接入模块6062和图片传输模块6063。FIG. 9 is a schematic structural diagram of a module of an embodiment of a user equipment for picture transmission provided by the present specification. Referring to FIG. 9, the user equipment 606 may include an entry information obtaining module 6061, an access module 6062, and a picture transmission module 6063.
所述入口信息获取模块6061,可以用于获取客户端604提供的用于传输图片的入口信息。The portal information obtaining module 6061 can be configured to obtain the portal information provided by the client 604 for transmitting a picture.
所述接入模块6062,可以用于利用所述入口信息接入所述服务器602。The access module 6062 can be configured to access the server 602 by using the portal information.
所述图片传输模块6063,可以用于向所述服务器602传输图片。The picture transmission module 6063 can be configured to transmit a picture to the server 602.
本说明书实施例提供的上述图片传输方法或装置可以在计算机中由处理器执行相应的程序指令来实现,如使用windows操作***的c++语言在PC端实现,或其他例如使用android、iOS***程序设计语言在智能终端实现,以及基于量子计算机的处理逻辑实现等。The above picture transmission method or apparatus provided by the embodiments of the present specification may be implemented by a processor executing corresponding program instructions in a computer, such as using a C++ language of a Windows operating system on a PC side, or other programs such as using android and iOS programs. Language is implemented in intelligent terminals, as well as processing logic based on quantum computers.
具体的,本说明书另一方面还提供一种服务器,包括处理器及存储器,所述存储器存储由所述处理器执行的计算机程序指令,执行所述计算机程序指令可以实现以下步骤:所述服务器接收客户端发出的由用户设备传输图片的请求,响应于所述请求所述服务器向所述客户端发送一入口信息;所述服务器接收所述用户设备根据所述入口信息传输的图片。Specifically, the present specification further provides a server, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the server receives And sending, by the client, a request for transmitting a picture by the user equipment, in response to the request, the server sending an entry information to the client; the server receiving a picture that is transmitted by the user equipment according to the entry information.
在另一实施方式中,执行所述计算机程序指令还可以实现以下步骤:在所述服务器响应于所述请求向所述客户端发送入口信息前,所述服务器可以根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。In another embodiment, executing the computer program instructions may further implement the step of: before the server sends the portal information to the client in response to the request, the server may be based on a client in the request The end identifier and the name of the picture to be uploaded verify the rationality of the request.
在另一个实施方式中,执行所述计算机程序指令还可以实现以下步骤:所述服务器设置与所述传输图片的请求对应的流程状态。In another embodiment, executing the computer program instructions may further implement the step of: the server setting a flow state corresponding to the request to transmit a picture.
在另一个实施方式中,执行所述计算机程序指令还可以实现以下步骤:所述服务器接收所述传输的图片后,所述服务器更改所述请求对应的流程状态为已完成状态。In another embodiment, executing the computer program instructions may further implement the following steps: after the server receives the transmitted picture, the server changes the process state corresponding to the request to a completed state.
在另一个实施方式中,执行所述计算机程序指令还可以实现以下步骤:所述服务器接收所述传输的图片后,所述服务器向所述用户设备和/或所述客户端发送传输成功的消息。In another embodiment, the executing the computer program instructions may further implement the following steps: after the server receives the transmitted picture, the server sends a message of successful transmission to the user equipment and/or the client. .
本说明书另一方面还提供一种客户端,包括处理器及存储器,所述存储器存储由所述处理器执行的计算机程序指令,执行所述计算机程序指令可以实现以下步骤:客户端向服务器发出由用户设备传输图片的请求;所述客户端接收所述服务器发出的响应于所述请求的入口信息;所述客户端向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。Another aspect of the present specification also provides a client, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the client sends a message to the server a request by the user equipment to transmit a picture; the client receiving entry information sent by the server in response to the request; the client providing the entry information to the user equipment, so that the user equipment The server transfers the picture.
本说明书另一方面还提供一种用户设备,包括处理器及存储器,所述存储器存储由所述处理器执行的计算机程序指令,执行所述计算机程序指令可以实现以下步骤:用户设备获取客户端提供的用于传输图片的入口信息;所述用户设备利用所述入口信息接入服务器;所述用户设备向所述服务器传输图片。Another aspect of the present specification is also a user equipment, including a processor and a memory, the memory storing computer program instructions executed by the processor, and executing the computer program instructions may implement the following steps: the user equipment acquires a client providing The portal information for transmitting a picture; the user equipment accessing the server by using the portal information; the user equipment transmitting a picture to the server.
由此可见,本说明书提供的图片传输***、服务器、客户端、用户设备的实施 例与本说明书中的方法实施例是基于同一创新构思,因此,本说明书提供的图片传输***、服务器、客户端、用户设备的实施例可以实现说明书中方法实施例的技术效果。It can be seen that the embodiment of the picture transmission system, the server, the client, and the user equipment provided in this specification and the method embodiment in the present specification are based on the same innovative concept. Therefore, the picture transmission system, the server, and the client provided in this specification are provided. The embodiment of the user equipment can implement the technical effects of the method embodiments in the specification.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of the specific embodiments of the specification has been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than the embodiments and still achieve the desired results. In addition, the processes depicted in the figures are not necessarily in a particular order or in a sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字***“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements to a technology could clearly distinguish between hardware improvements (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (for process flow improvements). However, as technology advances, many of today's method flow improvements can be seen as direct improvements in hardware circuit architecture. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented by hardware entity modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers program themselves to "integrate" a digital system on a single PLD without having to ask the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, today, instead of manually making integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in programming development, but before compiling The original code has to be written in a specific programming language. This is called the Hardware Description Language (HDL). HDL is not the only one, but there are many kinds, such as ABEL (Advanced Boolean Expression Language). AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., are currently the most commonly used VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be apparent to those skilled in the art that the hardware flow for implementing the logic method flow can be easily obtained by simply programming the method flow into the integrated circuit with a few hardware description languages.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微 控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor. In the form of logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic. Those skilled in the art will also appreciate that in addition to implementing the controller in purely computer readable program code, the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding. The form of a microcontroller or the like to achieve the same function. Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component. Or even a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
上述实施例阐明的装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of the various units may be implemented in one or more software and/or hardware in the implementation of the present specification.
本发明是参照根据本发明实施例的方法、设备(装置)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of a method, apparatus, apparatus, and computer program product according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储、石墨烯存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic cassette tape, magnetic tape storage, graphene storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本说明书的实施例可提供为方法、装置或计算机程序产品。因此,本说明书可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present specification can be provided as a method, apparatus, or computer program product. Accordingly, the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware. Moreover, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This description can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置和服务器实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and server embodiments, since it is substantially similar to the method embodiment, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiments.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在权利要求范围之内。The above descriptions are only examples of the present specification and are not intended to limit the present specification. Various modifications and changes can be made in the present specification to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the specification are intended to be included within the scope of the appended claims.

Claims (32)

  1. 一种图片传输方法,包括:A picture transmission method includes:
    服务器接收客户端发出的由用户设备传输图片的请求,响应于所述请求所述服务器向所述客户端发送一入口信息;所述入口信息用于所述用户设备连接所述服务器;Receiving, by the server, a request for transmitting a picture by the user equipment, in response to the request, the server sending an entry information to the client; the entry information is used by the user equipment to connect to the server;
    所述服务器接收所述用户设备根据所述入口信息传输的图片。The server receives a picture that is transmitted by the user equipment according to the portal information.
  2. 根据权利要求1所述的方法,其中,所述入口信息包括:所述服务器存储图片的地址。The method of claim 1, wherein the entry information comprises: an address of the server storing a picture.
  3. 根据权利要求2所述的方法,其中,所述入口信息为一条码图片。The method of claim 2 wherein said entry information is a code picture.
  4. 根据权利要求1所述的方法,其中,所述传输的图片包括:即时拍摄的图片和/或所述用户设备中存储的图片。The method of claim 1, wherein the transmitted picture comprises: an instant captured picture and/or a picture stored in the user device.
  5. 根据权利要求1所述的方法,其中,所述请求包括:所述客户端的标识和/或待上传的图片的名称。The method of claim 1, wherein the request comprises: an identification of the client and/or a name of a picture to be uploaded.
  6. 根据权利要求5所述的方法,其中,在所述服务器响应于所述请求向所述客户端发送入口信息前,还包括:所述服务器根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。The method according to claim 5, wherein before the server sends the portal information to the client in response to the request, the method further comprises: the server according to the client identifier and the waiting in the request The name of the uploaded image verifies the reasonableness of the request.
  7. 根据权利要求1所述的方法,其中,还包括:所述服务器设置与所述传输图片的请求对应的流程状态,具体包括:在响应于所述请求向所述客户端发送入口信息时,所述服务器设置与所述请求对应的流程状态为未完成状态。The method according to claim 1, further comprising: the server setting a process state corresponding to the request for transmitting a picture, specifically comprising: when sending the portal information to the client in response to the request, The server sets the process state corresponding to the request to an incomplete state.
  8. 根据权利要求7所述的方法,其中,所述服务器接收所述传输的图片后,还包括:所述服务器更改所述请求对应的流程状态为已完成状态。The method of claim 7, wherein the server, after receiving the transmitted picture, further comprises: the server changing a process state corresponding to the request to a completed state.
  9. 根据权利要求1所述的方法,其中,所述服务器接收所述传输的图片后,还包括:所述服务器向所述用户设备和/或所述客户端发送传输成功的消息。The method according to claim 1, wherein the server, after receiving the transmitted picture, further comprises: the server sending a message that the transmission is successful to the user equipment and/or the client.
  10. 一种图片传输方法,包括:A picture transmission method includes:
    客户端向服务器发出由用户设备传输图片的请求;The client sends a request to the server to transfer the picture by the user equipment;
    所述客户端接收所述服务器发出的响应于所述请求的入口信息;所述入口信息用于所述用户设备连接所述服务器;The client receives the portal information sent by the server in response to the request; the portal information is used by the user equipment to connect to the server;
    所述客户端向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。The client provides the portal information to the user equipment, so that the user equipment transmits a picture to the server.
  11. 根据权利要求10所述的方法,其中,所述用户设备为用户获取图片的设备,具体包括:配备了摄像装置或者存储了用户图片的设备。The method according to claim 10, wherein the user equipment is a device for acquiring a picture by a user, and specifically includes: a device equipped with an imaging device or a user picture.
  12. 根据权利要求10所述的方法,其中,所述请求包括:所述客户端的标识和/或待上传的图片的名称。The method of claim 10, wherein the request comprises: an identification of the client and/or a name of a picture to be uploaded.
  13. 根据权利要求10所述的方法,其中,所述入口信息包括所述服务器存储图片的地址。The method of claim 10 wherein said entry information comprises an address at which said server stores pictures.
  14. 根据权利要求10所述的方法,其中,所述入口信息为一条码图片。The method of claim 10 wherein said entry information is a code picture.
  15. 根据权利要求10所述的方法,其中,所述客户端向所述用户设备提供所述入口信息包括:所述客户端将所述入口信息以发送消息的方式发送给所述用户设备;或,所述客户端向所述用户设备展示所述入口信息。The method of claim 10, wherein the providing the portal information to the user equipment comprises: the client sending the portal information to the user equipment by sending a message; or The client presents the portal information to the user equipment.
  16. 一种图片传输方法,包括:A picture transmission method includes:
    用户设备获取客户端提供的用于传输图片的入口信息;所述入口信息由服务器发送给所述客户端;所述入口信息是所述服务器响应于客户端发出的请求所述用户设备传输图片的请求生成的;The user equipment acquires the portal information provided by the client for transmitting the picture; the portal information is sent by the server to the client; the portal information is that the server transmits the picture by the user equipment in response to the request sent by the client Request generated
    所述用户设备利用所述入口信息接入服务器;The user equipment accesses the server by using the portal information;
    所述用户设备向所述服务器传输图片。The user equipment transmits a picture to the server.
  17. 根据权利要求16所述的方法,其中,所述入口信息为一条码图片。The method of claim 16 wherein said entry information is a code picture.
  18. 根据权利要求17所述的方法,其中,若所述客户端利用显示器向所述用户设备展示所述入口信息,那么所述用户设备获取客户端提供的用于传输图片的入口信息包括: 所述用户设备扫描所述客户端展示在显示器上的条码图片。The method according to claim 17, wherein if the client displays the portal information to the user equipment by using a display, the user equipment acquiring the portal information provided by the client for transmitting a picture comprises: The user device scans the bar code picture displayed by the client on the display.
  19. 根据权利要求17所述的方法,其中,若所述客户端将所述入口信息以发送消息的方式发送给所述用户设备,那么所述用户设备获取客户端提供的用于传输图片的入口信息包括:所述用户设备获取接收到的消息中的条码图片。The method according to claim 17, wherein if the client sends the portal information to the user equipment in a manner of sending a message, the user equipment acquires portal information provided by the client for transmitting a picture. The method includes: the user equipment acquiring a barcode picture in the received message.
  20. 根据权利要求16所述的方法,其中,所述传输的图片包括:即时拍摄的图片和/或所述用户设备中存储的图片。The method of claim 16, wherein the transmitted picture comprises: an instant captured picture and/or a picture stored in the user device.
  21. 一种图片传输的***,包括:服务器、客户端和用户设备;其中,A system for image transmission, comprising: a server, a client, and a user device; wherein
    所述服务器,用于接收所述客户端发出的由所述用户设备传输图片的请求;所述服务器响应于所述请求向所述客户端发送一入口信息;所述服务器用于接收所述用户设备根据所述入口信息传输的图片;The server is configured to receive a request by the client to transmit a picture by the user equipment; the server sends an entry information to the client in response to the request; the server is configured to receive the user a picture transmitted by the device according to the portal information;
    所述客户端,用于向所述服务器发出由所述用户设备传输图片的请求,接收所述服务器发出的响应于所述请求的入口信息,并向所述用户设备提供所述入口信息;The client is configured to send a request for transmitting a picture by the user equipment to the server, receive entry information sent by the server in response to the request, and provide the entry information to the user equipment;
    所述用户设备,用于获取客户端提供的用于传输图片的入口信息,利用所述入口信息接入所述服务器,并向所述服务器传输图片。The user equipment is configured to acquire portal information provided by the client for transmitting a picture, access the server by using the portal information, and transmit a picture to the server.
  22. 根据权利要求21所述的***,其中,所述请求包括:所述客户端的标识和待上传的图片的名称;所述服务器在响应于所述请求向所述客户端发送入口信息前,还用于根据所述请求中的用客户端标识和所述待上传的图片的名称验证所述请求的合理性。The system of claim 21, wherein the request comprises: an identification of the client and a name of a picture to be uploaded; the server further uses the portal information before sending the portal information to the client in response to the request The validity of the request is verified according to the client identifier and the name of the picture to be uploaded in the request.
  23. 根据权利要求21所述的***,其中,所述服务器还用于设置与所述传输图片的请求对应的流程状态,包括:所述服务器用于在响应于所述请求向所述客户端发送入口信息时,设置与所述请求对应的流程状态为未完成状态。The system of claim 21, wherein the server is further configured to set a process state corresponding to the request to transfer a picture, the server comprising: sending an entry to the client in response to the request In the case of information, the process state corresponding to the request is set to an incomplete state.
  24. 根据权利要求23所述的***,其中,所述服务器接收所述用户设备传输的图片后,还用于更改所述请求对应的流程状态为已完成状态。The system of claim 23, wherein the server, after receiving the picture transmitted by the user equipment, is further configured to change a process state corresponding to the request to a completed state.
  25. 根据权利要求21所述的***,其中,所述服务器接收所述用户设备传输的图片后,还用于向所述用户设备和/或所述客户端发送传输成功的消息。The system according to claim 21, wherein the server, after receiving the picture transmitted by the user equipment, is further configured to send a message that the transmission is successful to the user equipment and/or the client.
  26. 一种服务器,包括:入口信息发送模块和图片接收模块;其中,A server includes: an portal information sending module and a picture receiving module; wherein
    所述入口信息发送模块,用于接收客户端发出的由用户设备传输图片的请求,响应于所述请求向所述客户端发送一入口信息;The portal information sending module is configured to receive a request sent by the client to transmit a picture by the user equipment, and send an entry information to the client in response to the request;
    所述图片接收模块,用于接收所述用户设备根据所述入口信息传输的图片。The picture receiving module is configured to receive a picture that is transmitted by the user equipment according to the portal information.
  27. 根据权利要求26所述的服务器,还包括:验证模块,用于在响应于所述请求向所述客户端发送入口信息前,根据所述请求中的客户端标识和待上传的图片的名称验证所述请求的合理性。The server according to claim 26, further comprising: a verification module, configured to verify, according to the client identifier in the request and the name of the picture to be uploaded, before sending the portal information to the client in response to the request The reasonableness of the request.
  28. 根据权利要求26所述的服务器,还包括,流程状态模块,用于设置与所述传输图片的请求对应的流程状态。The server of claim 26, further comprising a process status module for setting a process status corresponding to the request to transfer the picture.
  29. 根据权利要求28所述的服务器,其中,所述流程状态模块还用于在所述图片接收模块接收所述用户设备传输的图片后更改所述请求对应的流程状态为已完成状态。The server according to claim 28, wherein the process status module is further configured to change a process state corresponding to the request to a completed state after the picture receiving module receives the picture transmitted by the user equipment.
  30. 根据权利要求26所述的服务器,其中,还包括:完成消息发送模块,用于在所述图片接收模块接收所述用户设备传输的图片后向所述用户设备和/或所述客户端发送传输成功的消息。The server according to claim 26, further comprising: a completion message sending module, configured to send a transmission to the user equipment and/or the client after the picture receiving module receives the picture transmitted by the user equipment The message of success.
  31. 一种客户端,包括:请求发送模块、入口信息接收模块和入口信息提供模块;其中,A client includes: a request sending module, an entry information receiving module, and an entry information providing module; wherein
    所述请求发送模块,用于向服务器发出由用户设备传输图片的请求;The request sending module is configured to send a request for transmitting a picture by the user equipment to the server;
    所述入口信息接收模块,用于接收所述服务器发出的响应于所述请求的入口信息;The portal information receiving module is configured to receive entry information sent by the server in response to the request;
    所述入口信息提供模块,用于向所述用户设备提供所述入口信息,以便于所述用户设备向所述服务器传输图片。The portal information providing module is configured to provide the portal information to the user equipment, so that the user equipment transmits a picture to the server.
  32. 一种用户设备,包括:入口信息获取模块、接入模块和图片传输模块;A user equipment, comprising: an entry information acquisition module, an access module, and a picture transmission module;
    所述入口信息获取模块,用于获取客户端提供的用于传输图片的入口信息;The portal information obtaining module is configured to obtain entry information provided by the client for transmitting a picture;
    所述接入模块,用于利用所述入口信息接入服务器;The access module is configured to access the server by using the portal information;
    所述图片传输模块,用于向所述服务器传输图片。The picture transmission module is configured to transmit a picture to the server.
PCT/CN2019/074124 2018-03-23 2019-01-31 Image transmission method and system, server, client, and user equipment WO2019179257A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810243021.4 2018-03-23
CN201810243021.4A CN108616567B (en) 2018-03-23 2018-03-23 Picture transmission method, system, server, client and user equipment

Publications (1)

Publication Number Publication Date
WO2019179257A1 true WO2019179257A1 (en) 2019-09-26

Family

ID=63658790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/074124 WO2019179257A1 (en) 2018-03-23 2019-01-31 Image transmission method and system, server, client, and user equipment

Country Status (3)

Country Link
CN (2) CN108616567B (en)
TW (1) TWI691191B (en)
WO (1) WO2019179257A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616567B (en) * 2018-03-23 2021-07-23 创新先进技术有限公司 Picture transmission method, system, server, client and user equipment
CN113345115A (en) * 2021-05-26 2021-09-03 中国铁道科学研究院集团有限公司电子计算技术研究所 Railway service method, device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072969B2 (en) * 2001-09-14 2006-07-04 Fujitsu Limited Information processing system
CN103152399A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Login method, login system and cloud server
CN103152330A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Login method, login system and cloud server
CN105871783A (en) * 2015-01-21 2016-08-17 上海墨百意信息科技有限公司 Method and device for logging in to web server
CN108616567A (en) * 2018-03-23 2018-10-02 阿里巴巴集团控股有限公司 A kind of picture transmission method, system, server, client and user equipment

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001175550A (en) * 1999-12-07 2001-06-29 Kizna.Com Inc Client/server system, data transmitting method for the same, and medium with program recorded thereon
GB2426136B (en) * 2005-05-11 2008-10-01 Idan Zuta Messaging system and method
US20070181691A1 (en) * 2006-02-09 2007-08-09 Simpleact Incorporated System and method for information retrieval with barcode using digital image capture devices
US20090094684A1 (en) * 2007-10-05 2009-04-09 Microsoft Corporation Relay server authentication service
CN101414307A (en) * 2008-11-26 2009-04-22 阿里巴巴集团控股有限公司 Method and server for providing picture searching
CN102006163B (en) * 2009-09-01 2014-04-23 阿里巴巴集团控股有限公司 User authentication method, device and server
CN103096266A (en) * 2011-11-03 2013-05-08 北京同步科技有限公司 Summarized information release system and information release method thereof
CN103164412B (en) * 2011-12-09 2017-10-13 阿里巴巴集团控股有限公司 Method, client terminal device and the server of the network information are accessed by encoding of graphs
US9100394B2 (en) * 2012-10-11 2015-08-04 Bazaarvoice, Inc. Method and system for content submission
CN103078868B (en) * 2013-01-15 2016-08-24 广州多益网络科技有限公司 The application process of a kind of Quick Response Code and system
US9813411B2 (en) * 2013-04-05 2017-11-07 Antique Books, Inc. Method and system of providing a picture password proof of knowledge as a web service
CN104202626A (en) * 2014-08-29 2014-12-10 青岛海信宽带多媒体技术有限公司 Television photo album system and managing and addressing method thereof
CN106657861B (en) * 2015-11-02 2019-06-18 北京数码视讯科技股份有限公司 A kind of method and apparatus for realizing multifunctional videophone
CN105721165A (en) * 2016-02-22 2016-06-29 阿里巴巴集团控股有限公司 Method for verifying identity, server and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072969B2 (en) * 2001-09-14 2006-07-04 Fujitsu Limited Information processing system
CN103152399A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Login method, login system and cloud server
CN103152330A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Login method, login system and cloud server
CN105871783A (en) * 2015-01-21 2016-08-17 上海墨百意信息科技有限公司 Method and device for logging in to web server
CN108616567A (en) * 2018-03-23 2018-10-02 阿里巴巴集团控股有限公司 A kind of picture transmission method, system, server, client and user equipment

Also Published As

Publication number Publication date
CN108616567A (en) 2018-10-02
TW201941578A (en) 2019-10-16
CN113905144A (en) 2022-01-07
CN108616567B (en) 2021-07-23
CN113905144B (en) 2023-07-18
TWI691191B (en) 2020-04-11

Similar Documents

Publication Publication Date Title
KR102239589B1 (en) Blockchain data processing method and device
JP7118244B2 (en) Graphic code recognition method and device, terminal and program
WO2021023220A1 (en) Content continuation method and system, and electronic device
CN107786794B (en) Electronic device and method for providing an image acquired by an image sensor to an application
US10706408B2 (en) Methods and devices for barcode based communication and payment implementation
KR101702801B1 (en) Camera command set host command translation
US20180270420A1 (en) Method for providing different indicator for image based on shooting mode and electronic device thereof
KR102091914B1 (en) Method and device for information interaction and association between human biological feature data and account
KR102327779B1 (en) Method for processing image data and apparatus for the same
JP2019091418A (en) Method and device for controlling page
CN111164983B (en) The interconnection terminal lends local processing capability
WO2019149020A1 (en) Information recognition method and system, and server and client
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
US9600720B1 (en) Using available data to assist in object recognition
US20160284135A1 (en) Reality Animation Mechanism
WO2019179257A1 (en) Image transmission method and system, server, client, and user equipment
WO2017020523A1 (en) Method and apparatus for remote control of terminal
KR20160102419A (en) Transmitting and displaying screen content
US9491402B2 (en) Electronic device and method of processing image in electronic device
KR102467869B1 (en) Electronic apparatus and operating method thereof
JP2015156526A (en) Communication device, information processing device and control method therefor, and communication system
WO2019109665A1 (en) Resource transfer verification method and apparatus, and electronic payment verification method and apparatus
JP2019522848A (en) Processing method and terminal
US20150269188A1 (en) Method and device for providing information using barcode
US20140085486A1 (en) Information processing terminal, information processing method, and apparatus control system

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: 19770423

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19770423

Country of ref document: EP

Kind code of ref document: A1