Data processing method and device, electronic equipment and medium

By generating and saving the first historical form, the problem of data loss due to users exiting the system while filling out information on electronic devices is solved. This achieves automated filling, improves the reliability and convenience of information filling, is applicable to a variety of applications, and enhances user experience and security.

CN111859881BActive Publication Date: 2026-02-03VIVO MOBILE COMM HANGZHOU CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202010599923.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-28
Publication Date
2026-02-03
Estimated Expiration
2042-02-03

AI Technical Summary

Technical Problem

If a user enters information on an electronic device but exits without submitting and saving, the previously entered information is lost and needs to be entered again, affecting reliability and convenience. Existing technologies such as keychain functionality have significant limitations and cannot be universally applied to various applications.

Method used

Generate and save the first historical form. When exiting and redisplaying the target interface, the form data will be automatically filled into the input area. Screen recognition technology or screenshot recognition will be used to ensure the integrity and security of the information.

Benefits of technology

It simplifies user operations, improves the reliability and convenience of information filling, avoids repetitive input, saves time, is applicable to a variety of applications, and enhances user experience and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111859881B_ABST
    Figure CN111859881B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a data processing method and device, electronic equipment and medium, and belong to the technical field of electronic equipment. The method comprises: generating a first historical form and exiting a target interface in the case of displaying the target interface; redisplaying the target interface; and filling first form data in the first historical form into a target input area in the target interface. The embodiments of the present application can solve the problem of low reliability and convenience in the information filling process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic devices, and more particularly to a data processing method, apparatus, electronic device, and medium. Background Technology

[0002] With the development of electronic devices, they are playing an increasingly important role in production and daily life, and people are gradually using them to handle all kinds of business.

[0003] Currently, people often need to fill in various information in various applications on electronic devices, such as declaring their tax information, filling in their delivery address, and filling in their personal information.

[0004] If a user exits the current information entry page without submitting and saving the information (e.g., due to application crash or accidental click of the exit button), the previously entered information cannot be saved and the user must re-enter it, wasting the user's time and effort, resulting in low reliability and convenience. Summary of the Invention

[0005] This application provides a data processing method, apparatus, electronic device, and medium to address the problems of low reliability and convenience in the information filling process.

[0006] In a first aspect, embodiments of this application provide a data processing method, including:

[0007] If the target interface is displayed, generate a first history form and exit the target interface;

[0008] The target interface is displayed again;

[0009] Fill the first form data from the first historical form into the target input area of ​​the target interface.

[0010] Secondly, embodiments of this application also provide a data processing apparatus, including:

[0011] The form generation module is used to generate a first historical form when the target interface is displayed, and then exit the target interface;

[0012] The display module is used to redisplay the target interface;

[0013] The data entry module is used to fill the first form data in the first historical form into the target input area of ​​the target interface.

[0014] Thirdly, embodiments of this application provide an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the data processing method as described in the first aspect.

[0015] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the data processing method as described in the first aspect.

[0016] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the data processing method as described in the first aspect.

[0017] In this embodiment, when a target interface is displayed, a first historical form is generated. After exiting and redisplaying the target interface, the data in the first historical form can be used to automatically fill in the target input area of ​​the target interface. This eliminates the need for the user to re-enter the target interface after exiting; instead, the previously saved first historical form is used for automated filling, simplifying the user's operation and improving the reliability and convenience of information entry. Attached Figure Description

[0018] This application can be better understood from the following description of specific embodiments in conjunction with the accompanying drawings, wherein the same or similar reference numerals denote the same or similar features.

[0019] Figure 1 A flowchart illustrating a data processing method provided in an embodiment of this application;

[0020] Figure 2 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0021] Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0023] As mentioned in the background section, currently, when users fill in information on a target interface, if they do not click submit or save, the application to which the target interface belongs will not save the information already entered. Therefore, if the user unexpectedly exits the current interface due to submission failure or application crash, and then re-enters the target interface, they will have to repeatedly fill in the information, resulting in poor convenience and low reliability of information entry. Furthermore, while Apple's Keychain feature can be used to save usernames and passwords, it is only application-specific and cannot be universally applied to multiple applications. Moreover, it records a limited range of information types, exhibiting significant limitations.

