Multi-channel streaming keyboard input method, device, equipment and medium

By judging the input information type and spelling completion status of the IOS client, processing and sending input information in real time, and using time thresholds to distinguish client input, it solves the problem of delay and confusion in IOS client streaming Chinese input in cloud games, and improves users Experience.

CN119200864APending Publication Date: 2024-12-27HANGZHOU SHUNWANG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411389192.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the multi-channel IOS client streaming of cloud games, Chinese input requires spelling, resulting in a delay of about 1.5s, and when multiple clients input at the same time, it is easy to cause confusion and affect user experience.

Method used

By obtaining the keyboard input information of each IOS client, we judge the input information type and determine the corresponding data processing strategy, including the rules to determine whether the Chinese input is spelled, process and send the input information to the host side in real time, and distinguish customers by using the preset time threshold. input to avoid delays and confusion.

Benefits of technology

It realizes real-time and fast sending of Chinese and English inputs by IOS clients, and users cannot perceive delays and pauses. The host side does not confuse the input content of different clients, improving the operating experience of multi-stream keyboard input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200864A_ABST
    Figure CN119200864A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-channel streaming keyboard input method and device, equipment and a medium, and relates to the technical field of cloud game streaming and IOS. The method is applied to an IOS client, and comprises the following steps: acquiring first input information of each client in a plurality of paths of streams and determining the type of the input information; determining a first data processing strategy according to the type of the input information, and processing the first input information to obtain second input information corresponding to the client; the second input information is sent to the host side, so that the host side compares the time interval of two-time information sending of the client side with a preset time threshold value, a second data processing strategy is determined according to a comparison result to process the second input information, and input result data corresponding to each path of client side is obtained; and displaying the input result data through the host end. Through the technical scheme of the invention, Chinese and English can be quickly sent to the host end in real time after being input at the IOS client, and a user cannot sense the input delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud game streaming and IOS technology, and in particular to a multi-channel streaming keyboard input method, device, equipment and medium. Background Art

[0002] Cloud gaming is different from traditional gaming. It is a gaming implementation method based on cloud computing, cloud control, rendering and network transmission. It uploads computing power and the game actually runs on the host side of the cloud edge computing node, rather than on the user's local client. The client receives the audio and video data sent by the host side to present the game sound and picture locally. At the same time, the user operates the remote host through the local keyboard and mouse, and sends the game operation control data to the host side to control the game.

[0003] like Figure 1 The figure shows a system block diagram of multi-channel streaming, including multiple clients, a host and a network. Each user corresponds to a client and is connected to the same host through the network; each client can input information through the keyboard, and then send the information to the host through the network, thereby realizing the client controlling the input of the host.

[0004] Currently, when multiple IOS clients stream Chinese characters on the keyboard, they need to spell them, which will cause a delay of about 1.5s before they can be sent to the host. Moreover, when multiple IOS clients input Chinese characters to the host at the same time, confusion will occur.

[0005] Therefore, how to quickly implement Chinese and English input so that users cannot perceive delays and pauses and input between different clients does not cause confusion is a problem that technical personnel in this field currently need to solve. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide a multi-channel streaming keyboard input method, device, equipment and medium, which can quickly realize Chinese and English input so that users cannot perceive delays and pauses, and input between different clients will not cause confusion. The specific scheme is as follows:

[0007] In a first aspect, the present application discloses a multi-channel stream keyboard input method, which is applied to an IOS client, comprising:

[0008] Acquire first input information inputted by each IOS client through a keyboard in the multi-channel stream, and determine the input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode;

[0009] Determine a corresponding first data processing strategy according to the input information type, and process the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled;

[0010] The second input information is sent to the host side through the network, so that the host side compares the time interval between the two times the IOS client sends the second input information with a preset time threshold, and determines the corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host side.

[0011] Optionally, the determining the input information type corresponding to the first input information includes:

[0012] A mode determination function is defined through a preset function definition interface, and the mode determination function is used to determine the input information type corresponding to the first input information to determine whether the input information type is a Chinese mode or a non-Chinese mode.

[0013] Optionally, determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client includes:

[0014] When the input information type is the Chinese mode, the first input information is judged by using the judgment rule in the first data processing strategy;

[0015] If the number of currently input characters corresponding to the first input information is 1, and the first input information is letter input in a preset format, it is determined that Chinese input in the Chinese mode is currently being spelled;

