Nothing Special   »   [go: up one dir, main page]

CN106156097B - Method and device for processing browser input records - Google Patents

Method and device for processing browser input records Download PDF

Info

Publication number
CN106156097B
CN106156097B CN201510154107.6A CN201510154107A CN106156097B CN 106156097 B CN106156097 B CN 106156097B CN 201510154107 A CN201510154107 A CN 201510154107A CN 106156097 B CN106156097 B CN 106156097B
Authority
CN
China
Prior art keywords
browser
input
records
input record
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510154107.6A
Other languages
Chinese (zh)
Other versions
CN106156097A (en
Inventor
赵少龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co.,Ltd.
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510154107.6A priority Critical patent/CN106156097B/en
Publication of CN106156097A publication Critical patent/CN106156097A/en
Application granted granted Critical
Publication of CN106156097B publication Critical patent/CN106156097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for processing browser input records, wherein the method comprises the steps of starting any local browser; acquiring a reading request of an input record based on a browser; calling corresponding input records from a preset database according to the reading request, wherein the database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records; displaying the called input record to a corresponding position of the browser; according to the embodiment of the invention, the local browsers are compatible, and the input records submitted by the users in the local browsers are uniformly stored, so that the previously stored contents, such as complete form data, can be directly displayed according to the requirements of the users.

Description

Method and device for processing browser input records
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method and a device for processing an input record of a browser.
Background
With the rapid development of internet technology, various browsers, such as google (Chrome), Firefox (Firefox), IE, etc., are available for users to query or entertain data. Meanwhile, in order to facilitate user operation, the browsers respectively store the input records of the users in local places, such as: the user inputs a user name or form data, and when the user clicks an input box, the history input record is automatically displayed.
During the research and practice of the prior art, the inventor of the present invention found that, because of the input record of the user, each browser is saved individually, i.e. if the browser saving the input record is different from the currently used browser, the user still needs to input again; especially for the form records submitted and saved by the user, the last saved submitted content cannot be directly displayed, and the user needs to click each input box and select the history record, so that the problems of time consumption in operation and waste of server resources are caused.
Disclosure of Invention
The invention aims to provide a method and a device for processing browser input records, aiming at improving the operation timeliness of a user and avoiding the waste of server resources.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
a processing method for browser input records comprises the following steps:
starting any local browser;
acquiring a reading request of an input record based on the browser;
calling corresponding input records from a preset database according to the reading request, wherein the database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records;
and displaying the called input record to a corresponding position of the browser.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
a processing apparatus for browser input recording, comprising:
the starting module is used for starting any local browser;
the first acquisition module is used for acquiring a reading request of an input record based on the browser;
the calling module is used for calling corresponding input records from a preset database according to the reading request, the database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records;
and the display module is used for displaying the called input record to the corresponding position of the browser.
Compared with the prior art, in the embodiment, the input records submitted by the local browsers are uniformly stored in one database, and when a reading request of the input records is acquired based on any local browser, the corresponding input records can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for processing a browser input record according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a processing method for browser input records according to a second embodiment of the present invention;
fig. 3a to fig. 3g are schematic views of application scenarios provided by a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a processing apparatus for browser input record according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a processing apparatus for browser input record according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present invention are described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, but on the contrary, it is to be understood that various steps and operations described hereinafter may be implemented in hardware.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present invention.
First embodiment
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for processing a browser input record according to a first embodiment of the present invention. The method comprises the following steps:
in step S101, any local browser is started.
In step S102, a read request for an input record is acquired based on the browser.
The steps S101 and S102 may specifically be:
the method for processing the input records of the browser provided by the embodiment of the invention is based on a system structure of a BS (browser, server), a user uses the system through any local browser, the system supports calling a preset database, and returns and inquires the input records stored before and displays the input records in the database according to the user requirement, wherein the database uniformly stores the input records saved and submitted by each local browser of the user.
It is understood that any local Browser may be a commonly used mainstream Browser, such as IE, google Chrome, Firefox, Safari, Opera, iOS Safari, Android Browser, etc., and is not limited herein.
In step S103, according to the reading request, a corresponding input record is called from a preset database, where the database is used to store the input records submitted by each local browser in a unified manner, and the input records include form records.
In step S104, the called input record is displayed to a corresponding position of the browser.
The steps S103 and S104 may specifically be:
the database contains input records, such as form records, single input box records and the like, submitted by the user when the user uses each local browser; if the input record is a form record, acquiring complete form data corresponding to the reading request from a preset database according to the reading request, and calling the complete form data to a corresponding position of a current page of the browser for display so as to facilitate the user to view or modify.
It is easy to think that the database is a terminal device with computing capability, such as a desktop computer, a tablet pc (personal computer), a mobile phone, etc., which is provided with a storage unit and a microprocessor, and is not limited in particular.
As can be seen from the above, in the method for processing input records of a browser provided in this embodiment, the input records submitted by the local browsers are uniformly stored in one database, and when a reading request of an input record is obtained based on any local browser, a corresponding input record can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user.
Second embodiment
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for processing a browser input record according to a second embodiment of the present invention. The processing method of the browser input records is based on a BS system structure, a user uses the system through any local browser, the system supports calling of a preset database, and according to the user requirements, the input records stored before query are returned and displayed in the database, wherein the database stores the input records saved and submitted by the user in each local browser in a unified manner.
Preferably, in the embodiment of the present invention, before referring to the input record of the preset database based on the local browser, the creation of the database may be further included, and after the input record is rolled back and displayed, the input record may be further modified. The method comprises the following steps:
in step S201, input records submitted by local browsers are received.
In step S202, the received input records are saved in a circular linked list manner to establish a database.
It is understood that the steps S201 and S202 implement the creation of a database; the local Browser may include one or a combination of two or more of browsers such as IE, google Chrome, Firefox, Safari, Opera, iOS Safari, Android Browser, and the like; the input records submitted by each browser are stored in a circular linked list mode, so that the data stored last time or earlier can be positioned, and direct backspacing records can be realized.
Preferably, because most of the browsers currently in the mainstream support Html5 (hypertext markup Language, Hyper text Language, 5) Web SQL Database (local Database), the embodiment of the present invention preferentially stores the input records in the local based on the Html5 Web SQL Database.
Furthermore, in order that the browser which is not supported at present can also support Html5 Web SQL Database, compatible processing can be carried out on the browser; for example, taking IE9 as an example, the following code may be added to cause IE9 to implement Html5 support:
<!–[if lt IE9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]–>
it can be understood that the embodiment only uses Web SQL Database based on Html5 to store the input record locally as a priority mode for analysis, and does not limit the present invention; in addition, the front-end implementation technology may not be limited to javascript, and any front-end language such as C, C + + may also be used, which is not specifically limited herein.
It is easy to think that the database is disposed in a terminal, and the input record can be called based on the terminal, wherein the terminal can be a mobile terminal with a storage unit and a microprocessor installed therein, such as a desktop computer, a tablet PC, a mobile phone, and the like, and the mobile terminal has an arithmetic capability, and the database is not limited in detail herein.
In step S203, any local browser is started, and a read request of the input record is obtained based on a rollback component preset in the browser.
The backspace component is used for receiving a reading request input by a user through clicking or sliding operation so as to trigger and call a preset database.
In step S204, according to the read request, an input record related to the read request submitted in a preset time period is obtained from a preset database.
In step S205, among the input records related to the read request, the input record indicated by the read request is rolled back and retrieved.
In step S206, the called input record is displayed to a corresponding position of the browser.
It is understood that steps S204 to S205 are a preferred way to retrieve the corresponding input record from the preset database according to the read request; the database contains input records, such as form records, single input box records, etc., submitted by the user while using the local browsers.
If the input record is a form record, the browser acquires related form data from a preset database according to the reading request, then backs to corresponding complete form data according to the indication of the reading request, and calls the corresponding complete form data to a corresponding position of a current page of the browser for display so that a user can check or modify the form data.
It is easy to think that the preset time period is preset in the terminal, and is used for filtering the input record requested to be read by the user, and the specific value thereof is determined according to a specific scene, which is not specifically limited herein.
In step S207, a modification request input by the user is received.
In step S208, the input record is modified according to the modification request.
In step S209, the modified input record is saved to the database.
It is understood that the steps S207 and S209 are modifications and changes to the input record after the input record is called and displayed.
The modified input record is stored in the database, and in one implementation mode, the modified input record can directly replace the input record before modification and is stored in the database, namely, the updated input record is stored, and the original input record is deleted, so that the server space is released, and the performance is improved; in another embodiment, the updated input record may be saved without deleting the original input record, so that the user needs to perform a record rollback operation, where the record rollback operation may be set according to a specific scenario, and is not limited specifically.
Further preferably, the method may further include:
step A, based on any browser, acquiring a jump instruction through a shortcut control preset in the browser;
and B, controlling to jump to the database and display on the current interface of the browser according to the jump instruction.
Thus, the database can be viewed or modified in real time in addition to the input record retrieval.
Further preferably, in consideration of security, the local data needs to be encrypted and decrypted; therefore, the input record in the database is encrypted and saved while the database is established or the updated input record is modified.
Based on this, before performing step S204, the method may further include:
step a, sending a verification prompt message;
and b, if a verification message matched with the verification prompt message is received, decrypting the input record in the database.
By using an encryption and decryption mode, user data is protected, and the safety of the data is ensured.
As can be seen from the above, in the method for processing input records of a browser provided in this embodiment, the input records submitted by the local browsers are uniformly stored in one database, and when a reading request of an input record is obtained based on any local browser, a corresponding input record can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user. Furthermore, by using the operation of backspacing calling, developers can conveniently embed a form backspacing function into an operation system or a management system; the user can save and submit all the operations and records, so that the backtracking operation can be very convenient, and the security of the private records can be improved by encrypting the records.
Third embodiment
In order to better understand the technical solution of the present invention, the method is implemented based on the second embodiment, and this embodiment takes a specific application scenario as an example, and analyzes and explains the processing method of the browser input record on the product side.
Firstly, the processing method of the browser input record is based on a BS system structure, a user uses the system through any local browser, the system supports calling a preset database, and returns and inquires the input record stored before and displays the input record in the database according to the user requirement, wherein the database stores the input record which is saved and submitted by each local browser by the user in a unified manner.
Further, based on Web SQL Database of Html5, the form data is stored locally and can be read by any local browser (IE, Chrome, Firefox, etc.). The data is stored in a circular linked list mode, the data stored at the last time or at a previous time can be positioned, and the record is directly returned. Meanwhile, the security is considered, and the local data are encrypted and decrypted.
For example, taking product management as an example, first add an input record (form data) and click the "add" button to save the input record in the database, as shown in fig. 3 a; please refer to fig. 3b, which is a schematic diagram illustrating the table data. If the user wants to modify the form data, the user needs to click a backspace button, and modify the form data according to the user requirement, referring to fig. 3c, and after the modification is completed, an update button is clicked to store the modification; please refer to fig. 3d together for a schematic illustration of the modified form data. If the user wants to return to the form data before modification, the user needs to click a "return" button and return to the form data before modification, as shown in fig. 3e, refer to fig. 3f together, which is a display illustration of the modified form data.
In addition, in order that a user can view or modify Html5 Web SQL Database in real time in addition to calling an input record, a shortcut control may be added for implementation, for example, taking browser Chrome as an example, the Database viewing may be implemented according to F12, which may be referred to fig. 3g as an interface schematic of Html5 Web SQL Database.
It is understood that, for the parts that are not described in detail in the foregoing embodiments, reference may be made to the detailed description of the processing method for the browser input record provided in the foregoing second embodiment, and details are not described here again.
Therefore, the method for processing the input records of the browser provided by the embodiment uses the Web SQLDatabase to store data, is browser-independent, and ensures that the contents input by the user in different browsers can be uniformly stored in one position, thereby facilitating the operation of the user; for the form submission of a user, the complete form data can be stored, and the latest data or a previous data can be selected to be returned; and the encryption and decryption modes are used for protecting the user data and ensuring the security of the data.
That is, by means of the compatibility of the local browsers, the input records submitted by the users in the local browsers are uniformly stored, so that the previously stored contents, such as complete form data, can be directly displayed according to the requirements of the users. Furthermore, by using the operation of backspacing calling, developers can conveniently embed a form backspacing function into an operation system or a management system; the user can save and submit all the operations and records, so that the backtracking operation can be very convenient, and the security of the private records can be improved by encrypting the records.
Fourth embodiment
In order to better implement the method for processing the browser input record provided by the embodiment of the present invention, an embodiment of the present invention further provides a device based on the method for processing the browser input record. The terms are the same as those in the above method for inputting records by a browser, and details of implementation can refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a processing apparatus for browser input records according to an embodiment of the present invention, where the processing apparatus for browser input records may be based on a BS system structure, a user uses the system through any local browser, the system supports invoking a preset database, and returning and querying an input record stored before and displayed in the database according to a user requirement, where the database stores input records that are saved and submitted by each local browser by the user in a unified manner.
As shown in fig. 4, the processing device for browser input records according to the present invention may include a starting module 401, a first obtaining module 402, a retrieving module 403, and a presenting module 404.
The starting module 401 is configured to start any local browser; the first obtaining module 402 is configured to obtain a read request of an input record based on the browser.
It is understood that any local Browser may be a commonly used mainstream Browser, such as IE, google Chrome, Firefox, Safari, Opera, iOS Safari, Android Browser, etc., and is not limited herein.
The retrieving module 403 is configured to retrieve, according to the reading request, corresponding input records from a preset database, where the database is configured to uniformly store the input records submitted by each local browser, and the input records include form records; the displaying module 404 is configured to display the retrieved input record to a corresponding location of the browser.
The database contains input records, such as form records, single input box records and the like, submitted by the user when the user uses each local browser; if the input record is a form record, acquiring complete form data corresponding to the reading request from a preset database according to the reading request, and calling the complete form data to a corresponding position of a current page of the browser for display so as to facilitate the user to view or modify.
It is easy to think that the database is preset in a terminal, such as a terminal with a storage unit and a microprocessor installed therein, and has a computing capability, and the database is not limited in detail herein.
As can be seen from the above, the processing apparatus for input records of a browser provided in this embodiment stores the input records submitted by the local browsers in a database in a unified manner, and when a reading request of an input record is obtained based on any local browser, a corresponding input record can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user.
Fifth embodiment
Referring to fig. 5, fig. 5 is a schematic structural diagram of a processing device for browser input records according to an embodiment of the present invention, where the processing device for browser input records includes: the starting module 501, the first obtaining module 502, the retrieving module 503, and the displaying module 504, wherein the functional functions of the functional modules in this embodiment may refer to the related descriptions of the starting module 401, the first obtaining module 402, the retrieving module 403, and the displaying module 404 in the fourth embodiment, which are not described herein again.
Preferably, the processing device for the browser input record may further include a first receiving module 505 and a saving establishing module 506 for creating a database storing the input record; the first receiving module 505 is configured to receive input records submitted by local browsers; the storage establishing module 506 is configured to store the received input record in a circular linked list manner, so as to establish a database.
It can be understood that, because most of the currently mainstream browsers support Html5 Web SQL Database, the embodiment of the present invention preferentially stores the input record in the local based on Html5 Web SQL Database; further, in order that a currently unsupported browser can also support Html5 Web SQL Database, compatible processing can be performed on the browser, and specific implementation can be specifically performed with reference to the related description of the second embodiment, which is not described herein.
In addition, the front-end implementation technology may not be limited to javascript, and any front-end language such as C, C + + may also be used, which is not specifically limited herein.
The first obtaining module 502 is further configured to obtain a read request of the input record based on a rollback component preset in the browser.
The retrieving module 503 may further include: an obtaining unit 5031 and a rollback calling unit 5032, configured to call a corresponding input record from a preset database according to the reading request; the obtaining unit 5031 is configured to obtain, according to the read request, an input record related to the read request, which is submitted within a preset time period, from a preset database; the rollback invoking unit 5032 is configured to rollback and invoke the input record indicated by the read request, from the input records related to the read request.
The processing device for the browser input record may further include a second receiving module 507 and a modifying module 508, configured to modify and update the input record in the database; wherein the second receiving module 507 is configured to receive a modification request input by a user; the modification module 508 is configured to modify the input record according to the modification request; the save establish module 506 is configured to save the modified input record to the database.
The modified input record is stored in the database, and in one implementation mode, the modified input record can directly replace the input record before modification and is stored in the database, namely, the updated input record is stored, and the original input record is deleted, so that the server space is released, and the performance is improved; in another embodiment, the updated input record may be saved without deleting the original input record, so that the user needs to perform a record rollback operation, where the record rollback operation may be set according to a specific scenario, and is not limited specifically.
Further preferably, the apparatus may further include a second obtaining module and a control module, configured to refer to the database, where the second obtaining module is configured to obtain, based on any one of the browsers, a jump instruction through a shortcut control preset in the browser; and the control module is used for controlling to jump to the database and display the database on the current interface of the browser according to the jump instruction. Thus, the database can be viewed or modified in real time in addition to the input record retrieval.
The device can also comprise an encryption module, a sending module and a decryption module, and is used for protecting the input records in the database by using encryption and decryption modes to ensure the security of the data; the encryption module is used for encrypting and storing the input records in the database;
based on this, before the obtaining unit 5031 and the rollback calling unit 5032 call the corresponding input record from the preset database according to the reading request, the sending module is configured to send a verification prompt message; and the decryption module is used for decrypting the input record in the database if the verification message matched with the verification prompt message is received. By using an encryption and decryption mode, user data is protected, and the safety of the data is ensured.
As can be seen from the above, the processing apparatus for input records of a browser provided in this embodiment stores the input records submitted by the local browsers in a database in a unified manner, and when a reading request of an input record is obtained based on any local browser, a corresponding input record can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user. Furthermore, by using the operation of backspacing calling, developers can conveniently embed a form backspacing function into an operation system or a management system; the user can save and submit all the operations and records, so that the backtracking operation can be very convenient, and the security of the private records can be improved by encrypting the records.
Sixth embodiment
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 6, the terminal may include Radio Frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 6 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then transmitted to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
starting any local browser; acquiring a reading request of an input record based on the browser; calling corresponding input records from a preset database according to the reading request, wherein the database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records; and displaying the called input record to a corresponding position of the browser.
Preferably, the processor 608 is further configured to: receiving input records submitted by each local browser; and storing the received input records in a circular linked list mode to establish a database.
Preferably, the processor 608 is further configured to obtain a read request of the input record based on a rollback component preset in the browser.
Preferably, the processor 608 is further configured to, according to the read request, obtain an input record related to the read request, which is submitted within a preset time period, from a preset database; and backing and calling the input record indicated by the reading request in the input record related to the reading request.
Preferably, the processor 608 is further configured to receive a modification request input by a user; modifying the input record according to the modification request; and saving the modified input record into the database.
Preferably, the processor 608 is further configured to, based on any one of the browsers, obtain a jump instruction through a shortcut control preset in the browser; and controlling to jump to the database and display on the current interface of the browser according to the jump instruction.
Preferably, the processor 608 is further configured to encrypt and store the input record in the database; sending a verification prompt message; and if receiving the verification message matched with the verification prompt message, decrypting the input record in the database.
As can be seen from the above, in the terminal provided in this embodiment, by uniformly storing the input records submitted by the local browsers in one database, when a reading request of an input record is obtained based on any local browser, the corresponding input record can be called from the database and displayed; the embodiment of the invention can uniformly store the input records submitted by the user in each local browser by making the local browsers compatible, thereby directly displaying the previously stored content, such as complete form data, according to the requirements of the user.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the processing method for the browser input record, and are not described herein again.
The processing apparatus for the browser input record provided in the embodiment of the present invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, and the like, and the processing apparatus for the browser input record and the processing method for the browser input record in the above embodiments belong to the same concept, and any method provided in the processing method for the browser input record embodiment may be run on the processing apparatus for the browser input record, and a specific implementation process thereof is described in the processing method for the browser input record embodiment, and is not described herein again.
It should be noted that, for the method for processing the browser input record according to the present invention, it can be understood by a person skilled in the art that all or part of the process of implementing the method for processing the browser input record according to the embodiment of the present invention can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and the process of executing the process can include the process of the embodiment of the method for processing the browser input record. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the processing device for the browser input record in the embodiment of the present invention, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method and the device for processing the browser input record provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. A method for processing browser input records is characterized by comprising the following steps:
receiving input records submitted by each local browser;
storing the received input records in a circular linked list mode to establish a local database, wherein the local database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records;
starting any local browser;
acquiring a reading request of an input record based on the browser;
calling a corresponding input record from the local database according to the reading request;
and displaying the called input record to a corresponding position of the browser.
2. The method for processing the input record of the browser according to claim 1, wherein the reading request based on the browser obtaining the input record comprises:
and acquiring a reading request of the input record based on a backspacing component preset in the browser.
3. The method for processing browser input record according to claim 1, wherein retrieving the corresponding input record from the local database according to the read request includes:
according to the reading request, acquiring an input record which is submitted in a preset time period and is related to the reading request from the local database;
and backing and calling the input record indicated by the reading request in the input record related to the reading request.
4. The method for processing the input record of the browser according to any one of claims 1 to 3, wherein after the displaying the retrieved input record to the corresponding position of the browser, the method further comprises:
receiving a modification request input by a user;
modifying the input record according to the modification request;
and saving the modified input record into the local database.
5. A method for processing browser input records according to any one of claims 1 to 3, characterized in that the method further comprises:
based on any browser, acquiring a jump instruction through a shortcut control preset in the browser;
and controlling to jump to the local database and display on the current interface of the browser according to the jump instruction.
6. A method for processing browser input records according to any one of claims 1 to 3, characterized in that the method further comprises:
encrypting and storing the input records in the local database;
before the retrieving the corresponding input record from the local database according to the read request, the method further includes: sending a verification prompt message; and if a verification message matched with the verification prompt message is received, decrypting the input record in the local database.
7. A device for processing browser input records, comprising:
the first receiving module is used for receiving input records submitted by each local browser;
the storage establishing module is used for storing the received input records in a circular linked list mode so as to establish a local database, the local database is used for uniformly storing the input records submitted by each local browser, and the input records comprise form records;
the starting module is used for starting any local browser;
the first acquisition module is used for acquiring a reading request of an input record based on the browser;
the calling module is used for calling corresponding input records from the local database according to the reading request;
and the display module is used for displaying the called input record to the corresponding position of the browser.
8. The apparatus for processing browser input record according to claim 7, wherein the first obtaining module is further configured to obtain a read request of the input record based on a rollback component preset in the browser.
9. The apparatus for processing browser input record according to claim 7, wherein the retrieving module comprises:
the acquisition unit is used for acquiring input records which are submitted in a preset time period and are related to the reading request from the local database according to the reading request;
and the rollback calling unit is used for rolling back and calling the input record indicated by the reading request in the input record related to the reading request.
10. The apparatus for processing browser input records according to any of claims 7 to 9, further comprising:
the second receiving module is used for receiving a modification request input by a user;
the modification module is used for modifying the input record according to the modification request;
and the storage establishing module is used for storing the modified input record into the local database.
11. The apparatus for processing browser input records according to any of claims 7 to 9, further comprising:
the second acquisition module is used for acquiring a jump instruction through a shortcut control preset in the browser based on any browser;
and the control module is used for controlling to jump to the local database and display the local database on the current interface of the browser according to the jump instruction.
12. The apparatus for processing browser input records according to any of claims 7 to 9, further comprising:
the encryption module is used for encrypting and storing the input records in the local database;
the sending module is used for sending a verification prompt message;
and the decryption module is used for decrypting the input record in the local database if the verification message matched with the verification prompt message is received.
13. A terminal, characterized in that the terminal comprises a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
14. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the steps of the method according to any one of claims 1 to 6.
CN201510154107.6A 2015-04-02 2015-04-02 Method and device for processing browser input records Active CN106156097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510154107.6A CN106156097B (en) 2015-04-02 2015-04-02 Method and device for processing browser input records

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510154107.6A CN106156097B (en) 2015-04-02 2015-04-02 Method and device for processing browser input records

Publications (2)

Publication Number Publication Date
CN106156097A CN106156097A (en) 2016-11-23
CN106156097B true CN106156097B (en) 2020-03-17

Family

ID=57337469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510154107.6A Active CN106156097B (en) 2015-04-02 2015-04-02 Method and device for processing browser input records

Country Status (1)

Country Link
CN (1) CN106156097B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704104B (en) * 2017-10-11 2021-04-30 携程旅游信息技术(上海)有限公司 Form input item association method, system, device and storage medium
CN110020382B (en) * 2018-03-29 2023-08-22 中国平安财产保险股份有限公司 Intelligent information input method, user equipment, storage medium and device
CN111125505A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Processing method and device for screening records, storage medium and processor
CN109726116A (en) * 2018-11-08 2019-05-07 深圳壹账通智能科技有限公司 Joint debugging test method, device, computer installation and storage medium
CN112783395B (en) * 2020-06-08 2022-09-02 北京金山办公软件股份有限公司 Method, device, electronic equipment and medium for displaying form field
CN112799948A (en) * 2021-02-03 2021-05-14 网易(杭州)网络有限公司 Webpage data processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320373A (en) * 2008-06-13 2008-12-10 华中科技大学 Safety search engine system of website database
CN101452453A (en) * 2007-11-29 2009-06-10 北京搜狗科技发展有限公司 Input method web site navigation method and input method system
CN101807193A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Browsing method used for mobile communication equipment terminal
CN102063450A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for user to input words on basis of network
CN102063451A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for inputting characters by user and providing relevant search information
CN103581212A (en) * 2012-07-18 2014-02-12 百度在线网络技术(北京)有限公司 Automatic form filling method, system and device based on cloud analysis

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140101117A1 (en) * 2012-10-10 2014-04-10 Salesforce.Com, Inc. Methods and systems for managing records in an on-demand system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452453A (en) * 2007-11-29 2009-06-10 北京搜狗科技发展有限公司 Input method web site navigation method and input method system
CN101320373A (en) * 2008-06-13 2008-12-10 华中科技大学 Safety search engine system of website database
CN101807193A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Browsing method used for mobile communication equipment terminal
CN102063450A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for user to input words on basis of network
CN102063451A (en) * 2010-04-16 2011-05-18 百度在线网络技术(北京)有限公司 Method and equipment for inputting characters by user and providing relevant search information
CN103581212A (en) * 2012-07-18 2014-02-12 百度在线网络技术(北京)有限公司 Automatic form filling method, system and device based on cloud analysis

Also Published As

Publication number Publication date
CN106156097A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US11798107B2 (en) Scenario-based application recommendation method and apparatus
US10853437B2 (en) Method and apparatus for invoking application programming interface
CN106156097B (en) Method and device for processing browser input records
US10186244B2 (en) Sound effect processing method and device, plug-in unit manager and sound effect plug-in unit
US20180293210A1 (en) Method and device for processing web page content
CN109857403B (en) Page updating method and device, page processing method and device
EP3174253A1 (en) Message withdrawal method and apparatus, computer program and recording medium
WO2018196588A1 (en) Information sharing method, apparatus and system
US9798713B2 (en) Method for configuring application template, method for launching application template, and mobile terminal device
US20140351212A1 (en) Method and apparatus for processing reading history
US20180322101A1 (en) Method and apparatus for displaying page and a computer storage medium
WO2015003549A1 (en) Method and system for application message alerting
WO2015003636A1 (en) Method and device for interception of page elements
US9582584B2 (en) Method, apparatus and system for filtering data of web page
CN105955739A (en) Graphical interface processing method, apparatus and system
CN105095161B (en) Method and device for displaying rich text information
JP2016504671A (en) Mobile terminal resource processing method, apparatus, client-side computer, server, mobile terminal, program, and recording medium
CN110196662B (en) Method, device, terminal and storage medium for displaying synchronization state
US9742901B2 (en) Method, apparatus and terminal device for obtaining call log
EP2869233B1 (en) Method, device and terminal for protecting application program
CN109145182B (en) Data acquisition method and device, computer equipment and system
CN105094872B (en) A kind of method and apparatus showing web application
CN106230919B (en) File uploading method and device
EP4351117A1 (en) Information display method and apparatus, and electronic device
US11327845B2 (en) Image synchronization method and device, and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221110

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518,101

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 518000 5-10 building, Fiyta building, Gaoxin Nan Road, Nanshan District hi tech Zone, Shenzhen, Guangdong

Patentee before: Shenzhen Tencent Computer System Co.,Ltd.

TR01 Transfer of patent right