[0024] To address the aforementioned shortcomings, this application provides a data processing method, see [link to relevant documentation]. Figure 1 , Figure 1 This illustration shows a flowchart of a data processing method provided in an embodiment of this application; the method is applied to an electronic device and includes:

[0025] S110. When the target interface is displayed, generate the first history form;

[0026] S120, Exit the target interface.

[0027] The target interface is the interface in the target application where form filling is required. The first historical form can include all or part of the data filled in on the target interface. For example, the first historical form can include the titles of each input area on the target interface and the content filled in those areas, or it can only include the titles of some input areas and the content filled in those areas. The steps in S110 are as follows: when the target interface is displayed, the user fills in the data on the target interface, and the first historical form is generated based on the data filled in on the target interface. Subsequently, the user exits the target interface. The specific method for generating the first historical form will be described in detail later.

[0028] S130, Redisplay the target interface.

[0029] This means that after exiting the target interface, the user logs back into the target interface.

[0030] S140. Fill the first form data in the first historical form into the target input area of ​​the target interface.

[0031] After re-entering the target interface, you can directly call the previously generated first historical form and fill in the target interface based on the data in the first historical form.

[0032] In this embodiment, when a target interface is displayed, a first historical form is generated. After exiting and redisplaying the target interface, the data in the first historical form can be used to automatically fill in the target input area of ​​the target interface. This eliminates the need for the user to re-enter the target interface after exiting; instead, the previously saved first historical form is used for automated filling, simplifying the user's operation and improving the reliability and convenience of information entry.

[0033] In some embodiments, the above S110 may specifically include:

[0034] S111, when the target interface is displayed, listen for the second form data filled into the target interface.

[0035] Specifically, screen recognition technology can be used to identify the second form data within the target interface and save the recognition results.

[0036] Furthermore, since the form filling process on the target interface lasts for a period of time, requiring sequential input in each input area, the aforementioned monitoring process may also need to continue for a period of time. For example, it could acquire the input form data once after detecting each piece of form data being entered; or it could acquire the information of the entire target interface at preset intervals, and integrate and deduplicate the information acquired in each interval. This application does not limit the specific method used, as long as it ensures that the first historical form can be saved when exiting the target interface.

[0037] S113, Based on the data in the second form, obtain the first historical form.

[0038] The second form data here can be all the data filled in on the target interface, or it can be part of the data filled in on the target interface. For example, it can listen only to the data filled in the input area corresponding to a specific title, such as the data filled in the input area corresponding to the name.

[0039] Furthermore, this embodiment does not limit the entity that performs the filling operation on the target interface. The second form data can be entered by the user, or it can be automatically filled in on the target interface by the electronic device based on some pre-saved fixed information, such as name and mobile phone number.

[0040] In this embodiment, when filling out a form on the target interface, the system listens for and saves the second form data entered into the target interface, such as name: xxxx, mobile number xxxx, address xxxxx, and stores it locally on the electronic device. If the user subsequently exits the target interface, for example, if the target application crashes or the user returns to the previous screen, upon re-entering the target interface, this embodiment can automatically fill in the previously entered content based on the previously listened and saved results, restoring the user's previous progress and simplifying the information entry process. Furthermore, this method of automatically filling in form data using previously entered content means that the amount of form data automatically filled into the target interface upon re-login depends on the amount of data entered previously. Therefore, when there is a large amount of previously entered data in the target interface, it further improves the convenience of filling in form data upon re-entering the target interface and avoids the loss of input information caused by interruptions or returning to the previous screen in the target application, saving user time. As a general solution, it also saves application developers the compatibility work.

[0041] Since each input area typically has a title, such as name or ID number, when filling out a form, this title informs the user of the data to be entered in that area. The effective information on the target interface mainly includes the titles corresponding to each input area and the form data entered within those areas. Therefore, to ensure accurate subsequent filling, the first historical form can include the title corresponding to the second form data in addition to the second form data itself. Specifically, S113 mentioned above can include:

[0042] Based on the target interface, determine the second title.