[0016] After the Chinese input spelling is completed, each second input information corresponding to the IOS client is determined according to the first input information.

[0017] Optionally, determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client includes:

[0018] When the input information type is the non-Chinese mode, the first input information is directly determined as each second input information corresponding to the IOS client.

[0019] Optionally, the sending of the second input information to the host end through the network so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end, including:

[0020] The second input information is sent to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold. When the time interval is less than the preset time threshold, the first IOS client is determined, and the second input information sent for the second time is spliced ​​after the second input information sent for the first time to obtain input result data corresponding to the first IOS client, and the input result data is displayed through the host end.

[0021] Optionally, the sending of the second input information to the host end through the network so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end, including:

[0022] The second input information is sent to the host side through the network, so that the host side compares the time interval between the two times the IOS client sends the second input information with a preset time threshold. When the time interval is not less than the preset time threshold, the second IOS client and the third IOS client are determined, and the second input information sent for the first time is used as the second input information sent for the last time by the second IOS client, and the second input information sent for the second time is used as the second input information sent for the first time by the third IOS client. Then, the input result data corresponding to the second IOS client and the third IOS client are respectively determined, and the input result data are displayed through the host side.

[0023] In a second aspect, the present application discloses a multi-channel stream keyboard input method, which is applied to a host side, comprising:

[0024] receiving, via a network, second input information sent by each IOS client in a multi-channel stream; wherein, the second input information is input information corresponding to the IOS client obtained by the IOS client processing the first input information based on a first data processing strategy; the first data processing strategy is a data processing strategy determined according to an input information type corresponding to the first input information, the input information type includes a Chinese mode and a non-Chinese mode, and the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; the first input information is input information input by the IOS client through a keyboard;

[0025] Compare the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determine a corresponding second data processing strategy according to the comparison result;

[0026] The second input information is processed based on the second data processing strategy to obtain input result data corresponding to each IOS client, and the input result data is displayed.

[0027] In a third aspect, the present application discloses a multi-channel streaming keyboard input device, which is applied to an IOS client, comprising:

[0028] A first information acquisition module is used to acquire first input information inputted by each IOS client through a keyboard in the multi-channel stream, and determine the input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode;

[0029] A second information acquisition module, used to determine a corresponding first data processing strategy according to the input information type, and process the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled;

[0030] A data display module is used to send the second input information to the host end through the network, so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy based on the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0031] In a fourth aspect, the present application discloses an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the multi-channel stream keyboard input method as described above.

[0032] In a fifth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the multi-channel stream keyboard input method as described above.

[0033] The present application provides a multi-channel stream keyboard input method, which is applied to an IOS client, including: obtaining first input information input by each IOS client in a multi-channel stream through a keyboard, and determining an input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode; determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; sending the second input information to a host end through a network, so that the host end compares the time interval between two times the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0034] The beneficial technical effects of the present application are as follows: first, for the first input information typed by each IOS client in the multi-channel streaming, the corresponding first data processing strategy is determined according to the input information type; different input information types correspond to different first data processing strategies. Since the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled or not, after the first input information is processed by the first data processing strategy to obtain the second input information, it can be realized that after the IOS client inputs Chinese, English and characters, it can be sent to the host side in real time and quickly, and the user cannot perceive the input delay and pause. Secondly, for the second input information of the multi-channel IOS client, the preset time threshold is used to compare with the time interval between the two data transmissions of the current client, and the second input information is further processed according to the comparison result using the determined second data strategy, so as to obtain the input result data finally displayed by each IOS client on the host side. The host side will not confuse the input content of different clients, which greatly improves the keyboard input operation experience of the multi-channel streaming of the IOS client.

[0035] In addition, the present application provides a multi-channel stream keyboard input device, equipment and storage medium, which correspond to the above-mentioned multi-channel stream keyboard input method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0037] Figure 1 A block diagram of a multi-channel streaming system disclosed in this application;

[0038] Figure 2 This is a schematic diagram of the result after a local text input disclosed in this application;

[0039] Figure 3 A flow chart of a multi-channel stream keyboard input method disclosed in this application;

[0040] Figure 4 A schematic diagram of a keyboard input optimization strategy for a single-channel IOS streaming client disclosed in this application;

