CN112199215A - Message processing method, device, equipment and storage medium - Google Patents

Message processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112199215A
CN112199215A CN202011091023.XA CN202011091023A CN112199215A CN 112199215 A CN112199215 A CN 112199215A CN 202011091023 A CN202011091023 A CN 202011091023A CN 112199215 A CN112199215 A CN 112199215A
Authority
CN
China
Prior art keywords
input
character
message
change event
unprocessed
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.)
Granted
Application number
CN202011091023.XA
Other languages
Chinese (zh)
Other versions
CN112199215B (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.)
Hundsun Technologies Inc
Original Assignee
Hundsun Technologies Inc
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 Hundsun Technologies Inc filed Critical Hundsun Technologies Inc
Priority to CN202011091023.XA priority Critical patent/CN112199215B/en
Publication of CN112199215A publication Critical patent/CN112199215A/en
Application granted granted Critical
Publication of CN112199215B publication Critical patent/CN112199215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: obtaining unprocessed input character messages from the message queue, responding to the input character messages, inputting characters corresponding to the input character messages into the input box, obtaining change events representing the change of the characters in the input box, responding to the change events under the condition that the unprocessed input character messages are not stored in the message queue, and otherwise, returning to the step of obtaining the unprocessed input character messages from the message queue. Unprocessed input character messages are not stored in the message queue, and the message queue shows that all the input character messages stored in the message queue are processed, so that the change event can be responded, namely, the application responds to the change event once after all the characters are written into the input box, the change event is for all the characters input by the input box, meets the requirements of users, does not need to respond to the change event for many times, and saves network resources.

Description