[0043] Based on the data in the second form and the second header, the first historical form is obtained.

[0044] In this embodiment, when generating the first historical form, the second title in the target interface can be identified first. This second title can be the title corresponding to an input area that has already been filled in; that is, the title corresponding to the input area that the user has already filled in is used as the second title. Subsequently, the second title can be associated with its corresponding second form data. For example, title A can be associated with the form data filled in the input area corresponding to title A, and the associated second form data and second title can be used as the first historical form. This method allows for quick retrieval of the corresponding target input area when filling in data based on the first historical form, improving the accuracy and efficiency of automatic form filling.

[0045] Based on the above embodiments, in another embodiment of this application, S140 may specifically include:

[0046] Determine the first title based on the target interface.

[0047] Fill the data from the first form corresponding to the first title in the first history form into the target input area of ​​the target interface.

[0048] Since each input area in a form typically has a corresponding title, such as name or ID number, which informs the user of the data to be entered in that area, this embodiment, when using a first historical form for automatic filling, can first identify the first title in the target interface. Based on the first title, it can locate the first form data corresponding to the first title in the first historical form and the target input area corresponding to the first title in the target interface, thereby achieving accurate data entry and improving the speed of automatic data filling.

[0049] In addition, in other embodiments, the first history form can be generated in S110 in other ways, and S140 can also be filled in without a title, but in other ways.

[0050] For example, in one implementation, S110 may include: generating a first historical form based on the monitored second form data and the positions of each piece of data in the second form data on the target interface. Correspondingly, S140 may include: determining the target input area corresponding to the first form data based on the positions of each piece of first form data recorded in the first historical form, and filling the first form data into the corresponding target input area.

[0051] Alternatively, in another implementation, S110 may further include: generating a first historical form based on the monitored second form data and the filling order of each piece of data in the second form data. Correspondingly, S140 may include: filling each piece of first form data into the corresponding target input area in sequence according to the filling order of each piece of first form data recorded in the first historical form.

[0052] In some other embodiments of this application, S110 to S120 may specifically include:

[0053] When the target interface is displayed, receive the user's first input.

[0054] In response to the first input, exit the target interface, and take a screenshot of the target interface before exiting to obtain the first screenshot.

[0055] Generate the first history form based on the first screenshot.

[0056] or,

[0057] If the target interface becomes unresponsive, crashes, or fails to submit, exit the target interface and take a screenshot of the target interface before exiting to obtain a second screenshot.

[0058] Based on the second screenshot, generate the first history form.

[0059] In this embodiment, the target interface can be exited in two ways: manually by the user or due to a malfunction in the target interface, such as unresponsiveness, crash, or submission failure. Furthermore, exiting due to a malfunction in the target interface can also include situations other than the three mentioned above, which this application does not limit. When the exit from the target interface is triggered, this embodiment takes a screenshot of the target interface and generates a first historical form based on the screenshot. In this case, it can be guaranteed that the first historical form includes all data within the target interface.

[0060] Specifically, when generating the first historical form based on a screenshot, the screenshot (either the first or second screenshot) can be directly used as the first historical form. In subsequent step S140, image recognition technology can be used to identify the data in the screenshot, such as through Optical Character Recognition (OCR), and the data in the first form can be filled in based on the identified data. Alternatively, after obtaining the screenshot, image recognition technology can be used to identify the data in the screenshot first, and then the identified data can be saved as the first historical form. This application does not limit the specific method used.

[0061] The screenshot saving method in this embodiment can quickly record all the information in the target interface, thereby avoiding the situation where all the information in the target interface cannot be completely saved when the target interface suddenly crashes, and ensuring the integrity and reliability of the first historical form.

[0062] Furthermore, embodiments of this application also provide other methods to generate the first historical form, thereby achieving the purpose of rapid form filling. In some further embodiments of this application, S110 may include:

[0063] When the target interface is displayed, retrieve the form that the user has pre-entered and use that form as the first historical form.

