Small-system high-definition video Chinese input method and related equipment
The encoding value of non-English characters is input and converted on the small system device through the terminal device, and sent to the video playback device through Bluetooth connection, which solves the problem of insufficient performance of the small system device and realizes the flexible overlay of non-English characters and the video surveillance system The effect of information transmission is improved.
Patent Information
- Application Number
- CN202410778579.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
AI Technical Summary
The performance and memory of small system devices are insufficient, and non-English input methods cannot be installed, resulting in the inability to input and superimpose non-English characters in the video surveillance system, affecting the expression and transmission of video information.
Through the Bluetooth connection between the terminal device and the video playback device, the terminal device inputs non-English characters and converts the coded values, and sends the coded values to the video playback device. The video playback device uses the image database to match and parse the coded values, and converts the non-English characters into English characters are superimposed on the video.
It enables the flexible input and superposition of non-English characters on small system devices, improves the information transmission capability of the video surveillance system, supports the superposition of characters in different languages, reduces the performance and memory requirements of video playback equipment, and is suitable for Bluetooth Low Energy with low energy consumption. protocol.
Smart Images

Figure CN118748732A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a small system high-definition video Chinese input method. Background Art
[0002] With the continuous development of computer technology, the application of video surveillance is becoming more and more widespread. In traditional video surveillance systems, video playback devices only play videos, which can no longer meet the current demand for specific information in the video screen in the video surveillance field. That is, the video playback device must not only be able to play videos, but also be able to process and edit videos in real time. The most important point is that the video playback device needs to have the function of superimposing non-English characters on the video screen, adding more meaningful text information to the surveillance video, and improving the use effect and information communication ability of the video surveillance system.
[0003] However, in order to reduce the cost of video surveillance, video playback devices usually use small system devices, and the performance and memory resources of small system devices are usually limited, resulting in the inability to accommodate and run the entire non-English input method software. Therefore, users can only input English characters through the keyboard in such video playback devices, that is, users can only superimpose English characters into the video, and cannot superimpose non-English characters into the video, which affects the expression and communication effect of the video information.
[0004] The existing solution is to set shortcut keys on the keyboard and bind the shortcut keys to commonly used non-English characters. When the user presses the corresponding shortcut keys, the corresponding non-English characters will be superimposed on the video. The current defect of this method is that the characters that can be superimposed in the shortcut keys are fixed, and it is impossible to flexibly superimpose non-English characters on the video according to the needs of the user. Summary of the invention
[0005] In order to solve the problem that non-English input methods cannot be installed due to insufficient microprocessor performance and memory in small system devices, and non-English characters cannot be input or superimposed on the video, the present application provides a small system high-definition video Chinese input method and related equipment.
[0006] The first aspect of the present application provides a small system high-definition video Chinese input method, comprising: The terminal device establishes a Bluetooth connection with the video playback device; The terminal device receives N non-English characters input by the user on the display interface, where N is an integer greater than or equal to 1; The terminal device converts a target non-English character into a target encoding value, wherein the target non-English character is any one of the N non-English characters; The terminal device sends the target coding value to the video playback device via a Bluetooth connection, so that the video playback device matches the target coding value with the coding value of the picture stored in the picture database to obtain a picture set corresponding to the N non-English characters, and based on the N non-English characters parsed from the picture set, superimposes the N non-English characters onto a target video, where the target video is a video with a resolution of 1080p running in the video playback device.
[0007] By adopting the above technical solution, the input and conversion of non-English characters are all performed on the terminal device. The performance and memory of the terminal device are sufficient to accommodate the non-English input method. The user can input the required non-English characters on the terminal device, and the terminal device will convert these characters into corresponding encoding values and send them to the video playback device via Bluetooth connection. Therefore, the video playback device does not need to directly process the input of non-English characters, but only needs to consider how to receive the encoding value sent by the terminal device, which solves the problem that the video playback device cannot install the non-English input method due to insufficient performance and memory, and fully utilizes the performance and memory of the terminal device.
[0008] In combination with the first aspect of the present application, in a possible implementation of the first aspect of the present application, the terminal device selects a corresponding encoding method to convert the encoding value according to the input non-English character format; When the target non-English character is a Japanese character, converting the target non-English character into the target encoding value by SHIFT-JIS encoding; When the target non-English character is a Korean character, converting the target non-English character into the target code value through EUC-KR encoding; When the target non-English character is a Chinese character, the target non-English character is converted into the target encoding value through EB2312 encoding.
[0009] By adopting the above technical solution, the terminal device uses a specific encoding method to convert the input non-English characters into corresponding encoding values according to the type of non-English characters input, so that the terminal device can correctly convert the input non-English characters into corresponding encoding values in three non-English character input environments: Chinese characters, Japanese characters, and Korean characters.
[0010] The second aspect of the present application provides a small system high-definition video Chinese input method, comprising: The video playback device initializes the Bluetooth module; The video playback device creates a target service and starts the target service, where the target service is a service of the server under the Bluetooth Low Energy protocol architecture; The video playback device sets the initial broadcast parameters, initial broadcast data and initial encryption parameters corresponding to the target service according to a preset format; The video playback device starts broadcasting the initial broadcast data according to the settings of the initial broadcast parameters and the initial encryption parameters.
[0011] The video playback device establishes a Bluetooth connection with the terminal device; The video playback device receives a target code value sent by the terminal device through a Bluetooth connection, wherein the target code value is obtained by the terminal device converting a target non-English character, and the target non-English character is any one of N non-English characters input by the user on the display interface, where N is an integer greater than or equal to 1; The video playback device matches the target coding value with coding values of pictures stored in a picture database to obtain a picture set; The video playback device parses each picture in the picture set to obtain the N non-English characters.
[0012] The video playback device converts a target picture into YUV format data, wherein the target picture is any one picture in the picture set; The video playback device superimposes the YUV format data onto the target video through YUV calculation.
[0013] In a third aspect, the present application provides a terminal device, including: A connection module, used to establish a Bluetooth connection with a video playback device; A receiving module, used to receive N non-English characters input by a user on the display interface, where N is an integer greater than or equal to 1; A conversion module, used for converting a target non-English character into a target encoding value, wherein the target non-English character is any one of the N non-English characters; A sending module is used to send the target code value to the video playback device via a Bluetooth connection, so that the video playback device matches the target code value with the non-English characters in the non-English database to obtain a picture set corresponding to the N non-English characters, and superimpose the N non-English characters on the target video based on the N non-English characters parsed from the picture set.
[0014] In a fourth aspect, the present application provides a video playback device, which adopts the following technical solution: A video playback device, comprising: Connection module, establishing Bluetooth connection with terminal equipment; A sending module, used for receiving a target code value sent by a terminal device through a Bluetooth connection, wherein the target code value is obtained by the terminal device converting a target non-English character, wherein the target non-English character is any one of N non-English characters input by a user on a display interface, wherein N is an integer greater than or equal to 1; A matching module, used for matching the target code value with the code value of the picture stored in the non-English database to obtain a picture set; The processing module is used to parse each picture in the picture set to obtain the N non-English characters, and superimpose the N non-English characters on the target video.
[0015] The fifth aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the small system high-definition video Chinese input method described in the first and second aspects when executing the computer program.
[0016] In a sixth aspect, the present application provides a computer storage medium, which includes instructions. When the instructions are executed on a computer, the computer executes the steps of the small system high-definition video Chinese input method described in any of the above aspects.
[0017] In summary, the present application includes at least one of the following beneficial technical effects: 1. The video playback device can flexibly superimpose non-English characters into the video; with the help of the performance of the terminal device, the input of non-English characters and the conversion of corresponding code values are completed on the terminal device, so that the video playback device does not need to accommodate and run the entire non-English input method software. The video playback device only needs to receive the code value sent by the terminal device through the Bluetooth module, and by parsing the code value, the non-English characters corresponding to the code value are superimposed into the video; 2. The video playback device supports superimposing characters of different languages onto the video; the image database of the video playback device stores character images that can be retrieved by coding values. After the receiving terminal device sends the corresponding coding value via Bluetooth, the video playback device can superimpose the non-English characters corresponding to the coding value onto the video.
[0018] 3. The video playback device uses Bluetooth with Bluetooth Low Energy protocol architecture. Compared with the traditional Bluetooth protocol architecture and wireless transmission technologies such as WIFI, NFC, ZigBee, it has the characteristics of low energy consumption, simple connection, and short transmission distance. It is suitable for long-term running devices such as video playback devices. In addition, the installation cost of Bluetooth modules is lower, and most modern devices have Bluetooth modules, which lowers the user's usage threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of a terminal device of a small system high-definition video Chinese input method provided in an embodiment of the present application; Figure 2 It is a flow chart of a video playback device of a small system high-definition video Chinese input method provided in an embodiment of the present application; Figure 3 It is a flowchart of the small system high-definition video Chinese input method provided in the embodiment of the present application.
[0020] Figure 4 is a schematic diagram of a virtual structure of a terminal device provided in an embodiment of the present application; Figure 5 is a virtual structural diagram of a video playback device provided in an embodiment of the present application; Figure 6 It is a schematic diagram of the hardware structure of a computer device provided in an embodiment of the present application; DETAILED DESCRIPTION The following will combine with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0021] For ease of understanding, some terms provided in the embodiments of the present application are explained below, as follows: A small system is a computer device that uses a microprocessor.
[0022] High-definition video refers to video with a resolution of 1080p. Of course, it can also be video with other resolutions, and there is no specific limitation.
[0023] The following is an explanation of the small system high-definition video Chinese input method from the perspective of a terminal device. The terminal device can be a mobile phone, a computer, or other smart device, without specific limitations. However, the device is required to have a Bluetooth module, be able to connect to other devices via Bluetooth, have sufficient memory to install non-English input methods, have a processor that has the performance to run non-English input methods, and be able to complete the conversion of non-English characters into coded values.
[0024] Combined with reference Figure 1 , Figure 1 A schematic diagram of the process of a terminal device of a small system high-definition video Chinese input method provided in an embodiment of the present application includes: 101. The terminal device establishes a Bluetooth connection with the video playback device.
[0025] In this embodiment, the terminal device can search for nearby broadcast Bluetooth signals, and the user can find the Bluetooth signal named after the video playback device in the list of nearby Bluetooth signals of the terminal device. The user selects this Bluetooth signal to establish a Bluetooth connection with the video playback device. According to the encryption parameters set by the video playback device, the terminal device will send an encrypted connection request. When the user selects to agree to the encrypted connection on the video playback device, an input box will pop up on the terminal device, prompting the user to enter the connection password set in advance on the video playback device. The connection password set in advance will be displayed on the video playback device. The user needs to enter the connection password set in advance on the video playback device into the input box that pops up on the terminal device. If the password is correct, the terminal device will establish a Bluetooth connection with the video playback device. After the first successful Bluetooth connection is established, if the video playback device has not been connected to other terminal devices, the terminal device that has established a Bluetooth connection last time can skip the step of entering the connection password and directly establish a Bluetooth connection with the video playback device.
[0026] 102. The terminal device receives N non-English characters input by the user on the display interface.
[0027] In this embodiment, the display interface is the visual interface of an application program on the terminal device. This visual interface is displayed on the display screen of the terminal device and includes a non-English character input box and a send button. After the user clicks on the non-English character input box, the non-English input method will run, and a cursor will appear inside the non-English character input box. At this time, the user can input N non-English characters that need to be superimposed on the video into the input box by clicking on the terminal device or typing on the keyboard through the non-English character input method, where N is an integer greater than or equal to 1.
[0028] 103. The terminal device converts the target non-English characters into target encoding values.
[0029] In this embodiment, after the user inputs N non-English characters and clicks the send button, the terminal device will determine the type of non-English characters in the non-English character input box and select the corresponding encoding method according to the type of input non-English characters to convert the non-English characters into corresponding encoding values. For example: If the input in the input box is the Chinese "你好" (Hello), the terminal device will determine which language category the text input in the input box belongs to. When it is determined that the input in the input box is Chinese, the GB2312 encoding method will be used to convert the "你好" in the input box into "E4BDA0E5A5BD".
[0030] If the input in the input box is the Japanese "你好" (Hello), the terminal device will determine which language category the text input in the input box belongs to. When it is determined that the input in the input box is Japanese, the SHIFT-JIS encoding method will be used to convert the "こんにちは(你好)" in the input box into "82B182F182C982BF82CD".
[0031] The input box contains the Korean word "Hello". At this time, the terminal device will determine which language the text entered in the input box belongs to. When it is determined that the text in the input box is Korean, it will use the EUC-KR encoding method to convert "안녕하세요 (Hello)" in the input box into "BEC8B3E7C7CFBCBCBFE4".
[0032] 104. The terminal device sends the target code value to the video playback device via a Bluetooth connection.
[0033] In this embodiment, the terminal device establishes a Bluetooth connection with the video playback device and sends the corresponding coding value to the video playback device via Bluetooth.
[0034] In summary, in the embodiment provided by the present application, a Bluetooth connection is established between a terminal device and a video playback device, non-English characters are input on the terminal device and the non-English characters are converted into corresponding coding values, and finally the corresponding coding values are sent to the video playback device via the Bluetooth connection. Thus, the terminal device converts all input non-English characters into corresponding coding values, and sends the coding values to the video playback device, thereby reducing the requirements on the performance of the video playback device, and achieving the effect of using a microprocessor in the video playback device to superimpose non-English characters on the video.
[0035] The above describes the small system high-definition video Chinese input method provided by the present application from the perspective of the terminal device. Figure 2 The small system high-definition video Chinese input method provided by this application is explained from the perspective of a video playback device. The video playback device needs to have a Bluetooth module and can be connected to other devices via Bluetooth. Usually, the memory of the video playback device cannot accommodate the entire non-English input method, and the microprocessor performance of the video playback device cannot run the non-English input method.
[0036] Combined with reference Figure 2 , Figure 2 A schematic diagram of the process flow of a video playback device of a small system high-definition video Chinese input method provided in an embodiment of the present application includes: 201. The video playback device initializes the Bluetooth module.
[0037] In this embodiment, the Bluetooth module of the video playback device uses the Bluetooth Low Energy protocol architecture. The video playback device sends a code instruction to initialize the Bluetooth module, so that the Bluetooth module broadcasts a Bluetooth signal and passively waits for the terminal device to connect. The initial code instruction includes: Create a service under the Bluetooth Low Energy protocol architecture: AT+BLEGATTSSRVCRE; AT+BLEGATTSSRVCRE is the command to create a service code. Enable services under the Bluetooth Low Energy protocol architecture: AT+BLEGATTSSRVSTART; AT+BLEGATTSSRVSTART is the code command for starting the service. Set the broadcast parameters: AT+BLEADVPARAM=50,50,0,0,7,0; AT+BLEADVPARAM is the code instruction for setting broadcast parameters, and "50,50,0,0,7,0" is the specific broadcast parameters that need to be set. The meanings of the parameters are minimum broadcast interval setting, maximum broadcast interval, Bluetooth LowEnergy address type, broadcast type, broadcast channel, and broadcast filtering rules. Set the broadcast data: AT+BLEADVDATA="0201060A09457370726573736966030302A0"; AT+BLEADVDATA is the code instruction for setting broadcast data, "0201060A09457370726573736966030302A0" is the data to be broadcast, and the meaning of the parameter is to set the name of the device to be displayed when Bluetooth broadcasting; Set encryption parameters: AT+BLESECPARAM=13,2,16,3,3; AT+BLESECPARAM is the code instruction for setting encryption parameters, and "13,2,16,3,3" is the encryption parameters that need to be set. The meanings of the parameters are authentication request, input and output capabilities, key length, initial key composed of multiple bits, and response key composed of multiple bits. Start broadcasting: AT+BLEADVSTART; AT+BLEADVSTART is the code command to start broadcasting.
[0038] 202. The video playback device establishes a Bluetooth connection with the terminal device.
[0039] In this embodiment, the Bluetooth module of the video playback device has completed the initialization and started broadcasting Bluetooth signals, and passively waits for the terminal device to connect. If an encrypted connection request from the terminal device is received at this time, the user needs to select to agree to the encrypted connection on the video playback device, and the video playback device will display the password of this encrypted connection. The user needs to enter the password into the input box popped up by the terminal device. If the password is correct, the video playback device and the terminal device establish a Bluetooth connection.
[0040] 203. The video playback device receives the target code value sent by the terminal device through the Bluetooth connection.
[0041] In this embodiment, after the video playback device establishes a Bluetooth connection with the terminal device, the video playback device will enter a state of waiting for the terminal device to send a target code value. The video playback device can only receive the target code value until the terminal device actively sends the target code value via Bluetooth. The target code value may be in EB2312 format, EUC-KR format, or SHIFT-JIS format. The video playback device will store the received code value and wait for the processor to further process the code value.
[0042] 204. The video playback device matches the target coding value with the coding values of the pictures stored in the picture database to obtain a picture set.
[0043] In this embodiment, after receiving the coding values corresponding to N non-English characters sent by the terminal device, the video playback device can compare the coding values with the coding values corresponding to the pictures stored in the picture database to determine the picture set corresponding to the N non-English characters, wherein the picture database stores non-English character pictures stored in PNG picture format, and each non-English character picture stored in the picture database has a corresponding coding value.
[0044] 205. The video playback device parses each picture in the picture set to convert the target picture into YUV format data.
[0045] In this embodiment, the video playback device will parse each picture in the generated picture set and convert the picture from PNG picture format data to YUV format data.
[0046] 206. The video playback device superimposes the YUV format data into the target video through YUV operation.
[0047] In this embodiment, the video playback device synthesizes the generated YUV format data with the target video through YUV operation, so that non-English characters corresponding to the YUV format data appear in each frame of the video, wherein the video refers to a video with a resolution of 1080p.
[0048] In summary, in the embodiment provided by the present application, the Bluetooth module is initialized by the video playback device, and the terminal device is waited for to connect and send the corresponding coding value. The video playback device can receive the coding value sent by the terminal device. At this time, the video playback device will store the received coding value and match it with the image database to generate a collection of non-English character images of corresponding coding values, and convert each image in the image collection into YUV format data, and superimpose the YUV format data into each frame of the video through YUV operation. The video playback device can superimpose non-English characters into the video with the help of the terminal device, which solves the problem that the video playback device cannot accommodate and run non-English input methods due to performance and memory limitations.
[0049] The above describes the small system high-definition Chinese input method from the perspectives of the terminal device and the video playback device respectively. The following describes the small system high-definition Chinese input method from the perspective of the interaction between the terminal device and the video playback device.
[0050] See also Figure 3 , Figure 3 The flowchart of the high-definition video Chinese input method for a small system provided in the embodiment of the present application includes: 301. The video playback device initializes the Bluetooth module.
[0051] 302. The video playback device waits for the terminal device to establish a Bluetooth connection.
[0052] 303. The terminal device actively establishes a Bluetooth connection with the video playback device. The terminal device and the video playback device establish a Bluetooth connection.
[0053] 304. The terminal device receives N non-English characters input by the user on the display interface.
[0054] 305. The terminal device converts the target non-English character into a target encoding value.
[0055] 306. The terminal device sends the target code value to the video playback device via a Bluetooth connection.
[0056] Figure 3 Steps 303 to 306 in Figure 1 Similar to steps 101 to 104 in the above Figure 1 The details have been described in detail in the text, so I will not repeat them here.
[0057] 307. The video playback device receives the target code value sent by the terminal device through the Bluetooth connection.
[0058] 308. The video playback device matches the target coding value with the coding values of the pictures stored in the picture database to obtain a picture set.
[0059] 309. The video playback device parses each picture in the picture set and converts the target picture into YUV format data.
[0060] 310. The video playback device superimposes the YUV format data into the target video through YUV operation.
[0061] Figure 3 Steps 301, 302 and 307 to 310 in Figure 2 Similar to steps 203 to 206 in the above Figure 2 The details have been described in detail in the text, so I will not repeat them here.
[0062] To sum up, in the embodiments provided in the present application, a Bluetooth connection is used for communication between the terminal device and the video playback device. The terminal device is responsible for inputting and converting non-English characters, and sending the converted coding values to the video playback device. The video playback device is responsible for receiving the coding values, and converting the received coding values according to the coding value-picture collection-YUV format data. Through YUV operation, the effect of superimposing non-English characters into the video can be achieved.
[0063] The above describes the present application from the perspective of a small system high-definition video Chinese input method, and the following describes the present application from the perspective of a small system high-definition video Chinese input device.
[0064] See also Figure 4 , Figure 4 This is a virtual structure diagram of a terminal device of the present application. The terminal device 400 includes: A connection module 401 is used to establish a Bluetooth connection with the video module; The receiving module 402 is used to receive N non-English characters input by the user on the display interface, where N is an integer greater than or equal to 1; A conversion module 403, configured to convert a target non-English character into a target code value, wherein the target non-English character is any one of the N non-English characters; The sending module 404 is used to send the target code value to the video playback device via a Bluetooth connection, so that the video playback device matches the target code value with the non-English characters in the non-English database to obtain a picture set corresponding to the N non-English characters, and superimpose the N non-English characters on the target video based on the N non-English characters parsed from the picture set.
[0065] See also Figure 5 , Figure 5 This is a virtual structural diagram of the video playback device of the present application. The video playback device 500 includes: A connection module 501 is used to establish a Bluetooth connection with a terminal device; A receiving module 502 is used to receive a target code value sent by a terminal device through a Bluetooth connection, where the target code value is obtained by the terminal device converting a target non-English character, where the target non-English character is any one of N non-English characters input by a user on a display interface, where N is an integer greater than or equal to 1; A matching module 503, used to match the target code value with the code value of the picture stored in the non-English database to obtain a picture set; The processing module 504 is configured to parse each picture in the picture set to obtain the N non-English characters, and superimpose the N non-English characters onto the target video.
[0066] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present application, the computer device 600 includes: At least one processor 601, at least one communication bus 602, at least one memory 606, a power supply 607, at least one Bluetooth module 608, and a user interface 609. The user interface 609 of the terminal device 600 includes a display, a keyboard, or a click device. The memory 606 may include a high-speed RAM memory, or may include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 606 stores one or more computer programs 603 or data 605. When the terminal device 600 is running, the processor 601 communicates with the memory 606, and the processor 601 calls the instructions stored in the memory 606 to execute the above Figures 1 to 3 The high-definition video Chinese input method of the small system described in any one of the above. The operating system 604 includes various programs for implementing various basic services and processing tasks based on hardware.
[0067] In one embodiment, the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a small system high-definition video Chinese input method is implemented.
[0068] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0070] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0071] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A small system high-definition video Chinese input method, It is characterized in that The following steps are involved: The terminal device establishes a Bluetooth connection with the video playback device; The terminal device receives N non-English characters input by the user on the display interface, where N is an integer greater than or equal to 1; The terminal device converts a target non-English character into a target encoding value, wherein the target non-English character is any one of the N non-English characters; The terminal device sends the target coding value to the video playback device via a Bluetooth connection, so that the video playback device matches the target coding value with the coding value of the picture stored in the picture database to obtain a picture set corresponding to the N non-English characters, and superimposes the N non-English characters on the target video based on the N non-English characters parsed from the picture set.
2. The method according to claim 1, It is characterized in that The terminal device converts the target non-English character into a target code value including: When the target non-English character is a Japanese character, converting the target non-English character into the target encoding value by SHIFT-JIS encoding; When the target non-English character is a Korean character, converting the target non-English character into the target code value through EUC-KR encoding; When the target non-English character is a Chinese character, converting the target non-English character into the target code value through EB2312 encoding; A small system high-definition video Chinese input method, characterized by comprising the following steps: The video playback device establishes a Bluetooth connection with the terminal device; The video playback device receives a target code value sent by the terminal device through a Bluetooth connection, wherein the target code value is obtained by the terminal device converting a target non-English character, and the target non-English character is any one of N non-English characters input by a user on a display interface, wherein N is an integer greater than or equal to 1; The video playback device matches the target coding value with coding values of pictures stored in a picture database to obtain a picture set; The video playback device parses each picture in the picture set to obtain the N non-English characters, and superimposes the N non-English characters on the target video.
3. The method according to claim 3, It is characterized in that The video playback device and the terminal device establish a Bluetooth connection including: The video playback device initializes the Bluetooth module; The video playback device broadcasts target information in a preset format through the Bluetooth module, so that the terminal device establishes a Bluetooth connection with the video playback device according to the target information.
4. The method according to claim 4, It is characterized in that The video playback device initialization bluetooth module includes: The video playback device creates a target service and starts the target service, where the target service is a service of the server under the Bluetooth Low Energy protocol architecture; The video playback device sets the initial broadcast parameters, initial broadcast data and initial encryption parameters corresponding to the target service according to a preset format; The video playback device sets a minimum broadcast interval, a maximum broadcast interval, a Bluetooth Low Energy address type, a broadcast type, a broadcast channel, and a broadcast filtering rule according to the initial broadcast parameters.
5. The video playback device sets the authentication request, input and output capabilities, key length, an initial key consisting of multiple bits, and a response key consisting of multiple bits according to the initial encryption parameters; The video playback device starts broadcasting the initial broadcast data according to the settings of the initial broadcast parameters and the initial encryption parameters.
6. The method according to claim 5, It is characterized in that The video playback device setting the broadcast parameters and broadcast data corresponding to the target service according to a preset format includes: The preset format and the broadcast parameters are combined and represented by the following code: AT+BLEADVPARAM=50,50,0,0,7,0; The preset format and the broadcast data are combined and represented by the following code: AT+BLEADVDATA="0201060A09457370726573736966030302A0"; The preset format and the encryption parameter are combined and represented by the following code: AT+BLESECPARAM=13,2,16,3,3; AT+BLEADVPARAM is a code command for setting broadcast parameters, AT+BLEADVDATA is a code command for setting broadcast data, and AT+BLESECPARAM is a code command for setting encryption parameters.
7. The method according to claim 3, It is characterized in that The video playback device parses each picture in the picture set to obtain the N non-English characters, and superimposes the N non-English characters on the target video, including: The video playback device converts a target picture into YUV format data, wherein the target picture is any one picture in the picture set; The video playback device superimposes the YUV format data onto the target video through YUV calculation.
8. A terminal device, It is characterized in that include: A connection module, used to establish a Bluetooth connection with a video playback device; A receiving module, used to receive N non-English characters input by a user on the display interface, where N is an integer greater than or equal to 1; A conversion module, used for converting a target non-English character into a target encoding value, wherein the target non-English character is any one of the N non-English characters; A sending module is used to send the target code value to the video playback device via a Bluetooth connection, so that the video playback device matches the target code value with the non-English characters in the non-English database to obtain a picture set corresponding to the N non-English characters, and superimpose the N non-English characters on the target video based on the N non-English characters parsed from the picture set.
9. A video playback device, It is characterized in that The following steps are involved: A connection module, used to establish a Bluetooth connection with a terminal device; A receiving module, configured to receive a target code value sent by a terminal device through a Bluetooth connection, wherein the target code value is obtained by the terminal device converting a target non-English character, wherein the target non-English character is any one of N non-English characters input by a user on a display interface, wherein N is an integer greater than or equal to 1; A matching module, used for matching the target code value with the code value of the picture stored in the non-English database to obtain a picture set; The processing module is used to parse each picture in the picture set to obtain the N non-English characters, and superimpose the N non-English characters on the target video.
10. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of a small system high-definition video Chinese input method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Input control system for computer keyboard
CN105068666A
Speech control method and intelligent television
CN105512182A
Real-time and fast camera caption superposing method
CN107172351A
Video image character superposition method and device, storage medium and electronic device
CN113592717A
Form factor and input method for language input
US20060170657A1
