A string data transmission method, system, device, electronic device and storage medium thereof

By inputting the first input content in the data input column and using the data frame to generate the target string, the problem of low string data transmission efficiency in the prior art is solved, and efficient string data transmission is achieved.

CN113746593BActive Publication Date: 2024-10-18BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010479309.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2024-10-18
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

The transmission process of string data in the existing technology requires R&D personnel to continuously write string data repeatedly, resulting in low work efficiency.

Method used

Input the first input content in the data input field in a visual way, generate the target string according to the preset data frame, and upload it to the device to avoid repeated writing of the entire string by developers.

Benefits of technology

It greatly improves work efficiency, simplifies the string data transmission process, reduces programming time, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113746593B_ABST
    Figure CN113746593B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device, electronic device and storage medium for transmitting character string data, the method comprising: triggering the creation of display content according to a creation trigger condition, inputting a first input content that conforms to a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the predetermined rule is a grammatical rule for the first input content when it is written into a corresponding position in the data frame. After the upload data trigger condition is triggered, a target character string is generated according to the first input content being written into a corresponding position in the data frame, and the target character string is uploaded to a device to receive data. Researchers only need to input the first input content in the data input column, and no longer need to repeatedly write the entire target character string, which greatly improves work efficiency and helps solve the technical problem in the prior art that character string data needs to be repeatedly written, resulting in low work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the computer field, and in particular to a character string data transmission method, system, device, electronic equipment and storage medium thereof. Background Art

[0002] At present, in the prior art, during the transmission of string data (such as Json type data), R&D personnel often directly write a complete string of data, and then upload it to the relevant equipment that needs the data. However, this method requires continuous and repeated writing of string data, resulting in very low work efficiency.

[0003] Therefore, the inventors have discovered that there are at least the following problems in the prior art: in the prior art, the character string data needs to be repeatedly written by R&D personnel and then uploaded to the device that needs the data, resulting in a technical problem of extremely low work efficiency. Summary of the invention

[0004] The present application provides a method for transmitting string data, the purpose of which is to input a first input content through a data input bar in a visual manner, then generate a target string according to the data framework, and finally upload it to the device. In the above process, the R&D personnel only input the first input content into the data input bar, and no longer edit the target string as a whole, which greatly improves the efficiency and helps to solve the technical problem in the prior art that the string data needs to be repeatedly written by the R&D personnel and then uploaded to the device that needs the data, resulting in low work efficiency.

[0005] The method includes:

[0006] Triggering the creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, and the input content of the data input field can be written into a corresponding position in a preset data frame and the display content is displayed through a preset display device;

[0007] Displaying the display content through a preset display device;

[0008] Inputting first input content that complies with a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame;

[0009] After being triggered by the upload data trigger condition, a target string is written into a corresponding position in the data frame according to the first input content to generate the target string, wherein the target string is the string data to be uploaded;

[0010] The target character string is uploaded to the device to receive the data.

[0011] In one embodiment, the data upload trigger condition is triggering an upload data button through a predetermined trigger operation, wherein the displayed content includes the upload data button.

[0012] In one embodiment, after the step of uploading the target string to a device to receive data, wherein the target string is string data to be uploaded, the method includes:

[0013] receiving feedback data generated by the device according to the target character string;

[0014] The display device displays the feedback data in a data feedback column, wherein the display content includes the data feedback column.

[0015] In one embodiment, before the step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the data upload trigger condition, the method further includes:

[0016] Different operating environment buttons are triggered according to a predetermined environment selection method to select different data operating environments to implement subsequent steps in the selected operating environment, wherein the displayed content includes a plurality of the operating environment buttons.

[0017] In one embodiment, before the step of uploading the target character string to the target device, the method further includes:

[0018] The target character string is automatically encrypted.

[0019] In one embodiment, inputting first input content that complies with a predetermined rule in at least one of the data input fields according to a preset data input method includes:

[0020] Inputting the first input content of part of the data input field that meets the predetermined rules according to a preset data input method;