[0064] In this embodiment, the first historical form used is pre-entered by the user. For example, the user pre-enters commonly used information such as name, mobile phone number, and address, and saves this information locally. This information can be retrieved for filling out various forms later. Furthermore, this saved first historical form allows for partial data entry upon first opening of the target interface, simplifying form entry and improving user convenience. In addition, this embodiment uses a single first historical form across all applications, avoiding errors from repeated input and improving user experience and work efficiency.

[0065] In some other embodiments of this application, a first control may also be provided, which allows the user to select whether to enable the above-mentioned automatic input function. Only when the above-mentioned automatic input function is enabled can a first historical form be generated and filled in.

[0066] Optionally, before S110, the method may further include receiving a second input from the user to the first control. Here, the first control can be a specific assistance recording software or an activation control for the assistance recording function; that is, the second input is used to activate the assistance recording software or the assistance recording function. Only after the assistance recording software or the assistance recording function is activated can the operations described in the above embodiments be performed. Specifically, S110 includes: in response to the second input, generating a first history form when the target interface is displayed.

[0067] In addition, once the recording software or recording function is enabled, it can remain on the application interface via a floating window or other means.

[0068] In some other embodiments, after S140, the following may also be included:

[0069] Upon receiving third input from the user on the target interface, disable the aforementioned assistance recording function or assistance recording software.

[0070] For example, once the user has completed and submitted the form on the target interface, or if the user abandons filling out the form on the target interface, the assistance recording function or assistance recording software is no longer needed. Therefore, the assistance recording function or assistance recording software can be turned off directly to reduce the occupation of electronic device operating resources and reduce the background power consumption of electronic devices.

[0071] Since the data in the first historical form is usually the user's personal information, it is necessary to improve the data security of the first historical form. Based on this, in some other embodiments of this application, after S110 and before S140, the following may also be included:

[0072] The first historical form is encrypted using an encryption key to obtain the second historical form; the encryption key is the hardware identifier of the electronic device.

[0073] Accordingly, the above-mentioned S140 may also include:

[0074] Retrieve the second history form;

[0075] The second historical form is decrypted using the encryption key to obtain the first historical form.

[0076] In this embodiment, the first historical form is encrypted using an encryption algorithm and a unique hardware identifier of the electronic device. This ensures that the data in the first historical form is not leaked as much as possible, thus improving the security of users' personal information. The encryption algorithm used here can be DES (Data Encryption Standard) or similar algorithms; this application does not limit the specific type of encryption algorithm.

[0077] Based on the data processing method embodiments provided in the above embodiments, correspondingly, this application also provides a data processing apparatus, see [link to relevant documentation]. Figure 2 , Figure 2 This application provides a schematic diagram of the structure of a data processing apparatus according to an embodiment of the present application; the apparatus includes:

[0078] The form generation module 210 is used to generate a first historical form when the target interface is displayed, and then exit the target interface;

[0079] Display module 220 is used to redisplay the target interface;

[0080] The data entry module 230 is used to fill the first form data in the first historical form into the target input area of ​​the target interface.

[0081] In this embodiment, when a target interface is displayed, a first historical form is generated. After exiting and redisplaying the target interface, the data in the first historical form can be used to automatically fill in the target input area of ​​the target interface. This eliminates the need for the user to re-enter the target interface after exiting; instead, the previously saved first historical form is used for automated filling, simplifying the user's operation and improving the reliability and convenience of information entry.

[0082] In some embodiments, the form generation module 210 specifically includes:

[0083] The listening unit is used to listen for the second form data filled into the target interface when the target interface is displayed.

[0084] The first generation unit is used to obtain the first historical form based on the second form data and exit the target interface.

[0085] In this embodiment, when filling out a form on the target interface, the system listens for and saves the second form data entered on the target interface. If the user subsequently exits the target interface (e.g., the application crashes or the user returns to the previous screen), upon re-entering the target interface, this embodiment can automatically fill in the previously entered content based on the previously saved data, restoring the user's previous progress and simplifying the information entry process. Furthermore, this method of automatically filling in form data based on previously entered content means that the amount of form data automatically filled in upon re-login depends on the amount of data entered on the target interface previously. Therefore, when there is a large amount of previously entered data on the target interface, it further improves the convenience of filling in form data upon re-entering the target interface and avoids the loss of input information due to interruptions or returning to the previous screen, saving user time. As a general solution, it also reduces compatibility work for application developers.