Message processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer front-end technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a message.
Background
As shown in fig. 1, in the chinese mode of the input method, a plurality of characters are input in an edit box 11 of the input method, one character may be a letter or a chinese character, or korean or japanese, and so on, a plurality of characters are simultaneously input into an input box 12 after a user performs a corresponding operation, such as clicking an enter key, and the input box 12 may be an input box in a client, for example, the input box 12 may be an input box in a browser.
Assuming that the input box 12 includes M characters, where M is a positive integer greater than or equal to 1, the client will respond to M change events, for example, the change event is to acquire hyperlinks corresponding to the existing characters in the input box 12, and then M times of acquiring hyperlinks corresponding to the existing characters in the input box 12 will be performed. Multiple execution of a change event may result in a waste of resources, for example, a large amount of network resources may be occupied, or processing resources of a CPU in the electronic device may be wasted.
Disclosure of Invention
In view of this, the present application provides a message processing method, device, apparatus, and storage medium to overcome the problem of resource waste caused by inputting a plurality of characters in the chinese mode of the input method and executing a plurality of change events.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method of message processing, the method comprising:
acquiring an unprocessed input character message from a message queue, wherein one input character message corresponds to one character input aiming at an input box;
responding to the input character message, and inputting characters corresponding to the input character message into the input box;
if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue;
if the message queue stores unprocessed input character messages, the change event is not processed, and the step of obtaining an unprocessed input character message from the message queue is returned;
and responding to the change event if the message queue does not store unprocessed input character messages.
A message processing apparatus comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an unprocessed input character message from a message queue, and one input character message corresponds to one character input aiming at an input box;
the input module is used for responding to the input character message and inputting the character corresponding to the input character message into the input box;
the detection module is used for detecting whether unprocessed input character messages are stored in the message queue or not if a change event representing that the characters in the input box change is obtained;
the processing module is used for triggering the acquisition module if unprocessed input character messages are stored in the message queue and the change event is not processed;
and the response module is used for responding to the change event if the unprocessed input character message is not stored in the message queue.
An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
acquiring an unprocessed input character message from a message queue, wherein one input character message corresponds to one character input aiming at an input box;
responding to the input character message, and inputting characters corresponding to the input character message into the input box;
if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue;
if the message queue stores unprocessed input character messages, the change event is not processed, and the step of obtaining an unprocessed input character message from the message queue is returned;
and responding to the change event if the message queue does not store unprocessed input character messages.
A readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the message processing method according to any one of the preceding claims.
According to the technical scheme, if a user inputs a plurality of characters in an input box at the same time in a Chinese mode of an input method, a plurality of character input messages are stored in a message queue, the characters corresponding to the input character messages are input into the input box every time the character messages are input in response, a change event is generated after the content in the input box is changed, and a plurality of change events are generated if a plurality of character input messages are stored in the message queue. According to the embodiment of the application, after the change event is obtained, if the message queue is detected to store unprocessed input character messages, the change event is not processed; if unprocessed input character messages are not stored in the message queue, it is described that all the input character messages stored in the message queue are processed, so that the change event can be responded, namely, the embodiment of the application responds to one change event after writing all the characters into the input box, the change event is for all the characters input by the input box, meets the requirements of users, does not need to respond to multiple change events, and saves network resources.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a user interface provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of an implementation manner of a related art provided by an embodiment of the present application;
FIG. 3 is an architecture diagram of an implementation environment provided by an embodiment of the present invention;
FIGS. 4a to 4c are schematic diagrams respectively illustrating an implementation manner of responding to a change event according to an embodiment of the present application;
fig. 5 is a flowchart of an implementation manner of a message processing method according to an embodiment of the present application;
fig. 6 is a schematic diagram of an implementation manner of a message processing method according to an embodiment of the present application;
fig. 7 is a block diagram of an implementation manner of a message processing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of an implementation manner of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application provides a message processing method, a message processing device, message processing equipment and a storage medium.
Before describing the technical solutions provided by the embodiments of the present application in detail, the related technologies and implementation environments related to the embodiments of the present application are described here.
First, a description will be given of a related art to which embodiments of the present application relate.
Fig. 1 is a schematic view of a user interface provided in an embodiment of the present application.
In fig. 1, a plurality of characters are input in the chinese mode of the input method, for example, "hsdz" is input in the edit box 11 of the input method, and after the user performs a corresponding operation, for example, clicking the enter key, a plurality of characters are simultaneously input in the input box 12.
It should be noted that the user needs a plurality of characters, not the chinese characters corresponding to a plurality of characters. As shown in FIG. 1, the user needs four characters "hsdz" instead of the four characters for a text such as "perpetual electronic", "typing", etc.
The input box 12 may illustratively be a keyword input box, or, a hyperlink input box.
For example, the input box 12 may be an input box in a client, and the client may be an application client or a web page version client.
For example, the client may be any one of an instant messaging client, a news client, a short video client, and the like.
For example, the input method may be an input method application installed in the electronic device, or an input method carried in the client.
The electronic device equipped with the client may be an electronic product capable of performing human-computer interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a handwriting device, and the like, for example, a mobile phone, a tablet computer, a palmtop computer, a laptop computer, a personal computer, a wearable device, a smart television, and the like.
A user may input one or more characters to the electronic device through an input means (e.g., any of a keyboard, a touch pad, a touch screen, a remote control, or a handwriting device) of the electronic device.
If the input device receives one or more characters, for example, when a key on the keyboard is pressed, an input character message of the character corresponding to the key is generated, and a plurality of input character messages are stored in the message queue.
The following describes a process of the client processing an input character message and a change event generated by inputting a character in an input box.
For each input character message, the client obtains and responds to one input character message from the message queue, and writes the character corresponding to the input character message into the input box 12. The input box generates a change event due to the change of the content contained in the input box, and the client processes the change event; the client acquires and responds another input character message from the message queue again, writes the character corresponding to the input character message into the input box 12, generates a change event by the input box, and then processes the change event by the client; the client then retrieves and responds to another input character message, and so on until all the input character messages in the message queue have responded, and all the change events generated by the input box 12 are processed one by one.
The following describes, by way of example, a process of processing an input character message by a client and a change event generated by inputting a character in an input box, as shown in fig. 2, which is a schematic diagram of an implementation manner of the related art provided for an embodiment of the present application.
Assuming that the user inputs the english character "hsdz" in the input method chinese mode in step S201, the electronic device having the client installed in step S202 first stores the input character message "input character message of h", "input character message of S", "input character message of d", and "input character message of z" corresponding to the four characters "hsdz", respectively, in the message queue.
In step S203, the client obtains "h' S input character message" from the message queue and writes the character "h" into the input box 12 in response to the input character message, because the content in the input box 12 changes, in step S204, the input box 12 generates a change event to notify the client that the character contained in the input box 12 is changed, and then in step S205, the client processes the change event, i.e., performs corresponding processing based on all the characters contained in the input box (in this case, h), for example, obtains all the characters contained in the input box and performs retrieval to obtain a hyperlink containing the characters.
After processing the change event generated by the character "h", step S206 is entered to obtain and respond to the input character message "S" from the message queue, and write the character "S" into the input box 12, because the content in the input box 12 changes, in step S207 the input box 12 generates a change event, in step S208 the client processes the change event, and performs corresponding processing based on all characters (in this case, hs) included in the input box.
After processing the change event generated by the character "S", step S209 is entered to obtain and respond to the input character message "d" from the message queue, and write the character "d" into the input box 12, because the content in the input box 12 changes, in step S210, the input box 12 generates a change event, in step S211, the client processes the change event, and performs corresponding processing based on all characters (in this case, hsd) included in the input box.
After processing the change event generated by the character "d", step S212 is entered to obtain and respond to the input character message "z" from the message queue, and write the character "z" into the input box 12, because the content in the input box 12 changes, in step S213, the input box 12 generates a change event, in step S214, the client processes the change event, and performs corresponding processing based on all characters (in this case, hsdz) included in the input box.
It will be appreciated that the result the user wants to have is the result of a corresponding process for "hsdz", e.g., obtaining a hyperlink containing hsdz. In the above technical solution, since the change event corresponding to each character is processed, a resource is wasted, for example, a large amount of network resources may be occupied, or processing resources of a CPU in the electronic device are wasted.
Illustratively, the operating system of the electronic device may be a Windows operating system.
There are two technical solutions in the related art that can solve the above technical problem of responding to multiple change events.
The first scheme is as follows: the method comprises the following specific steps of setting processing time for triggering a change event by using a timer, wherein the specific steps comprise:
the method comprises the steps of storing input character messages corresponding to a plurality of characters in a message queue, enabling a client to obtain and respond to an unprocessed input character message from the message queue, writing the characters corresponding to the input character message into an input box 12, enabling the input box to generate a change event due to the fact that the content contained in the input box is changed, returning to the step of obtaining and responding to an unprocessed input character message from the message queue if the current time does not reach the processing time, and responding to the change event if the current time reaches the processing time.
For example, assuming that the time interval of the timer setting to process the change event is 0.5 seconds, it takes 0.125 seconds per response to one input character message. When a user inputs four characters of ' hsdz ', an input character message generated by an input character is put in a message queue, a client firstly acquires an input character message of ' h ' from the message queue, after the input character message of h is responded, the character h appears in an input box, the input box is triggered to generate a change event, whether the current time reaches the processing time (assuming that the time is counted by 0 second), because the current time is 0.125 second and the processing time is not reached for 0.5 second, the next unprocessed input character message, namely the input character message of's ', is continuously acquired from the message queue, the operation is repeated until the ' z ' input character message ' in the message queue is taken out and responded, the input box is triggered to generate the change event, and at the moment, the current time just reaches 0.5 second, the change event is responded.
It should be noted that a plurality of characters input in the chinese mode of the input method before the corresponding operation (for example, clicking the enter key) is detected are located in the edit box 11 of the input method. After detecting the respective operations, a plurality of characters appear in the input box 12 at the same time to the user. That is, the plurality of input character messages stored in the message queue, are input character messages corresponding to all characters input in the edit box 11 of the input method before acquiring the corresponding operation (for example, clicking the enter key).
In a non-Chinese mode, after a character is input through an input method, an input character message corresponding to the character is stored in a message queue, the input character message is obtained from the message queue and responded, after a change event corresponding to the character is processed, an input character message corresponding to the next character input by a user can be stored in the message queue, at the moment, only the input character message corresponding to the character input at this time is stored in the message queue, similarly, the input character message corresponding to the input character at this time is obtained from the message queue and responded, the change event corresponding to the character is processed, and the like, until the user does not input a new character any more.
Therefore, when characters are input in the non-Chinese mode, the input character messages stored in the message queue will change along with the continuous input of characters. Because one client corresponds to one cache, all characters contained in the input box can be written into the cache while processing one change event, and the content in the cache can be replaced by the character content contained in the current input box after processing one change event.
For example, the user enters hsdz in a non-Chinese mode. When a user inputs a character 'h', storing an input character message corresponding to the character 'h' into a message queue, after a client responds to the input character message 'h', the content in an input box is 'h', the client continuously responds to a change event corresponding to the character 'h', and writes the content 'h' in the current input box into a cache (assuming that the data content in the cache is empty before), and the content in the cache is 'h'; inputting a character "s" by a user, storing an input character message corresponding to the character "s" into a message queue, only storing the input character message of "s" in the message queue at the moment, responding to the input character message of "s" by a client, writing the content "hs" in the current input box into a cache when the content in the input box is "hs", continuously responding to a change event corresponding to the character "s" by the client, and replacing the data "h" in the cache into "hs" at the moment; and so on.
The technical scheme has the following technical problems:
when the time for processing the change event is delayed by adopting the first scheme, when a plurality of characters are continuously input in a non-Chinese mode (such as an English mode, a digital input mode, a special symbol input mode and the like) of the input method or the input frequency is high in a Chinese mode of the input method, the situation that the characters are input completely before the current time reaches the processing time exists, or the situation that the characters are not input completely when the current time reaches the processing time exists, so that the client cannot process the change event corresponding to the input last character. For the above situation, the following four cases can be specifically classified under different input modes:
the first condition is as follows: inputting characters in a non-Chinese mode of the input method, wherein the characters are input before the current time reaches the processing time for processing the change event.
In this case, when the change event corresponding to each character is processed, since the timing time is not reached, the change event triggered by the previous character input is not processed, the next character is continuously input and the input character message corresponding to the next character is acquired, and only when the current time reaches the processing time for processing the change event, the change event is processed once, so that if the current time does not reach the processing time after all characters are input, the change event corresponding to the last character cannot be processed.
It is assumed that the time interval for processing the change event is 0.6 seconds, i.e., the change event is processed every 0.6 seconds. Suppose that a user inputs zhang in a non-chinese mode, the input zhang consumes 0.5 seconds, and since the current time is 0.6 seconds or 0.1 seconds from the processing time (say, starting timing with 0 second), after the last character g is input, the change event corresponding to the character g cannot be processed.
Case two: when the current time reaches the processing time for processing the change event, the character is not input completely.
In this case, since the user has not input a plurality of characters when the current time reaches the processing time for processing the change event, only the processing result corresponding to the character included in the input box when the processing time is reached can be obtained, and the change event corresponding to one or more characters input after the processing time cannot be processed, that is, the processing result corresponding to the complete character string input by the user cannot be obtained.
It is assumed that the time interval for processing the change event is 0.6 seconds, i.e., the change event is processed every 0.6 seconds. Assuming that a user inputs zhang in a non-chinese mode, the time for inputting zhang needs to be 0.8 seconds, that is, when the user has not input a complete character, the current time has reached the processing time (it is assumed that the time is counted by 0 second), 0.6 seconds, and assuming that the input box includes zhan at this time, a change event is executed for zhan, and after the last character g is input, the change event corresponding to the last character g cannot be processed, that is, the processing result corresponding to zhang cannot be obtained because the next processing time is not reached for 1.2 seconds.
Case three: a plurality of characters are continuously input in a Chinese input mode of the input method, the input frequency is high, and the characters are input before the current time reaches the processing time for processing the change event.
Since the characters entered in the chinese mode of the input method are located in the edit box 11 of the input method, a change event is generated only when a plurality of characters simultaneously appear in the input box 12 after a corresponding operation is detected (e.g., an enter key is clicked). When the input frequency of the user is relatively fast, the situation that the character is input completely before the current time reaches the processing time for processing the change event exists, and when the user inputs the character string and the input box obtains a plurality of characters, the change event generated by the user inputting the plurality of characters cannot be processed because the processing time for processing the change event does not reach, so that the processing result of the character triggering change event contained in the current input box cannot be obtained.
Case four: a plurality of characters are continuously input in a Chinese input mode of the input method, the input frequency is high, and when the current time reaches the processing time for processing the change event, the characters are not input completely.
When the current time reaches the processing time for processing the change event, if the client has not responded the input character messages corresponding to all characters input by the user, namely the input box only comprises partial characters (the partial characters are relative to the complete character string input by the user), the processing result of the change event corresponding to the partial characters contained in the input box when the processing time is reached can only be obtained, after the current time reaches the processing time, the client responds the input character messages corresponding to the residual characters, the input box comprises the complete character string input by the user, but the processing result corresponding to the complete character string input by the user cannot be obtained because the next processing time does not reach.
The second scheme is as follows: the method comprises the steps of firstly inputting a plurality of characters into a container, detecting whether the container has a character input end character or not by a client, if the character input end character is detected, determining that all the characters are input, copying the characters in the container into an input box at the same time, generating a change event by the input box due to the change of the content contained in the input box, and responding to the change event by the client.
Illustratively, the character input terminator includes, but is not limited to, carriage returns, spaces, numbers, special characters, and the like.
The technical scheme has the following technical problems: when the second scheme is adopted to obtain the characters in the container, the client is required to be capable of recognizing the character input end characters, and due to the fact that the character input end characters of different input methods are different, if the character input end characters cannot be recognized correctly, a plurality of characters contained in the container cannot be copied into the input box, and a change event cannot be responded.
Even if the client can recognize all the character input end characters included in all the input methods, since the character input end characters include numbers, special characters, and the like, it may not be determined whether the numbers or the special characters are normally input or the character input end characters, and an erroneous operation may occur.
In summary, the embodiment of the present application provides a message processing method, in a chinese mode of an input method, if a plurality of characters are input simultaneously, a change event is responded only once after the plurality of characters are all input to an input box, and a situation that the change event cannot be responded in the first scheme or the change event is responded in advance when the plurality of characters are not completely input to the input box does not occur; because the character input end symbol does not need to be detected, the situation that the second technical scheme responds to the change event for multiple times due to misoperation or cannot respond to the change event due to the fact that the character input end symbol cannot be identified cannot occur.
The following describes an implementation environment related to embodiments of the present application.
The embodiments of the present application relate to various implementation environments, and the embodiments of the present application provide, but are not limited to, the following two.
The first implementation environment: fig. 3 is a block diagram of an implementation environment according to an embodiment of the present invention. As shown in fig. 3, the following message processing method may be applied to the implementation environment, which includes: one or more terminal devices 31 and an electronic device 32.
The terminal device 31 may be any electronic product that can perform human-computer interaction with a user through one or more modes such as a keyboard, a touch pad, a touch screen, a remote controller, or a handwriting device, for example, a mobile phone, a tablet computer, a palm computer, a laptop computer, a personal computer, a wearable device, a smart television, and the like.
Fig. 3 is only an example, the number of the terminal devices 31 in practical application can be set according to practical requirements, and fig. 3 shows one terminal device 31 by taking a portable computer as an example.
Optionally, the electronic device 32 may be a server, which may be one server, a server cluster composed of several servers, or a cloud computing service center.
It should be noted that fig. 3 illustrates the electronic device 32 as a server, but the electronic device 32 is not limited to be a server.
Alternatively, the terminal device 31 and the electronic device 32 may establish a connection through a wireless network and communicate with each other.
Optionally, the terminal device 31 and the electronic device 32 are the same device; optionally, the terminal device 31 and the electronic device 32 are different devices.
And the terminal device 31 is configured to obtain an unprocessed input character message from the message queue, respond to the input character message, input a character corresponding to the input character message into the input box, obtain a change event representing that a character in the input box changes, respond to the change event when the unprocessed input character message is not stored in the message queue, and otherwise, return to the step to obtain the unprocessed input character message from the message queue.
The terminal device 31 is further configured to send an access request to the electronic device 32 when the change event is processed.
For example, the user inputs four chinese characters "constantly electronic" in the input box displayed by the terminal device 31 in the chinese mode of the input method, the message queue stores "constantly input character message", "raw input character message", "electronic input character message", and "child input character message", the terminal device 31 only processes the change event corresponding to the character string "constantly electronic", for example, searches for all characters "constantly electronic" included in the input box to obtain a link address including the characters, and sends a request for accessing a website including "constantly electronic" to the electronic device 32.
Optionally, the terminal device 31 is installed with an application client or a web page version client, and may input characters based on an input box of a user interface displayed by the client.
Optionally, the client may be a browser client, and characters may be input through an input box of a user interface of the web page version client displayed by the browser.
Optionally, the client may be a search engine client.
And the electronic device 32 is used for responding to the access request and feeding back the access result to the terminal device 31.
The terminal device 31 is further configured to display the page of the accessed website after receiving the access result.
Second implementation environment: the implementation environment related to the embodiment of the application comprises: the terminal device 31.
And the terminal device 31 is configured to obtain an unprocessed input character message from the message queue, respond to the input character message, input a character corresponding to the input character message into the input box, obtain a change event representing that a character in the input box changes, respond to the change event when the unprocessed input character message is not stored in the message queue, and otherwise, return to the step to obtain the unprocessed input character message from the message queue.
The terminal device 31 is further configured to perform a corresponding operation in response to the change event, for example, modify data in the drop-down box.
Fig. 4a to 4c are schematic diagrams respectively illustrating an implementation manner of responding to a change event according to an embodiment of the present application.
It should be noted that the change event is generated only when the content in the input box changes, where the change event may correspond to an input box capable of inputting characters, and each time a character included in the input box changes, a change event is triggered to be generated, and after responding to the change event, a name list option including all characters in the input box appears in a drop-down box corresponding to the input box, so that a user can select the name list option.
The description will be given by taking the example of inputting Chinese characters in the provided first-level subject input box when filling out the ergonomic subject class.
As can be seen from fig. 4a, there are no characters in the input box 12, and when the user inputs "science" in the input box 12 in the chinese input mode of the input method, an input character message corresponding to "subject" and an input character message corresponding to "science" are obtained and stored in the message queue. The method comprises the steps of acquiring and responding to an input character message corresponding to 'subject' from a message queue, writing 'subject' into an input box 12, enabling the content contained in the input box 12 to be changed, generating a change event, acquiring and responding to an input character message corresponding to 'learning' from the message queue without processing the change event because the message queue stores unprocessed input character messages, writing 'learning' into the input box 12, enabling the content contained in the input box 12 to be changed, namely 'science', generating the change event, and responding to the change event because unprocessed input character messages are not stored in the message queue.
As shown in fig. 4b, the input box 12 includes "science". In response to a change event, drop-down box 41 presents a name list option containing the "science" character, the user can select the name of any one of the primary subjects in the name list option, and assuming the "electronic science and technology" selected by the user, then input box 12 displays the "electronic science and technology" selected by the user, as shown in FIG. 4 c.
The following describes a message processing method, device, apparatus, and storage medium provided by the present application with reference to the above implementation environment.
As shown in fig. 5, a flowchart of an implementation manner of a message processing method provided in an embodiment of the present application is shown, where the method includes:
step S501: an unprocessed input character message is retrieved from the message queue.
Wherein one of the input character messages corresponds to one character input for the input box.
In an alternative embodiment, the order of obtaining the input character messages from the message queue follows the principle of first-in first-out of the message queue, that is, the input character message corresponding to the first input character is placed at the head of the message queue, and the input character message at the head of the queue is obtained first when the input character message is obtained from the message queue.
For example, an input character message may be removed from the message queue after it is retrieved from the message queue, so that none of the input character messages stored in the message queue are processed.
For example, after obtaining an input character message from the message queue, the state of the input character message may be set to a processed state; the state of the input character message that has not been acquired is set to an unprocessed state.
In an alternative embodiment, the present embodiment refers to "inputting a plurality of characters in succession in the chinese mode of the input method and performing a corresponding operation once after inputting the plurality of characters in succession" as a "one-time input operation".
Assuming that a user performs a corresponding operation (e.g., clicking an enter key) once in the middle of continuously inputting a plurality of characters in a Chinese mode, dividing the corresponding operation into a first input operation and a second input operation by taking the corresponding operation as a medium; for the first input operation, the input character messages corresponding to the characters input in the input operation are stored in the message queue, after the change events corresponding to the characters in the first input operation are processed, the input character messages corresponding to the characters in the second input operation are stored in the message queue, and at the moment, only the input character messages corresponding to the characters in the second input operation are stored in the message queue.
That is, the message queue stores only the input character messages corresponding to the characters in the input operation once, and does not store the input character messages corresponding to the input operations multiple times at the same time.
For example, a user performs a corresponding operation once during the process of inputting characters in the chinese mode, and at this time, the message queue divides a plurality of input characters into a plurality of characters corresponding to two input operations using the corresponding operation as a medium. Assume that the character of the first input operation is "abc", corresponding to "input character message of a", "input character message of b", and "input character message of c", which are all set to an unprocessed state while being stored to the message queue. Then the client side obtains an unprocessed 'a input character message' from the message queue, and the state of the 'a input character message' is changed into a processed state after the response is finished. When the characters "abc" in the first input operation are all processed, the input character messages corresponding to the characters "def" in the second input operation are stored in the message queue, and it should be noted that, at this time, only the input character messages corresponding to the characters "def" in the second input operation, that is, "input character message of d", "input character message of e", and "input character message of f", are stored in the message queue.
Step S502: and responding to the input character message, and inputting the character corresponding to the input character message into the input box.
Step S503: and if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue.
When a character is input into an input box, the content of the input box changes, for example, a character is added, and the input box generates a change event which represents that the character in the input box changes.
In an alternative embodiment, when the change event is acquired, the change event is not processed first, but whether unprocessed input character messages remain in the message queue is detected, and the change event is processed after all the input character messages in the message queue are processed.
Step S504: if unprocessed input character messages are stored in the message queue, the change event is not processed, and the process returns to step S501.
It can be understood that when an unprocessed input character message exists in the message queue, it indicates that a plurality of characters input by the user have not been obtained yet, and therefore, the change event generated by triggering the character corresponding to the input character message this time is not processed, but the unprocessed input character message response is obtained in step S501 and processed until all the input character messages in the message queue are processed.
Step S505: and responding to the change event if the message queue does not store unprocessed input character messages.
In an alternative embodiment, the process of processing the change event after responding to the change event is to perform corresponding processing based on all characters contained in the input box, and the specific processing manner may be to access a website, access a database, modify data in a drop-down box, and the like, which is not limited in this embodiment of the application.
The application provides a message processing method, if a user inputs a plurality of characters in an input box at the same time in a Chinese mode of an input method, a plurality of character input messages are stored in a message queue, because the characters corresponding to the input character messages are input into the input box every time the character messages are input, a change event can be generated after the content in the input box is changed, and a plurality of change events can be generated if a plurality of character input messages are stored in the message queue. According to the embodiment of the application, after the change event is obtained, if the message queue is detected to store unprocessed input character messages, the change event is not processed; if unprocessed input character messages are not stored in the message queue, it is described that all the input character messages stored in the message queue are processed, so that the change event can be responded, namely, the embodiment of the application responds to one change event after writing all the characters into the input box, the change event is for all the characters input by the input box, meets the requirements of users, does not need to respond to multiple change events, and saves network resources.
Compared with the prior art, in the embodiment of the application, under the Chinese mode of the input method, if a plurality of characters are input simultaneously, only after the characters are all input into the input box, a change event is responded once, and the situation that the change event cannot be responded in the first scheme or the change event is responded in advance when the characters are not completely input into the input box can not occur; because the character input end symbol does not need to be detected, the situation that the second technical scheme responds to the change event for multiple times due to misoperation or cannot respond to the change event due to the fact that the character input end symbol cannot be identified cannot occur.
In an optional embodiment, if the message queue does not store unprocessed input character messages in step S505, the implementation manner of responding to the change event is as follows:
the method comprises the following steps: and if the message queue does not store unprocessed input character messages, acquiring character strings stored in a cache corresponding to the input box.
Illustratively, one client corresponds to one cache. When the change event is processed, the characters contained in the current input box are written into the cache, so that the content in the cache is replaced by the character content contained in the current input box after the change event is processed once.
Optionally, the character string stored in the cache may be empty, or may be a character string included in the input box at that time after the change event is processed last time.
For example, the user enters multiple characters hsdz in the Chinese mode. Because a plurality of input character messages are continuously generated in a Chinese mode, the input character messages (the input character message of the ' h ','s ','d ' and ' z ') corresponding to the four characters are stored in a message queue, then the client acquires the ' h ' input character message from the message queue, after the response is finished, the content of the input box is ' h ', the unprocessed input character message (the input character message of the's ','d ' and ' z ') is detected to be stored in the message queue, the client does not process the change event corresponding to the character h temporarily, continues to acquire the unprocessed's ' input character message ' in the message queue, responds, writes the character s into the input box, the character contained in the input box is ' hs ', and repeatedly detecting whether the message queue stores unprocessed input character messages and processing the unprocessed input character messages until the message queue does not store the unprocessed input character messages (namely, four input character messages corresponding to the hsdz are processed), and acquiring the character strings stored in the cache corresponding to the input box. If the change event has not been previously processed, then the string stored in the cache is empty; if a change event has been processed before the change event is processed, the character string stored in the cache is the character string contained in the input box at the time after the change event was processed last time.
Step two: and if the character string stored in the cache is different from the character string in the input box, responding to the change event.
For example, the character string stored in the cache is different from the character string in the input box, which means that the change event has not been responded to, because the character string contained in the current input box is written into the cache for storage after the change event is responded.
Step three: and replacing the character strings stored in the cache with the character strings in the input box.
The description is continued for the example in step one. When unprocessed input character messages are not stored in the message queue (namely, four input character messages corresponding to the hsdz are processed completely), if a first processing change event occurs, because characters contained in the current input box are not written into the cache before, character strings stored in the cache are different from character strings in the input box, and after the processing change event, the character strings stored in the cache are replaced by the character strings in the input box, such as the hsdz.
If a change event has been processed before the change event is processed (assuming a change event corresponding to "wljs"), the character string stored in the cache is the character string (wljs) contained in the input box after the change event was processed last, and therefore the character string (wljs) stored in the cache is replaced with the character (hsdz) contained in the current input box after the change event is processed this time.
In an alternative embodiment, there are various implementations of not processing the change event, and the embodiments of the present application provide, but are not limited to, the following two.
The first implementation mode comprises the following steps: and if unprocessed input character messages are stored in the message queue, refusing to respond and discarding the change event.
It can be understood that when an unprocessed input character message exists in the message queue, it indicates that the complete character string input by the user has not been acquired yet, and therefore, the change event generated by the current character input trigger is not processed for the moment, i.e., the response is rejected and the change event is discarded, and the step of acquiring an unprocessed input character message from the message queue is returned, and the unprocessed input character message in the message queue is continuously acquired.
For example, assume that the character input by the user is "zhang", and the message queue stores "input character message of z", "input character message of h", "input character message of a", "input character message of n", and "input character message of g". Writing the character z into the input box after responding to the 'z input character message' to obtain a change event, wherein the unprocessed 'h input character message', 'a input character message', 'n input character message', 'g input character message' in the message queue, and the complete character string input by the user are not obtained, so that the change event is refused to be responded and discarded, the next unprocessed input character message, i.e. 'h input character message', is obtained from the message queue, after responding to the 'h input character message, the input box generates a change event, because the unprocessed input character message' a 'input character message', 'n input character message', and 'g input character message' are still stored in the message queue, the change event is refused to be responded and discarded, and the step of detecting whether the unprocessed input character message is stored in the message queue or not and processing the unprocessed input character message is repeated, until no unprocessed input character messages are stored in the message queue.
The second implementation mode comprises the following steps: if unprocessed input character messages are not stored in the message queue, after responding to the change event, executing the following operation for each unprocessed change event: acquiring unprocessed change events; and if the character string currently stored in the cache is the same as the character string in the input box, refusing to respond to the unprocessed change event.
It can be understood that, after a change event is responded, the character string stored in the cache is replaced with the character string contained in the current input box, that is, at this time, the character string stored in the cache is the same as the character string in the input box, so that after an unprocessed change event is acquired before other unprocessed change events are processed, it is first determined whether the character string currently stored in the cache is the same as the character string in the input box, if the same indicates that a change event has been responded before, the input character message in the message queue has been processed, and a processing result corresponding to the complete character string input by the user is also obtained.
The following description takes an example that a character input by a user is "zhang", and as shown in fig. 6, is a schematic diagram of an implementation manner of the message processing method provided in the embodiment of the present application.
Assuming that the english character input by the user in the input method chinese mode is "zhang" in step S601, the message queue in step S602 stores "z input character message", "h input character message", "a input character message", "n input character message", and "g input character message". After all the input character messages in the message queue are responded (i.e. step S603 to step S612 are executed), unprocessed input character messages are not stored in the message queue, a change event (a change event corresponding to the last character g) is responded in step S613, the character strings stored in the buffer memory are replaced by the character strings (zhang) in the current input box, then the unprocessed change event generated by the input character n trigger is acquired in step S614, whether the character strings stored in the buffer memory currently are the same as the character strings in the input box is judged in step S615, since the change event has just been responded, the character strings stored in the buffer memory currently are the same as the character strings in the input box, step S616 is executed to reject the response and discard the unprocessed change event generated by the input character n trigger, otherwise step S617 is executed. Similarly, the processing procedure for the unprocessed change event triggered by the input character a, the unprocessed change event triggered by the input character h, and the unprocessed change event triggered by the input character z is the same as the above-mentioned procedure, and is not described herein again.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
As shown in fig. 7, which is a block diagram of an implementation manner of a message processing apparatus provided in an embodiment of the present invention, the apparatus includes:
an obtaining module 71, configured to obtain an unprocessed input character message from the message queue, where one of the input character messages corresponds to one character input for the input box.
The input module 72 is configured to respond to the input character message and input a character corresponding to the input character message into the input box.
A detecting module 73, configured to detect whether an unprocessed input character message is stored in the message queue if a change event that represents that a character in the input box changes is obtained.
A processing module 74, configured to trigger the obtaining module if the unprocessed input character message is stored in the message queue, and the change event is not processed.
A response module 75, configured to respond to the change event if the message queue does not store unprocessed input character messages.
Optionally, the response module includes:
and the first acquisition unit is used for acquiring the character string stored in the cache corresponding to the input box if the unprocessed input character message is not stored in the message queue.
And the response unit is used for responding to the change event if the character string stored in the cache is different from the character string in the input box.
And the storage unit is used for replacing the character strings stored in the cache with the character strings in the input box.
Optionally, the processing module includes:
and the first processing unit is used for refusing to respond to the change event if the unprocessed input character message is stored in the message queue.
Optionally, the response module further includes, for each unprocessed change event:
a second acquiring unit configured to acquire an unprocessed change event.
And the second processing unit is used for refusing to respond to the unprocessed change event if the character string currently stored in the cache is the same as the character string in the input box.
As shown in fig. 8, which is a structural diagram of an implementation manner of an electronic device provided in an embodiment of the present invention, the electronic device includes:
a memory 81 for storing a program;
a processor 82 configured to execute the program, the program being specifically configured to:
acquiring an unprocessed input character message from a message queue, wherein one input character message corresponds to one character input aiming at an input box;
responding to the input character message, and inputting characters corresponding to the input character message into the input box;
if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue;
if the message queue stores unprocessed input character messages, the change event is not processed, and the step of obtaining an unprocessed input character message from the message queue is returned;
and responding to the change event if the message queue does not store unprocessed input character messages.
The processor 82 may be a central processing unit CPU or an Application Specific Integrated Circuit (ASIC).
The first server may further comprise a communication interface 83 and a communication bus 84, wherein the memory 81, the processor 82 and the communication interface 83 are communicated with each other via the communication bus 84.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps included in any of the above-mentioned embodiments of the message processing method.
Note that the features described in the embodiments in the present specification may be replaced with or combined with each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A message processing method, comprising:
acquiring an unprocessed input character message from a message queue, wherein one input character message corresponds to one character input aiming at an input box;
responding to the input character message, and inputting characters corresponding to the input character message into the input box;
if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue;
if the message queue stores unprocessed input character messages, the change event is not processed, and the step of obtaining an unprocessed input character message from the message queue is returned;
and responding to the change event if the message queue does not store unprocessed input character messages.
2. The message processing method of claim 1, wherein the responding to the change event if no unprocessed input character message is stored in the message queue comprises:
if unprocessed input character messages are not stored in the message queue, acquiring character strings stored in a cache corresponding to the input box;
responding to the change event if the character string stored in the cache is different from the character string in the input box;
and replacing the character strings stored in the cache with the character strings in the input box.
3. The message processing method according to claim 1 or 2, wherein the not processing the change event if the message queue stores unprocessed input character messages comprises:
and if unprocessed input character messages are stored in the message queue, refusing to respond and discarding the change event.
4. The message processing method according to claim 1 or 2, wherein after the step of responding to the change event if the message queue does not store unprocessed input character messages, further comprising for each unprocessed change event:
acquiring unprocessed change events;
and if the character string currently stored in the cache is the same as the character string in the input box, refusing to respond to the unprocessed change event.
5. A message processing apparatus, comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an unprocessed input character message from a message queue, and one input character message corresponds to one character input aiming at an input box;
the input module is used for responding to the input character message and inputting the character corresponding to the input character message into the input box;
the detection module is used for detecting whether unprocessed input character messages are stored in the message queue or not if a change event representing that the characters in the input box change is obtained;
the processing module is used for triggering the acquisition module if unprocessed input character messages are stored in the message queue and the change event is not processed;
and the response module is used for responding to the change event if the unprocessed input character message is not stored in the message queue.
6. The message processing apparatus of claim 5, wherein the response module comprises:
a first obtaining unit, configured to obtain a character string stored in a cache corresponding to the input box if an unprocessed input character message is not stored in the message queue;
a response unit, configured to respond to the change event if the character string stored in the cache is different from the character string in the input box;
and the storage unit is used for replacing the character strings stored in the cache with the character strings in the input box.
7. The message processing apparatus according to claim 5 or 6, wherein the processing module comprises:
and the first processing unit is used for refusing to respond to the change event if the unprocessed input character message is stored in the message queue.
8. The message processing apparatus according to claim 5 or 6, wherein the response module further comprises, for each unprocessed change event:
a second acquisition unit configured to acquire an unprocessed change event;
and the second processing unit is used for refusing to respond to the unprocessed change event if the character string currently stored in the cache is the same as the character string in the input box.
9. An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
acquiring an unprocessed input character message from a message queue, wherein one input character message corresponds to one character input aiming at an input box;
responding to the input character message, and inputting characters corresponding to the input character message into the input box;
if a change event representing that the characters in the input box change is obtained, detecting whether unprocessed input character messages are stored in the message queue;
if the message queue stores unprocessed input character messages, the change event is not processed, and the step of obtaining an unprocessed input character message from the message queue is returned;
and responding to the change event if the message queue does not store unprocessed input character messages.
10. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the message processing method according to any one of claims 1 to 4.
CN202011091023.XA 2020-10-13 2020-10-13 Message processing method, device, equipment and storage medium Active CN112199215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011091023.XA CN112199215B (en) 2020-10-13 2020-10-13 Message processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011091023.XA CN112199215B (en) 2020-10-13 2020-10-13 Message processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112199215A true CN112199215A (en) 2021-01-08
CN112199215B CN112199215B (en) 2024-01-19