[0041] Figure 5 A schematic diagram of a multi-channel streaming host-side keyboard input optimization strategy disclosed in this application;

[0042] Figure 6 A flow chart of a multi-channel stream keyboard input method disclosed in this application;

[0043] Figure 7 A schematic diagram of the structure of a multi-channel serial stream keyboard input device disclosed in this application;

[0044] Figure 8 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] like Figure 1As shown in the figure, for a multi-streaming system, for each client, when using an IOS client to stream the host, in order to input information on the host, first, the keyboard input information of the IOS client needs to be obtained; then the information is sent to the host through the network; finally, the host parses the information into corresponding text according to the protocol, thereby realizing the input control of the host by the client. When the user inputs English or other alphanumeric characters, they can be sent in real time. However, when the user sends Chinese, since Chinese needs to be spelled, for example, spelling "你好" (hello), the pinyin is "nihao", so it will become inputting "n", "i", "h", "a", "o", and finally after spelling and clicking on the relevant Chinese on the pinyin navigation bar, "你好" will appear. It is equivalent to inputting "n", "i", "h", "a", "o", "你", "好". As Figure 2 Shown is the result displayed after local input.

[0047] When streaming on the IOS client, the information input by the keyboard needs to be sent to the host first, and then displayed on the host. The editView (editing box) control of the IOS system is hidden, and after inputting text or characters, it is processed through functextViewDidChange(_textView:UITextView) and func textView(_textView:UITextView,shouldChangeTextIn range:NSRange,replacementText text: String)->Boo. When inputting text, the system will automatically trigger the execution of the above methods. By combining the use of these two methods in the application, the effect of sending text in real time is achieved; each time a content (any content) is input, the following execution is triggered first:

[0048] func textView(_textView:UITextView,shouldChangeTextIn range:NSRange,replacementText text: String)->Bool

[0049] {Logger.log("textView once, begin input——>|\(text)|end")

[0050] inputWords(text)

[0051] return true

[0052] }

[0053] For example, when you enter "hello", the input messages captured by the system are inputWords(n), inputWords(i), inputWords(h), inputWords(a), inputWords(o), and inputWords(hello). In fact, the only message that needs to be sent to the host is the Chinese character "hello", and other information does not need to be sent. Therefore, the general conventional system processing method is to wait and determine that the text input is complete, and then send the last Chinese character uniformly and discard other English letters. However, the above approach will cause a certain delay problem. For example, if you do not press the keyboard for 1.5 seconds, it can be judged that the input is complete and can be sent uniformly. If you keep pressing the keyboard within 1.5 seconds, it will be considered that the input is not complete and cannot be sent. It can be seen that this will cause the IOS client to seriously affect the efficiency and user experience due to the delay problem when inputting information. Moreover, when multiple IOS clients input to the host at the same time, confusion will occur.

[0054] To this end, the present application provides a multi-channel streaming keyboard input solution, which can send Chinese and English input into the IOS client in real time and quickly to the host side, and the user cannot perceive the input delay; and the host side will not confuse the input content of different clients, greatly improving the IOS streaming keyboard input operation experience.

[0055] The embodiment of the present invention discloses a multi-channel streaming keyboard input method, which is applied to an IOS client. Figure 3 As shown, the method includes:

[0056] Step S11: obtaining first input information inputted by each IOS client through a keyboard in the multi-channel stream, and determining the input information type corresponding to the first input information.

[0057] The embodiment of the present application includes two parts, an IOS client and a host. Not only can the IOS client quickly send the input of Chinese and English to the host, so that the user cannot perceive the input delay, but also the host will not confuse the input content of different clients.

[0058] First, for each keyboard input of the IOS client of the multi-channel stream, the first input information corresponding to it is obtained. The input information type corresponding to the first input information is determined. Among them, the input information type includes Chinese mode and non-Chinese mode. It can be understood that the Chinese mode is a mode for realizing text input; the non-Chinese mode is a mode for realizing English or other characters and numbers input.

[0059] In the embodiment of the present application, the input information type corresponding to the first input information can be determined by defining a mode determination function isChineseInputMode() through a preset function definition interface, and the mode determination function is used to implement the input information type determination of the Chinese mode or the non-Chinese mode. Specifically, the mode determination function is defined through a preset function definition interface, and the mode determination function is used to determine the input information type corresponding to the first input information, so as to determine whether the input information type is the Chinese mode or the non-Chinese mode.