[0086] In other embodiments, the form generation module 210 specifically includes:

[0087] The second title determination unit is used to determine the second title based on the target interface;

[0088] The second generation unit is used to obtain the first historical form based on the second form data and the second title.

[0089] In this embodiment, when generating the first historical form, the second title in the target interface can be identified first. This second title can be the title corresponding to an input area that has already been filled in; that is, the title corresponding to the input area that the user has already filled in is used as the second title. Subsequently, the second title can be associated with its corresponding second form data, and the associated second form data and second title can be used as the first historical form. This method allows for quick location of the corresponding target input area when filling in data based on the first historical form, improving the accuracy and efficiency of automatic form filling.

[0090] Accordingly, the data entry module 230 specifically includes:

[0091] The first title determination unit is used to determine the first title based on the target interface;

[0092] The filling unit is used to fill the first form data corresponding to the first title in the first historical form into the target input area of ​​the target interface;

[0093] In this embodiment, when using the first historical form for automatic filling, the first title in the target interface can be identified first. Based on the first title, the first form data corresponding to the first title in the first historical form and the target input area corresponding to the first title in the target interface can be found, thereby achieving accurate data filling and improving the speed of automatic data filling.

[0094] Furthermore, in one implementation, the form generation module 210 can be used to generate a first historical form based on the monitored second form data and the positions of each piece of data in the second form data on the target interface. Correspondingly, the data filling module 230 can be used to determine the target input area corresponding to the first form data based on the positions of each piece of first form data recorded in the first historical form, and fill the first form data into the corresponding target input area.

[0095] Alternatively, in another implementation, the form generation module 210 can be used to generate a first historical form based on the monitored second form data and the filling order of each piece of data in the second form data. Correspondingly, the data filling module 230 can be used to fill each piece of first form data into its corresponding target input area according to the filling order of each piece of first form data recorded in the first historical form.

[0096] In some other embodiments, the form generation module 210 described above specifically includes:

[0097] The first receiving unit is used to receive the user's first input when the target interface is displayed;

[0098] The first screenshot unit is used to respond to the first input, exit the target interface, and take a screenshot of the target interface before exiting the target interface to obtain the first screenshot;

[0099] The third generation unit is used to generate the first historical form based on the first screenshot;

[0100] or,

[0101] The second screenshot unit is used to exit the target interface when the target interface is unresponsive, crashes, or fails to submit, and to take a screenshot of the target interface before exiting the target interface to obtain a second screenshot.

[0102] The fourth generation unit is used to generate the first historical form based on the second screenshot.

[0103] The screenshot saving method in this embodiment can quickly record all the information in the target interface, thereby avoiding the situation where all the information in the target interface cannot be completely saved when the target interface suddenly crashes, and ensuring the integrity and reliability of the first historical form.

[0104] In some other embodiments of this application, the form generation module 210 may be used for:

[0105] When the target interface is displayed, retrieve the form that the user has pre-entered and use that form as the first historical form.

[0106] In this embodiment, the first historical form used is pre-entered by the user. For example, the user pre-enters some frequently used information and saves this information locally. This information can then be retrieved for filling out various forms later. Furthermore, this saved first historical form allows for partial data entry upon first opening of the target interface, simplifying the form-filling process and improving user convenience. In addition, this embodiment uses a single first historical form across all applications, avoiding errors from repeated input and improving user experience and work efficiency.

[0107] In some other embodiments of this application, a first control may also be provided, which allows the user to select whether to enable the above-mentioned automatic input function. Only when the above-mentioned automatic input function is enabled can a first historical form be generated and filled in.

[0108] Optionally, the device may also include:

[0109] The second receiving module is used to receive the user's second input to the first control.

[0110] The form generation module 210 is specifically used to: generate a first historical form in response to a second input, while displaying the target interface.

[0111] The first control here can be a specific assistance recording software or assistance recording function activation control. That is, the second input is used to activate the assistance recording software or assistance recording function. Only after the assistance recording software or assistance recording function is activated can the operations in the above embodiments be implemented.