Family

ID=74008944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011091023.XA Active CN112199215B (en) 2020-10-13 2020-10-13 Message processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112199215B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754411A (en) * 2009-12-14 2012-10-24 起元技术有限责任公司 Managing objects using a client-server bridge
US8510473B1 (en) * 2010-06-02 2013-08-13 Sprint Communications Company L.P. Converting message character sets for a queue manager
CN103370917A (en) * 2012-11-20 2013-10-23 华为技术有限公司 Message processing method and server
US20150178878A1 (en) * 2013-12-24 2015-06-25 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus and payment system
WO2015096404A1 (en) * 2013-12-24 2015-07-02 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus and payment system
CN106649640A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Instant search method and device
CN108549681A (en) * 2018-04-03 2018-09-18 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment, computer readable storage medium
CN109634436A (en) * 2018-10-25 2019-04-16 平安科技(深圳)有限公司 Association method, device, equipment and the readable storage medium storing program for executing of input method
CN110262911A (en) * 2019-06-24 2019-09-20 北京向上一心科技有限公司 Optimization method, optimization device, controller and the storage medium of input frame
US20190324828A1 (en) * 2018-04-18 2019-10-24 Open Text GXS ULC Producer-Side Prioritization of Message Processing
CN110515743A (en) * 2019-07-26 2019-11-29 济南浪潮数据技术有限公司 Write event notification method and device
CN110633126A (en) * 2019-09-27 2019-12-31 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN111026532A (en) * 2019-12-10 2020-04-17 苏州思必驰信息科技有限公司 Message queue management method for voice data
CN111282263A (en) * 2020-03-03 2020-06-16 北京奇艺世纪科技有限公司 Event message processing method and device, electronic equipment and readable storage medium
CN111427859A (en) * 2020-03-25 2020-07-17 京东数字科技控股有限公司 Message processing method and device, electronic equipment and storage medium
CN111694857A (en) * 2020-06-12 2020-09-22 北京百度网讯科技有限公司 Method and device for storing resource data, electronic equipment and computer readable medium
CN111752459A (en) * 2020-05-28 2020-10-09 维沃移动通信有限公司 Information processing method, device, equipment and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102754411A (en) * 2009-12-14 2012-10-24 起元技术有限责任公司 Managing objects using a client-server bridge
US8510473B1 (en) * 2010-06-02 2013-08-13 Sprint Communications Company L.P. Converting message character sets for a queue manager
CN103370917A (en) * 2012-11-20 2013-10-23 华为技术有限公司 Message processing method and server
US20150178878A1 (en) * 2013-12-24 2015-06-25 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus and payment system
WO2015096404A1 (en) * 2013-12-24 2015-07-02 Tencent Technology (Shenzhen) Company Limited Information processing method, apparatus and payment system
CN106649640A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Instant search method and device
CN108549681A (en) * 2018-04-03 2018-09-18 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment, computer readable storage medium
US20190324828A1 (en) * 2018-04-18 2019-10-24 Open Text GXS ULC Producer-Side Prioritization of Message Processing
CN109634436A (en) * 2018-10-25 2019-04-16 平安科技(深圳)有限公司 Association method, device, equipment and the readable storage medium storing program for executing of input method
CN110262911A (en) * 2019-06-24 2019-09-20 北京向上一心科技有限公司 Optimization method, optimization device, controller and the storage medium of input frame
CN110515743A (en) * 2019-07-26 2019-11-29 济南浪潮数据技术有限公司 Write event notification method and device
CN110633126A (en) * 2019-09-27 2019-12-31 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN111026532A (en) * 2019-12-10 2020-04-17 苏州思必驰信息科技有限公司 Message queue management method for voice data
CN111282263A (en) * 2020-03-03 2020-06-16 北京奇艺世纪科技有限公司 Event message processing method and device, electronic equipment and readable storage medium
CN111427859A (en) * 2020-03-25 2020-07-17 京东数字科技控股有限公司 Message processing method and device, electronic equipment and storage medium
CN111752459A (en) * 2020-05-28 2020-10-09 维沃移动通信有限公司 Information processing method, device, equipment and storage medium
CN111694857A (en) * 2020-06-12 2020-09-22 北京百度网讯科技有限公司 Method and device for storing resource data, electronic equipment and computer readable medium

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
PIPIHUA: "深入浅出防抖和节流", 《博客园,HTTPS://WWW.CNBLOGS.COM/ZHAOKH/P/13414120.HTML》, pages 1 - 3 *
屈环宇;陈丽萍;唐晓媚;: "uC/OS-Ⅲ外建消息队列及任务内建消息队列深度解析", 电脑知识与技术, no. 04, pages 908 - 910 *
张明;: "Windows操作***中程序间消息的应用", 长沙大学学报, no. 02, pages 67 - 71 *
我可能是个假开发: "队列", 《CSDN, HTTPS://BLOG.CSDN.NET/CSDN_GIA/ARTICLE/DETAILS/79786245》, pages 1 - 4 *
郭毅;涂婧璐;: "基于Web页面网络实时消息推送的可靠性研究", 电脑编程技巧与维护, no. 04, pages 158 - 160 *
齐文;鲍玉斌;: "可扩展的事件消息自动化处理方案", 计算机工程, no. 24, pages 82 - 84 *