[0021] The step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the upload data trigger condition comprises:

[0022] The target character string is generated according to the first input content and the default value preset in the corresponding position of the data input field in which the first input content is not input, triggered by the upload data trigger condition.

[0023] In one embodiment, after the step of uploading the target character string to the device to receive data, the method further comprises:

[0024] Entering corresponding second input content in the data input field where the first input content is not entered according to a preset data input method, wherein the input content includes the second input content;

[0025] The second input content is uploaded to the device, so that the device writes the first input content and the second input content into the corresponding positions in the preset data frame to generate the target character string.

[0026] In one embodiment, the present application provides a string data transmission device, the device comprising:

[0027] A creation module, used to trigger the creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, and the input content of the data input field can be written into a corresponding position in a preset data frame;

[0028] A display module, used for displaying the display content through a preset display device;

[0029] An input module, used for inputting first input content conforming to a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame;

[0030] A generating module, configured to generate a target string by writing the first input content into a corresponding position in the data frame after being triggered by a trigger condition for uploading data, wherein the target string is string data to be uploaded;

[0031] The uploading module is used to upload the target character string to a device to receive data.

[0032] In one embodiment, the device further comprises:

[0033] A receiving module, configured to receive feedback data generated by the device according to the target character string;

[0034] The display module is further used for the display device to display the feedback data in a data feedback column, wherein the display content includes the data feedback column.

[0035] In one embodiment, the device further comprises:

[0036] A selection module is used to trigger different operating environment buttons according to a predetermined environment selection method to select different data operating environments to implement subsequent steps in the selected operating environment, wherein the display content includes multiple operating environment buttons.

[0037] In one embodiment, the device further comprises:

[0038] The encryption module is used to automatically encrypt the target character string.

[0039] In one embodiment, the input module is further used to input the first input content of part of the data input field that meets the predetermined rule according to a preset data input method;

[0040] The generating module is further configured to generate a target character string according to the first input content and a default value preset in the corresponding position of the data frame in the data input field where the first input content is not entered, triggered by an uploaded data trigger condition.

[0041] In one embodiment, the input module is further used to input corresponding second input content in the data input field where the first input content is not input according to a preset data input method, wherein the input content includes the second input content;

[0042] The device also includes:

[0043] The generating module is used to upload the second input content to the device, so that the device generates the target character string according to the corresponding positions written into the preset data frame by the first input content and the second input content.

[0044] In one embodiment, the present application provides an electronic device, the device comprising: a processor and a memory;

[0045] The memory stores an application program executable by the processor, which is used to enable the processor to execute the steps of the string data transmission method.

[0046] In one embodiment, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the string data transmission method.

[0047] Based on the above implementation mode, the R&D personnel only need to input the data value in the data input column in the displayed content, and then the data value can automatically generate a target character string according to the data framework, and upload the target character string to the device. In the above process, the R&D personnel no longer need to repeatedly write the entire target character string, which greatly improves work efficiency and helps to solve the technical problem in the prior art that the character string data needs to be repeatedly written by the R&D personnel and then uploaded to the device that requires the data, resulting in very low work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0049] Figure 1 A schematic diagram of a process 100 of a string data transmission method of the present invention;

[0050] Figure 2 It is a structural schematic diagram of the data framework of the present invention;

[0051] Figure 3 A schematic diagram of a screenshot of a user interface of an interactive interface in an embodiment of the present invention;

[0052] Figure 4 A schematic diagram of a process 200 of a string data transmission method of the present invention;

[0053] Figure 5 A schematic diagram of a process 300 of a string data transmission method of the present invention;

[0054] Figure 6 A schematic diagram of a process 400 of a string data transmission method of the present invention;