[0060] Step S12: determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client.

[0061] Since the input information types include Chinese mode and non-Chinese mode, the corresponding first data processing strategy is determined according to different input information types. That is, there are corresponding data processing strategies for the Chinese mode and the non-Chinese mode. The first input information is processed accordingly by the first data processing strategy to obtain the second input information corresponding to each IOS client, thereby realizing real-time and rapid sending of the IOS client data to the host end.

[0062] It should be noted that the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled out. That is, in order to avoid the situation where the user sends the input information before spelling it out, when the input information type is in the Chinese mode, the first data processing strategy specifies a judgment rule for judging whether the Chinese input is spelled out.

[0063] Step S13: Send the second input information to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold, and determines a corresponding second data processing strategy based on the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0064] In the embodiment of the present application, the input information of each IOS client will be sent to the host side through the network. Therefore, the host side of the multi-channel stream receives and processes data for each client connected. A time threshold is preset by the host side, and the time threshold is usually an empirical value, which can be adaptively adjusted according to different application scenarios. Then the preset time threshold is used to compare with the time interval between the two second input information sent by the IOS client. Different comparison results correspond to different second data processing strategies. Therefore, the input result data obtained after processing the second input information using the second data processing strategy can correspond to each IOS client, so that it can be distinguished which client the current input belongs to, so that the host side will not confuse the input content of different clients. Finally, the host side displays the input data information of different clients.

[0065] The present application provides a multi-channel stream keyboard input method, which is applied to an IOS client, including: obtaining first input information input by each IOS client in a multi-channel stream through a keyboard, and determining an input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode; determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; sending the second input information to a host end through a network, so that the host end compares the time interval between two times the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0066] The beneficial technical effects of the present application are as follows: first, for the first input information typed by each IOS client in the multi-channel streaming, the corresponding first data processing strategy is determined according to the input information type; different input information types correspond to different first data processing strategies. Since the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled or not, after the first input information is processed by the first data processing strategy to obtain the second input information, it can be realized that after the IOS client inputs Chinese, English and characters, it can be sent to the host side in real time and quickly, and the user cannot perceive the input delay and pause. Secondly, for the second input information of the multi-channel IOS client, the preset time threshold is used to compare with the time interval between the two data transmissions of the current client, and the second input information is further processed according to the comparison result using the determined second data strategy, so as to obtain the input result data finally displayed by each IOS client on the host side. The host side will not confuse the input content of different clients, which greatly improves the keyboard input operation experience of the multi-channel streaming of the IOS client.

[0067] Based on the above embodiment, this embodiment will specifically explain S12 in the above embodiment. Among them, for the keyboard input optimization strategy of each IOS client of the multi-channel stream, in a first specific implementation, the process of determining the corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client may include the following steps:

[0068] When the input information type is the Chinese mode, the first input information is judged by using the judgment rule in the first data processing strategy;

[0069] If the number of currently input characters corresponding to the first input information is 1, and the first input information is letter input in a preset format, it is determined that Chinese input in the Chinese mode is currently being spelled;

[0070] After the Chinese input spelling is completed, each second input information corresponding to the IOS client is determined according to the first input information.

[0071] refer to Figure 4 As shown. For each IOS client implementation, first start to enter information, the IOS client will pop up the keyboard and clear the text box information. The following is the relevant implementation method:

[0072] func textViewDidBeginEditing(_ textView: UITextView) {

[0073] textView.text = ""

[0074] lastInputWords = ""

[0075] };

[0076] Among them, lastInputWords is saved globally in the input context. Before each stream is sent, the sent data is saved. At this time, the text box will also have the text of the input stream, but it will be hidden. Therefore, you need to clear the information in the text box before starting to input each time.

[0077] In the embodiment of the present application, if the current input information type is in Chinese mode, the first input information is judged using the judgment rules in the first data processing strategy. Specifically, if the number of characters in the current input is 1 and the input is a letter that meets the preset format, such as lowercase letters of a~z. It is determined that Chinese is still being spelled, and no sending or processing is performed, and the input continues; otherwise, it is determined that the current input is completed, and the inputWords (text) data received by the system is directly sent to the host end through the network, and the host end can be parsed and displayed. The following is a related implementation method:

[0078] if text.count == 1 && matchesLowercaseLetters(input: text)