Also Published As

Publication number Publication date
CN112199215B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
US11573939B2 (en) Process and apparatus for selecting an item from a database
CN101593080B (en) Identification of candidate characters for text input
CN106484266B (en) Text processing method and device
CN100409241C (en) Information searching method and system based on searching engine
CN107918496B (en) Input error correction method and device for input error correction
US20120254797A1 (en) Information processor and computer program product
CN105094603B (en) Method and device for associated input
CN109656444B (en) List positioning method, device, equipment and storage medium
CN109150886B (en) Structured query language injection attack detection method and related equipment
CN113127432A (en) Operation execution method, device, electronic equipment and medium
EP3467633B1 (en) Method, device, and terminal device for extracting data
CN106919593B (en) Searching method and device
CN106970899B (en) Text processing method and device
CN112199215B (en) Message processing method, device, equipment and storage medium
Annamalai et al. Accessing the data efficiently using prediction of dynamic data algorithm
CN108363707B (en) Method and device for generating webpage
CN110659353A (en) Searching method and device
CN110633017A (en) Input method, input device and input device
CN113127653A (en) Information display method and device
CN112346643B (en) Text processing method and device, electronic equipment and readable storage medium
WO2019119285A1 (en) Method for inserting a web address in a message on a terminal
CN110347818B (en) Word segmentation statistical method and device, electronic equipment and computer readable storage medium
CN110674386A (en) Resource recommendation method, device and storage medium
CN109597497B (en) Information prediction method, device and equipment
US20160055174A1 (en) Facilitating searching for geographic place names

Legal Events

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