[0055] Figure 7 It is a schematic diagram of the structure of the character string data transmission device of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined 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, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] The applicant has found that in some scenarios, string data is often used for data interaction. For example, when SDK is tested, Json type string data is used to interact with some devices. There are some unchanged character segments in the string data, and some character segments that often need to be changed. For example, during testing, the character segments such as appkey and partner in the Json string data may be changed according to different test situations. Correspondingly, some character segments about the data frame in the string data will not change. Therefore, according to the characteristics of the above-mentioned string data transmission, this application proposes a string data transmission method, in which only the frequently changing character segments are displayed in a visual manner on the display device, and the R&D personnel input the content of the changed character segment, and then the data frame and the changed character segment content input by the R&D personnel can be combined to generate complete string data, and then the string data is uploaded to the device for testing. In the above process, the R&D personnel only input the changed character segments during the test process, and do not re-write the string data as a whole, which greatly reduces the programming time and improves work efficiency.

[0058] Figure 1 is a schematic diagram of a process 100 of a string data transmission method of the present invention, Figure 2 is a schematic diagram of the structure of the data framework of the present invention, Figure 3 Schematic diagram of a screenshot of the user interface of the interactive interface in one embodiment of the present invention. Figure 1 and Figure 2 ,as well as Figure 3 As shown, in one embodiment, the present application provides a method for transmitting string data, the method comprising:

[0059] S101, triggering the creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, the input content of the data input field can be written into a corresponding position in a preset data frame, and the data frame is a frame for generating character string data to be uploaded through the input content;

[0060] In this step, a specific implementation method of triggering the creation of display content according to the creation trigger condition is provided, and the display content includes the data input field, and the data input field may have a corresponding data description name. The purpose of the data description name is to describe the input content that should be entered in the data input field, such as the request address in Figure X, that is, the input content of the request address should be entered into the corresponding data input field. The creation trigger condition can be understood as receiving a creation instruction, or performing an operation (for example, this method uses APP to run in a mobile phone terminal, and logging in to APP can be understood as an operation that triggers the creation trigger condition), etc. It should be pointed out that the data framework can generate a device that can be uploaded to the test by writing the input content in the corresponding position. The following steps and embodiments are explained by taking the Json format string data uploaded to the test device for testing as an example. The Json format string data test is only for better explanation of this application, not for specific limitation of this application.

[0061] For the request address, the EditText technology can be used. When the content is entered, the background address is obtained from the EditText, and then the background address is accessed through the network request framework.

[0062] During the test process of the string data in Json format, the method of the present application can be run on the mobile terminal, and the method of the present application can be implemented through the APP in the mobile terminal. When the user clicks the APP icon or clicks the APP icon to enter the login page and enters his account and password to perform the login operation, the creation trigger condition is triggered, and the display content is created. The display content includes at least one data input field. The data frame can be understood as a frame excluding the frequently changing character segments in the string data in Json format. The data frame still retains the data structure of the string data in Json format, but removes the specific content of the frequently changing character segments. The positions of these frequently changing character segments in the data frame correspond to the input content of the data input field.

[0063] S102, displaying the display content through a preset display device;

[0064] In this step, a specific step of displaying the display content through a preset display device is provided. After the data input bar is created as mentioned above, the display content can be displayed in a visual manner on the interactive interface of the display device through the display device. The purpose is to facilitate R&D personnel to intuitively see the input content to be input later.

[0065] For example, the display content is displayed on the touch screen of the mobile terminal, that is, the data input field is displayed.

[0066] S103, inputting first input content that complies with a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame;

[0067] In this step, a specific step of inputting the first input content in the data input field is provided. The predetermined rule in this step can be understood as a rule that must comply with the character segment corresponding to the first input content. For example, Figure 2 The request address in the predetermined rule can be understood as a character segment that can correctly express the request address.

[0068] S104, generating a target string by writing the first input content into a corresponding position in the data frame after being triggered by a data upload trigger condition, wherein the target string is string data to be uploaded;

