CN109976549B - Data processing method, device and machine readable medium - Google Patents

Data processing method, device and machine readable medium Download PDF

Info

Publication number
CN109976549B
CN109976549B CN201711466059.XA CN201711466059A CN109976549B CN 109976549 B CN109976549 B CN 109976549B CN 201711466059 A CN201711466059 A CN 201711466059A CN 109976549 B CN109976549 B CN 109976549B
Authority
CN
China
Prior art keywords
information
mode
processing
sending
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711466059.XA
Other languages
Chinese (zh)
Other versions
CN109976549A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711466059.XA priority Critical patent/CN109976549B/en
Publication of CN109976549A publication Critical patent/CN109976549A/en
Application granted granted Critical
Publication of CN109976549B publication Critical patent/CN109976549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method, a device and a machine readable medium, wherein the data processing method specifically comprises the following steps: acquiring first information input in an input box; determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second information and the first information differ in content and/or type; and processing the first information according to the processing mode. The embodiment of the invention can improve the processing flexibility of the information in the communication process and can improve the interest in the communication process.

Description

Data processing method, device and machine readable medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, a data processing apparatus, an apparatus for data processing, and a machine-readable medium.
Background
The device is used as a bridge for the communication between the computer system and the user or other devices, is one of main devices for information interaction between the user and the computer system, and can facilitate the user to input information in various communication scenes and send the input information to a communication opposite terminal.
Currently, a device may receive information input by a user in an input box of a communication scenario, and send the information in the input box to a correspondent node in response to a trigger operation of the user on a "send" control. Assuming that the information in the input box is "do you", the "do you" can be sent to the correspondent node. The sending mode corresponding to the information in the input box is single, and interestingness is lacked.
Disclosure of Invention
Embodiments of the present invention provide a data processing method, apparatus, and machine-readable medium, which can improve flexibility of information processing in a communication process and improve interestingness in the communication process.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
acquiring first information input in an input box;
determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type;
and processing the first information according to the processing mode.
Optionally, the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
the first information acquisition module is used for acquiring first information input in the input box;
the processing mode determining module is used for determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a first transmission mode, or a conversion mode and a second transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type; and
and the first information processing module is used for processing the first information according to the processing mode.
Optionally, the first information processing module includes:
the conversion submodule is used for converting the first information into second information according to the conversion mode; and
and the sending submodule is used for sending the second information according to the second sending mode.
Optionally, the conversion sub-module includes:
the first conversion unit is used for copying all information or part of information in the first information and taking a corresponding copying result as second information corresponding to the first information; or
The second conversion unit is used for copying all information or part of information in the first information and combining a corresponding copying result with the first information to obtain second information corresponding to the first information; or
And the third conversion unit is used for acquiring second information of a second type matched with the first information, wherein the type of the first information is a first type.
Optionally, the conversion sub-module includes:
the copying unit is used for copying partial information in the first information and taking a corresponding first copying result as second information corresponding to the first information;
the transmission submodule includes:
and the first sending unit is used for sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the apparatus further comprises:
and the partial information determining module is used for removing partial information from the first information to obtain partial information in the first information.
Optionally, the second information is one or more, and the content of the second information is different.
Optionally, the conversion sub-module includes:
the first copy combination unit is used for copying part of or all information in the first information and combining the first information and at least one corresponding second copy result to obtain second information corresponding to the first information;
the transmission submodule includes:
and the second sending unit is used for sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
In yet another aspect, an embodiment of the present invention discloses an apparatus for data processing, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
acquiring first information input in an input box;
determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type;
and processing the first information according to the processing mode.
In yet another aspect, embodiments of the invention disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the methods described above.
The embodiment of the invention has the following advantages:
the embodiment of the invention can process the first information according to a first sending mode or a conversion mode and a second sending mode; compared with the traditional way of thinking and sending the information in the input box to the opposite communication terminal, the embodiment of the invention can ensure that a user determines a required first sending mode or a required conversion mode and a required second sending mode according to the actual application requirement, and carries out extraordinary processing on the first information which is different from the traditional thought according to the first sending mode or the required conversion mode and the required second sending mode, thereby improving the processing flexibility of the information in the communication process; moreover, for the user, the supernormal processing can enable the user to enjoy the experience similar to hang-up in the communication process, so that the interest of the communication process can be improved.
For example, the first sending method in the embodiment of the present invention may include sending times greater than 1, so that the first information may be sent for multiple times, and since the multiple sending is different from one sending of a conventional thought, the interest of the communication process may be increased, and the user experience may be improved.
For another example, according to the conversion mode, the embodiment of the present invention may convert the first information into the second information, and send the second information; the second information and the first information can be different in content and/or type, so that the embodiment of the invention can improve the richness of the information in the communication process, further improve the interestingness of the communication process and improve the user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic representation of an application environment for a data processing method of an embodiment of the present invention;
FIG. 2 is a flow chart of steps of a first embodiment of a data processing method of the present invention;
FIG. 3 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present invention;
FIG. 4, FIG. 5, and FIG. 6 are schematic illustrations of an interface according to an embodiment of the present invention;
FIG. 7 is an illustration of a settings panel for a control according to an embodiment of the present invention;
FIG. 8 is a schematic of an interface according to an embodiment of the present invention;
FIG. 9 is a block diagram of an embodiment of a data processing apparatus of the present invention;
fig. 10 is a block diagram of an apparatus 1000 for data processing of the present invention as a terminal; and
fig. 11 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The embodiment of the invention provides a data processing scheme, which can acquire first information input in an input box; determining a processing mode corresponding to the first information; and processing the first information according to the processing mode.
In this embodiment of the present invention, the processing manner may be used to process the first information, and the processing manner may include: a first transmission mode or a conversion mode and a second transmission mode; the first sending method may be used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode can be used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information.
The embodiment of the invention can process the first information according to a first sending mode or a conversion mode and a second sending mode; compared with the traditional way of thinking and sending the information in the input box to the opposite communication terminal, the embodiment of the invention can ensure that a user determines a required first sending mode or a required conversion mode and a required second sending mode according to the actual application requirement, and carries out extraordinary processing on the first information which is different from the traditional thought according to the first sending mode or the required conversion mode and the required second sending mode, thereby improving the processing flexibility of the information in the communication process; moreover, for the user, the supernormal processing can enable the user to enjoy the experience similar to hang-up in the communication process, so that the interest of the communication process can be improved.
For example, the first sending method in the embodiment of the present invention may include sending times greater than 1, so that the first information or the second information may be sent for multiple times, and since the multiple sending is different from one sending of a conventional thought, the interest of the communication process may be improved, and the user experience may be improved.
For another example, according to the conversion mode, the embodiment of the present invention may convert the first information into the second information, and send the second information; the second information and the first information can be different in content and/or type, so that the embodiment of the invention can improve the richness of the information in the communication process, further improve the interestingness of the communication process and improve the user experience.
In the embodiment of the invention, the hanging is applied to the situation that when one person obtains more remarkable achievement, the person is thought to be obtained through cheating because of no thought. It is usually indicated for the performance of others with no brute force.
The embodiment of the invention can be applied to any communication scene to improve the processing flexibility of information in the communication process and improve the interest in the communication process. Examples of communication scenarios may include: live scenes, game scenes, video scenes, chat scenes, and the like. The embodiment of the invention can be applied to the Application environment of communication APP (Application program) or communication webpage. It is understood that the embodiment of the present invention does not limit the specific communication scenario and application scenario.
The data processing method provided by the embodiment of the present invention can be applied to the application environment shown in fig. 1, as shown in fig. 1, the client 100 and the server 200 are located in a wired or wireless network, and the client 100 and the server 200 perform data interaction through the wired or wireless network.
The input flow of the embodiment of the present invention may be executed by any one of the client 100 and the server 200. The client 100 may operate on a terminal, and the terminal specifically includes but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like.
Method embodiment one
Referring to fig. 2, a flowchart illustrating steps of a first embodiment of a data processing method according to the present invention is shown, which may specifically include the following steps:
step 201, acquiring first information input in an input box;
step 202, determining a processing mode corresponding to the first information; the processing manner is used for processing the first information, and may include: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type;
and 203, processing the first information according to the processing mode.
At least one step included in the embodiment of the invention can be executed by a client corresponding to the current application environment, and can also be executed by a client of the input method program. The input method is a coding method adopted for inputting various characters into a device (such as a computer, a mobile phone, a tablet computer, etc.), and the input method program is used as a host program, can be hosted in any host program, and can be called by the host program to realize the input in the host program, for example, a user can type first information into the host program and select a candidate item corresponding to the first information to be displayed on a screen. In the embodiment of the present invention, the host program may be a program in which the input focus is located.
In step 201, an input box typically provides a user with input of information in response to the user interacting with the device based on, for example, a keyboard, mouse, remote control, touch pad or handwriting device or voice capture device. Generally, after the input box responds to the trigger, an input cursor (an input focus) is presented to prompt a user to input at the position of the input cursor; the trigger may include, but is not limited to, clicking, double clicking, touching, etc. In practical application, if the input operation of the input box is monitored, the first information input in the input box can be acquired and displayed.
Optionally, the input box further corresponds to a sending instruction, so that a user triggers sending of the first information input in the input box by triggering the sending instruction, for example, the sending instruction may be a triggering instruction of a sending control, and it is understood that the specific triggering instruction is not limited in the embodiment of the present invention. Therefore, in an embodiment of the present invention, steps 201 to 203 of the embodiment of the present invention may be performed in a case where a transmission instruction of a user is received.
Step 202 may determine a processing manner corresponding to the first information, where the processing manner may be a basis for processing the first information.
The embodiment of the present invention may provide the following determination scheme for determining the processing mode corresponding to the first information:
determining a scheme 1, and determining a processing mode corresponding to the first information according to the functional state of the control; or
And determining a scheme 2, and determining a processing mode corresponding to the first information according to the control information input by the user.
In the determination scheme 1, a control may refer to a component providing or implementing a user interface function, the control is a package for data and methods, and the control may have its own properties and methods. In practical applications, the control may be displayed at the lower edge, the upper edge, the left edge, or the right edge of the screen. Of course, the control may also be displayed at any position such as a middle area of the screen, so that the user can change the functional state of the control by operating the control.
In the embodiment of the present invention, the functional state of the control may be associated with a processing manner corresponding to the first information. Optionally, the functional state of the control may include: the control device comprises an on state and an off state, wherein the on state can be used for representing the on state of the function, the off state can be used for representing the off state of the function, and under the condition that the function state of the control is the on state, the corresponding function can be realized through the embodiment of the invention. According to one embodiment, the function may be an off-hook function, which may refer to a function that allows a user to enjoy an off-hook-like experience during communication.
Further, the on state may include: the status of any function. In one embodiment of the present invention, the above on state may include, but is not limited to:
1) first on state
The first on state may be used to transmit the first information in the input box three times in succession.
2) Second on state
The second on state may be used to implement an echo function, and may be used to obtain second information by sequentially removing M characters of a previous bar from the first information in the input box, and send the second information, where M is a natural number, and a numerical value of M may be any numerical value such as 1 or 2.
Optionally, the echo function corresponding to the second on state may be triggered when 0< the character length corresponding to the first information in the input box is less than or equal to N, where N is a natural number, and the numerical value of N may be any numerical value such as 10, 11, and the like.
In an optional embodiment of the present invention, if there is a blank space in the first information, the first information may be sent normally; the second information may be transmitted after filtering the first character if the first character is a space, or may be normally transmitted without filtering the first character if the first character is a comma or a special symbol or other symbol character.
It should be noted that the number of the second information may be 1 or greater than 1, and the lengths of the different second information may be different, for example, the length of the second information may decrease with the increase of the transmission time. For example, the first information is "did you have a meal", and the second information may be "did you have a meal", and "did" in this order.
3) Third open state
The third open state may be used to implement a function that emphasizes importance, such as a function where important things say P passes, where P is a natural number greater than 1. For example, if P is 3, the first information in the input box may be copied 2 times in the same message, and there may be a new line between the first information and the copied information.
Alternatively, the function corresponding to the third open state may be triggered only when 0< the character length corresponding to the first information in the input box is less than or equal to Q, where Q is a natural number greater than 1, and Q may be any numerical value such as 30.
4) Fourth switching state
The fourth switch state can be used to realize the function of ghost animal (also the tricky trigger event), specifically, can copy the partial character of first information for S times to the second information that obtains after will copying result and first information make up is sent. For example, the first information is "did you eat", and the second information may be "did you eat", and so on.
5) Fifth on state
The fifth on state may be used to convert the first type of information into the second type of information and transmit the second type of information. Specifically, the first type and the second type may include: at least two of a text type, a picture type, and a video type. Assuming that the first type is text information, the second type may be a picture type or a video type. It should be noted that, in practical applications, the second information may be sent separately, or the first information and the second information may be sent simultaneously, and the embodiment of the present invention does not limit a specific sending manner corresponding to the second information.
The process of converting the first type of information into the second type of information according to the embodiment of the present invention may include: acquiring a first keyword corresponding to the first information, and acquiring second information of a second type according to the first keyword; specifically, the first keyword may be matched with a second keyword corresponding to the second information to obtain the second information corresponding to the first information. For example, if the first information is "you really like" or "like", the "like" may be used as the first keyword corresponding to the first information, and a picture with the second keyword being "like" may be obtained as the second information. It can be understood that the embodiment of the present invention does not limit the specific obtaining manner corresponding to the second information.
In an alternative embodiment of the present invention, the second information of the second type may be a plurality of pieces of second information, and according to an embodiment, the plurality of pieces of second information of the second type may be unrelated. According to another embodiment, a plurality of said second information of the second type may be rendered into a relationship. The above-mentioned progressive relation may mean that a plurality of the second information of the second type are presented in relation in meaning or semantics.
In an application example of the present invention, assuming that the first information includes content matching "drinking", a plurality of the second information of the second type may be a group of pictures, which may sequentially include: pictures of "wine" and/or "wine glass," pictures of "drinking one cup," pictures of "drinking two cups," pictures of "drinking three cups," and the like.
In an application example of the present invention, assuming that the first information includes content matching "reachable duck" or "money", a plurality of the second information of the second type may be a group of pictures, which may sequentially include: the picture of "ten coins are needed for reaching the duck", the picture of twenty coins are needed for reaching the duck, "thirty coins are needed for reaching the duck," fifty coins are needed for reaching the duck, "ninety coins are needed for reaching the duck," two hundred coins are given by love me, "you are love you like" and the like.
In practical application, the second information presented in the relationship may be obtained in advance according to the second keyword, and it can be understood that the embodiment of the present invention does not impose a limitation on a specific obtaining manner corresponding to the second information presented in the relationship.
It should be noted that, in practical application, the second information may be directly determined and sent; or, candidates of the second information may be presented to the user, and the second information may be determined according to a selection operation of the user on the candidates.
Similar descriptions are given above for the open states through the five open states, and it can be understood that a person skilled in the art may adopt any one or a combination of the five open states according to the actual application requirements, for example, combine the first open state and the fourth open state, and the like, and the person skilled in the art flexibly combines the first sending method, the conversion method, and the second conversion method to obtain the required open state to further implement the corresponding function.
In the determination scheme 2, the control information input by the user may be used as a control command for the functional state, so that the processing method corresponding to the first information may be determined.
In practical applications, the control information input by the user may be text information or voice information, for example, the preset control information corresponding to the control information input by the user may include "open suspension, snap", "echo 3 times", "three times for important things", and so on.
In this embodiment of the present invention, the type of the control information may be the same as the type of the first information, or the type of the control information may be different from the type of the first information. For example, the type of the control information is a voice type, and the type of the first information is a text type. For another example, the type of the control information is a text type, and the type of the first information is a text type. For another example, the type of the control information is a voice type, the type of the first information is a voice type, and the like.
Optionally, in a case where the type of the control information is the same as the type of the first information, the method may further include: control information matching preset control information is extracted from information input by a user. The preset control information may be control information set by a user or an application, and is used to control the on or off of a function and to enable a specific function, for example, the preset control information may include: "first on state on", "second on state on", "function off", and the like.
Under the condition that the type of the control information is the same as that of the first information, the control information and the first information may be in a mixed state.
In an application example of the present invention, it is assumed that a user inputs text information or voice information "say three times you so", and then the embodiment of the present invention may recognize the first information "say three times" and the control information "say three times" from the text information or voice information, display the first information in an input box, and then process the first information according to a processing mode corresponding to "say three times". According to one embodiment, "you so" may be sent three times. According to another embodiment, "hello" may be copied 2 times and then combined with the copied result, and the combined result may be transmitted once.
In another application example of the present invention, it is assumed that a user inputs text information or voice information "how you are echo three times", and then the embodiment of the present invention may recognize the first information "how you are" and the control information "echo three times" from the text information or the voice information, display the first information in an input box, and then process the first information according to a processing mode corresponding to the "echo three times". For example, "o is you", "o is good", "o" may be transmitted in sequence.
It is understood that the above "say three passes" and "echo three passes" are only examples of the control information, and actually, a person skilled in the art may determine the required control information according to the actual application requirement, for example, the control information may be a preset shortcut key, and the embodiment of the present invention does not limit the specific control information.
Step 203 processes the first information according to the processing mode, thereby improving interest and flexibility of information processing in the communication process.
The embodiment of the present invention may provide the following processing scheme for processing the first information according to the processing mode:
treatment protocol 1
In processing scheme 1, the first sending method in the embodiment of the present invention includes sending times greater than 1, so that the first information can be sent for multiple times, and since the multiple sending is different from one sending of a conventional thought, the interest of the communication process can be improved, and the user experience can be improved.
Of course, the second transmission method in the embodiment of the present invention may also include the number of times of transmission, and the number of times of transmission included in the second transmission method may also be equal to or greater than 1, so that the first information may be transmitted once or multiple times.
Treatment protocol 2
In processing scheme 2, according to the processing manner, the processing of the first information may include: converting the first information into second information according to the conversion mode; and transmitting the second information according to the second transmission mode.
The processing scheme 2 may convert the first information into second information according to a conversion mode, and send the second information; the second information and the first information can be different in content and/or type, so that the embodiment of the invention can improve the richness of the information in the communication process, further improve the interestingness of the communication process and improve the user experience.
In an optional embodiment of the present invention, the converting the first information into the second information according to the conversion manner may specifically include:
copying all or part of the first information, and taking a corresponding copying result as second information corresponding to the first information; or
Copying all or part of the first information, and combining a corresponding copying result with the first information to obtain second information corresponding to the first information; or alternatively
The type of the first information is a first type, and second information of a second type matched with the first information is obtained.
The embodiment of the present invention may provide, for the function corresponding to the above-mentioned on state, a processing manner for processing the first information as follows:
treatment method 1
The processing method 1 may be configured to implement an echo function corresponding to a second on state, and specifically, the process of converting the first information into the second information according to the conversion method may include: copying partial information in the first information, and taking a corresponding first copying result as second information corresponding to the first information;
the process of sending the second information according to the second sending manner may include: and sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the partial information in the first information may be determined by: and removing partial information from the first information to obtain partial information in the first information. The removed part of information may be located before, in the middle of, or after the first information, for example, the part of information located in front may be M characters located in front.
Optionally, the second information is one or more, and the content of the second information is different. For example, a part of information in the previous second information may be copied, and the corresponding copy result may be used as the next second information.
For example, if the first information is "did you eat", the plurality of second information may be "did you eat", "did you have", and "did" in this order.
The amount of the second information may be determined according to the number of transmissions, and assuming that the number of transmissions represented by the number of transmissions is T, the amount of the second information may be (T-1). In a practical application, the first information may be transmitted once first, and then the different second information may be transmitted (T-1) times at a time.
Treatment method 2
The processing mode 2 may be configured to implement an echo function corresponding to a fourth switching state, and specifically, the process of converting the first information into the second information according to the conversion mode may include: copying partial information in the first information, and combining the first information and at least one second copy result corresponding to the first information to obtain second information corresponding to the first information;
the process of sending the second information according to the second sending manner may include: and sending the second information according to the sending times corresponding to the second sending mode.
According to one embodiment, the partial characters of the first information may be copied S times, and the second information obtained by combining the copy result with the first information may be transmitted. For example, the first information is "did you eat", and the second information may be "did you eat", and so on. It should be noted that there may be one or more copied partial characters, multiple partial characters may be continuous or discontinuous, and the copy result and the first information may be combined according to the position of the character in the first information.
Treatment method 3
The processing method 3 may be configured to implement a function of emphasizing importance corresponding to the third opening state, and specifically, the process of converting the first information into the second information according to the conversion method may include: copying all information in the first information, and combining the first information and at least one third copy result corresponding to the first information to obtain second information corresponding to the first information;
the process of sending the second information according to the second sending manner may include: and sending the second information according to the sending times corresponding to the second sending mode.
Assuming that the first information is "hello", the first information may be copied several times (assuming 2 times), and "hello/hello" may be transmitted one or more times.
Treatment method 4
The processing manner 4 may be used to implement a function of emphasizing importance corresponding to the fifth open state, and specifically, the process of converting the first information into the second information according to the conversion manner may include: the type of the first information is a first type, and second information of a second type matched with the first information is obtained; wherein the second information of the second type may be one or more, and a plurality of the second information of the second type may be presented in a relationship.
The process of processing the first information according to the processing manner is described in detail in the processing scheme 1 and the processing scheme 2, and it can be understood that a person skilled in the art can process the first information according to the processing manner for a function that needs to be implemented according to an actual application requirement.
To sum up, the data processing method according to the embodiment of the present invention may process the first information according to a first sending method, or a conversion method and a second sending method; compared with the traditional way of thinking and sending the information in the input box to the opposite communication terminal, the embodiment of the invention can ensure that a user determines a required first sending mode or a required conversion mode and a required second sending mode according to the actual application requirement, and carries out extraordinary processing on the first information which is different from the traditional thought according to the first sending mode or the required conversion mode and the required second sending mode, thereby improving the processing flexibility of the information in the communication process; moreover, for the user, the supernormal processing can enable the user to enjoy the experience similar to hang-up in the communication process, so that the interest of the communication process can be improved.
For example, the first sending method in the embodiment of the present invention may include sending times greater than 1, so that the first information may be sent for multiple times, and since the multiple sending is different from one sending of a conventional thought, the interest of the communication process may be increased, and the user experience may be improved.
For another example, according to the conversion mode, the embodiment of the present invention may convert the first information into the second information, and send the second information; the second information and the first information can be different in content and/or type, so that the embodiment of the invention can improve the richness of the information in the communication process, further improve the interestingness of the communication process and improve the user experience.
Method embodiment two
Referring to fig. 3, a flowchart of steps of a second embodiment of the data processing method according to the present invention is shown, which specifically includes the following steps:
step 301, acquiring first information input in an input box;
step 302, determining a processing mode corresponding to the first information according to the functional state of the control; the processing manner is used for processing the first information, and may include: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type;
and 303, processing the first information according to the processing mode.
Compared with the first method embodiment shown in fig. 2, in the embodiment of the present invention, the functional state of the control may be associated with the processing manner corresponding to the first information. Optionally, the functional state of the control may include: the control device comprises an on state and an off state, wherein the on state can be used for representing the on state of the function, the off state can be used for representing the off state of the function, and under the condition that the function state of the control is the on state, the corresponding function can be realized through the embodiment of the invention. According to one embodiment, the function may be an off-hook function, which may refer to a function that allows a user to enjoy an off-hook-like experience during communication.
In an optional embodiment of the present invention, the method of this embodiment may further include: and displaying the control.
Optionally, the process of displaying the control may include:
if the current application environment is the first application environment, displaying the control; or alternatively
And if the current application environment is the second application environment and the functional state of the control is the open state, displaying the control.
The application environment of the embodiment of the invention can comprise: an application environment or a page environment. Alternatively, the application program environment corresponding to the first information may be determined according to the identification feature of the current object being served by the input method program.
In this embodiment of the present invention, the application environment may include: an application identification and/or an application category. For example, "QQ" is an application identifier, and the application category corresponding to "QQ" is a chat category, etc. It is understood that one skilled in the art can classify the application programs into corresponding application program categories according to the actual application requirements, for example, examples of the application program categories may include but are not limited to: a chat category, a live category, a video category, a game category, and so forth.
The page environment may be used to characterize the page environment provided by an application or a website, and optionally, the page environment may include, but is not limited to: an instant messaging page environment, a document page environment, a mail page environment, a password entry page environment, a game page environment, a search page environment, a travel page environment, a shopping page environment, a social page environment, a movie page environment, a reading page environment, and the like.
In the embodiment of the invention, the first application environment can be used for representing the application environment with stronger anti-interference degree, so that the control can be displayed no matter the function state of the control is in an on state or an off state. The first application environment can be determined by those skilled in the art according to actual application requirements, and examples of the first application environment may include: a live application environment, a video application environment, a game application environment, and the like.
Referring to fig. 4, a schematic diagram of an interface according to an embodiment of the present invention is shown, where the interface may be applicable to a first application environment, and the interface may include a control 401, where the control 401 may be located on the right side of a pinyin area of an input method program, and specifically may include: the control 401 is gray in the switch shape and the rocket shape, and the functional state representing the control 401 is an off state. It is understood that the switch shape and the rocket shape are only examples of the shape of the control 401, and the shape of the control 401 is not limited by the embodiments of the present invention.
In the embodiment of the present invention, the off state may be a default state of the control 401, and the user may convert the control into the on state through control information or operation on the control. In the on state, the control 401 may appear bright. Alternatively, the transparency of control 401 in the on state may be a first transparency value, the transparency of control 401 in the off state may be a second transparency value, and the first transparency value may be greater than the second transparency value, e.g., 100% and 60% for the first transparency value and the second transparency value, respectively, etc.
In the embodiment of the invention, the second application environment can be used for representing the application environment with weaker interference resistance, so that the control can be displayed under the condition that the functional state of the control is the open state. Under the condition that the function state of the control is the off state, the control can not be displayed, so that the interference of the control on a user can be avoided.
Referring to fig. 5, a schematic diagram of an interface according to an embodiment of the present invention is shown, where the interface may be applicable to a second application environment, and the interface may include a control 501, where the control 501 may be located on the right side of a pinyin area of an input method program, and specifically may include: the control 501 is bright in color, and the functional state representing the control 501 is an on state. It is understood that the switch shape and the rocket shape are only examples of the shape of the control 501, and the shape of the control 501 is not limited by the embodiment of the present invention.
In other embodiments of the invention, a state setting entry of a control can be added at a function button of the input method interface. Referring to fig. 6, there is shown an illustration of an interface of an embodiment of the present invention, wherein a setting interface may pop up in response to a user's trigger operation on a function button 601, and the setting interface may include: an on-hook mode 602, a user may implement state settings for controls via the on-hook mode 602.
The process of placing the state of the control in the on state is provided herein:
in the case that the state of the control is the off state, the control 401 in fig. 4, or the control 501 in fig. 5, or the on-off mode 602 in fig. 6 may be triggered, and then a setting panel of the control may be presented. Referring to fig. 7, a schematic diagram of a setting panel of a control according to an embodiment of the present invention is shown, where options of the setting panel are, from top to bottom: the method includes a "close/open/close hanging mode", a "snap" mode (corresponding to the first open state), an "echo" sound (corresponding to the second open state), three times of "important things" three times of "corresponding to the third open state", and a "close/open hanging mode" is selected as a default. If a selection operation for any option other than "close on-hook mode" is received, the setting template may be retracted, and the control 401 in fig. 4, or the control 501 in fig. 5, or the on-hook mode 602 in fig. 6 becomes highlighted; the processing mode of the first information is processed according to the selected option. If the selection operation of any option except for the 'off on-hook mode' is not received and the closing operation is received, the panel can be folded, and the control is still in the off state.
The process of placing the state of the control into an off state is provided herein:
when the state of the control is the on state, the control 401 in fig. 4, the control 501 in fig. 5, or the on-off mode 602 in fig. 6 may be triggered, and the state of the control may be set to the off state. For example, clicking the on-hook mode 602 in fig. 6, the keyboard area displays the setting panel of the control, and if a selection operation for "off-hook mode" is received, the setting panel may be retracted, the on-hook mode 602 is grayed out, and the state of the control is set to the off state.
In an alternative embodiment of the invention, the user may be prompted for the functionality of an embodiment of the invention (an on-hook functionality). For example, after the version of the input method program is upgraded to the version with the hang-up function, or after the version with the hang-up function of the input method program is installed for the first time, the prompt message may be added at the function button of the input method interface.
For example, the prompt information may be presented in the area around the function button 601 of fig. 6, or the prompt information may be presented in the area around the on-hook mode 602 of fig. 6. The prompt information may be information such as characters and icons, and when a user's trigger operation for the function button 601 or the on-hook mode 602 is received, the display of the prompt information is stopped. It should be noted that, in the case where the input method program is not uninstalled and reinstalled, the prompt message may be displayed once.
In another optional embodiment of the present invention, in the process of setting the state of the control to the off state through the control in the pinyin area, if the trigger operation of the user on the control in the pinyin area is received, the corresponding query information may be popped up to avoid the misoperation of the user. Referring to fig. 8, which shows an example of an interface according to an embodiment of the present invention, if a click operation of a user on a control 801 is received, a dialog box may pop up, where the dialog box may include: ? [ reopen, can select more modes in the S-target "" on-off mode "". [ CANCELLING ] if a trigger operation for [ CANCELLING ] is received, the state of the control may not be set to the OFF state; if the trigger operation for [ determination ] is received, the state of the control can be set to be an off state. It should be noted that, in the case where the input method program is not uninstalled and reinstalled, the query message may be displayed once.
In summary, in the data processing method according to the embodiment of the present invention, the functional state of the control may be associated with the processing mode corresponding to the first information, so that the user can set the functional state of the control according to the actual application requirement, thereby implementing the function of the control.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Device embodiment
Referring to fig. 9, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include:
a first information obtaining module 901, configured to obtain first information input in an input box;
a processing mode determining module 902, configured to determine a processing mode corresponding to the first information; the processing manner is used for processing the first information, and may include: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type; and
and a first information processing module 903, configured to process the first information according to the processing manner.
Alternatively, the first information processing module 901 may include:
the conversion submodule is used for converting the first information into second information according to the conversion mode; and
and the sending submodule is used for sending the second information according to the second sending mode.
Optionally, the conversion sub-module may include:
the first conversion unit is used for copying all information or part of information in the first information and taking a corresponding copying result as second information corresponding to the first information; or
The second conversion unit is used for copying all information or part of information in the first information and combining a corresponding copying result with the first information to obtain second information corresponding to the first information; or
And the third conversion unit is used for acquiring second information of a second type matched with the first information, wherein the type of the first information is a first type.
Optionally, the conversion sub-module may include:
the copying unit is used for copying partial information in the first information and taking a corresponding first copying result as second information corresponding to the first information;
the transmission sub-module may include:
and the first sending unit is used for sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the apparatus may further include:
and the partial information determining module is used for removing partial information from the first information to obtain partial information in the first information.
Optionally, the second information is one or more, and the content of the second information is different.
Optionally, the conversion sub-module may include:
the first copy combination unit is used for copying part of or all information in the first information and combining the first information and at least one corresponding second copy result to obtain second information corresponding to the first information;
the transmission sub-module may include:
and the second sending unit is used for sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the second type of second information is multiple, and multiple second types of second information are presented in a relationship.
For the device 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.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The invention provides an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: acquiring first information input in an input box; determining a processing mode corresponding to the first information; the processing manner is used for processing the first information, and may include: a first transmission mode or a conversion mode and a second transmission mode; the first sending method is used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information differ in content and/or type; and processing the first information according to the processing mode.
Optionally, the processing the first information according to the processing manner includes:
converting the first information into second information according to the conversion mode;
and sending the second information according to the second sending mode.
Optionally, the converting the first information into the second information according to the conversion manner includes:
copying all or part of the first information, and taking a corresponding copying result as second information corresponding to the first information; or
Copying all or part of the first information, and combining a corresponding copying result with the first information to obtain second information corresponding to the first information; or
The type of the first information is a first type, and second information of a second type matched with the first information is obtained.
Optionally, the converting the first information into the second information according to the conversion manner includes:
copying partial information in the first information, and taking a corresponding first copying result as second information corresponding to the first information;
the sending the second information according to the second sending mode includes:
and sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the device is also configured to execute the one or more programs by the one or more processors including instructions for:
and removing partial information from the first information to obtain partial information in the first information.
Optionally, the second information is one or more, and the content of the second information is different.
Optionally, the converting the first information into the second information according to the conversion manner includes:
copying part or all of the first information, and combining the first information and at least one second copy result corresponding to the first information to obtain second information corresponding to the first information;
the sending the second information according to the second sending mode includes:
and sending the second information according to the sending times corresponding to the second sending mode.
Optionally, the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
Fig. 10 is a block diagram illustrating a structure of an apparatus 1000 for data processing as a terminal according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 11 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941 such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an apparatus (terminal or server), enable the apparatus to perform the data processing method shown in any one of fig. 2 to 8. A method of data processing, the method comprising: acquiring first information input in an input box; determining a processing manner corresponding to the first information, where the processing manner is used for processing the first information, and the processing manner may include: a first transmission mode, or a conversion mode and a second transmission mode; the first sending method is used to characterize a sending method for the first information, and the first sending method may include: the number of times of transmission; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second sending mode is used for representing a sending mode aiming at the second information; the second information and the first information differ in content and/or type; and processing the first information according to the processing mode.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The data processing method, the data processing apparatus, and the machine-readable medium provided by the present invention are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the above descriptions of the embodiments are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (19)

1. A method of data processing, the method comprising:
acquiring first information input in an input box;
determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a conversion mode and a second transmission mode; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information are different in content;
processing the first information according to the processing mode;
the processing the first information according to the processing mode comprises:
converting the first information into second information according to the conversion mode;
sending the second information according to the second sending mode;
the converting the first information into the second information according to the conversion mode includes:
copying partial information in the first information, and taking a corresponding first copying result as second information corresponding to the first information; or alternatively
And copying partial information in the first information, and combining the first information and at least one second copy result corresponding to the first information to obtain second information corresponding to the first information.
2. The method of claim 1, wherein the transmitting the second information according to the second transmission mode comprises:
and sending the second information according to the sending times corresponding to the second sending mode.
3. The method according to claim 1, wherein the copying partial information in the first information and using the corresponding first copy result as second information corresponding to the first information comprises:
and removing partial information from the first information to obtain partial information in the first information.
4. The method according to claim 1, wherein when a part of the first information is copied and a corresponding first copy result is used as second information corresponding to the first information, the second information is one or more, and the contents of the second information are different.
5. The method of claim 1, wherein the second information and the first information differ in type; the converting the first information into the second information according to the conversion mode further comprises: the type of the first information is a first type, and second information of a second type matched with the first information is obtained; the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
6. The method of claim 1, wherein the processing means further comprises: a first transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of transmissions.
7. A data processing apparatus, characterized in that the apparatus comprises:
the first information acquisition module is used for acquiring first information input in the input box;
a processing mode determining module, configured to determine a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a conversion mode and a second transmission mode; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information are different in content; and
the first information processing module is used for processing the first information according to the processing mode;
the first information processing module includes:
the conversion submodule is used for converting the first information into second information according to the conversion mode; and
the sending submodule is used for sending the second information according to the second sending mode;
the conversion sub-module comprises:
the copying unit is used for copying partial information in the first information and taking a corresponding first copying result as second information corresponding to the first information; or
The first copy combination unit is configured to copy a part of information in the first information, and combine the first information and at least one second copy result corresponding to the first information to obtain second information corresponding to the first information.
8. The apparatus of claim 7, wherein the transmit submodule comprises:
and the first sending unit is used for sending the second information according to the sending times corresponding to the second sending mode.
9. The apparatus of claim 7, wherein the copying unit comprises:
and the partial information determining module is used for removing partial information from the first information to obtain partial information in the first information.
10. The apparatus according to claim 7, wherein when a part of the first information is copied and a corresponding first copy result is used as second information corresponding to the first information, the second information is one or more, and contents of the second information are different.
11. The apparatus of claim 7, wherein the second information and the first information differ in type; the conversion sub-module comprises:
the third conversion unit is used for acquiring second information of a second type matched with the first information, wherein the type of the first information is a first type; the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
12. The apparatus of claim 7, wherein the processing means further comprises: a first transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of transmissions.
13. An apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein execution of the one or more programs by one or more processors comprises instructions for:
acquiring first information input in an input box;
determining a processing mode corresponding to the first information; the processing mode is used for processing the first information, and the processing mode comprises the following steps: a conversion mode and a second transmission mode; the conversion mode is used for representing a conversion mode for converting the first information into the second information; the second transmission mode is used for representing a transmission mode aiming at the second information; the second information and the first information are different in content;
processing the first information according to the processing mode;
the processing the first information according to the processing mode comprises:
converting the first information into second information according to the conversion mode;
sending the second information according to the second sending mode;
the converting the first information into the second information according to the conversion mode includes:
copying partial information in the first information, and taking a corresponding first copying result as second information corresponding to the first information; or
And copying partial information in the first information, and combining the first information and at least one second copy result corresponding to the first information to obtain second information corresponding to the first information.
14. The apparatus of claim 13, wherein the transmitting the second information according to the second transmission scheme comprises:
and sending the second information according to the sending times corresponding to the second sending mode.
15. The apparatus according to claim 13, wherein the copying partial information of the first information and using the corresponding first copy result as the second information corresponding to the first information comprises:
and removing partial information from the first information to obtain partial information in the first information.
16. The apparatus according to claim 13, wherein when a part of the first information is copied and a corresponding first copy result is used as second information corresponding to the first information, the second information is one or more, and contents of the plurality of second information are different.
17. The apparatus of claim 13, wherein the second information and the first information differ in type; the converting the first information into the second information according to the conversion mode further comprises: the type of the first information is a first type, and second information of a second type matched with the first information is obtained; the second information of the second type is multiple, and multiple second information of the second type is presented in a relationship.
18. The apparatus of claim 13, wherein the processing means further comprises: a first transmission mode; the first sending method is used for representing a sending method aiming at the first information, and the first sending method comprises the following steps: the number of transmissions.
19. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-6.
CN201711466059.XA 2017-12-28 2017-12-28 Data processing method, device and machine readable medium Active CN109976549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711466059.XA CN109976549B (en) 2017-12-28 2017-12-28 Data processing method, device and machine readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711466059.XA CN109976549B (en) 2017-12-28 2017-12-28 Data processing method, device and machine readable medium

Publications (2)

Publication Number Publication Date
CN109976549A CN109976549A (en) 2019-07-05
CN109976549B true CN109976549B (en) 2022-08-16

Family

ID=67075312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711466059.XA Active CN109976549B (en) 2017-12-28 2017-12-28 Data processing method, device and machine readable medium

Country Status (1)

Country Link
CN (1) CN109976549B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905079B (en) * 2019-11-19 2022-12-13 北京搜狗科技发展有限公司 Data processing method, device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200422924A (en) * 2003-04-22 2004-11-01 Inventec Appliances Corp Rapid input method for repetitive words and mobile communication device using the same
CN106959811A (en) * 2016-01-11 2017-07-18 中兴通讯股份有限公司 A kind of method and device for inputting information on mobile terminals

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2414088A (en) * 2004-05-10 2005-11-16 Sendo Int Ltd Automatic subject line filling based on message content
JP4830300B2 (en) * 2005-01-12 2011-12-07 日本電気株式会社 Communication method and communication system
CN100470545C (en) * 2005-03-14 2009-03-18 索尼株式会社 Related information successively outputting method, related information successively providing method, and information successively outputting program
JP4720847B2 (en) * 2008-04-21 2011-07-13 ソニー株式会社 Recording system, transmission apparatus, recording apparatus, recording control method, and program
CN103517226A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method and device for information processing and electronic devices
CN103532784A (en) * 2013-10-17 2014-01-22 中国联合网络通信集团有限公司 Method and system for transmitting heartbeat messages, terminal and network equipment
CN104735048B (en) * 2014-12-02 2019-02-12 北京奇虎科技有限公司 The monitoring method and device to release news in a kind of game
CN106033467A (en) * 2015-03-20 2016-10-19 腾讯科技(深圳)有限公司 Image file sharing method and device
CN104765791A (en) * 2015-03-24 2015-07-08 北京搜狗科技发展有限公司 Information inputting method and device
CN104850849A (en) * 2015-04-27 2015-08-19 小米科技有限责任公司 Method, device and terminal for sending character
CN105207886B (en) * 2015-08-12 2019-07-05 深圳前海珩昌科技有限公司 Transmission, display methods and the transmission of instant communication message, display device and system
CN105260151A (en) * 2015-09-30 2016-01-20 小米科技有限责任公司 Information display method and apparatus
CN105426103B (en) * 2015-11-10 2018-11-30 网易(杭州)网络有限公司 Message editing method and apparatus in a kind of mobile device
CN106161215A (en) * 2016-08-31 2016-11-23 维沃移动通信有限公司 A kind of method for sending information and mobile terminal
CN106384225A (en) * 2016-09-20 2017-02-08 焦点教育科技有限公司 Method for batch transmission of point-to-point notifications based on customized variable fields
CN107463539A (en) * 2017-07-20 2017-12-12 北京云知声信息技术有限公司 A kind of information stickup method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200422924A (en) * 2003-04-22 2004-11-01 Inventec Appliances Corp Rapid input method for repetitive words and mobile communication device using the same
CN106959811A (en) * 2016-01-11 2017-07-18 中兴通讯股份有限公司 A kind of method and device for inputting information on mobile terminals

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
How To Send Same Text Multiple Time At Once On WhatsApp;ilovefreesoftwareTV;《https://www.youtube.com/watch?v=G9P0Pz8Z7mM》;20170918;第1页 *

Also Published As

Publication number Publication date
CN109976549A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
CN107037949B (en) Split screen display method and device
CN105955607B (en) Content sharing method and device
WO2018058728A1 (en) Content sharing method and apparatus
CN109600303B (en) Content sharing method and device and storage medium
WO2019037359A1 (en) Split-screen display method, device and terminal
EP3561692A1 (en) Method and device for displaying web page content
CN105786507B (en) Display interface switching method and device
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN106775202B (en) Information transmission method and device
WO2017088247A1 (en) Input processing method, device and apparatus
CN110262692B (en) Touch screen scanning method, device and medium
CN109922098B (en) Content sharing method and device for content sharing
CN105511777B (en) Session display method and device on touch display screen
CN110391966B (en) Message processing method and device and message processing device
CN111381737B (en) Dock display method and device and storage medium
CN106331328B (en) Information prompting method and device
CN110945467B (en) Disturbance-free method and terminal
EP3261324A1 (en) Method and device for application switching
CN108989191B (en) Method for withdrawing picture file, control method and device thereof, and mobile terminal
CN114691277A (en) Application program processing method, intelligent terminal and storage medium
CN111427449A (en) Interface display method, device and storage medium
CN106447747B (en) Image processing method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN105260088B (en) Information classification display processing method and device

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