[0079] {

[0080] / / There is only one character between az, which means it is spelling Chinese, and no processing is done

[0081] }.

[0082] In a second specific implementation, the process of determining the corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client may include the following steps:

[0083] When the input information type is the non-Chinese mode, the first input information is directly determined as each second input information corresponding to the IOS client.

[0084] In the embodiment of the present application, if the current input information type is non-Chinese mode, that is, the current input is English or punctuation, etc., it is sent directly without waiting. The inputWords (text) data received by the system is directly sent to the host side through the network, and is parsed and displayed on the host side.

[0085] The following is the relevant implementation method, which will be executed when the text box ends editing, that is, the keyboard disappears and the text box is cleared.

[0086] func textViewDidEndEditing(_ textView: UITextView) {

[0087] textView.text = ""

[0088] lastInputWords = ""

[0089] }.

[0090] Based on the above embodiment, this embodiment will specifically explain S13 in the above embodiment. Among them, for the keyboard input optimization strategy of the host end of multi-channel streaming, that is, after the host end receives the data sent by the multi-channel client end, in a first specific implementation, the second input information is sent to the host end through the network, so that the host end compares the time interval between the two times the IOS client sends the second input information with the preset time threshold, and determines the corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain the input result data corresponding to each IOS client, and the process of displaying the input result data through the host end may include the following steps:

[0091] The second input information is sent to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold. When the time interval is less than the preset time threshold, the first IOS client is determined, and the second input information sent for the second time is spliced ​​after the second input information sent for the first time to obtain input result data corresponding to the first IOS client, and the input result data is displayed through the host end.

[0092] refer to Figure 5 As shown. For the realization of the host side processing the input content of different clients for multi-channel streaming, each client connected to the host side can input on the host side. Assume that there are three IOS clients client1, client2, and client3 connected to the host side host. When a client input message is sent to the host side, the host side host will receive data from the network and parse the client input data for display.

[0093] In the embodiment of the present application, a time threshold T1 is preset, and T1 is an empirical value, which can be adaptively adjusted according to different application scenarios. The above steps can be specifically described in combination with the following examples.

[0094] Assume that the time interval between the current client input and the last input is clientn_T (clientn_T can be client1_T, client2_T, client3_T), and T1 is 1.5s; if clientn_T is less than the threshold T1, it is considered that the current user input has not yet ended. At this time, the current user input is displayed immediately following the previous input.

[0095] For example, client1, client2, and client3 are inputting to the host at the same time, client1 sends "I am client 1" to the host, client2 sends "I am client 2" to the host, and client3 sends "I am client 3" to the host. The order of data received by the host from the network is "I am I am I client client 1 client 2 client 3". If they are displayed in order, it will cause confusion. The interval between data segments sent by client1, client2, and client3 is less than the threshold T1, so they are still displayed following the previous one. The final display result is: "I am client 1 I am client 2 I am client 3".

[0096] It can be understood that, in the above example scenario, the second input information sent for the first time and the second input information sent for the second time are both information contents of an input by the first IOS client.

[0097] In a second specific implementation manner, the second input information is sent to the host end through the network so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and the process of displaying the input result data through the host end may include the following steps:

[0098] The second input information is sent to the host side through the network, so that the host side compares the time interval between the two times the IOS client sends the second input information with a preset time threshold. When the time interval is not less than the preset time threshold, the second IOS client and the third IOS client are determined, and the second input information sent for the first time is used as the second input information sent for the last time by the second IOS client, and the second input information sent for the second time is used as the second input information sent for the first time by the third IOS client. Then, the input result data corresponding to the second IOS client and the third IOS client are respectively determined, and the input result data are displayed through the host side.

[0099] In the embodiment of the present application, if clientn_T is not less than the threshold value T1, it is considered that the current user's input has ended. At this time, the content input by the current user is displayed from the end.

[0100] For example, client 1 sends another piece of data "I want to play games", and the interval between the input of this piece of information and the previous input has exceeded the threshold T1, it is considered to be re-entered information and is displayed at the end. The display result on the host side is such as "I am client 1, I am client 2, I am client 3, I want to play games".