[0069] In this step, a specific implementation method is provided for writing the data frame according to the first input content and generating a target string. After the first input content is written at the corresponding position of the data frame, the target string can be uploaded. It should be pointed out here that the target string is not necessarily complete. As long as there is part of the input content, it can be uploaded. The situation where the first input content cannot be written will be further explained later and will not be repeated here.

[0070] S105, uploading the target character string to the device to receive data.

[0071] In this step, specific steps of uploading the target string to the device are provided, and the target string is uploaded to the device that needs to receive data to realize data transmission. For the test of string data in Json format, the target string generated by the mobile terminal is uploaded to the device for testing.

[0072] This embodiment provides a method for transmitting string data, which can be applied to PC terminals and mobile terminals (such as smart phone terminals). The method for transmitting string data in this embodiment is designed as an APP program. When the user clicks to open the APP program through the display device (i.e., the touch screen), it can be understood that the creation trigger condition is triggered. After clicking the APP operation, the created display content will be displayed on the touch screen. In addition, the login interface of the APP can also be set. The APP can also use the user to log in with his own account and password as the creation trigger condition. After the user logs in, the display content is created through the touch screen. The display content includes at least one column of the data input column. The data input column can form the first input content by inputting characters through the touch screen through the character input function of the smart phone terminal. In addition, in order to better identify each of the data input columns, the corresponding title can be identified in front of the data input column, and the first input content can be entered in the data input column according to the prompt of the title. When the R&D personnel enter the first input content, the upload data trigger condition is triggered, and the target string is generated according to the corresponding position written in the data frame according to the first input content. The target string is the string data to be uploaded, and finally the target string is uploaded to the device receiving the data. Through this implementation, the R&D personnel generate the target string data through the first input content and the data frame input in the data input bar in a visual way, and upload it to the device to receive the data, completing the data transmission process. Because the corresponding position written in the data frame is the character segment position that is frequently modified in the string in Json format, the R&D personnel only need to input the first input content corresponding to the variable data each time, and do not need to repeatedly edit the entire target string, which greatly improves work efficiency. In addition, the writing of string data in the prior art is often very confusing, and it is extremely labor-intensive during the modification process, but the method provided by the present application is only a presentation of the display content after visualization, and the display content can be clearly and systematically displayed on the display device.

[0073] It should be pointed out that the user can also edit the data frame according to the predetermined operation, generate the data input field corresponding to the character segment, and write the third input content through the predetermined input method, so that the third input content is used as the content of the character segment, thereby generating the target string. This method can be understood as performing a PUT operation on the data frame. In addition, using EditText technology, when the content is entered, the text field is obtained from EditText, and the obtained field is embedded in the JSONObject, and the entire JSONObject is uploaded.

[0074] It should also be pointed out that the original Json format string upload can only be done by opening the browser version interface access tool. Obviously, multiple upload channels are now provided.

[0075] When uploading a string in Json format, you can use the FireEyeHttpURLConnection custom network framework to upload the JSON data stream.

[0076] exist Figure 2 In the data frame, the corresponding position is left blank. When the first input content is entered into the data input field, the first input content will be filled into the corresponding position in the brackets. For example, the first input content (enter AAA) is like Figure 2 AAA field in the .

[0077] In one embodiment, the data upload trigger condition is triggering an upload data button through a predetermined trigger operation, wherein the displayed content includes the upload data button.

[0078] In this embodiment, a specific implementation of the upload data button is provided. The upload data button can be used as the upload data trigger condition. When the R&D personnel clicks the upload data button through the touch screen, the upload data trigger condition is triggered, indicating that the R&D personnel have completed the first input content that meets the predetermined rules and can upload the target string generated by the first input content. The upload data button set in this visual way is convenient for R&D personnel to trigger the generation of the target string.

[0079] Figure 4 FIG. 2 is a schematic diagram of a process 200 of a method for transmitting a string of data according to the present invention. Figure 4 As shown, in one embodiment, after the step of uploading the target string to the device to receive data, wherein the target string is the string data to be uploaded, the method includes:

[0080] S201, receiving feedback data generated by the device according to the target character string;

