CN105631059B - Data processing method, data processing device and data processing system - Google Patents

Data processing method, data processing device and data processing system Download PDF

Info

Publication number
CN105631059B
CN105631059B CN201410587090.9A CN201410587090A CN105631059B CN 105631059 B CN105631059 B CN 105631059B CN 201410587090 A CN201410587090 A CN 201410587090A CN 105631059 B CN105631059 B CN 105631059B
Authority
CN
China
Prior art keywords
data processing
data
server
photoshop
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410587090.9A
Other languages
Chinese (zh)
Other versions
CN105631059A (en
Inventor
陈纬杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410587090.9A priority Critical patent/CN105631059B/en
Publication of CN105631059A publication Critical patent/CN105631059A/en
Application granted granted Critical
Publication of CN105631059B publication Critical patent/CN105631059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data processing method, which comprises the following steps: receiving a communication instruction of a user, and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction; displaying the material name through a hypertext markup language for a user to download; receiving a downloading instruction of a user, and acquiring material data corresponding to a material name from a server through a Photoshop plug-in according to the downloading instruction; and calling the acquired material data through a javascript script of Photoshop. The invention also provides a data processing device and a data processing system. According to the data processing method, the data processing device and the data processing system, Photoshop data processing is carried out through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved.

Description

Data processing method, data processing device and data processing system
Technical Field
The present invention relates to the field of communications, and in particular, to a data processing method, a data processing apparatus, and a data processing system.
Background
As society develops, the design of more and more products may be accomplished by teams of a certain size. Members of the team complete the design of various products through remote work, cross-regional cooperation and cross-department cooperation.
However, when a team designs a product, design software and design materials used by each member in the team may be different, and the design materials cannot be effectively processed, so that the problems that product data is asynchronous and product data specification is lost often occur when each member in the team designs the product, and then team cooperation efficiency is low and team working cost is increased.
For example, when a certain team uses the photoshop to design a product, material libraries in the photoshop which is used by members in different regions or different departments are different, so that after a member A uses the material A to design a part of the product, a member B cannot find the material related to the material A to further design because the material library of the photoshop used by the member B does not contain the material A, and even cannot well display the design of the member A. If the material libraries of each region or each department member need to be unified, the sharing operation process is complex and difficult, and the design progress of the product can be influenced.
Disclosure of Invention
The embodiment of the invention provides a data processing method for Photoshop data processing through material data on a server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved; the method solves the technical problems that the sharing operation difficulty of the material data is high and the design efficiency of corresponding products is low in the existing data processing method.
The embodiment of the invention also provides a data processing device for Photoshop data processing through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved; the technical problems that the sharing operation difficulty of material data in the existing data processing device is high and the design efficiency of corresponding products is low are solved.
The embodiment of the invention also provides a data processing system for Photoshop data processing through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved; the method and the device solve the technical problems that the sharing operation difficulty of material data in the existing data processing system is high and the design efficiency of corresponding products is low.
The invention provides a data processing method, which comprises the following steps:
receiving a communication instruction of a user, and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction, wherein the material list comprises a plurality of material names;
displaying the material name through a hypertext markup language for a user to download;
receiving a downloading instruction of a user, and acquiring material data corresponding to the material name from the server through the Photoshop plug-in according to the downloading instruction, wherein the downloading instruction corresponds to at least one material name; and
and calling the acquired material data through a javascript script of Photoshop.
The present invention also provides a data processing apparatus, comprising:
the system comprises a material list acquisition module, a server and a content management module, wherein the material list acquisition module is used for receiving a communication instruction of a user and acquiring a material list from the server through a Photoshop plug-in according to the communication instruction, and the material list comprises a plurality of material names;
the display module is used for displaying the material names through a hypertext markup language so as to be downloaded by a user;
the system comprises a material data acquisition module, a server and a data processing module, wherein the material data acquisition module is used for receiving a download instruction of a user and acquiring material data corresponding to a material name from the server through the Photoshop plug-in according to the download instruction, and the download instruction corresponds to at least one material name; and
and the calling module is used for calling the acquired material data through a javascript script of Photoshop.
The invention also provides a data processing method, which comprises the following steps:
the client receives a communication instruction of a user and sends a communication request to the server through a Photoshop plug-in according to the communication instruction;
the server sends a material list to the client according to the communication request; wherein the material list comprises a plurality of material names;
the client displays the material name through a hypertext markup language for a user to download;
the client receives a downloading instruction and sends a downloading request to the server through the Photoshop plug-in according to the downloading instruction, wherein the downloading request corresponds to at least one material name;
the server sends the material data corresponding to the material name to the client according to the downloading request; and
and the client calls the acquired material data through a javascript script of Photoshop.
The invention also provides a data processing system which comprises the data processing device and a server for storing the material data.
Compared with the data processing method, the data processing device and the data processing system in the prior art, the data processing method, the data processing device and the data processing system perform Photoshop data processing through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved; the technical problems that the sharing operation difficulty of material data in the existing data processing method, data processing device and data processing system is high and the design efficiency of corresponding products is low are solved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first preferred embodiment of the data processing method of the present invention;
FIG. 3 is a flow chart of a second preferred embodiment of the data processing method of the present invention;
FIG. 4 is a schematic diagram of a first preferred embodiment of a data processing apparatus according to the present invention;
FIG. 5 is a schematic diagram of a second preferred embodiment of the data processing apparatus of the present invention;
FIG. 6 is a flow chart of a third preferred embodiment of the data processing method of the present invention;
FIG. 7 is a block diagram of a preferred embodiment of a data processing system in accordance with the present invention;
FIG. 8 is a diagram illustrating an embodiment of a data processing method, a data processing apparatus, and a data processing system according to the present invention;
FIG. 9 is a second schematic diagram of the data processing method, the data processing apparatus and the data processing system according to the embodiment of the present invention;
FIG. 10 is a third exemplary diagram of the data processing method, the data processing apparatus and the data processing system according to the present invention;
FIG. 11 is a fourth schematic diagram of the data processing method, the data processing apparatus and the data processing system according to the embodiments of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
The word "preferred" is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; b is used as X; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The embodiment of the invention provides electronic equipment, which can be used for implementing the configuration information setting method of the electronic equipment. Specifically, the method comprises the following steps:
the electronic device 1200 may include a smart phone, a tablet computer, an e-book reader, an MP4(moving picture Experts Group Audio Layer IV) player, a laptop portable computer, a desktop computer, and the like. Electronic device 1200 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, input unit 130, display unit 140, sensor 150, audio circuitry 160, WiFi (wireless transmission module 170, processor 180 including one or more processing cores, and power supply 190 among other components, the configuration of the electronic device shown in FIG. 1 is not limiting of electronic devices, may include more or less components than shown, or may combine some components, or a different arrangement of components.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic apparatus 1200, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 280 and the input unit 130 access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on the touch-sensitive surface 131 or near the touch-sensitive surface 231 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device 1200, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and optionally, the display panel 141 may be configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 1, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The electronic device 1200 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the electronic device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the electronic device 1200, detailed descriptions thereof are omitted.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the electronic device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the electronic device 1200.
WiFi belongs to short-range wireless transmission technology, and the electronic device 1200 can help the user send and receive e-mails, browse web pages, access streaming media, etc. through the WiFi module 170, which provides the user with wireless broadband internet access. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the electronic device 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the electronic device 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the electronic device 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The electronic device 1200 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device 1200 may further include a camera, a bluetooth module, and the like, which are not described herein. Specifically, in this embodiment, the electronic device 1200 includes a memory and one or more programs, where the one or more programs correspond to the data processing apparatus of the embodiment of the present invention, and the one or more programs are stored in the memory and configured to form the data processing apparatus of the present invention by one or more processors, so as to execute the data processing method of the embodiment of the present invention.
The working environment of the electronic equipment where the data processing device is located is preferably a personal computer with Photoshop software. Of course, the operating environment of the electronic device in which the configuration information setting apparatus is located may also include server computers, hand-held or laptop devices, multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data processing method according to a first preferred embodiment of the present invention. The data processing method of the preferred embodiment includes:
step S201, receiving a communication instruction of a user, and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction;
step S202, displaying the material name through a hypertext markup language for downloading by a user;
step S203, receiving a download instruction of a user, and acquiring material data corresponding to a material name from a server through a Photoshop plug-in according to the download instruction;
and step S204, calling the acquired material data through a javascript script of Photoshop.
The following describes in detail the specific flow of the steps of the data processing method of the present preferred embodiment.
In step S201, the data processing apparatus at the client receives a communication instruction of the user, which is an instruction for the user to request the client to communicate with the corresponding server. The communication command may be issued by the user clicking a button on the data processing device or activating a plug-in on the data processing device (e.g., an extension plug-in on Photoshop, etc.). Therefore, the client can generate a corresponding communication request according to the communication instruction, and perform data communication with the server through a Photoshop plug-in of Photoshop software, such as Photoshop JSX, according to the communication request to acquire a Photoshop material list on the server. The material list may include a plurality of material names, such as various button control material names or various interface control material names. Subsequently, the process goes to step S202.
In step S202, the data processing apparatus generates a material name display interface through a HyperText markup language (HTML) and a Cascading Style Sheet (CSS), and displays the material names in the material list acquired in step S201 by using the material name display interface, so that the user can download the material names. Subsequently, the process goes to step S203.
In step S203, the data processing apparatus receives a download instruction of the user, which is an instruction for the user to request the client to download the material data from the corresponding server. The download instructions may be content such as icons of corresponding material names clicked by the user, and each download instruction corresponds to at least one material name. Therefore, the client can generate a corresponding downloading request according to the downloading instruction, and communicate with the server through a Photoshop plug-in of Photoshop software, such as Photoshop JSX, according to the downloading request to acquire the material data corresponding to the material name on the server. Subsequently, the process goes to step S204.
In step S204, the data processing apparatus invokes the material data acquired in step S203 through a Javascript script of the Photoshop software, such as a JSX script, for example, by using a jQuery library of the Javascript script.
This completes the data processing procedure of the data processing method of the present preferred embodiment.
The data processing method of the preferred embodiment performs Photoshop data processing through the material data on the server, and all the clients can use the material data on the same server, so that the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a data processing method according to a second preferred embodiment of the present invention. The data processing method of the preferred embodiment includes:
step S301, receiving a login account of a user and a login instruction of the user;
step S302, logging in a server through a Photoshop plug-in according to a login account and a login instruction;
step S303, receiving a communication instruction of a user, and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction;
step S304, acquiring a thumbnail preview image of the material data corresponding to the material name through a Photoshop plug-in;
step S305, displaying the material names and the corresponding thumbnail preview images of the material data through the hypertext markup language;
step S306, receiving a download instruction of a user, and acquiring material data corresponding to a material name from a server through a Photoshop plug-in according to the download instruction;
and step S307, calling the acquired material data through a javascript script of Photoshop.
The following describes in detail the flow of the steps of the data processing method of the preferred embodiment.
In step S301, the data processing apparatus receives a login account of a user and a login instruction of the user, where the login instruction is an instruction for the user to request the client to perform a login operation on a corresponding server using the login account. Subsequently, the process goes to step S302.
In step S302, the data processing apparatus generates a corresponding login request according to the login account and the login instruction received in step S301, and performs data communication with the server through a Photoshop plug-in of Photoshop software, such as a Photoshop jsx plug-in, according to the login request, thereby performing a login operation on the server. Subsequently, the process goes to step S303.
In step S303, after the login on the server is successful, the data processing apparatus at the client receives a communication instruction of the user, where the communication instruction is an instruction for the user to request the client to communicate with the corresponding server. The communication command may be issued by a user clicking a button on the data processing device or activating a plug-in on the data processing device, such as an extended plug-in on Photoshop. Therefore, the client can generate a corresponding communication request according to the communication instruction, and perform data communication with the server through Photoshop plug-ins of Photoshop software, such as Photoshop JSX and other plug-ins according to the communication request to acquire a Photoshop material list on the server. The material list may include a plurality of material names, such as various button control material names or various interface control material names. Subsequently, the process goes to step S304.
In step S304, the data processing apparatus performs data communication with the server through a Photoshop plug-in of the Photoshop software, such as Photoshop jsx, and acquires a thumbnail preview image of the material data corresponding to the material name on the server; the user can get more aware of the material data by viewing the thumbnail preview image. Subsequently, the process goes to step S305.
In step S305, the data processing apparatus generates a material name presentation interface by the hypertext markup language and the cascading style sheet, and presents the thumbnail preview of the material data corresponding to the material name in the material list acquired in step S303 and the material name acquired in step S304 using the material name presentation interface, so that the user can download the material data. In order to facilitate the user to download the material data, the material name and the thumbnail preview image of the material data corresponding to the material name may be displayed by category. Subsequently, the process goes to step S306.
In step S306, the data processing apparatus receives a download instruction of the user, which is an instruction for the user to request the client to download the material data from the corresponding server. The download instructions may be content such as icons of corresponding material names clicked by the user, and each download instruction corresponds to at least one material name. Preferably, the download instruction may be triggered by clicking on the thumbnail preview image. Therefore, the client can generate a corresponding downloading request according to the downloading instruction, and communicate with the server through a Photoshop plug-in of Photoshop software, such as Photoshop JSX and the like according to the downloading request to acquire the material data corresponding to the material name on the server. Subsequently, it goes to step S307.
In step S307, the data processing apparatus invokes the material data acquired in step S306 through a Javascript script of the Photoshop software, such as a JSX script, for example, by using a jQuery library of the Javascript script.
This completes the data processing procedure of the data processing method of the present preferred embodiment.
On the basis of the first preferred embodiment, the data processing method of the preferred embodiment further simplifies the sharing operation of the material data, improves the security of the sharing operation, and simultaneously improves the design efficiency of corresponding products through the login operation of the server, the display operation of the thumbnail preview images and the classification display operation.
The invention also provides a data processing device which is arranged in the corresponding client. The client can be a fixed terminal or a mobile terminal and the like. Referring to fig. 4, fig. 4 is a schematic structural diagram of a data processing apparatus according to a first preferred embodiment of the present invention. The data processing device 40 of the present preferred embodiment can be implemented using the first preferred embodiment of the data processing method described above.
The data processing apparatus 40 includes a material list acquisition module 41, a presentation module 42, a material data acquisition module 43, and a calling module 44. The material list obtaining module 41 is configured to receive a communication instruction 45 of a user, and obtain a material list from a server 48 through a Photoshop plug-in 47 according to the communication instruction 45, where the material list includes a plurality of material names. The display module 42 is used for displaying the material names through the hypertext markup language for the user to download; the material data acquisition module 43 is configured to receive a download instruction 46 of a user, and acquire material data corresponding to a material name from a server 48 through a Photoshop plug-in 47 according to the download instruction 46, where the download instruction 46 corresponds to at least one material name; the calling module 44 is configured to call the obtained material data through a javascript script of Photoshop.
When the data processing apparatus 40 of the preferred embodiment is used, the material list obtaining module 41 of the data processing apparatus 40 at the client receives the communication instruction 45 of the user, where the communication instruction 45 is an instruction for the user to request the client to communicate with the corresponding server. The communication command 45 may be issued by the user clicking a button on the data processing apparatus or activating a plug-in on the data processing apparatus (e.g. an extension plug-in on Photoshop, etc.). Thus, the client can generate a corresponding communication request according to the communication instruction 45, and perform data communication with the server 48 through a Photoshop plug-in 47 of Photoshop software, such as Photoshop jsx, according to the communication request, so as to obtain a material list of Photoshop on the server 48. The material list may include a plurality of material names, such as various button control material names or various interface control material names.
The presentation module 42 of the data processing apparatus 40 then generates a material name presentation interface using the hypertext markup language and the cascading style sheet, and presents the material names in the material list acquired by the material list acquisition module 41 using the material name presentation interface for the user to download.
The material data obtaining module 43 of the data processing apparatus 40 then receives a download instruction 46 of the user, the download instruction 46 being an instruction for the user to request the client to download the material data from the corresponding server 48. The download instructions 46 may be for the user to click on content such as icons corresponding to material names, where each download instruction 46 corresponds to at least one material name. Thus, the client can generate a corresponding download request according to the download instruction 46, and communicate with the server 48 through a Photoshop plug-in 47 of the Photoshop software, such as Photoshop jsx, according to the download request, to obtain the material data corresponding to the material name on the server 48.
Finally, the calling module 44 of the data processing apparatus 40 calls the material data acquired by the material data acquiring module 43 through a Javascript script of the Photoshop software, such as a JSX script, for example, using a jQuery library of the Javascript script to call the acquired material data.
This completes the data processing process of the data processing apparatus 40 of the present preferred embodiment.
The data processing device of the preferred embodiment performs Photoshop data processing through the material data on the server, and all the clients can use the material data on the same server, so that the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data processing apparatus according to a second preferred embodiment of the present invention. The data processing apparatus of the present preferred embodiment can be implemented using the second preferred embodiment of the data processing method described above.
The data processing apparatus 50 includes a material list acquisition module 51, a presentation module 52, a material data acquisition module 53, a calling module 54, an account acquisition module 55, and a login module 56. The material list acquiring module 51 is configured to receive a communication instruction 57 of a user, and acquire a material list from the server 5A through a Photoshop plug-in 59 according to the communication instruction 57, where the material list includes a plurality of material names. The display module 52 is configured to display the material name through a hypertext markup language for downloading by a user; the material data acquisition module 53 is configured to receive a download instruction 58 of a user, and acquire material data corresponding to a material name from the server 5A through a Photoshop plug-in 59 according to the download instruction 58, where the download instruction 58 corresponds to at least one material name; the calling module 54 is used for calling the acquired material data through a javascript script of the Photoshop software; the account acquisition module 55 is configured to receive a login account of a user and a login instruction of the user; the login module 56 is used for logging in the server 5A through a Photoshop plug-in 59 according to the login account and the login instruction.
The presentation module 52 includes a thumbnail preview image acquisition unit 521 and a presentation unit 522. The thumbnail preview image acquisition unit 521 is configured to acquire a thumbnail preview image of material data corresponding to a material name by the Photoshop plug-in 59. The presentation unit 522 is configured to present the material names and the thumbnail preview images of the corresponding material data through the hypertext markup language.
When the data processing apparatus 50 of the preferred embodiment is used, first, the account acquisition module 55 of the data processing apparatus 50 receives a login account of a user and a login instruction of the user, where the login instruction is an instruction for the user to request the client to perform a login operation on a corresponding server using the login account.
Subsequently, the login module 56 of the data processing apparatus 50 generates a corresponding login request according to the login account and the login instruction received by the account acquisition module 55, and performs data communication with the server 5A through a Photoshop plug-in 59 of Photoshop software, such as a Photoshop jsx plug-in, according to the login request, thereby performing login operation on the server 5A.
Then, after the login on the server 5A is successful, the material list acquisition module 51 of the data processing apparatus 50 located at the client receives a communication instruction 57 of the user, where the communication instruction 57 is an instruction for the user to request the client to communicate with the corresponding server 5A. The communication command 57 may be issued by the user clicking a button on the data processing device 50 or activating a plug-in on the data processing device 50 (e.g., an extension plug-in on Photoshop, etc.). Thus, the client can generate a corresponding communication request according to the communication instruction 57, and perform data communication with the server 5A through a Photoshop plug-in 59 of Photoshop software, such as a Photoshop jsx plug-in, according to the communication request, to obtain a Photoshop material list on the server 5A. The material list may include a plurality of material names, such as various button control material names or various interface control material names.
Then, the thumbnail preview image obtaining unit 521 of the presentation module 52 of the data processing apparatus 50 performs data communication with the server 5A through a Photoshop plug-in 59 of Photoshop software, such as Photoshop jsx, and obtains a thumbnail preview image of the material data corresponding to the material name on the server 5A; the user can get more aware of the material data by viewing the thumbnail preview image.
Then, the presentation unit 522 of the presentation module 52 of the data processing apparatus 50 generates a material name presentation interface by the hypertext markup language and the cascading style sheet, and presents the material names in the material list acquired by the material list acquisition module 51 and the thumbnail preview images of the material data corresponding to the material names acquired by the thumbnail preview image acquisition unit 521 by using the material name presentation interface, so that the user can download the material data, but only the thumbnail preview images, that is, the thumbnail preview images can be presented here as the material names. In order to facilitate the user to download the material data, the material name and the thumbnail preview image of the material data corresponding to the material name may be displayed by category.
The material data acquisition module 53 of the data processing apparatus 50 then receives a download instruction 58 of the user, the download instruction 58 being an instruction for the user to request the client to download the material data from the corresponding server. The download instructions 58 may be for the user to click on content such as icons for respective material names, each download instruction 58 corresponding to at least one material name. Preferably, the download instruction 58 is triggered by clicking on the thumbnail preview image. Thus, the client can generate a corresponding download request according to the download instruction 58, and communicate with the server 5A through a Photoshop plug-in 59 of Photoshop software, such as Photoshop jsx, according to the download request, to obtain the material data corresponding to the material name on the server 5A.
Finally, the calling module 54 of the data processing apparatus 50 calls the material data acquired by the material data acquiring module 53 through a Javascript script of the Photoshop software, such as a JSX script, for example, using a jQuery library of the Javascript script to call the acquired material data.
This completes the data processing process of the data processing apparatus 50 of the present preferred embodiment.
On the basis of the first preferred embodiment, the data processing apparatus of the present preferred embodiment further simplifies the sharing operation of the material data, improves the security of the sharing operation, and simultaneously improves the design efficiency of the corresponding product through the login operation of the server, the display operation of the thumbnail preview image, and the classification display operation.
Referring to fig. 6, fig. 6 is a flowchart illustrating a data processing method according to a third preferred embodiment of the present invention. In the preferred embodiment, the client is preferably a personal computer with Photoshop software installed, and the server is preferably a cloud server with shared material data stored therein. The data processing method of the preferred embodiment includes:
step S601, the client receives a communication instruction of a user and sends a communication request to a server through a Photoshop plug-in according to the communication instruction;
step S602, the server sends a material list to the client according to the communication request;
step S603, the client displays the material name through the hypertext markup language for the user to download;
step S604, the client receives the downloading instruction and sends a downloading request to the server through the Photoshop plug-in according to the downloading instruction;
step S605, the server sends the material data corresponding to the material name to the client according to the downloading request;
and step S606, the client calls the acquired material data through a javascript script of Photoshop.
The following describes in detail the specific flow of the steps of the data processing method of the present preferred embodiment.
In step S601, the client (data processing apparatus) receives a communication instruction of a user, which is an instruction for the user to request the client to communicate with a corresponding server. Therefore, the client can generate a corresponding communication request according to the communication instruction and carry out data communication with the server through a Photoshop plug-in of Photoshop software, such as Photoshop JSX and the like according to the communication request. Subsequently, the process goes to step S602.
In step S602, the server transmits the material list to the client according to the received communication request. The material list may include a plurality of material names, such as various button control material names or various interface control material names. Subsequently, it goes to step S603.
In step S603, the data processing apparatus generates a material name presentation interface by the hypertext markup language and the cascading style sheet, and presents the material names in the material list acquired in step S602 using the material name presentation interface for the user to download. Subsequently, the process goes to step S604.
In step S604, the client receives a download instruction of the user, where the download instruction is an instruction for the user to request the client to download the material data from the corresponding server. The download instructions may be content such as icons of corresponding material names clicked by the user, and each download instruction corresponds to at least one material name. Therefore, the client can generate a corresponding download request according to the download instruction and communicate with the server through a Photoshop plug-in of Photoshop software, such as Photoshop JSX and the like according to the download request. Subsequently, the process goes to step S605.
In step S605, the server transmits the material data corresponding to the material name to the client in accordance with the download request. Then, the process goes to step S606.
In step S606, the client calls the material data acquired in step S605 through a Javascript script of the Photoshop software, such as a JSX script, for example, using a jQuery library of the Javascript script to call the acquired material data.
This completes the data processing procedure of the data processing method of the present preferred embodiment.
The data processing method of the preferred embodiment performs Photoshop data processing through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved.
The invention also provides a data processing system which can comprise any one of the data processing devices provided by the embodiment of the invention and a server for storing the material data.
For example, referring to fig. 7, fig. 7 is a schematic structural diagram of a data processing system according to a preferred embodiment of the present invention. The data processing system 70 of the present preferred embodiment includes a data processing device 71 at the client and a server 72 for storing material data. In the preferred embodiment, the data processing device 71 is preferably a personal computer with Photoshop software installed therein, and the server 72 is preferably a cloud server storing shared material data.
The data processing device 71 includes a material list acquisition module, a presentation module, a material data acquisition module, and a calling module. The material list acquisition module is used for receiving a communication instruction of a user and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction, wherein the material list comprises a plurality of material names. The display module is used for displaying the material names through the hypertext markup language so as to be downloaded by a user; the material data acquisition module is used for receiving a download instruction of a user and acquiring material data corresponding to a material name from a server through a Photoshop plug-in according to the download instruction, wherein the download instruction corresponds to at least one material name; and the calling module is used for calling the acquired material data through a Photoshop script.
The server 72 stores the material data using a distributed file system so that the data processing device 71 can acquire the material data from the server 72 more quickly and accurately.
The specific operation principle of the data processing system 70 of the preferred embodiment is the same as or similar to that described in the above-mentioned preferred embodiment of the data processing apparatus and the data processing method, and please refer to the related description in the above-mentioned preferred embodiment of the data processing apparatus and the data processing method.
The data processing system of the preferred embodiment performs Photoshop data processing through the material data on the server, the sharing operation of the material data is simple, and the design efficiency of corresponding products is improved.
The following describes a specific operation principle of the data processing method, the data processing apparatus and the data processing system according to the present invention by using a specific embodiment. Referring to fig. 8 to 11, fig. 8 to 11 are schematic diagrams illustrating a data processing method, a data processing apparatus, and a data processing system according to embodiments of the present invention. The data processing process comprises the following steps:
firstly, a client (data processing device) receives a shared material name and material data input by a user, such as a psd file of Photoshop, and uploads the received shared material name and material data to a cloud server.
Secondly, installing a Photoshop plug-in, such as Photoshop JSX and the like, on Photoshop software of a local (namely, the client) of the client, so that the client can perform data communication with the cloud server.
The client receives a starting instruction of a user, opens a Photoshop plug-in of Photoshop software of the client according to the starting instruction, receives a login account input by the user, and logs in the cloud server through the Photoshop plug-in according to the login account; for example, FIG. 8 is an example of a login interface for a Photoshop plug-in. As shown in fig. 8, after the user clicks the design resource center in fig. 8, the operation interface jumps to the interface shown in fig. 9, that is, the login operation is performed with the login account number of V _ wjchen, and the account number has two classifications, where material data in the classification of PCQQ may perform a reading function, and material data in the classification of qzone may perform a writing function, that is, an uploading function in step one.
And fourthly, if the user uses the material data in the PCQQ, the client can obtain the material data from the cloud server to provide the material data for the user. In this embodiment, the client performs classified display on the material data again through the HTML and the CSS. As shown in fig. 10, the material data is divided into three types, namely an icon type, a control type, and an interface type.
And fifthly, clicking the control class in the figure 10 to check the material data of all the control classes, namely, the client can receive a check instruction triggered by clicking the control class in the figure 10 by a user, and displaying the material data of the corresponding control class according to the check instruction. For example, as shown in fig. 11, control material data of a large toolbar button and a small toolbar button are displayed in a display interface of the client, and a thumbnail preview of the material data is displayed under a material name, so that a user can download corresponding material data through a Photoshop plug-in by double-clicking a certain thumbnail preview.
And finally, the client can call the obtained material data through a Javascript script of Photoshop software, such as JSX and other scripts, for example, a jQuery library of the Javascript is used for calling the obtained material data.
This completes the data processing procedure of the present embodiment.
In this embodiment, the clients of different systems may use different connection protocols to perform data communication with the cloud Server, for example, the client is an apple system, and may use a Server Message Block (smb) protocol to perform connection.
The data processing method, the data processing device and the data processing system of the invention carry out Photoshop data processing through the material data on the server, standardize the material data of all members in a team, have simple sharing operation and improve the design efficiency of corresponding products. And the designer can download the corresponding material data without leaving the current working environment (Photoshop), the downloading of the material data is not influenced by the operating platform system, and the compatibility is better. The technical problems that the sharing operation difficulty of material data in the existing data processing method, data processing device and data processing system is high and the design efficiency of corresponding products is low are solved.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (11)

1. A data processing method, comprising:
receiving a communication instruction of a user, and acquiring a material list from a server through a Photoshop plug-in according to the communication instruction, wherein the material list comprises a plurality of material names;
displaying the material name through a hypertext markup language for a user to download;
receiving a downloading instruction triggered by a user through a thumbnail preview, and acquiring material data corresponding to the material name from the server through the Photoshop plug-in according to the downloading instruction, wherein the downloading instruction corresponds to at least one material name; and
calling the acquired material data through a javascript script of Photoshop;
the step of displaying the material names through a hypertext markup language comprises the following steps:
acquiring a thumbnail preview of the material data corresponding to the material name through the Photoshop plug-in; and
and displaying the material names and the thumbnail preview images of the corresponding material data through the hypertext markup language.
2. The data processing method of claim 1, wherein the step of presenting the material name comprises:
and displaying the material names according to categories.
3. The data processing method of claim 1, wherein the step of obtaining the material list from the server by means of a Photoshop plug-in is preceded by:
receiving a login account of a user and a login instruction of the user;
and logging in the server through the Photoshop plug-in according to the login account and the login instruction.
4. A data processing apparatus, comprising:
the system comprises a material list acquisition module, a server and a content management module, wherein the material list acquisition module is used for receiving a communication instruction of a user and acquiring a material list from the server through a Photoshop plug-in according to the communication instruction, and the material list comprises a plurality of material names;
the display module is used for displaying the material names through a hypertext markup language so as to be downloaded by a user;
the material data acquisition module is used for receiving a download instruction triggered by a user through a thumbnail preview image, and acquiring material data corresponding to the material name from the server through the Photoshop plug-in according to the download instruction, wherein the download instruction corresponds to at least one material name; and
the calling module is used for calling the acquired material data through a javascript script of Photoshop;
the display module comprises:
the thumbnail preview image acquisition unit is used for acquiring a thumbnail preview image of the material data corresponding to the material name through the Photoshop plug-in; and
and the display unit is used for displaying the material names and the thumbnail previews of the corresponding material data through the hypertext markup language.
5. The data processing apparatus of claim 4,
the display module is specifically configured to display the material names according to categories through the hypertext markup language.
6. The data processing apparatus of claim 4, wherein the data processing apparatus further comprises:
the account acquisition module is used for receiving a login account of a user and a login instruction of the user; and
and the login module is used for logging in the server through the Photoshop plug-in according to the login account and the login instruction.
7. A data processing method, comprising:
the client receives a communication instruction of a user and sends a communication request to the server through a Photoshop plug-in according to the communication instruction;
the server sends a material list to the client according to the communication request; wherein the material list comprises a plurality of material names;
the client displays the material name through a hypertext markup language for a user to download;
the client receives a downloading instruction triggered by a user through a thumbnail preview image, and sends a downloading request to the server through the Photoshop plug-in according to the downloading instruction, wherein the downloading request corresponds to at least one material name;
the server sends the material data corresponding to the material name to the client according to the downloading request; and
the client calls the acquired material data through a javascript script of Photoshop;
the step of displaying the material names through a hypertext markup language comprises the following steps:
acquiring a thumbnail preview of the material data corresponding to the material name through the Photoshop plug-in; and
and displaying the material names and the thumbnail preview images of the corresponding material data through the hypertext markup language.
8. A data processing system comprising the data processing apparatus of any of claims 4 to 6, the data processing system further comprising a server for storing the material data.
9. The data processing system of claim 8, wherein the server stores the material data using a distributed file system.
10. A storage medium having stored therein processor-executable instructions, which are loaded by one or more processors to perform a data processing method as claimed in any one of claims 1 to 3.
11. A storage medium having stored therein processor-executable instructions, which are loaded by one or more processors to perform the data processing method of claim 7.
CN201410587090.9A 2014-10-28 2014-10-28 Data processing method, data processing device and data processing system Active CN105631059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410587090.9A CN105631059B (en) 2014-10-28 2014-10-28 Data processing method, data processing device and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410587090.9A CN105631059B (en) 2014-10-28 2014-10-28 Data processing method, data processing device and data processing system

Publications (2)

Publication Number Publication Date
CN105631059A CN105631059A (en) 2016-06-01
CN105631059B true CN105631059B (en) 2020-04-10

Family

ID=56045991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410587090.9A Active CN105631059B (en) 2014-10-28 2014-10-28 Data processing method, data processing device and data processing system

Country Status (1)

Country Link
CN (1) CN105631059B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287707B (en) * 2017-09-13 2021-03-02 深圳壹账通智能科技有限公司 JSX file generation method and device, storage medium and computer equipment
CN108346031B (en) * 2018-01-18 2021-03-09 北京汽车集团越野车有限公司 Data interaction method and system
CN110955852A (en) * 2018-09-25 2020-04-03 北京国双科技有限公司 Content import method and device
CN110704785A (en) * 2019-10-11 2020-01-17 胥万福 Data processing method for rapidly opening pictures in webpage through Photoshop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794314A (en) * 2010-03-12 2010-08-04 同济大学 Allopatry collaborative design informatization platform based on Web
CN102723053A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 Material management method and system in remote broadcasting system
CN103425630A (en) * 2012-11-30 2013-12-04 上海理工大学 Cooperation system framework and consistency maintenance method thereof
CN103870496A (en) * 2012-12-11 2014-06-18 财团法人资讯工业策进会 System and method for editing interactive page template

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10216854B2 (en) * 2007-07-26 2019-02-26 International Business Machines Corporation Optimized page script downloads in a component based architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794314A (en) * 2010-03-12 2010-08-04 同济大学 Allopatry collaborative design informatization platform based on Web
CN102723053A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 Material management method and system in remote broadcasting system
CN103425630A (en) * 2012-11-30 2013-12-04 上海理工大学 Cooperation system framework and consistency maintenance method thereof
CN103870496A (en) * 2012-12-11 2014-06-18 财团法人资讯工业策进会 System and method for editing interactive page template

Also Published As

Publication number Publication date
CN105631059A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN105786878B (en) Display method and device of browsing object
WO2015043361A1 (en) Methods, devices, and systems for completing communication between terminals
US10643021B2 (en) Method and device for processing web page content
US20160314219A1 (en) Method and apparatus for invoking application programming interface
CN109543099B (en) Content recommendation method and terminal equipment
CN105975190B (en) Graphical interface processing method, device and system
CN108039963B (en) Container configuration method and device and storage medium
CN110837327B (en) Message viewing method and terminal
CN106547844B (en) A kind for the treatment of method and apparatus of user interface
CN105302452B (en) Operation method and device based on gesture interaction
CN106254910B (en) Method and device for recording image
CN110020293B (en) Multimedia data display method, device and storage medium
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
CN110049187B (en) Display method and terminal equipment
JP2017509051A (en) Method and system for collecting statistics on streaming media data and associated apparatus
WO2015003636A1 (en) Method and device for interception of page elements
CN105631059B (en) Data processing method, data processing device and data processing system
CN110795002A (en) Screenshot method and terminal equipment
CN112749074B (en) Test case recommending method and device
JP6915074B2 (en) Message notification method and terminal
WO2015014138A1 (en) Method, device, and equipment for displaying display frame
CN105095161B (en) Method and device for displaying rich text information
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN110888572A (en) Message display method and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant