WO2009121262A1 - 自定义信息管理装置、方法及系统 - Google Patents

自定义信息管理装置、方法及系统 Download PDF

Info

Publication number
WO2009121262A1
WO2009121262A1 PCT/CN2009/070809 CN2009070809W WO2009121262A1 WO 2009121262 A1 WO2009121262 A1 WO 2009121262A1 CN 2009070809 W CN2009070809 W CN 2009070809W WO 2009121262 A1 WO2009121262 A1 WO 2009121262A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
user
custom
window
customized information
Prior art date
Application number
PCT/CN2009/070809
Other languages
English (en)
French (fr)
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 WO2009121262A1 publication Critical patent/WO2009121262A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail

Definitions

  • Custom information management device is a Custom information management device, method and system
  • the present invention relates to the field of computer technologies, and in particular, to a customized information management apparatus, method, and system. Background of the invention
  • the Internet Instant Messaging (IM) service is an Internet-based communication service that generally implements instant messaging functions on the network.
  • the development of network instant messaging services has become one of the indispensable tools in the daily life of online users.
  • the original IM system can only provide basic text communication functions, but with the development of computer technology, in order to enrich the user's fun during chatting, in the existing IM system, users can set custom information and interact with other users. This custom message is transmitted to each other during instant messaging.
  • a custom emoticon that has been implemented in the current mainstream IM system is one of the above custom information.
  • the custom emoticon can be a user-defined image. The content of the image is completely user-defined. It can be an animal, a character, a landscape picture, or a screenshot.
  • users can express their own mood or certain will by sending a custom expression, which makes chat and communication more fun, and also meets the user's rich communication needs, greatly Increased usability and convenience of IM software.
  • FIG. 1 is a schematic flowchart of a method for custom expression management in the prior art. As can be seen from Figure 1, the method includes:
  • Step 101 Before using the custom emoticon, the user adds a custom emoticon to the client of an IM system in a computer. If the user wants to use a custom emoticon in the client of IM system A, the user needs to add the custom emoticon. If the user wants to use the custom emoticon in the client of IM system B, Add a custom emoticon to the client.
  • Step 102 The user inserts a custom emoticon in the IM session initiated by the IM client.
  • the user selects a custom emoticon that was added before the IM client, inserts it into the session window, and sends it to other users.
  • the user can use the customized expression added in the IM system in an IM system, so that the chat session and communication between users becomes more fun.
  • each IM system needs to independently maintain its own custom emoticons. Therefore, there is a problem: the custom expression is not very versatile between different IM systems.
  • custom emoticons on different IM systems cannot be used interchangeably.
  • Custom emoticons on MSN clients cannot be applied to QQ clients, and vice versa. This is because: For different IM systems, you need to add a custom profile to the client corresponding to the system, and the custom emoticon interface and configuration file are different. If the client of IM system A wants to use the custom emoticon in the client of IM system B, it must manually add the custom emoticon in the client of IM system A, and need to re-allocate a part of the hard disk space for the custom emoticon. This causes a serious waste of system resources.
  • embodiments of the present invention provide a customized information management apparatus, method, and system.
  • the system solves the problem that the custom information is not universally versatile.
  • a custom information management method includes: determining a window in which a user wishes to insert custom information;
  • a custom information management system includes: a custom information management client, configured to determine a window in which a user wishes to insert custom information, and insert custom information selected by the user in the determined window. And synchronizing with the custom information management server to update the user's customized information;
  • the customized information management server is configured to store the user's customized information, manage the client's request according to the customized information, synchronize with the user, and update the user's customized information.
  • the customized information management apparatus, method and system provided by the embodiments of the present invention can insert custom information in any software window supporting customized information, that is, the user has a It belongs to its own proprietary information base, which facilitates the user's management and use of customized information, and also saves the computer hard disk space occupied by different software separately storing custom information. Therefore, the embodiment of the present invention solves the problem that the custom information is not highly versatile.
  • FIG. 1 is a schematic flow chart of a method for custom expression management in the prior art
  • FIG. 2 is a schematic structural diagram of a customized information management apparatus according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for managing a customized information according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a custom information management apparatus according to Embodiment 1 of the present invention
  • schematic diagram is a schematic flowchart of a method for managing a customized information according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic structural diagram of a device for customizing information according to Embodiment 2 of the present invention
  • FIG. 7 is a schematic diagram of a method for managing a customized information according to Embodiment 2 of the present invention
  • FIG. 1 is a schematic flowchart of a method for managing a customized information according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic structural diagram of a device for customizing information according to Embodiment 2 of the present invention
  • FIG. 7 is a schematic diagram of a method for
  • FIG. 8 is a schematic structural diagram of a custom information management system according to Embodiment 3 of the present invention
  • FIG. 9 is a schematic flowchart of a method for managing a customized information according to Embodiment 3 of the present invention
  • the customized information management apparatus, method and system provided by the embodiments of the present invention can determine a window for the user to insert the customized information, and insert the customized information selected by the user in the determined window.
  • FIG. 2 is a schematic structural diagram of a custom information management apparatus according to an embodiment of the present invention. As can be seen from FIG. 2, the apparatus includes: a window determination module 210 and an information insertion module 220.
  • the window determination module 210 is configured to determine a window in which the user wishes to insert custom information.
  • the information insertion module 220 is configured to insert a custom letter selected by the user in the determined window.
  • FIG. 3 is a schematic flow chart of a method for managing a customized information according to an embodiment of the present invention. As can be seen from Figure 3, the method includes:
  • Step 301 Determine a window in which the user wishes to insert custom information.
  • Step 302 Insert custom information selected by the user in the determined window.
  • FIG. 4 is a schematic structural diagram of a custom information management apparatus according to Embodiment 1 of the present invention.
  • the apparatus includes: a window determination module 410 and an information insertion module 420.
  • the device also includes: an information storage module 430.
  • the information storage module 430 includes an information storage unit 431, an information adding unit 432, and an information deleting unit 433.
  • the information storage unit 431 is used to store user's customized information.
  • the information adding unit 432 is for adding custom information in the information storage unit 431.
  • the information deleting unit 433 is for deleting the existing custom information in the information storage unit 431.
  • the window determination module 410 includes an insertion request receiving unit 411 and a window determining unit 412.
  • the insertion request receiving unit 411 is for receiving a request for the user to insert custom information.
  • the window determining unit 412 is configured to acquire and record the unique identification information of the current window of the user according to the request of the user to insert the customized information, and use the current window as a window for the user to insert the customized information.
  • the current window refers to the window whose focus is in the active state.
  • the information insertion module 420 includes: a list display unit 421, an information selection unit 422, and an information insertion unit 423.
  • the list display unit 421 is for displaying a list of all the user-defined information of the user in the information storage unit 431.
  • the information selection unit 422 is configured to receive custom information selected by the user from the above-mentioned customized information list.
  • FIG. 5 is a schematic flowchart of a method for managing a customized information according to Embodiment 1 of the present invention. As can be seen from Figure 5, the method includes:
  • Step 501 Save user customized information in the customized information management device, and To add and delete a custom message based on user requests.
  • Step 502 Receive a request for the user to insert the customized information, and determine a window for the user to insert the customized information.
  • the custom information management device When the user activates the custom information management device by, for example, a shortcut key and clicking the corresponding icon in the task bar, the custom information management device acquires and records the information of the current window of the user.
  • Step 503 Display a customized information list, receive the customized information selected by the user from the customized information list, and insert the customized information in the determined window.
  • the customized information management device displays all the customized information in the customized information list, and the user selects the customized information that is desired to be used in the above list, and the customized information management device copies the customized information into the clipboard, and the current
  • the window switches to the window where the user wishes to insert the customized information, automatically inserts the above customized information in the window, or the user inserts the above customized information into the window by manually pasting.
  • step 501 does not have a strict execution order, and may be used throughout the custom information management process. Step 501 is first described herein for convenience of description.
  • the user can save the customized information in a common custom information management device.
  • the user can select the desired content in the device's customized information list.
  • Custom information used. Therefore, the embodiments of the present invention solve the problem that the custom information is not highly versatile.
  • FIG. 6 is a schematic structural diagram of a customized information management apparatus according to Embodiment 2 of the present invention. As can be seen from FIG. 6, the apparatus includes: a window determination module 610, an information insertion module 620, and an information storage module 630.
  • the window determination module 610 and the information storage module 630 have the same functions as the corresponding modules in the first embodiment.
  • the information insertion module 620 includes: a list display unit 621, an information selection unit 622, and an information insertion unit 623.
  • the module also includes: an information editing unit 624.
  • the list display unit 621 and the information selection unit 622 have the same functions as the corresponding units in the first embodiment.
  • the information insertion unit 623 is for feeding the customized information selected by the user to the information editing unit 624 for editing according to the user's request, and receives the edited customized information from the information editing unit 624, and inserts it into the determined window.
  • the information editing unit 624 is for editing the custom information selected by the user, and transmits the edited custom information to the information insertion unit 623.
  • FIG. 7 is a schematic flowchart of a method for managing a customized information according to Embodiment 2 of the present invention. As can be seen from Figure 7, the method includes:
  • Step 701 The user's customized information is saved in the customized information management device, and a certain customized information may be added or deleted according to the user request.
  • Step 702 Receive a request for the user to insert the customized information, and determine a window for the user to insert the customized information.
  • Step 703 Display a customized information list, and receive customized information selected by the user from the foregoing customized information list.
  • Steps 701-703 are the same as the corresponding steps in the first embodiment.
  • Step 704 Edit the customized information selected by the user according to the request of the user, and insert the edited customized information in the determined window.
  • the custom information management device displays all the customized information in the customized information list.
  • the "edit and insert" mode can be further selected.
  • the custom information management device copies the customized information into the clipboard, and switches the current window to the custom information editing window, and automatically inserts the above customized information into the window to wait for the user to edit.
  • the custom information editing window may use an application program interface (API) to call a drawing tool in windows, or other similar tools may be used to provide editing functions for the customized information.
  • API application program interface
  • the user can edit the customized information through the customized information editing window, for example, the user can insert a paragraph in the original customized information, or add some personalized information.
  • the customized information management device copies the edited customized information into the clipboard, and switches the current window to the window where the user wants to insert the customized information.
  • the edited custom information is automatically inserted in the window, or the user inserts the edited custom information into the window by manually pasting.
  • the customized information stored in the information storage unit of the custom information management device is not changed by the operation in this step.
  • the customized information management apparatus may also insert the edited customized information in the determined window according to the user's request, and simultaneously update the customized information stored in the information storage unit according to the embodiment.
  • the user can further edit the customized information, and personalize the customized information, thereby greatly improving the use of the device. Define the convenience and fun of the information.
  • Embodiment 3 Based on the foregoing embodiment, the embodiment further implements a network management function of the customized information in a manner of a customized information management system.
  • FIG. 8 is a schematic structural view of a custom information management system according to Embodiment 3 of the present invention. As can be seen from FIG. 8, the system includes: a custom information management client 801, and a custom information management server 802.
  • the custom information management client 801 in the first embodiment of the custom information management device, further includes: an information synchronization module, not shown in FIG. 8, for determining whether the user's computer is determined according to a user request or timing Online, if yes, synchronize with the custom information management server to update user-defined information stored in the server or in the information storage module.
  • an information synchronization module not shown in FIG. 8, for determining whether the user's computer is determined according to a user request or timing Online, if yes, synchronize with the custom information management server to update user-defined information stored in the server or in the information storage module.
  • the custom information management server 802 is configured to store the user's customized information, manage the client's request according to the customized information, and synchronize the user's customized information with the user.
  • FIG. 9 is a schematic flowchart of a method for managing a customized information according to Embodiment 3 of the present invention. As can be seen from Figure 9, the method includes:
  • Step 901 Save the user's customized information in the custom information management client, and add or delete a customized information according to the user request.
  • Step 902 Determine whether the user's computer is online. If yes, synchronize with the customized information management server to update the user's customized information; otherwise, the operation is not performed.
  • Step 903 Receive a request for the user to insert the customized information, and determine a window for the user to insert the customized information.
  • Step 904 Display a customized information list, receive custom information selected by the user from the customized information list, and insert the above customized information into the determined window.
  • the customized information management client may also edit the customized information selected by the user according to the user's request, and then insert the edited customized information into the determined window. It should be noted that, in the customized information management method of the embodiment, the steps 901 and 902 are not strictly performed, and may be used throughout the customized information management process. 902.
  • the user can save the customized information in a public custom information management client, and can synchronize with the customized information management server as needed, so that the user can be anywhere as long as the computer is online. Use your own custom information.
  • users need to insert custom information in any window, they can choose the custom information they want to use in the client's customized information list. Therefore, the embodiment of the invention solves the problem that the custom information is not highly versatile.
  • the customized information in the embodiment of the present invention may be all user-defined information, such as a custom emoticon picture, a custom avatar, a custom text message, and the like.
  • FIG. 10 is a schematic flowchart of a method for managing a customized expression in an embodiment of the present invention. As can be seen from Figure 10, the method includes:
  • Step 1001 The user installs a custom emoticon management client.
  • the client when a user installs a custom emoticon management client in the Windows operating system, the client can use the registry-related API to set an autostart project in the registry, and write the client's application path to the autostart project. In the corresponding key value.
  • Windows when Windows starts, it will read the program path in the startup project, and the command custom emoticon management client will start automatically with the operating system.
  • the user when installing the custom emoticon management client, the user can also set the client to not automatically start with the operating system, but wait for the user to click and start.
  • Step 1002 The user logs in to the custom emoticon management client.
  • Sub-step 1 the custom emoticon management client starts automatically with the operating system, or after the user clicks the corresponding application or shortcut to start, obtains a list of login numbers in the local configuration file, and determines whether there is an automatic login user, if there is , extract the user ID (ID) and password of the user from the local configuration file, and perform sub-step 3; otherwise, perform sub-step 2.
  • ID user ID
  • Sub-step 2 the custom emoticon management client starts automatically with the operating system, or after the user clicks the corresponding application or shortcut to start, obtains a list of login numbers in the local configuration file, and determines whether there is an automatic login user, if there is , extract the user ID (ID) and password of the user from the local configuration file, and perform sub-step 3; otherwise, perform sub-step 2.
  • Sub-step 2 The custom emoticon management client creates a login interface using the window-related API, and the user enters the user ID and password in the login interface.
  • Sub-step 3 The user logs in to the custom emoticon management client.
  • the client determines whether the computer used by the user is in a networked state or offline. When the computer is in a networked state, the client encapsulates the user ID and password into a data packet, and sends the authentication to the custom emoticon management server for authentication. If the server returns a valid user ID and password, the user is allowed to log in online.
  • the custom emoticon management client that is, the user can use the client to communicate with the custom emoticon management server; if the server returns the user ID and the password is invalid, the user is denied login.
  • the client When the computer is offline, the client queries the local configuration file corresponding to the user, and authenticates the user according to the password stored in the configuration file. If the password input by the user is the same as the saved password, the user is allowed. Log in to the custom emoticon management client offline, that is, the user can only use the local function of the client, and cannot use the client to communicate with the custom emoticon management server; if the password entered by the user is different from the saved password, the user refuses User login.
  • the custom emoticon management client When the user logs in offline, the custom emoticon management client tries to connect to the custom emoticon management server periodically or according to the user request, and the user ID previously entered by the user is And the password is encapsulated into a data packet and sent to the custom emoticon management server for authentication.
  • the server determines the validity of the user ID and the password, and if the server returns the user ID and the password is valid, Allows users to log in to the custom emoticon management client online.
  • Step 1003 After the user logs in online, the custom emoticon management client synchronizes with the customized emoticon management server to update the user's custom emoticon.
  • the custom emoticon management client can synchronize with the server immediately or according to the user's request.
  • the custom emoticon management client obtains the timestamp information stored on the server.
  • the timestamp information is stored locally or remotely in the user's configuration file, and is used to identify the time when the user last added, deleted, and synchronized the custom emoticon operation.
  • the custom emoticon management client sends the user's identification information to the server in a packet for obtaining server timestamp information. After receiving the data packet and confirming that the data packet is valid, the server extracts the user identification information in the data packet, queries and obtains the time stamp information of the user, and returns the timestamp information to the above-mentioned custom expression management client.
  • Sub-step 2 The custom emoticon management client queries the local timestamp information in the local configuration file.
  • Sub-step 3 The custom emoticon management client compares the local and remote timestamp information. If the remote timestamp information is newer, the remote custom emoticon is downloaded to the local; if the local timestamp information is newer, Local custom emoticons are uploaded to the server.
  • the custom emoticon management client uses the Hypertext Transfer Protocol (HTTP) protocol to send a protocol command to obtain a custom emoticon to the server, and the server packs according to the received command.
  • HTTP Hypertext Transfer Protocol
  • the user's custom emoticon in the server is transmitted to the client, and the client parses the downloaded custom emoticon according to the protocol format of the data packet and stores it in a specific file directory, and finally updates the timestamp letter in the local configuration file.
  • the client may further generate a thumbnail for the downloaded customized emoticon, and save the path of the thumbnail together with other information of the custom emoticon in the configuration file.
  • the custom emoticon management client uses HTTP to package the local custom emoticons and transmit them to the server for update.
  • the protocol format of the above data packet may include: a header, a content, and a trailer.
  • the header and the trailer tail field may include: various identifier information and overhead information.
  • the content fields may include: a unique identifier of the custom emoticon, an emoticon name, a name of the original picture, a picture type, and a picture content byte stream.
  • an incremental synchronization technique may be adopted, that is, only different custom expressions in the server and the client are synchronized to improve synchronization efficiency.
  • step 1003 may not have to be performed when the user's computer is offline or the user does not desire to synchronize with the custom emoticon management server.
  • Step 1004 Receive a request for a user to insert a custom emoticon, display a user interface of the custom emoticon management client, and obtain and record the current window information of the user.
  • Sub-step 1 Receive a request for the user to insert a custom emoticon, and display the user interface of the custom emoticon management client. Users can request to insert a custom emoticon in the following ways:
  • the user can set a shortcut key in the custom emoticon management client. After the client is started, the user can request to display the client interface by pressing a shortcut key set in advance.
  • the Windows operating system When the user presses a key, the Windows operating system will generate the corresponding keyboard message, as well as the mouse operation.
  • the custom emoticon management client can be used in windows In the system, capture keyboard messages, mouse messages, etc. from the user. After receiving the above message, the custom emoticon management client determines whether the message is used to request to display the client interface, and if so, creates an interface of the custom emoticon management client.
  • the user can also request to display the client interface by clicking the corresponding icon in the taskbar.
  • the custom emoticon management client After the custom emoticon management client is launched, it can be minimized to the taskbar, and the user requests to display the client interface by clicking the corresponding icon in the taskbar.
  • the user can also request to display the client interface by other means.
  • the custom emoticon management client obtains and records the information of the user's current window.
  • the current window refers to the window whose focus is in the active state.
  • the custom emoticon management client When a user requests to display a custom emoticon management client, the custom emoticon management client obtains and records unique identification information of the user's current window, for example: window handle.
  • the window handle is the unique identifier used to distinguish window objects throughout Windows and is a 32-bit integer.
  • the custom emoticon management client can further analyze the characteristics of the window through the above window handle, and determine whether the window is an IM session window. Since all IM software in the windows system use the RichEd it control to control the IM message in the session window, the custom emoticon management client analyzes the above window handle to determine whether the window includes the RichEdi t control. Yes, the window is an IM session window; otherwise the window is not an IM session window.
  • Step 1005 Receive a custom expression selected by the user in the customized emoticon list, and insert the emoticon into the desired window.
  • Sub-step 1 After the user selects the expression to be inserted in the custom emoticon list of the custom emoticon management client, the client stores the image data corresponding to the emoticon in the memory area corresponding to the common clipboard according to the format of the clipboard. in.
  • custom emoticons list you can display custom emoticons in the following ways:
  • the custom emoticon management client saves the original image of the custom emoticon in a preset directory, and saves the unique identifier of all the custom emoticons, the emoticon name, and the path of the original image in the configuration file. And the location of the emoticon in the list.
  • the user opens the list the above information is used to open and draw the original image of each custom emoticon.
  • the custom emoticon management client saves the original image of the custom emoticon in a preset directory, and further generates a thumbnail of the custom emoticon according to a certain format and saves it in a preset directory. , and save the unique identifier of all custom emoticons in the profile, the emoticon name, the path to the original image, the path to the thumbnail, and the location of the emoticon in the list.
  • the custom expressions in the above list may be further grouped according to the user's request, and/or the display order of the custom expressions in the list may be adjusted to improve the efficiency of finding a custom expression.
  • Substep 2 Insert a custom emoticon in the desired window.
  • step 1004 If it is determined in step 1004 that the current window when the user requests to display the custom emoticon management client is the IM session window, the client inserts the user-selected custom emoticon in the IM session window.
  • the custom emoticon management client switches the current window to the IM session window, and sends a clipboard paste (Pas te) message to the RichEdi t control in the IM session window, and the RichEdi t control receives the clipboard.
  • Image data is copied, and in IM session The user-selected custom emoticon is displayed in the window.
  • step 1004 If it is determined in step 1004 that the current window when the user requests to display the custom emoticon management client is not an IM session window, for example, the window is Word, Out look, etc., the user manually inserts a custom emoticon of his or her choice in the window.
  • the custom emoticon management client switches the current window to the window where the user wants to insert a custom emoticon.
  • the user can paste the picture data in the clipboard into the current window by manual pasting.
  • the custom emoticon management client can also edit the custom emoticon selected by the user according to the user's request, and then insert the edited custom in the determined window. expression.
  • Step 1006 Receive a user's edit request, delete or add a custom expression in the client.
  • the user selects the emoticon that you want to delete in the client's custom emoticon list, and the client obtains the ID of the custom emoticon, and deletes the original of the custom emoticon by looking up the relevant information in the configuration file.
  • the client can further update the custom emoticons on the server during the local custom emoticon deletion process.
  • the client sends a custom emoticon deletion request to the server.
  • the request contains: The deleted custom emoticon ID and user ID.
  • the server parses the request as valid, the user extracts the custom emoticon ID and the user ID, queries the directory on the server for storing the user-defined emoticon through the user ID, and then queries whether the custom emoticon exists through the custom emoticon ID. , if it exists, delete the emoticon and update the user configuration on the server.
  • the user selects the original image file corresponding to the custom emoticon in the client.
  • the client can copy only the original picture file to a preset directory and update the configuration file.
  • the client may further generate a thumbnail of the customized emoticon according to a certain format and save it in a preset directory, and save the unique identifier of the customized emoticon, the emoticon name, the path of the original image, and the path of the original image in the configuration file. The path to the thumbnail and the location of the emoticon in the list.
  • the user successfully returns the prompt that was successfully added, and updates the local timestamp information.
  • the newly added custom emoticon thumbnail can be found in the last position.
  • the client can further update the custom emoticons on the server during the local custom emoticon addition process.
  • the client sends a custom emoticon add request to the server.
  • the request includes: hash data of the custom emoticon original image file and a user ID.
  • the hash is mainly used in the encryption algorithm in the information security field, and is an operation of compressing a message of an arbitrary length into a message summary of a fixed length.
  • the server parses the request as valid, extracts the hash data and the user ID, queries the directory on the server for storing the user-defined emoticon through the user ID, and then queries the hash data of all the customized emoticons in the server through the hash data.
  • the client Using the HTTP protocol, the user ID, the ID of the custom emoticon, the hash data corresponding to the original picture, the original picture type, and the byte stream of the picture content are included in the data packet and sent to the server.
  • the server queries the directory on the server for storing the user-defined emoticon according to the user ID, generates and saves the customized emoticon according to the image type and the image content, and finally sets the above-mentioned custom emoticon ID,
  • the hash data is written into the user's configuration file, and the timestamp information of the user profile on the server is updated, and the successfully added prompt is returned to the client.
  • custom expressions is also applicable to other custom information such as animations, videos, etc.
  • the above analysis of the IM system is also applicable to other applications (eg, online games, Word, etc.), and the process of sharing custom emoticons between multiple applications.
  • the user only needs to press a shortcut key of a setting to call out a customized information list in any software that can insert pictures and expressions, that is, the user has a proprietary information library of his own, and the invention can also Breaking the limitations of the computer, you can save your own customized information through the server, so that as long as there is a network, even if it is operated on a computer that has never been used, users can use their carefully saved pictures and expressions as they please.
  • This facilitates the user's management and use of custom information, and also saves the computer hard disk space occupied by different software separately storing custom information. Therefore, the embodiment of the present invention solves the problem that the custom information is not highly versatile.