[0081] In this step, a specific step of receiving feedback data generated by the device according to the target character string is provided. In the prior art, when the target character string is uploaded to the device, the tested data will be generated, that is, the feedback data in this step. In the prior art, the user is also required to capture the feedback data in the device locally. In this step, the device will directly generate the feedback data after the test and feed the feedback data back to the local, that is, the mobile terminal.

[0082] S202: The display device displays the feedback data in a data feedback column, wherein the display content includes the data feedback column.

[0083] In this step, a specific implementation method of displaying the feedback data by the display device is provided. The data feedback bar is displayed on the touch screen, and the data feedback bar is used to display the feedback data fed back by the device.

[0084] In this embodiment, a specific implementation method is provided for automatically feeding back the feedback data of the device to the display device for display. The operation of capturing the feedback data in the prior art is changed to a method of automatically feeding back the feedback data to the local device and displaying it, thereby achieving the purpose of one-click testing. Because the entire testing process of the string in Json format is to capture the feedback data back to the local device by capturing the packet, it is necessary to send the string in Json format and then capture the feedback data after the test. However, in this embodiment, the feedback data can be automatically obtained after uploading the string in Json format, and the user only needs to operate the upload data button once. For the string in Json format, the ResponseString returned by the background can be embedded in EditText for user use.

[0085] The data feedback column is as follows Figure 3 in openApp.

[0086] In one embodiment, before the step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the data upload trigger condition, the method further includes:

[0087] Different operating environment buttons are triggered according to a predetermined environment selection method to select different data operating environments to implement subsequent steps in the selected operating environment, wherein the displayed content includes a plurality of the operating environment buttons.

[0088] In this embodiment, a specific implementation method is provided for switching environments under different data operation environments and inputting the first input content and uploading the target string data. For example, the formal environment and the test environment may have different systems, including different servers, different databases, different data sources, etc., and different operation environments can be switched through different operation environment buttons in the display content. Figure 3 The buttons for the production environment and the test environment are shown.

[0089] The above functions can be realized by using RadioButton to select the formal network interface API. Use the address value of the formal environment described in the constant to assign the formal environment Button, and use the address value of the test environment described in the constant to assign the test environment Button.

[0090] In one embodiment, before the step of uploading the target character string to the target device, the method further includes:

[0091] The target character string is automatically encrypted.

[0092] In this embodiment, a specific implementation method for automatically encrypting the target character string is provided, which avoids the prior art of encrypting the target character string each time it is uploaded.

[0093] For example, the custom jdJmaEncryptUtil.so encryption package is built into the platform. When uploading data, the custom encrypt encryption algorithm is used to encrypt and protect the uploaded data.

[0094] Figure 5 FIG. 3 is a schematic diagram of a process 300 of a method for transmitting string data of the present invention. Figure 5 As shown, in one embodiment, inputting the first input content that meets the predetermined rule in at least one of the data input fields according to the preset data input method includes:

[0095] S301, inputting the first input content of part of the data input field that complies with a predetermined rule according to a preset data input method;

[0096] In this step, a specific implementation method of inputting only part of the data input field is provided. After the developer inputs the first input content of part of the data input field, the developer can still execute subsequent steps by clicking the upload data button.

[0097] The step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the upload data trigger condition comprises:

[0098] S302: generating a target character string according to the first input content and a default value preset in the corresponding position of the data input field in which the first input content is not input, triggered by an upload data trigger condition.

[0099] In this step, a specific implementation method of generating the target string by using the first input content and the default value is provided. In the target string, there are some character segments that do not need to be modified frequently, or even if they need to be modified frequently, but there is a commonly used character segment, as long as the default value is the value that the corresponding character segment in the target string should have, then the target string can be generated by directly calling the default value without inputting.