[0101] It is understandable that, in the above example scenario, the second IOS client and the third IOS client are the same client, so the second input information sent for the second time is the information re-entered by the second IOS client. Since I am client 1, I am client 2, and I am client 3 are messages sent simultaneously by client 1, client 2, and client 3 respectively, after client 1 resends "I want to play games", it will be displayed at the end. Similarly, when the second IOS client and the third IOS client are different clients, it can also be determined whether it is the current input or the re-entry based on the second input information sent twice by each, and then displayed in order.

[0102] The present application embodiment discloses a multi-channel serial keyboard input method, which is applied to a host side, see Figure 6 As shown, the method includes:

[0103] Step S21: receiving second input information sent by each IOS client in the multi-channel stream through the network.

[0104] The second input information is input information corresponding to the IOS client obtained by the IOS client processing the first input information based on the first data processing strategy; the first data processing strategy is a data processing strategy determined according to the input information type corresponding to the first input information, the input information type includes a Chinese mode and a non-Chinese mode, and the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; the first input information is input information input by the IOS client through the keyboard;

[0105] Step S22: comparing the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determining a corresponding second data processing strategy according to the comparison result.

[0106] Step S23: Processing the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displaying the input result data.

[0107] For more specific processing procedures of the above steps, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0108] The present application provides a multi-channel keyboard input method, which is applied to a host, including: receiving second input information sent by each IOS client in the multi-channel stream through a network; comparing the time interval between two times the IOS client sends the second input information with a preset time threshold, and determining a corresponding second data processing strategy based on the comparison result; processing the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displaying the input result data.

[0109] The beneficial technical effects of the present application are as follows: first, for the first input information typed by each IOS client in the multi-channel streaming, the corresponding first data processing strategy is determined according to the input information type; different input information types correspond to different first data processing strategies. Since the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled or not, after the first input information is processed by the first data processing strategy to obtain the second input information, it can be realized that after the IOS client inputs Chinese, English and characters, it can be sent to the host side in real time and quickly, and the user cannot perceive the input delay and pause. Secondly, for the second input information of the multi-channel IOS client, the preset time threshold is used to compare with the time interval between the two data transmissions of the current client, and the second input information is further processed according to the comparison result using the determined second data strategy, so as to obtain the input result data finally displayed by each IOS client on the host side. The host side will not confuse the input content of different clients, which greatly improves the keyboard input operation experience of the multi-channel streaming of the IOS client.

[0110] Correspondingly, the embodiment of the present application also discloses a multi-channel streaming keyboard input device, which is applied to an IOS client, see Figure 7 As shown, the device comprises:

[0111] The first information acquisition module 11 is used to acquire the first input information inputted by each IOS client through the keyboard in the multi-channel stream, and determine the input information type corresponding to the first input information; the input information type includes Chinese mode and non-Chinese mode;

[0112] The second information acquisition module 12 is used to determine the corresponding first data processing strategy according to the input information type, and process the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled;

[0113] The data display module 13 is used to send the second input information to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold, and determines the corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0114] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0115] It can be seen that the above scheme of this embodiment is applied to the IOS client, including: obtaining the first input information input by each IOS client in the multi-channel stream through the keyboard, and determining the input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode; determining the corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; sending the second input information to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold, and determines the corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

[0116] The beneficial technical effects of the present application are as follows: first, for the first input information typed by each IOS client in the multi-channel streaming, the corresponding first data processing strategy is determined according to the input information type; different input information types correspond to different first data processing strategies. Since the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled or not, after the first input information is processed by the first data processing strategy to obtain the second input information, it can be realized that after the IOS client inputs Chinese, English and characters, it can be sent to the host side in real time and quickly, and the user cannot perceive the input delay and pause. Secondly, for the second input information of the multi-channel IOS client, the preset time threshold is used to compare with the time interval between the two data transmissions of the current client, and the second input information is further processed according to the comparison result using the determined second data strategy, so as to obtain the input result data finally displayed by each IOS client on the host side. The host side will not confuse the input content of different clients, which greatly improves the keyboard input operation experience of the multi-channel streaming of the IOS client.

[0117] Furthermore, the present application also discloses an electronic device. Figure 8 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0118] Figure 8The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the multi-channel stream keyboard input method disclosed in any of the above embodiments.

[0119] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0120] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0121] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the multi-channel stream keyboard input method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0122] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned multi-channel stream keyboard input method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, and no further description will be given here.