Landscapes

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

Description

自定义信息管理装置、 方法及系统 技术领域
本发明涉及计算机技术领域, 特别涉及一种自定义信息管理装置、 方法及系统。 发明背景
网络即时通信(IM )服务是一种基于互联网 (Internet ) 的通信服 务, 一般以实现网络上的即时通信功能为主。 网络即时通讯服务发展到 今天, 已经成为了网络用户的日常生活中不可缺少的工具之一。
最初的 IM系统只能提供基本的文本通信功能,但随着计算机技术的 发展, 为了丰富用户在聊天时的乐趣, 在现有的 IM 系统中, 用户可以 设置自定义信息, 并在与其他用户即时通讯时互相传输该自定义信息。 例如: 在当前主流的 IM 系统中均已实现的自定义表情就是上述自定义 信息中的一种。 自定义表情可以是用户自定义的图片, 图片的内容完全 由用户自定义设置, 可以是动物、 人物、 风景图片, 也可以是屏幕截图 等。 在 IM 系统中, 用户可以通过发送某个自定义表情来表达自己当时 的心情或者某些意愿, 这使得聊天与沟通变得更加的具有乐趣, 同时也 满足了用户更加丰富的沟通需求, 极大地提高了 IM软件的可用性与便 利性。
参见图 1 , 图 1为现有技术中自定义表情管理方法的流程示意图。 由图 1可见, 该方法包括:
步骤 101、 在使用自定义表情前, 用户为某计算机中某 IM系统的客 户端添加自定义表情。 如果用户希望在 IM系统 A的客户端中使用某个自定义表情,就需要 为该客户端添加该自定义表情, 如果用户希望在 IM系统 B的客户端中 也使用该自定义表情, 就需要再为该客户端添加自定义表情。
步骤 102、 用户在该 IM客户端发起的 IM会话中插入自定义表情。 用户在该 IM客户端中选择之前添加好的自定义表情,将其插入会话 窗口, 发送给其他用户。
可见,采用上述自定义表情管理方法,用户可以在某 IM系统中使用 在该 IM 系统中已添加的自定义表情, 使得用户间的聊天会话与沟通变 得更加具有乐趣。 但是, 由于现有技术中, 每个 IM 系统都需要独立维 护自己的自定义表情。 因此, 这就存在一个问题: 自定义表情在不同 IM 系统间的通用性不强。
具体来说, 不同 IM系统上的自定义表情不能相互通用, 例如: MSN 客户端上的自定义表情不能适用于 QQ客户端, 反之亦然。 这是因为: 对于不同的 IM 系统, 需要分别采用该系统对应的客户端添加自定义表 情, 而且所采用的自定义表情界面和配置文件也不相同。 如果 IM系统 A 的客户端想使用 IM系统 B的客户端中的自定义表情, 就必须在 IM系统 A 的客户端中手动添加该自定义表情, 并需要重新为该自定义表情分配 一部分硬盘空间, 这就造成系统资源的严重浪费。
显然, 本领域技术人员可以意识到, 上述对自定义表情的分析也适 用于例如动画、 视频等其他自定义信息中, 而且上述对 IM 系统的分析 也适用于在其他应用 (例如: 网络游戏、 Word等) 中、 以及在多种应用 之间共享自定义表情的过程。 发明内容
有鉴于此, 本发明的实施例提供了自定义信息管理装置、 方法及系 统, 解决了自定义信息通用性不强的问题。
根据本发明实施例的一种自定义信息管理装置, 包括:
窗口确定模块, 用于确定用户希望插入自定义信息的窗口; 信息插入模块,用于在所确定的窗口中插入用户选择的自定义信息。 根据本发明另一实施例的一种自定义信息管理方法, 包括: 确定用户希望插入自定义信息的窗口;
在所确定的窗口中插入用户选择的自定义信息。
根据本发明又一实施例的一种自定义信息管理系统, 包括: 自定义信息管理客户端,用于确定用户希望插入自定义信息的窗口, 在所确定的窗口中插入用户选择的自定义信息, 并与自定义信息管理服 务器进行同步, 更新用户的自定义信息;
自定义信息管理服务器, 用于存储用户的自定义信息, 根据自定义 信息管理客户端的请求, 与其进行同步, 更新用户的自定义信息。
由上述的技术方案可见, 相比现有技术, 本发明实施例提供的自定 义信息管理装置、 方法及系统, 可以在任何支持自定义信息的软件窗口 中插入自定义信息, 即用户有了一个属于自己的专有信息库, 方便了用 户对于自定义信息的管理和使用, 同时也节省了不同软件分别存储自定 义信息所占用的计算机硬盘空间。 因此, 本发明实施例解决了自定义信 息通用性不强的问题。 附图简要说明
图 1为现有技术中自定义表情管理方法的流程示意图;
图 2为本发明实施例中自定义信息管理装置的结构示意图; 图 3为本发明实施例中自定义信息管理方法的流程示意图; 图 4为本发明实施例一中自定义信息管理装置的结构示意图; 图 5为本发明实施例一中自定义信息管理方法的流程示意图; 图 6为本发明实施例二中自定义信息管理装置的结构示意图; 图 7为本发明实施例二中自定义信息管理方法的流程示意图; 图 8为本发明实施例三中自定义信息管理系统的结构示意图; 图 9为本发明实施例三中自定义信息管理方法的流程示意图; 图 10为本发明实施例中自定义表情管理方法的流程示意图。 实施本发明的方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及 具体实施例对本发明作进一步地详细描述。
本发明实施例提供的自定义信息管理装置、 方法及系统, 可以确定 用户希望插入自定义信息的窗口, 在所确定的窗口中插入用户选择的自 定义信息。
参见图 2 , 图 2为本发明实施例中自定义信息管理装置的结构示意 图。 由图 2可见, 该装置包括: 窗口确定模块 210、 信息插入模块 220。
其中,窗口确定模块 210用于确定用户希望插入自定义信息的窗口。 信息插入模块 220用于在所确定的窗口中插入用户选择的自定义信 参见图 3, 图 3为本发明实施例中自定义信息管理方法的流程示意 图。 由图 3可见, 该方法包括:
步骤 301、 确定用户希望插入自定义信息的窗口。
步骤 302、 在所确定的窗口中插入用户选择的自定义信息。
下面, 通过实施例对本发明提供的自定义信息管理装置、 方法及系 统进行详细说明。
实施例一 参见图 4 , 图 4为本发明实施例一中自定义信息管理装置的结构示 意图。 由图 4可见,该装置包括: 窗口确定模块 410、信息插入模块 420。 该装置还包括: 信息存储模块 430。
其中,信息存储模块 430包括信息存储单元 431、信息添加单元 432 和信息删除单元 433。
信息存储单元 431用于存储用户的自定义信息。
信息添加单元 432用于在信息存储单元 431中添加自定义信息。 信息删除单元 433用于在信息存储单元 431中删除已存在的自定义 信息。
窗口确定模块 410包括:插入请求接收单元 411、窗口确定单元 412。 插入请求接收单元 411用于接收用户插入自定义信息的请求。
窗口确定单元 412用于根据用户插入自定义信息的请求, 获取并记 录用户的当前窗口的唯一标识信息, 将该当前窗口作为用户希望插入自 定义信息的窗口。 其中, 当前窗口是指焦点处于激活(Act ive )状态的 窗口。
信息插入模块 420包括: 列表显示单元 421、 信息选择单元 422和 信息插入单元 423。
列表显示单元 421用于显示信息存储单元 431中用户所有自定义信 息的列表。
信息选择单元 422用于接收用户从上述自定义信息列表中选择的自 定义信息。
信息插入单元 423用于在所确定的窗口中插入上述自定义信息。 参见图 5 , 图 5为本发明实施例一中自定义信息管理方法的流程示 意图。 由图 5可见, 该方法包括:
步骤 501、 在自定义信息管理装置中保存用户的自定义信息, 并可 以根据用户请求添加、 删除某个自定义信息。
当然, 在实际应用中, 也可以在自定义信息管理装置中默认预置一 些信息, 以便用户在最初时使用。
步骤 502、 接收用户插入自定义信息的请求, 确定用户希望插入自 定义信息的窗口。
用户通过例如快捷键、 点击任务栏中相应图标激活自定义信息管理 装置时, 自定义信息管理装置获取并记录用户当前窗口的信息。
步骤 503、 显示自定义信息列表, 接收用户从上述自定义信息列表 中选择的自定义信息, 在所确定的窗口中插入上述自定义信息。
自定义信息管理装置在自定义信息列表中显示全部自定义信息, 用 户在上述列表中选择期望使用的自定义信息, 自定义信息管理装置将该 自定义信息复制到剪切板中, 并将当前窗口切换至用户希望插入自定义 信息的窗口, 自动在该窗口中插入上述自定义信息, 或者用户通过手动 粘贴方式在该窗口中插入上述自定义信息。
需要注意的是, 在本实施例的自定义信息管理方法中, 步骤 501并 没有严格的执行次序, 可以贯穿在整个自定义信息管理过程中, 这里仅 为了描述方便而先说明步骤 501。
根据本实施例, 用户可以将自定义信息保存在一个公共的自定义信 息管理装置中, 当用户需要在任何窗口中插入自定义信息时, 都可以在 该装置的自定义信息列表中选择自己期望使用的自定义信息。 因此, 本 发明实施例解决自定义信息通用性不强的问题。
实施例二
本实施例在实施例一的基 上, 在将用户选择的自定义信息插入到 所确定的窗口前, 可以进一步根据用户请求编辑上述自定义信息, 以便 用户可以对自定义信息进行个性化调整。 参见图 6 , 图 6为本发明实施例二中自定义信息管理装置的结构示 意图。 由图 6可见, 该装置包括: 窗口确定模块 610、 信息插入模块 620 和信息存储模块 630。
窗口确定模块 610和信息存储模块 630与实施例一中的相应模块功 能相同。
信息插入模块 620包括: 列表显示单元 621、 信息选择单元 622和 信息插入单元 623。 该模块还包括: 信息编辑单元 624。
其中, 列表显示单元 621、 信息选择单元 622与实施例一中的相应 单元功能相同。
信息插入单元 623用于根据用户的请求, 将用户选择的自定义信息 送入信息编辑单元 624进行编辑, 并从信息编辑单元 624接收编辑好的 自定义信息, 插入到所确定的窗口。
信息编辑单元 624用于编辑用户选择的自定义信息, 并将上述编辑 好的自定义信息发送给信息插入单元 623。
参见图 7 , 图 7为本发明实施例二中自定义信息管理方法的流程示 意图。 由图 7可见, 该方法包括:
步骤 701、 在自定义信息管理装置中保存用户的自定义信息, 并可 以根据用户请求添加、 删除某个自定义信息。
步骤 702、 接收用户插入自定义信息的请求, 确定用户希望插入自 定义信息的窗口。
步骤 703、 显示自定义信息列表, 接收用户从上述自定义信息列表 中选择的自定义信息。
步骤 701-703与实施例一中的相应步骤相同。
步骤 704、 根据用户的请求, 编辑用户选择的自定义信息, 并在所 确定的窗口中插入上述编辑好的自定义信息。 自定义信息管理装置在自定义信息列表中显示全部自定义信息, 用 户在上述列表中选择期望使用的自定义信息时, 可以进一步选择 "编辑 并插入" 方式。 当用户选择此方式后, 自定义信息管理装置将该自定义 信息复制到剪切板中, 并将当前窗口切换至自定义信息编辑窗口, 自动 在该窗口中插入上述自定义信息等待用户编辑。
其中, 该自定义信息编辑窗口可以采用应用程序接口 (API )调用 windows 中的画图工具, 或者也可以采用其他类似工具为自定义信息提 供编辑功能。
这样,用户就可以通过自定义信息编辑窗口对自定义信息进行编辑, 例如用户可以在原有的自定义信息中插入一段话, 或者加入一些个性化 信息。 用户在编辑完成后, 点击退出自定义信息编辑窗口, 这时自定义 信息管理装置将编辑好的自定义信息复制到剪切板中, 并将当前窗口切 换至用户希望插入自定义信息的窗口, 自动在该窗口中插入上述编辑好 的自定义信息, 或者用户通过手动粘贴方式在该窗口中插入上述编辑好 的自定义信息。
在本步骤执行完毕后, 自定义信息管理装置的信息存储单元中存储 的自定义信息并不会由于本步骤中的操作而改变。 当然在实际应用中, 自定义信息管理装置也可以根据用户的请求, 在所确定的窗口中插入上 述编辑好的自定义信息, 并同时更新信息存储单元中存储的自定义信 根据本实施例, 在实施例一的基础上, 用户在选择希望插入到所确 定的窗口的自定义信息后, 可以进一步编辑上述自定义信息, 对自定义 信息进行个性化调整, 极大地提高了通过本装置使用自定义信息的便利 性和趣味性。
实施例三 本实施例在上述实施例的基础上, 进一步以一种自定义信息管理系 统的方式, 实现了自定义信息的网络管理功能。
参见图 8, 图 8为本发明实施例三中自定义信息管理系统的结构示 意图。 由图 8可见, 该系统包括: 自定义信息管理客户端 801、 自定义 信息管理服务器 802。
自定义信息管理客户端 801 , 在实施例一中自定义信息管理装置的 基石出上, 进一步包括: 信息同步模块, 在图 8中未标出, 用于根据用户 请求或者定时判断用户的计算机是否处于联机状态, 如果是, 与自定义 信息管理服务器进行同步, 更新服务器中或者信息存储模块中所存储的 用户自定义信息。
自定义信息管理服务器 802用于存储用户的自定义信息, 根据自定 义信息管理客户端的请求, 与其同步用户的自定义信息。
参见图 9 , 图 9为本发明实施例三中自定义信息管理方法的流程示 意图。 由图 9可见, 该方法包括:
步骤 901、 在自定义信息管理客户端中保存用户的自定义信息, 并 可以根据用户请求添加、 删除某个自定义信息。
步骤 902、 判断用户的计算机是否处于联机状态如果是, 与自定义 信息管理服务器进行同步, 更新用户的自定义信息; 否则不执行操作。
步骤 903、 接收用户插入自定义信息的请求, 确定用户希望插入自 定义信息的窗口。
步骤 904、 显示自定义信息列表, 接收用户从上述自定义信息列表 中选择的自定义信息, 在所确定的窗口中插入上述自定义信息。
当然, 在插入自定义信息前, 自定义信息管理客户端也可以根据用 户的请求, 先编辑用户选择的自定义信息, 再在所确定的窗口中插入上 述编辑好的自定义信息。 需要注意的是, 在本实施例的自定义信息管理方法中, 步骤 901、 902 并没有严格的执行次序, 可以贯穿在整个自定义信息管理过程中, 这里仅为了描述方便而先说明步骤 901、 902。
根据本实施例, 用户可以将自定义信息保存在一个公共的自定义信 息管理客户端中, 并可以根据需要与自定义信息管理服务器进行同步, 这样只要计算机处于联机状态, 用户在任何地方都可以使用自己设置好 的自定义信息。 当用户需要在任何窗口中插入自定义信息时, 都可以在 该客户端的自定义信息列表中选择自己期望使用的自定义信息。 因此, 本发明实施例解决自定义信息通用性不强的问题。
这里需要注意的是, 本领域的技术人员可以知悉: 本发明实施例所 述的自定义信息可以是所有用户自定义的信息, 例如自定义表情图片、 自定义头像、 自定义文字信息等等。
显然, 可以将本发明实施例应用到各种自定义信息的管理过程中。 下面, 以在 windows操作系统中使用自定义表情为例对本发明实施例进 行更力口详细地说明。 不过, 本领域技术人员可以意识到, 以在 windows 操作系统中使用自定义表情为例对本发明进行说明仅仅是示范性的, 并 不用于对本发明的保护范围进行限定。
参见图 10, 图 10为本发明实施例中自定义表情管理方法的流程示 意图。 由图 10可见, 该方法包括:
步骤 1001、 用户安装自定义表情管理客户端。
例如, 用户在 windows操作系统中安装自定义表情管理客户端时, 该客户端可以利用与注册表相关的 API ,设置注册表中的自动启动项目, 把该客户端的应用程序路径写入自动启动项目的相应键值中。 这样, 当 windows 启动时会读取启动项目中的程序路径, 命令自定义表情管理客 户端会随操作系统自动启动。 当然, 用户在安装自定义表情管理客户端时, 也可以设置该客户端 不随操作系统自动启动, 而是等待用户点击后启动。
步骤 1002、 用户登录自定义表情管理客户端。
子步骤 1、 自定义表情管理客户端随操作系统自动启动, 或通过用 户点击相应应用程序或快捷方式启动后, 在本地的配置文件中获取登录 号码列表, 并判断是否有自动登录用户, 如果有, 则从本地的配置文件 中提取该用户的用户标识(ID )和密码, 并执行子步骤 3; 否则, 执行 子步骤 2。
子步骤 2、 自定义表情管理客户端利用与窗口相关的 API创建登录 界面, 用户在上述登录界面中输入用户 ID以及密码。
子步骤 3、 用户登录自定义表情管理客户端。
该客户端判断用户所使用的计算机是处于联网状态还是脱机状态。 当该计算机处于联网状态时,该客户端将上述用户 ID以及密码封装 到数据包中, 发送给自定义表情管理服务器进行认证, 如果该服务器返 回用户 ID 与密码有效, 则允许用户以联机方式登录自定义表情管理客 户端, 即用户可以利用该客户端与自定义表情管理服务器进行通信; 如 果该服务器返回用户 ID与密码无效, 则拒绝用户登录。
当该计算机处于脱机状态时, 该客户端查询该用户对应的本地配置 文件, 根据保存在该配置文件中的密码对用户进行认证, 如果用户输入 的密码与所保存的密码相同, 则允许用户以脱机方式登录自定义表情管 理客户端, 即用户只能使用该客户端的本地功能, 不能利用该客户端与 自定义表情管理服务器进行通信; 如果用户输入的密码与所保存的密码 不同, 拒绝用户登录。
当用户以脱机方式登录后, 自定义表情管理客户端会定时或根据用 户请求尝试连接自定义表情管理服务器, 将用户之前输入的用户 ID 以 及密码封装到数据包中, 发送给自定义表情管理服务器进行认证, 当用 户的计算机转为联网状态后, 服务器对上述用户 ID 以及密码进行有效 性判断, 如果该服务器返回用户 ID 与密码有效, 则允许用户以联机方 式登录自定义表情管理客户端。
步骤 1003、 当用户以联机方式登录后, 自定义表情管理客户端与自 定义表情管理服务器进行同步, 更新用户的自定义表情。
用户以联机方式登录后, 自定义表情管理客户端可以立即或者根据 用户请求与服务器进行同步。
子步骤 1、 自定义表情管理客户端获取服务器上存储的时间戳信息。 其中, 时间戳信息分别存储于本地或远程该用户的配置文件中, 用于标 识用户最后一次添加、 删除、 同步自定义表情操作的时间。
自定义表情管理客户端将用户的标识信息包含在用于获取服务器时 间戳信息的数据包中发送给服务器。 服务器收到该数据包并确认该数据 包有效后, 提取该数据包中的用户标识信息, 查询并获取该用户的时间 戳信息, 并将该时间戳信息返回给上述自定义表情管理客户端。
子步骤 2、 自定义表情管理客户端在本地配置文件中查询本地的时 间戳信息。
子步骤 3、 自定义表情管理客户端比较本地和远程的时间戳信息, 如果远程的时间戳信息较新, 则将远程的自定义表情下载至本地; 如果 本地的时间戳信息较新, 则将本地的自定义表情上传至服务器。
1 )当需要将远程的自定义表情下载至本地时, 自定义表情管理客户 端利用超文本传输协议(HTTP )协议, 发送获取自定义表情的协议命令 到服务器, 服务器根据接收到的命令, 打包服务器中该用户的自定义表 情并传输给客户端, 客户端按照数据包的协议格式, 解析出下载的自定 义表情并存储到特定文件目录中, 最后更新本地配置文件中的时间戳信 较佳地,客户端还可以进一步为上述下载的自定义表情生成缩略图, 并将该缩略图的路径同该自定义表情的其他信息一起保存在配置文件 中。
2 )当需要将本地的自定义表情上传至服务器时, 自定义表情管理客 户端利用 HTTP, 将本地的自定义表情打包, 传输给服务器进行更新。
上述数据包的协议格式可以包括: 包头、 内容、 包尾。 其中, 包头、 包尾字段可以包括: 各种标识信息和开销信息。 内容字段可以包括: 自 定义表情的唯一标识、 表情名称、 原始图片的名称、 图片类型和图片内 容字节流等。
较佳地, 在上述同步过程中, 可以采用增量同步的技术, 即只对服 务器与客户端中不同的自定义表情进行同步, 以提高同步的效率。
当然, 在实际应用中, 本领域的技术人员可以知悉, 当用户的计算 机处于脱机状态或用户不期望与自定义表情管理服务器进行同步时, 步 骤 1003可以不必执行。
步骤 1004、 接收用户插入自定义表情的请求, 显示自定义表情管理 客户端的操作界面, 获取并记录用户的当前窗口信息。
子步骤 1、 接收用户插入自定义表情的请求, 显示自定义表情管理 客户端的操作界面。 用户可以采用以下种方式请求插入自定义表情:
1 )用户可以在自定义表情管理客户端中设置快捷键,该客户端在启 动后, 用户可以通过按下事先设置的快捷键, 请求显示该客户端界面。
这就需要事先在自定义表情管理客户端中包含能够处理 windows操 作系统全局消息的程序, 例如 windows的键盘钩子、 鼠标钩子等。 当用 户按下某个键的时候, windows 操作系统会产生对应的键盘消息, 对于 鼠标操作也是如此。通过该程序, 自定义表情管理客户端能够在 windows 系统中, 捕获用户发出的键盘消息、 或鼠标消息等。 自定义表情管理客 户端在接收到上述消息后, 判断该消息是否用于请求显示客户端界面, 如果是, 则创建自定义表情管理客户端的界面。
2 )用户也可以通过点击任务栏中的相应图标,请求显示该客户端界 面。
自定义表情管理客户端在启动后, 可以被最小化到任务栏中, 用户 通过点击任务栏中的相应图标, 请求显示该客户端界面。
当然, 用户也可以通过其他方式, 请求显示该客户端界面。
子步骤 2、 自定义表情管理客户端获取并记录用户当前窗口的信息。 其中, 当前窗口是指焦点处于激活 (Act ive )状态的窗口。
用户请求显示自定义表情管理客户端时, 自定义表情管理客户端获 取并记录用户的当前窗口的唯一标识信息, 例如: 窗口句柄。 该窗口句 柄就是在整个 windows 中用来区分窗口对象的唯一标识符号, 为 32位 整数。
自定义表情管理客户端进一步可以通过上述窗口句柄来分析该窗口 所具备的特性, 判断该窗口是否为 IM会话窗口。 由于在 windows 系统 中当前所有 IM软件在会话窗口中都采用富编辑(RichEd i t )控件对 IM 消息进行控制, 因此自定义表情管理客户端分析上述窗口句柄, 判断该 窗口是否包括 RichEdi t控件, 如果是, 该窗口为 IM会话窗口; 否则该 窗口不是 IM会话窗口。
步骤 1005、 接收用户在自定义表情列表中选择的自定义表情, 并将 该表情插入期望的窗口中。
子步骤 1、 用户在自定义表情管理客户端的自定义表情列表中选择 希望插入的表情后, 客户端按照剪切板的格式, 把该表情对应的图片数 据存储到公共剪切板对应的内存区域中。 在自定义表情列表中可以采用以下方式显示自定义表情:
1 )显示所有自定义表情的原始图片。
当用户添加自定义表情时, 自定义表情管理客户端在预先设置的目 录中保存该自定义表情的原始图片, 并在配置文件中保存所有自定义表 情的唯一标识、 表情名称、 原始图片的路径和该表情在列表中的位置。 当用户打开列表时, 按上述信息打开并绘制各个自定义表情的原始图 片。
2 )显示所有自定义表情的原始图片的缩略图。
由于各自定义表情的原始图片大小不一, 在列表中不便于显示。 因 此, 当用户添加自定义表情时, 自定义表情管理客户端在预先设置的目 录中保存该自定义表情的原始图片后, 进一步按照一定格式生成该自定 义表情的缩略图保存在预先设置的目录中, 并在配置文件中保存所有自 定义表情的唯一标识、 表情名称、 原始图片的路径、 缩略图的路径和该 表情在列表中的位置。 当用户打开列表时, 按上述信息打开并绘制各个 自定义表情的缩略图。
3 )还可以进一步根据用户的请求,对上述列表中的自定义表情进行 分组, 和 /或对自定义表情在列表中的显示顺序进行调整, 以提高查找 自定义表情的效率。
子步骤 2、 在期望窗口中插入自定义表情。
1 )如果在步骤 1004中判断用户请求显示自定义表情管理客户端时 的当前窗口为 IM会话窗口, 客户端在该 IM会话窗口中插入用户选择的 自定义表情。
具体来说, 自定义表情管理客户端将当前窗口切换至该 IM会话窗 口, 向该 IM会话窗口中的 RichEdi t控件发送剪切板粘贴 (Pas te ) 消 息, 该 RichEdi t控件接收剪切板中的图片数据进行复制, 并在 IM会话 窗口中显示用户选择的自定义表情。
2 )如果在步骤 1004中判断用户请求显示自定义表情管理客户端时 的当前窗口不是 IM会话窗口, 例如该窗口为 Word、 Out look等, 用户 手动在该窗口中插入自己选择的自定义表情。
具体来说, 自定义表情管理客户端将当前窗口切换至用户希望插入 自定义表情的窗口。 这时, 用户可以采用手动粘贴的方式, 将剪切板中 的图片数据粘贴到当前窗口中。
当然, 在实际应用中插入自定义表情前, 自定义表情管理客户端也 可以根据用户的请求, 先对用户选择的自定义表情进行编辑, 再在所确 定的窗口中插入上述编辑好的自定义表情。
步骤 1006、 接收用户的编辑请求, 删除或者添加客户端中的自定义 表情。
用户可以在自定义表情管理客户端中选择删除或者添加自定义表 情。
1 )如果希望删除自定义表情,用户在客户端的自定义表情列表中选 择希望删除的表情, 客户端获取该自定义表情的 ID, 通过查找配置文件 中的相关信息, 删除该自定义表情的原始图片、 缩略图, 最后在配置文 件中删除该自定义表情的相关信息, 并更新本地的时间戳信息。
当然, 客户端在进行本地自定义表情删除过程中, 还可以进一步对 服务器上的自定义表情进行更新。
具体来说, 客户端向服务器发送自定义表情删除请求。 该请求中包 含: 所删除的自定义表情 ID以及用户 ID。 服务器解析该请求为有效后, 提取自定义表情 ID以及用户 ID,通过用户 ID查询到服务器上用于存储 该用户自定义表情的目录, 然后再通过该自定义表情 ID 查询该自定义 表情是否存在, 如果存在则删除该表情, 同时更新服务器上该用户配置 文件的时间戳信息并向客户端返回成功删除的提示, 否则向客户端返回 出错信息, 提示该自定义表情不存在。
2 )如果希望添加自定义表情,用户在客户端中选择自定义表情对应 的原始图片文件。 客户端可以只将该原始图片文件复制到预先设置的目 录中, 并更新配置文件。 较佳地, 客户端也可以进一步按照一定格式生 成该自定义表情的缩略图并保存在预先设置的目录中, 在配置文件中保 存该自定义表情的唯一标识、 表情名称、 原始图片的路径、 缩略图的路 径和该表情在列表中的位置。 最后向用户返回成功添加的提示, 并更新 本地的时间戳信息, 这时用户打开自定义表情列表时, 可以在最后位置 找到新添加的自定义表情缩略图。
当然, 客户端在进行本地自定义表情添加过程中, 还可以进一步对 服务器上的自定义表情进行更新。
具体来说, 客户端向服务器发送自定义表情添加请求。 该请求中包 含: 该自定义表情原始图片文件的哈希(hash )数据以及用户 ID。其中, hash主要用于信息安全领域中加密算法,是一种将任意长度的消息压缩 到某一固定长度的消息摘要的操作。 服务器解析该请求为有效后, 提取 hash数据以及用户 ID, 通过用户 ID查询到服务器上用于存储该用户自 定义表情的目录, 然后再通过该 hash数据查询服务器中所有自定义表 情的 hash数据, 以确定该自定义表情是否已经存在, 如果存在则向客 户端返回出错信息, 提示该自定义表情已经存在; 否则向客户端返回响 应信息, 提示客户端可以上传该自定义表情, 这时客户端利用 HTTP协 议, 将用户 ID、 自定义表情的 ID、 对应原始图片的 hash数据、 原始图 片类型以及图片内容的字节流等包含在数据包中发送给服务器。 服务器 根据用户 ID 查询到服务器上用于存储该用户自定义表情的目录, 按图 片类型和图片内容生成并保存自定义表情, 最后将上述自定义表情 ID、 hash数据写入该用户的配置文件中, 同时更新服务器上该用户配置文件 的时间戳信息, 并向客户端返回成功添加的提示
显然, 本领域技术人员可以意识到, 上述对自定义表情的分析也适 用于例如动画、 视频等其他自定义信息中, 而且上述对 IM 系统的分析 也适用于在其他应用 (例如: 网络游戏、 Word等) 中、 以及在多种应用 之间共享自定义表情的过程。
由上述的实施例可见, 现有技术中用户在不同系统中使用自定义信 息时, 需要对各个系统分别维护一个自定义信息库, 这就造成自定义信 息的通用性不强, 因此, 导致了系统资源的严重浪费。 应用本发明, 可 以确定用户希望插入自定义信息的窗口, 在所确定的窗口中插入用户选 择的自定义信息。 这样用户只需要例如按下某个设置的快捷键, 就可以 在任何可插入图片和表情的软件中呼出自定义信息列表, 即用户有了一 个属于自己的专有信息库, 并且本发明还能打破电脑的限制, 可以通过 服务器保存自己的自定义信息, 这样只要有网络, 哪怕是在从没有用过 的电脑上进行操作, 用户都可以随心所欲的使用自己精心保存的图片和 表情。 这样即方便了用户对于自定义信息的管理和使用, 同时也节省了 不同软件分别存储自定义信息所占用的计算机硬盘空间。 因此, 本发明 实施例解决了自定义信息通用性不强的问题。
综上所述, 以上仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种自定义信息管理装置, 其特征在于, 包括:
窗口确定模块, 用于确定用户希望插入自定义信息的窗口; 信息插入模块,用于在所确定的窗口中插入用户选择的自定义信息。
2、如权利要求 1所述的装置,其特征在于,所述窗口确定模块包括: 插入请求接收单元, 用于接收用户插入自定义信息的请求; 窗口确定单元, 用于根据用户插入自定义信息的请求, 获取并记录 用户的当前窗口的唯一标识信息, 将所述当前窗口作为用户希望插入自 定义信息的窗口。
3、如权利要求 1所述的装置,其特征在于,所述信息插入模块包括: 列表显示单元, 用于显示自定义信息的列表;
信息选择单元, 用于接收用户从所述列表中选择的自定义信息; 信息插入单元, 用于将当前窗口切换至所确定的窗口, 在所述确定 的窗口中插入所述自定义信息。
4、如权利要求 3所述的装置, 其特征在于, 所述信息插入模块进一 步包括:
信息编辑单元, 用于编辑用户选择的自定义信息, 并将编辑好的所 述自定义信息发送给信息插入单元;
所述信息插入单元用于根据用户的请求, 将用户选择的自定义信息 送入信息编辑单元进行编辑, 并从信息编辑单元接收编辑好的自定义信 息, 插入到所确定的窗口。
5、如权利要求 1至 4任一项所述的装置,其特征在于,进一步包括: 信息存储模块, 用于保存用户的自定义信息, 并根据用户请求添加、 删 除某个自定义信息。
6、 如权利要求 5所述的装置, 其特征在于, 进一步包括: 信息同步 模块, 用于根据用户请求或者定时判断用户的计算机是否处于联机状 态, 如果是, 与自定义信息管理服务器进行同步, 更新用户的自定义信 息。
7、 一种自定义信息管理方法, 其特征在于, 包括:
确定用户希望插入自定义信息的窗口;
在所确定的窗口中插入用户选择的自定义信息。
8、 如权利要求 7所述的方法, 其特征在于, 所述确定用户希望插入 自定义信息的窗口包括: 接收用户插入自定义信息的请求, 根据所述请 求, 获取并记录用户的当前窗口的唯一标识信息, 将所述当前窗口作为 用户希望插入自定义信息的窗口。
9、如权利要求 7所述的方法, 其特征在于, 所述在所确定的窗口中 插入用户选择的自定义信息包括: 显示自定义信息列表, 接收用户从所 述自定义信息列表中选择的自定义信息, 在所确定的窗口中插入所述自 定义信息。
10、 如权利要求 9所述的方法, 其特征在于, 所述在所确定的窗口 中插入所述自定义信息包括:
根据用户的请求, 编辑用户选择的自定义信息, 并在所确定的窗口 中插入编辑好的所述自定义信息。
11、如权利要求 7至 10任一项所述的方法, 其特征在于, 进一步包 括: 保存用户的自定义信息, 并根据用户请求添加、 删除自定义信息。
12、 如权利要求 11所述的方法, 其特征在于, 进一步包括: 根据用 户请求或者定时判断用户的计算机是否处于联机状态, 如果是, 与自定 义信息管理月良务器进行同步, 更新用户的自定义信息。
1 3、 一种自定义信息管理系统, 其特征在于, 包括: 自定义信息管理客户端,用于确定用户希望插入自定义信息的窗口, 在所确定的窗口中插入用户选择的自定义信息, 并与自定义信息管理服 务器进行同步, 更新用户的自定义信息;
自定义信息管理服务器, 用于存储用户的自定义信息, 根据自定义 信息管理客户端的请求, 与自定义信息管理客户端进行同步, 更新用户 的自定义信息。
PCT/CN2009/070809 2008-03-31 2009-03-16 自定义信息管理装置、方法及系统 WO2009121262A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2008100880970A CN101252550A (zh) 2008-03-31 2008-03-31 自定义信息管理装置、方法及系统
CN200810088097.0 2008-03-31

Publications (1)

Publication Number Publication Date
WO2009121262A1 true WO2009121262A1 (zh) 2009-10-08

Family

ID=39955744

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070809 WO2009121262A1 (zh) 2008-03-31 2009-03-16 自定义信息管理装置、方法及系统

Country Status (2)

Country Link
CN (1) CN101252550A (zh)
WO (1) WO2009121262A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252550A (zh) * 2008-03-31 2008-08-27 腾讯科技(深圳)有限公司 自定义信息管理装置、方法及系统
CN102137030B (zh) * 2010-01-22 2015-07-01 腾讯科技(深圳)有限公司 即时通讯系统及个人设置数据传输方法
CN102868588B (zh) * 2011-07-07 2016-05-11 腾讯科技(深圳)有限公司 停靠栏的实现方法和装置
CN103795609B (zh) * 2012-11-02 2017-09-19 腾讯科技(深圳)有限公司 自定义头像获取方法及装置
CN103019699A (zh) * 2012-11-23 2013-04-03 郑州威科姆科技股份有限公司 嵌入式设备中web业务软件无干扰接收用户按键的方法
CN106055416B (zh) * 2016-05-23 2020-08-18 珠海市魅族科技有限公司 数据跨应用转移的方法和装置
CN106358087B (zh) * 2016-10-31 2019-04-26 北京小米移动软件有限公司 表情包生成方法及装置
CN107277028B (zh) * 2017-06-30 2020-05-19 阿里巴巴集团控股有限公司 在应用间传输聊天表情的方法及装置、设备、存储介质
CN109472849B (zh) * 2017-09-07 2023-04-07 腾讯科技(深圳)有限公司 处理应用中图像的方法、装置、终端设备和存储介质
CN109086401A (zh) * 2018-07-31 2018-12-25 Oppo广东移动通信有限公司 贴纸获取方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007039518A2 (en) * 2005-09-29 2007-04-12 Roberto Della Pasqua Instant messaging service with categorization of emotion icons
CN101047923A (zh) * 2007-04-10 2007-10-03 华为技术有限公司 表情符号调用方法和装置
CN101123568A (zh) * 2007-09-20 2008-02-13 腾讯科技(深圳)有限公司 一种即时通讯系统及其自定义信息的传输方法
CN101252550A (zh) * 2008-03-31 2008-08-27 腾讯科技(深圳)有限公司 自定义信息管理装置、方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007039518A2 (en) * 2005-09-29 2007-04-12 Roberto Della Pasqua Instant messaging service with categorization of emotion icons
CN101047923A (zh) * 2007-04-10 2007-10-03 华为技术有限公司 表情符号调用方法和装置
CN101123568A (zh) * 2007-09-20 2008-02-13 腾讯科技(深圳)有限公司 一种即时通讯系统及其自定义信息的传输方法
CN101252550A (zh) * 2008-03-31 2008-08-27 腾讯科技(深圳)有限公司 自定义信息管理装置、方法及系统