[0100] In this embodiment, a specific implementation method of generating the target character string by using the default value when only a part of the data input field is input. When only the data value corresponding to a part of the data input field is input, the data value and the default value not input into the data input field can also generate the complete target character string. In some scenarios, the character segments corresponding to some of the data input fields in the target character string do not frequently change data content, so setting the default value can further simplify the programming operation of the R&D personnel.

[0101] like Figure 2 As shown, for example, the default value in the brackets of the second corresponding position, if the first input content is not input, the default value can be written into this position, for example, the default value is BBB, then after writing Figure 2 The BBB field at the end.

[0102] For example, extract the data fields that need to be changed frequently, perform put operations on these fields when they change, overwrite and update the original fields, and use setDefaultValue to process the data that does not change frequently.

[0103] Figure 6 FIG. 4 is a schematic diagram of a process 400 of a method for transmitting string data according to the present invention. Figure 6 As shown, in one embodiment, after the step of uploading the target string to the device to receive data, wherein the target string is the string data to be uploaded, the method further includes:

[0104] S401, inputting corresponding second input content in the data input field where the first input content is not input according to a preset data input method, wherein the input content includes the second input content;

[0105] In this step, a specific implementation method is provided for re-entering the second input content in the data input field where the data value is not entered after uploading the target character string.

[0106] S402: Upload the second input content to the device, so that the device writes the first input content and the second input content into the corresponding positions in the preset data frame to generate the target character string.

[0107] In this step, the second input content is uploaded to the device separately to ensure that the second input content can also be uploaded smoothly.

[0108] In this embodiment, a specific implementation method of uploading data twice is provided, in which the second input content that has not been input can be uploaded after uploading the target data string, so as to ensure that the second input content can also be uploaded smoothly. Figure 2 In the process, the acquisition of the devicecode field has a hysteresis, so the method in this embodiment can solve the technical problem of the hysteresis.

[0109] Figure 7 This is a schematic diagram of the structure of the string data transmission device of the present invention. Figure 7 As shown, in one embodiment, the present application also provides a string data transmission device, the device comprising:

[0110] A creation module 101, configured to trigger creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, the input content of the data input field can be written into a corresponding position in a preset data frame, and the data frame is a frame for generating character string data to be uploaded through the input content;

[0111] A display module 102, configured to display the display content via a preset display device;

[0112] An input module 103, configured to input first input content that complies with a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame;

[0113] A generating module 104, configured to generate a target string by writing the first input content into a corresponding position in the data frame after being triggered by a trigger condition for uploading data, wherein the target string is string data to be uploaded;

[0114] The uploading module 105 is used to upload the target character string to a device to receive data.

[0115] In one embodiment, the apparatus further comprises:

[0116] A receiving module 106, configured to receive feedback data generated by the device according to the target character string;

[0117] The display module 102 is further configured to enable the display device to display the feedback data in a data feedback column, wherein the display content includes the data feedback column.

[0118] In one embodiment, the device further comprises:

[0119] The selection module 107 is used to trigger different operating environment buttons according to a predetermined environment selection method to select different data operating environments to implement subsequent steps in the selected operating environment, wherein the display content includes a plurality of the operating environment buttons.

[0120] In one embodiment, the device further comprises:

[0121] The encryption module 108 is used to automatically encrypt the target character string.

[0122] In one embodiment, the input module is further used to input the first input content of part of the data input field that meets the predetermined rule according to a preset data input method;

[0123] The generating module 104 is further configured to trigger, through an upload data trigger condition, generation of a target character string according to the first input content and a default value preset in the corresponding position of the data input field where the first input content is not input, in the data frame.

[0124] In one embodiment, the input module 103 is further used to input corresponding second input content in the data input field where the first input content is not input according to a preset data input method, wherein the input content includes the second input content;

[0125] The device also includes:

[0126] The generating module 104 is used to upload the second input content to the device, so that the device generates the target character string according to the corresponding positions written into the preset data frame by the first input content and the second input content.

[0127] In one embodiment, the present application provides an electronic device, the device comprising: a processor and a memory;