[0112] In some other embodiments, the device may further include:

[0113] The closing module is used to close the aforementioned assistance recording function or assistance recording software when a third input from the user to the target interface is received.

[0114] For example, once the user has completed and submitted the form on the target interface, or if the user abandons filling out the form on the target interface, the assistance recording function or assistance recording software is no longer needed. Therefore, the assistance recording function or assistance recording software can be turned off directly to reduce the occupation of electronic device operating resources and reduce the background power consumption of electronic devices.

[0115] In some other embodiments of this application, the device may further include:

[0116] The encryption module is used to encrypt the first historical form using an encryption key to obtain the second historical form; the encryption key is the hardware identifier of the electronic device.

[0117] The decryption module is used to call the second historical form; it decrypts the second historical form based on the encryption key to obtain the first historical form.

[0118] In this embodiment, the first historical form is encrypted using an encryption algorithm and a unique hardware identifier of the electronic device, which can ensure that the data in the first historical form is not leaked as much as possible, thereby improving the security of users' personal information.

[0119] The data processing device provided in this application embodiment can achieve... Figure 1 The various method steps implemented in the method embodiments are not described again here to avoid repetition.

[0120] Figure 3 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0121] The electronic device 300 includes, but is not limited to, components such as: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, and processor 310.

[0122] Those skilled in the art will understand that the electronic device 300 may also include a power supply (such as a battery) for powering various components. This power supply can be logically connected to the processor 310 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management. The input unit 304 may include a graphics processor, a microphone, etc. The display component 306 may include a display panel. The user input unit 307 may include a touch panel and other input devices. The memory 309 may store applications and an operating system, etc. Figure 3 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0123] The processor 310 is used to generate a first historical form and exit the target interface when the target interface is displayed; and to fill the first form data in the first historical form into the target input area of ​​the target interface.

[0124] Display unit 306 is used to redisplay the target interface.

[0125] In this embodiment, when a target interface is displayed, a first historical form is generated. After exiting and redisplaying the target interface, the data in the first historical form can be used to automatically fill in the target input area of ​​the target interface. This eliminates the need for the user to re-enter the target interface after exiting; instead, the previously saved first historical form is used for automated filling, simplifying the user's operation and improving the reliability and convenience of information entry.

[0126] Optionally, the processor 310 is specifically used to: when the target interface is displayed, listen for the second form data filled into the target interface; and obtain the first historical form based on the second form data.

[0127] In this embodiment, when filling out a form on the target interface, the system listens for and saves the second form data entered on the target interface. If the user subsequently exits the target interface (e.g., the application crashes or the user returns to the previous screen), upon re-entering the target interface, this embodiment can automatically fill in the previously entered content based on the previously saved data, restoring the user's previous progress and simplifying the information entry process. Furthermore, this method of automatically filling in form data based on previously entered content means that the amount of form data automatically filled in upon re-login depends on the amount of data entered on the target interface previously. Therefore, when there is a large amount of previously entered data on the target interface, it further improves the convenience of filling in form data upon re-entering the target interface and avoids the loss of input information due to interruptions or returning to the previous screen, saving user time. As a general solution, it also reduces compatibility work for application developers.

[0128] Optionally, the processor 310 is specifically used to: determine a second title based on the target interface; obtain a first historical form based on the second form data and the second title; determine the first title based on the target interface; and fill the first form data corresponding to the first title in the first historical form into the target input area of ​​the target interface.

[0129] In this embodiment, when generating the first historical form, the second title in the target interface can be identified first. This second title can be the title corresponding to an input area that has already been filled in; that is, the title corresponding to the input area that the user has already filled in is used as the second title. Subsequently, the second title can be associated with its corresponding second form data, and the associated second form data and second title can be used as the first historical form. This method allows for quick location of the corresponding target input area when filling in data based on the first historical form, improving the accuracy and efficiency of automatic form filling.

[0130] Furthermore, in this embodiment, when using the first historical form for automatic filling, the first title in the target interface can be identified first. Based on the first title, the first form data corresponding to the first title in the first historical form and the target input area corresponding to the first title in the target interface can be found, thereby achieving accurate data filling and improving the speed of automatic data filling.