Also Published As

Publication number Publication date
CN101252550A (zh) 2008-08-27

Similar Documents

Publication Publication Date Title
WO2009121262A1 (zh) 自定义信息管理装置、方法及系统
EP1796314B1 (en) A system and method for implementing online file storage based on a real-time communication platform
JP6186870B2 (ja) 情報処理装置、プログラム、会議システム及びコンテンツ提供方法
US9426214B2 (en) Synchronizing presentation states between multiple applications
JP4714500B2 (ja) 複数のコンピュータシステムを介する電子文書に対するリアルタイムに近い協同作業を可能にする方法、システムおよび装置
US8543637B2 (en) Distributed web publishing
JP4643888B2 (ja) マルチメディア協調作業システム、そのクライアント/サーバ、方法、記録媒体、及びプログラム
CA2889724C (en) Systems and methods for accessing and controlling media stored remotely
US7668901B2 (en) Methods and system using a local proxy server to process media data for local area users
TWI335519B (en) Method for managing file replication in applications
US20040143836A1 (en) System and method for sharing objects among two or more electronic devices
WO2008141550A1 (fr) Procédé d'affichage d'image sur des outils de messagerie instantanée, système et équipement l'utilisant
US7711804B2 (en) Methods and devices for the asynchronous delivery of digital data
WO2011088772A1 (zh) 界面皮肤更换系统及方法
WO2008040224A1 (fr) Procédé, système et appareil de synchronisation de données
US20180091592A1 (en) Preconfigured syncml profile categories
CN101167071A (zh) 用于与多个客户机同步可修改文档的方法、系统和计算机可读介质
KR20120017442A (ko) 서버 저장 모델을 이용하는 파일 파티션들의 동기화
US20140114920A1 (en) Method For Synchronizing Files
WO2011038593A1 (zh) 彩信编辑时获取媒体资源的方法及其移动终端
US20200327161A1 (en) Video processing method, device, terminal and storage medium
US7774464B2 (en) Automatic syncML client profile creation for new servers
JP6326785B2 (ja) 情報処理システム、端末装置、プログラム、及び方法
JP5343453B2 (ja) コンテンツファイル管理システム
JP2000227851A (ja) 双方向通信システム及び記録媒体

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1)EPC

122 Ep: pct application non-entry in european phase

Ref document number: 09727034

Country of ref document: EP

Kind code of ref document: A1