[0128] The memory stores an application program executable by the processor, which is used to enable the processor to execute the steps of the string data transmission method.

[0129] In one embodiment, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the string data transmission method.

[0130] In practical applications, the computer-readable medium may be included in the device / apparatus / system described in the above embodiments, or may exist independently without being assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the image data processing method described in the above embodiments is implemented.

[0131] According to the embodiments disclosed in the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof, but it is not used to limit the scope of protection of the present application. In the embodiments disclosed in the present application, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for transmitting character string data, characterized in that: The method includes: Triggering the creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, the input content of the data input field can be written into a corresponding position in a preset data frame, and the data frame is a frame for generating character string data to be uploaded through the input content; Displaying the display content through a preset display device; Inputting first input content that complies with a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame; After being triggered by the upload data trigger condition, a target string is written into a corresponding position in the data frame according to the first input content to generate the target string, wherein the target string is the string data to be uploaded; Uploading the target character string to a device to receive data; The step of inputting first input content that complies with a predetermined rule in at least one of the data input fields according to a preset data input method comprises: Inputting the first input content of part of the data input field that meets the predetermined rules according to a preset data input method; The step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the upload data trigger condition comprises: The target character string is generated according to the first input content and the default value preset in the corresponding position of the data input field in which the first input content is not input, triggered by the upload data trigger condition.

2. The method for transmitting character string data according to claim 1, characterized in that: The data upload trigger condition is triggering a data upload button through a predetermined trigger operation, wherein the display content includes the data upload button.

3. The character string data transmission method according to claim 1 or 2, characterized in that: After the step of uploading the target character string to the device to receive data, the method includes: receiving feedback data generated by the device according to the target character string; The display device displays the feedback data in a data feedback column, wherein the display content includes the data feedback column.

4. The method for transmitting character string data according to claim 1, characterized in that: Before the step of generating a target character string by writing the first input content into a corresponding position in the data frame after being triggered by the data upload trigger condition, the method further includes: Different operating environment buttons are triggered according to a predetermined environment selection method to select different data operating environments to implement subsequent steps in the selected operating environment, wherein the displayed content includes a plurality of the operating environment buttons.

5. The method for transmitting character string data according to claim 1, characterized in that: Before the step of uploading the target character string to the target device, the method further includes: The target character string is automatically encrypted.

6. The method for transmitting character string data according to claim 1, characterized in that: After the step of uploading the target character string to the device to receive data, the method further includes: Entering corresponding second input content in the data input field where the first input content is not entered according to a preset data input method, wherein the input content includes the second input content; The second input content is uploaded to the device, so that the device writes the first input content and the second input content into the corresponding positions in the preset data frame to generate the target character string.

7. A string data transmission device, characterized in that: The device includes: A creation module, used to trigger the creation of display content according to a creation trigger condition, wherein the display content includes at least one data input field, and the input content of the data input field can be written into a corresponding position in a preset data frame; A display module, used for displaying the display content through a preset display device; An input module, used for inputting first input content conforming to a predetermined rule in at least one of the data input columns according to a preset data input method, wherein the input content includes the first input content, and the predetermined rule is a grammatical rule for the first input content to be written into a corresponding position in the data frame; A generating module, configured to generate a target string by writing the first input content into a corresponding position in the data frame after being triggered by a trigger condition for uploading data, wherein the target string is string data to be uploaded; An uploading module, used for uploading the target character string to a device to receive data; The input module is specifically used for: Inputting the first input content of part of the data input field that meets the predetermined rules according to a preset data input method; The generating module is specifically used for: The target character string is generated according to the first input content and the default value preset in the corresponding position of the data input field in which the first input content is not input, triggered by the upload data trigger condition.

8. An electronic device, characterized in that: include: Processor and memory; The memory stores an application program executable by the processor, which is used to enable the processor to execute the steps of the character string data transmission method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the character string data transmission method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Generating scripts that facilitate execution of tasks within different run-time environments that utilize different languages and syntax

    CN110770700A