[0131] Optionally, the user input unit 307 is used to: receive the user's first input when the target interface is displayed.

[0132] The processor 310 is specifically used to: respond to the first input, exit the target interface, and take a screenshot of the target interface to obtain a first screenshot before exiting the target interface; and generate a first history form based on the first screenshot.

[0133] Alternatively, the processor 310 is specifically used to: exit the target interface when the target interface is unresponsive, crashes, or fails to submit, and take a screenshot of the target interface to obtain a second screenshot before exiting the target interface; and generate a first historical form based on the second screenshot.

[0134] The screenshot saving method in this embodiment can quickly record all the information in the target interface, thereby avoiding the situation where all the information in the target interface cannot be completely saved when the target interface suddenly crashes, and ensuring the integrity and reliability of the first historical form.

[0135] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described data processing method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0136] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0137] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above data processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0138] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0139] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0140] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0141] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A data processing method, characterized in that, The method includes: If the target interface is displayed, generate a first history form and exit the target interface; The target interface is displayed again; Fill the first form data from the first historical form into the target input area of ​​the target interface; The step of filling the first form data from the first historical form into the target input area of ​​the target interface specifically includes: Based on the target interface, determine the first title; Fill the first form data corresponding to the first title in the first historical form into the target input area of ​​the target interface; The step of generating a first history form and exiting the target interface when the target interface is displayed specifically includes: When the target interface is displayed, receive the user's first input; In response to the first input, exit the target interface, and before exiting the target interface, take a screenshot of the target interface to obtain a first screenshot; The first historical form is generated based on the first screenshot; or, When the target interface becomes unresponsive, crashes, or fails to submit, exit the target interface and take a screenshot of the target interface before exiting to obtain a second screenshot. The first historical form is generated based on the second screenshot.

2. The method according to claim 1, characterized in that, The step of generating the first history form when the target interface is displayed specifically includes: When the target interface is displayed, listen for the second form data filled into the target interface; The first historical form is obtained based on the data in the second form.

3. The method according to claim 2, characterized in that, The step of obtaining the first historical form based on the second form data specifically includes: Based on the target interface, determine the second title; The first historical form is obtained based on the second form data and the second title.

4. A data processing apparatus, characterized in that, The device includes: The form generation module is used to generate a first historical form when the target interface is displayed, and then exit the target interface; The display module is used to redisplay the target interface; The data entry module is used to fill the first form data in the first historical form into the target input area of ​​the target interface; The data entry module specifically includes: The first title determination unit is used to determine the first title based on the target interface; A filling unit is used to fill in the first form data corresponding to the first title in the first historical form into the target input area of ​​the target interface; The form generation module specifically includes: The first receiving unit is configured to receive the user's first input when the target interface is displayed; The first screenshot unit is used to respond to the first input, exit the target interface, and take a screenshot of the target interface to obtain a first screenshot before exiting the target interface; The third generation unit is used to generate the first historical form based on the first screenshot; or, The second screenshot unit is used to exit the target interface when the target interface is unresponsive, crashes, or fails to submit, and to take a screenshot of the target interface before exiting the target interface to obtain a second screenshot. The fourth generation unit is used to generate the first historical form based on the second screenshot.

5. The apparatus according to claim 4, characterized in that, The form generation module specifically includes: The monitoring unit is used to monitor the second form data filled into the target interface when the target interface is displayed. The first generation unit is used to obtain the first historical form based on the second form data and exit the target interface.

6. The apparatus according to claim 5, characterized in that, The form generation module specifically includes: The second title determination unit is used to determine a second title based on the target interface; The second generation unit is used to obtain the first historical form based on the second form data and the second title.

7. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the data processing method as described in any one of claims 1 to 3.

8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the data processing method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Rounding positioning jig

    CN101966664A

  • Web form data persistence method

    CN106570054A

  • Screenshot processing method and device

    CN107870712A

  • Methods, device, server and system of protecting data in Web form

    CN108459924A

  • Interface switching method and device

    CN109324847A