[0123] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0124] The steps of the multi-channel stream keyboard input method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0125] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0126] The above is a detailed introduction to a multi-channel stream keyboard input method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A multi-channel stream keyboard input method, characterized in that: Applied to IOS clients, including: Acquire first input information inputted by each IOS client through a keyboard in the multi-channel stream, and determine the input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode; Determine a corresponding first data processing strategy according to the input information type, and process the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; The second input information is sent to the host side through the network, so that the host side compares the time interval between the two times the IOS client sends the second input information with a preset time threshold, and determines the corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host side.

2. The multi-channel stream keyboard input method according to claim 1, characterized in that: The determining the input information type corresponding to the first input information includes: A mode determination function is defined through a preset function definition interface, and the mode determination function is used to determine the input information type corresponding to the first input information to determine whether the input information type is a Chinese mode or a non-Chinese mode.

3. The multi-channel stream keyboard input method according to claim 1, characterized in that: The determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client, includes: When the input information type is the Chinese mode, the first input information is judged by using the judgment rule in the first data processing strategy; If the number of currently input characters corresponding to the first input information is 1, and the first input information is letter input in a preset format, it is determined that Chinese input in the Chinese mode is currently being spelled; After the Chinese input spelling is completed, each second input information corresponding to the IOS client is determined according to the first input information.

4. The multi-channel stream keyboard input method according to claim 1, characterized in that: The determining a corresponding first data processing strategy according to the input information type, and processing the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client, includes: When the input information type is the non-Chinese mode, the first input information is directly determined as each second input information corresponding to the IOS client.

5. The multi-channel stream keyboard input method according to any one of claims 1 to 4, characterized in that: The sending of the second input information to the host end through the network so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end, including: The second input information is sent to the host end through the network, so that the host end compares the time interval between the IOS client sending the second input information twice with a preset time threshold. When the time interval is less than the preset time threshold, the first IOS client is determined, and the second input information sent for the second time is spliced ​​after the second input information sent for the first time to obtain input result data corresponding to the first IOS client, and the input result data is displayed through the host end.

6. The multi-channel stream keyboard input method according to any one of claims 1 to 4, characterized in that: The sending of the second input information to the host end through the network so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy according to the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end, including: The second input information is sent to the host side through the network, so that the host side compares the time interval between the two times the IOS client sends the second input information with a preset time threshold. When the time interval is not less than the preset time threshold, the second IOS client and the third IOS client are determined, and the second input information sent for the first time is used as the second input information sent for the last time by the second IOS client, and the second input information sent for the second time is used as the second input information sent for the first time by the third IOS client. Then, the input result data corresponding to the second IOS client and the third IOS client are respectively determined, and the input result data are displayed through the host side.

7. A multi-channel stream keyboard input method, characterized in that: Applied to the host side, including: receiving, via a network, second input information sent by each IOS client in a multi-channel stream; wherein, the second input information is input information corresponding to the IOS client obtained by the IOS client processing the first input information based on a first data processing strategy; the first data processing strategy is a data processing strategy determined according to an input information type corresponding to the first input information, the input information type includes a Chinese mode and a non-Chinese mode, and the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; the first input information is input information input by the IOS client through a keyboard; Compare the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determine a corresponding second data processing strategy according to the comparison result; The second input information is processed based on the second data processing strategy to obtain input result data corresponding to each IOS client, and the input result data is displayed.

8. A multi-channel streaming keyboard input device, characterized in that: Applied to IOS clients, including: A first information acquisition module is used to acquire first input information inputted by each IOS client through a keyboard in the multi-channel stream, and determine the input information type corresponding to the first input information; the input information type includes a Chinese mode and a non-Chinese mode; A second information acquisition module, used to determine a corresponding first data processing strategy according to the input information type, and process the first input information based on the first data processing strategy to obtain each second input information corresponding to the IOS client; wherein the first data processing strategy includes a judgment rule for judging whether the Chinese input in the Chinese mode is spelled; A data display module is used to send the second input information to the host end through the network, so that the host end compares the time interval between two times when the IOS client sends the second input information with a preset time threshold, and determines a corresponding second data processing strategy based on the comparison result, and then processes the second input information based on the second data processing strategy to obtain input result data corresponding to each IOS client, and displays the input result data through the host end.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the multi-channel stream keyboard input method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the multi-channel stream keyboard input method as described in any one of claims 1 to 7 is implemented.