WO2024088291A1 - 表单填充方法、装置、电子设备及介质 - Google Patents
表单填充方法、装置、电子设备及介质 Download PDFInfo
- Publication number
- WO2024088291A1 WO2024088291A1 PCT/CN2023/126379 CN2023126379W WO2024088291A1 WO 2024088291 A1 WO2024088291 A1 WO 2024088291A1 CN 2023126379 W CN2023126379 W CN 2023126379W WO 2024088291 A1 WO2024088291 A1 WO 2024088291A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content
- tag
- association relationship
- electronic device
- information
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/174—Form filling; Merging
Definitions
- the present application belongs to the field of electronic technology, and specifically relates to a form filling method, device, electronic equipment and medium.
- the electronic device needs to first read the user's historical input content. Then, after obtaining the information corresponding to the historical input content, the user needs to manually mark the information and store the marked information. When the form needs to be filled in, the electronic device needs to retrieve the marked information and fill the retrieved information corresponding to the form content into the form.
- the purpose of the embodiments of the present application is to provide a form filling method, device, electronic device and medium, which can solve the problem of low convenience in filling forms using electronic devices.
- an embodiment of the present application provides a form filling method, the method comprising: when a displayed page includes a form, obtaining a form tag corresponding one-to-one to the form; determining a tag that matches the form tag one-to-one, and determining the content corresponding to the tag from a preset association relationship, the preset association relationship being an association relationship between a tag and at least one content; filling in the corresponding forms based on the content; wherein the preset association relationship is obtained through at least one of the following: information obtained during the operation of a target application in an electronic device, location information of the electronic device, information of files in the electronic device, and information transmitted by a wearable electronic device.
- an embodiment of the present application provides a form filling device, which includes: an acquisition module, a determination module and a filling module; the acquisition module is used to obtain a form tag corresponding to the form in a case where the displayed page includes a form; the determination module is used to determine a tag that matches the form tag one by one, and determine the content corresponding to the tag from a preset association relationship, wherein the preset association relationship is an association relationship between a tag and at least one content; the filling module is used to fill in the corresponding form based on the content; wherein the preset association relationship is obtained by at least one of the following: information obtained during the operation of a target application in an electronic device, location information of the electronic device, information of a file in the electronic device, information transmitted by a wearable electronic device, etc. interest.
- an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
- an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
- an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
- an embodiment of the present application provides an electronic device, which is configured to execute the method described in the first aspect.
- the electronic device when it includes a form in the displayed page, it obtains a form tag that corresponds to the form one by one; and determines a tag that matches the form tag one by one, so as to determine the content corresponding to the tag from the preset association relationship; thereby filling in the corresponding forms based on the content, wherein the preset association relationship is an association relationship between a tag and at least one content; the preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the electronic device, the location information of the electronic device, the information of the file in the electronic device, and the information transmitted by the wearable electronic device.
- the electronic device can obtain the form tag in the form and determine the tag that matches the above-mentioned form tag one by one from multiple association relationships, so as to fill in the corresponding forms based on the content associated with the above-mentioned tag. In this way, the user does not need to operate, so the convenience of filling in the form using the electronic device can be improved.
- FIG1 is a flow chart of a form filling method according to an embodiment of the present application.
- FIG2 is one of the schematic diagrams of an example interface used in a form filling method provided in an embodiment of the present application
- FIG3 is a second schematic diagram of an interface example used in a form filling method provided in an embodiment of the present application.
- FIG4 is a third schematic diagram of an interface example used in a form filling method provided in an embodiment of the present application.
- FIG5 is a schematic diagram of the structure of a form filling device provided in an embodiment of the present application.
- FIG6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- FIG. 7 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
- a form is used for data collection.
- a form has three basic components: form label, form field and form button.
- Form tag used to declare a form and define the scope of collected data; contains the Uniform Resource Locator (URL) of the Common Gateway Interface (CGI) program used to process form data and the method of submitting data to the server.
- URL Uniform Resource Locator
- CGI Common Gateway Interface
- Form fields include text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio buttons, drop-down selection boxes, and file upload boxes.
- Form buttons include submit button, reset button and general button; used to transfer data to CGI script on the server or cancel input. Form buttons can also be used to control other processing tasks that define processing scripts.
- OCR Optical Character Recognition
- Optical character recognition refers to the process by which an electronic device (such as a scanner or digital camera) examines characters printed on paper, determines their shape by detecting dark and light patterns, and then uses character recognition methods to translate the shape into computer text; that is, for printed characters, optically converts the text in a paper document into a black and white dot matrix image file, and uses recognition software to convert the text in the image into a text format for further editing and processing by word processing software. It refers to the process of converting a text image into a machine-readable text format. For example, if you scan a form or receipt, the computer will save the scan as an image file. Then the user cannot use a text editor to edit, search, or count the text in the image file.
- electronic devices can use OCR to convert images into text documents and store the content as text data.
- first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
- the first object can be one or more.
- “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
- the electronic device when a user uses an electronic device to fill in a form, the electronic device needs to first read the user's historical input content, and then after obtaining the information corresponding to the historical input content, the user needs to manually mark the information and store the marked information.
- the electronic device needs to retrieve the marked information and fill the retrieved information corresponding to the form content into the form.
- the user needs to manually mark the information corresponding to the content in sequence and manually input it multiple times before the information can be clearly marked. In this way, in the process of reading the user's historical input content, the user's operation is cumbersome and time-consuming.
- the electronic device when the displayed page includes a form, the electronic device obtains a form tag corresponding to the form one by one; and determines a tag that matches the form tag one by one, so as to determine the tag corresponding to the form tag from the preset association relationship.
- the content corresponding to the tag thereby filling in the corresponding forms based on the content, wherein the preset association relationship is an association relationship between a tag and at least one content; the preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the electronic device, the location information of the electronic device, the information of the file in the electronic device, and the information transmitted by the wearable electronic device.
- the electronic device can obtain the form tag in the form and determine the tag that matches the above form tag one by one from multiple associations, the corresponding forms can be filled in based on the content associated with the above tag. In this way, the user does not need to perform multiple operations, so the convenience of filling in the form using the electronic device can be improved.
- the present application embodiment provides a form filling method.
- the form filling method may include the following steps 201 to 203:
- Step 201 When a displayed page includes a form, the electronic device obtains a form tag corresponding to each form.
- the above-mentioned form may be one or more forms.
- the above-mentioned form tag may be one or more form tags.
- the electronic device first determines the page of the current form (i.e., the form number). For example, when the form page is one page (i.e., one form), it then performs an OCR scan on the entire page of the current form to obtain the form label contained in the form.
- the electronic device first delineates the form area in the form page according to the epidemic prevention and control questionnaire, and the form area is used to determine the area for extracting the form label. Specifically, the form area is determined by making a rectangular transformation box based on the four vertices and four boundary lines of the form, and the area within the rectangular transformation box is the form area.
- the electronic device scans the above-mentioned form area to obtain the corresponding form label 22 in the epidemic prevention and control questionnaire 21, such as "1. Name", "2. Home or work address", "3. Have you been to medium- and high-risk areas within 14 days?" and so on.
- Step 202 The electronic device determines tags that match the form tags one by one, and determines content corresponding to the tags from preset association relationships.
- the preset association relationship is an association relationship between a tag and at least one content.
- the above-mentioned preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the electronic device, location information of the electronic device, information of the file in the electronic device, and information transmitted by the wearable electronic device.
- the above-mentioned preset association relationship may be one or more association relationships contained in a personnel information database pre-stored in the electronic device.
- the above-mentioned label may be a label related to the person and stored in the above-mentioned personnel information database.
- the at least one content may be content corresponding to the tag.
- the above-mentioned personnel information database is the information database of Zhang San.
- the association relationship between "name” (i.e., the above-mentioned label) and "Zhang San” (i.e., the above-mentioned content) is a preset association relationship.
- “mobile phone” (i.e., the above-mentioned label) and "15222222222” and "15333333333” (i.e., the above-mentioned content) are the same.
- the association relationship between two contents is two preset association relationships.
- the electronic device can determine, based on the keywords included in the form tag, a tag that matches the form tag one-to-one from one or more preset association relationships pre-stored in the electronic device.
- the keyword contained in “1. Name” is "name”
- the "name” (that is, the above label) matching the keyword is determined from the information library stored in the electronic device, and the content corresponding to the above "name” (that is, the above label) can be "Zhang San” (that is, the above content).
- the “determining tags that match the form tags one by one” in the above step 202 can be specifically implemented by the following steps 202a to 202c:
- Step 202a The electronic device determines T keywords corresponding to the tag.
- each tag corresponds to at least one keyword
- T is a positive integer
- the above-mentioned label may be a label corresponding to the above-mentioned preset association relationship, wherein one preset association relationship corresponds to one label.
- Step 202b The electronic device determines the target keyword included in the first form tag from the T keywords.
- the first form tag is any one of the at least one form tag.
- the first form tag may be a currently filled form tag.
- the target keyword may be at least one keyword among the T keywords, and may be at least one keyword included in the first form tag.
- Step 202c The electronic device determines the tag corresponding to the target keyword as a tag that matches the first form tag.
- the electronic device can determine the target keywords (namely, "surname” and "given name") contained in the "1.
- Name” label namely, the first form label
- the 16 keywords namely, name, mobile phone, location information, age, address, biometrics, etc.
- the electronic device uses the label corresponding to the target keyword (namely, "name") as the label that matches the first form label.
- Step 203 The electronic device fills in corresponding forms based on the content.
- the content associated with the above tag may be at least one content corresponding to the above tag.
- the electronic device when the displayed page includes a form, the electronic device obtains a form tag corresponding to the form one by one; and determines a tag that matches the form tag one by one, so as to determine the content corresponding to the tag from a preset association relationship; thereby filling the corresponding form based on the content, wherein the preset Assume that the association relationship is an association relationship between a tag and at least one content; the preset association relationship is obtained by at least one of the following: information obtained during the operation of the target application in the electronic device, the location information of the electronic device, the information of the file in the electronic device, and the information transmitted by the wearable electronic device.
- the electronic device can obtain the form tag in the form and determine the tag that matches the above form tag one by one from multiple association relationships, the corresponding form can be filled in based on the content associated with the above tag. In this way, the user does not need to perform multiple operations, so the convenience of filling in the form using the electronic device can be improved.
- the preset association relationship includes a first association relationship
- the first association relationship is obtained by obtaining information during the process of running the target application in the electronic device.
- the form filling method provided in the embodiment of the present application may also include steps 301 to 303:
- Step 301 The electronic device obtains first content while running a target application.
- the first content includes at least one of the following: content input by a user, and user information in a target application.
- the target application may be an application currently running on the electronic device.
- the target application may be any one of the following: an instant messaging application, a short video application, a payment application, a shopping application, etc.
- the above-mentioned user input content is used to indicate that when the user uses the input method to input, the user's current input content is obtained.
- the input content of the above user can be at least one of the following: email address, bank card number, flight number, ID card number, train number, etc.
- the above user information is used to indicate relevant information about the user to which the current electronic device belongs.
- the above user information may be at least one of the following: order information, logistics information, etc.
- the order information may include at least one of the following: order status, consignee, consignee phone number, consignee address, consignee address label (i.e., home, school, workplace, etc.), etc.
- the logistics information may include at least one of the following: logistics status (i.e., to be shipped, shipped, in transit, received, etc.), consignee, receipt time, receipt address, etc.
- Step 302 The electronic device determines a first tag according to the first content.
- the first tag is used to indicate information included in the first content.
- the electronic device taking the first content as the user's input content, if the user's input content is "410511111111" (that is, the first content mentioned above), the electronic device will determine the account "410511111111" as the ID number (that is, the first label mentioned above) based on the content of the input account.
- Step 303 The electronic device establishes an association relationship between the first tag and the first content to obtain a first association relationship.
- the first association relationship is used to indicate an association relationship between the first tag and the first content.
- the first association relationship may be that one first tag corresponds to one first content, or one tag corresponds to multiple first contents.
- the electronic device can obtain the first content and establish the first relationship between the first content and the first tag according to the user input content and/or the user information in the target application during the operation of the target application.
- the connection relationship can be established, so that information content can be obtained in real time during the operation of the target application, so as to improve the timeliness of information collection by the electronic device.
- the above-mentioned preset association relationship includes a second association relationship, and the second association relationship is obtained through the location information of the electronic device.
- the form filling method provided in the embodiment of the present application may also include the following steps 401 to 403:
- Step 401 When the location information of the electronic device changes, the electronic device obtains the changed first coordinate information, first time information and city information.
- the change in the location information is used to indicate that the electronic device has moved from the second location information to the first location information.
- the first location information is the location information after the change
- the second location information is the location information before the change.
- the second location information is different from the first location information.
- the above-mentioned first location information includes at least one of the following: first coordinate information, first time information, and city information, etc.
- the first coordinate information is used to indicate the coordinate information where the first position information is located, for example, north latitude: 22.477°, east longitude: 114.101°.
- the first time information is used to indicate the time information of moving to the first location information, for example, 2022/07/01, 2022/06/01, etc.
- the first city information is used to indicate the city to which the first location information belongs, for example, Xicheng District, Beijing, China, Futian District, Shenzhen, Guangdong, China, etc.
- Step 402 The electronic device generates second content according to the first coordinate information, the first time information, and the city information.
- the second content may be at least one content, and each second content corresponds to a first coordinate information, a first time information and a city information.
- the electronic device generates the second content based on the first coordinate information, the first time information and the first city information.
- the second content can be: 2022/07/01, North Latitude: 22.477°, East Longitude: 114.101°, Futian District, Shenzhen City, Guangdong province, China.
- Step 403 The electronic device establishes an association relationship between the second tag and the second content to obtain a second association relationship.
- the second tag is used to indicate the content included in the second content.
- the second tag may correspond to one or more second contents.
- the second association relationship is used to indicate an association relationship between the second tag and the second content.
- the electronic device can obtain the location change information of the electronic device when its location changes, the second content corresponding to the location change information can be instantly obtained, and a second association relationship between the second tag and the second content can be established to improve the convenience of the electronic device in collecting information.
- the above-mentioned preset association relationship includes a third association relationship
- the third association relationship is Before the above step 201, the form filling method provided by the embodiment of the present application may also include steps 501 to 502:
- Step 501 The electronic device identifies the image file in the electronic device to obtain a third tag.
- the above-mentioned picture file may be any picture file in the electronic device.
- the above-mentioned icon file may be at least one of the following: a screenshot in an instant messaging application, a picture taken by a camera, an ID card picture, etc.
- the electronic device can perform OCR scanning on any image file in its image library, extract text information corresponding to the image file, and determine the third tag based on the text information.
- the third tag is used to indicate information indicated by the image file.
- the electronic device first performs OCR scanning on the ID card image to obtain the text information of the ID card image, that is, name: Zhang San, gender: male, nationality: Han, birth: 1990/04/18, address: No. XXXXXXX1, Chengdu City, Sichuan province, citizen identification number: 5137XXXXXX439X, etc., and then generates a third label based on the text information, for example, ID card - Zhang San, etc.
- Step 502 The electronic device establishes an association relationship between a third tag and a third content to obtain a third association relationship.
- the third content is obtained according to the storage path of the picture file.
- the third content may be the storage path of the picture file.
- the third association relationship is used to indicate the association relationship between the third tag and the third content.
- the electronic device can obtain the third association relationship based on any image file in the gallery, it can quickly fill in the image content when it is necessary to fill in the image form, thereby improving the convenience of filling in the form.
- the above-mentioned preset association relationship includes a fourth association relationship, and the fourth association relationship is obtained through information transmitted by the wearable electronic device.
- the form filling method provided in the embodiment of the present application may also include steps 601 to 603:
- Step 601 The electronic device obtains fourth content when establishing a connection with the wearable electronic device.
- the fourth content is the biometric information of the user. Specifically, the fourth content is obtained based on a wearable device on the user.
- connection may be a wireless connection or a wired connection.
- the wearable electronic device may be any one of the following: a watch, a sports bracelet, etc.
- biometric information may be at least one of the following: body temperature, heart rate, blood pressure, etc.
- Step 602 The electronic device determines a fourth tag according to the fourth content.
- the fourth tag is used to indicate information included in the fourth content.
- the electronic device determines "37 degrees" as the user's body temperature (that is, the fourth label mentioned above).
- Step 603 The electronic device establishes an association relationship between a fourth tag and a fourth content to obtain a fourth association relationship.
- the fourth association relationship is used to indicate the association relationship between the fourth tag and the fourth content. Tie.
- the fourth association relationship may be that one fourth tag is associated with one fourth content, or one fourth tag is associated with multiple fourth contents.
- the electronic device can obtain the fourth content of the user and determine the fourth tag to establish the fourth association relationship when the electronic device is connected to the wearable device, the biometric information of the user can be obtained from the wearable electronic device, thereby improving the diversity of information collected by the electronic device.
- the above-mentioned tags include a fifth tag, and the fifth tag is associated with at least two contents.
- the above-mentioned step 203 can be specifically implemented by the following step 203a:
- Step 203a The electronic device fills the target content among the at least two contents associated with the fifth tag into a form corresponding to the fifth tag.
- the target content is any one of the following: content with the highest selection probability value among at least two contents, and content determined according to user input.
- the fifth tag may be any one of the tags in the user information library.
- the above selection probability is used to indicate the frequency of historical selections by the user.
- the electronic device may select the target content with the highest probability value from the at least two contents, and fill the target content into the form corresponding to the fifth tag.
- the electronic device can determine the target content from the at least two contents according to the user's selection input, and fill the target content into the form corresponding to the fifth tag.
- step 203 can be specifically implemented by the following step 203b:
- Step 203b The electronic device determines the sixth content according to the fifth content and the preset content corresponding to the second form tag.
- the fifth content is the content associated with the sixth tag in the above tags, and the second form tag matches the sixth tag.
- the preset content corresponding to the fifth content may be any one of the following: location information, biometric features, etc.
- the preset content corresponding to the second form label may be any one of the following: "Whether you have been to a high-risk area recently”, “Current body temperature”, “Whether you have had fever symptoms recently”, “Whether you have not left the current city recently”, etc.
- the sixth content may be any one of the following: yes, no, others, etc.
- Step 203c The electronic device fills the sixth content into the form corresponding to the sixth tag.
- the electronic device may determine the sixth content according to the first keyword contained in the fifth content associated with the sixth tag in the tag matches the first keyword contained in the second form tag. Then fill the sixth content into the form corresponding to the sixth label.
- the form filling method provided in the embodiment of the present application can be executed by a form filling device.
- the form filling device provided in the embodiment of the present application is described by taking the form filling method executed by the form filling device as an example.
- the form filling device 400 includes: an acquisition module 401, a determination module 402 and a filling module 403.
- the acquisition module is used to obtain a form tag corresponding to the form in a one-to-one manner when the displayed page includes a form;
- the determination module is used to determine a tag that matches the form tag obtained by the acquisition module one-to-one, and determine the content corresponding to the tag from a preset association relationship, wherein the preset association relationship is an association relationship between a tag and at least one content;
- the filling module is used to fill the corresponding form based on the content associated with the tag determined by the determination module; wherein the preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the electronic device, location information of the electronic device, information of files in the electronic device, and information transmitted by the wearable electronic device.
- the preset association relationship includes a first association relationship, and the first association relationship is obtained through information obtained during the process of running the target application in the electronic device.
- the device also includes: a processing module; an acquisition module, which is also used to obtain first content during the process of the electronic device running the target application, and the first content includes at least one of the following: content input by the user, user information in the target application; a determination module, which is also used to determine a first tag based on the first content obtained by the acquisition module; a processing module, which is used to establish an association relationship between the first tag determined by the determination module and the first content obtained by the acquisition module to obtain the first association relationship.
- the preset association relationship includes a second association relationship, and the second association relationship is obtained through the location information of the electronic device;
- the acquisition module is also used to obtain the changed first coordinate information, first time information and city information number when the location information of the electronic device changes;
- the processing module is also used to generate second content according to the first coordinate information, first time information and city information obtained by the acquisition module, and each second content corresponds to a first coordinate information, a first time information and a city information; and establish an association relationship between the second tag and the second content to obtain a second association relationship.
- the preset association relationship includes a third association relationship, and the third association relationship is obtained through information of files in the electronic device; the processing module is also used to identify the image file in the electronic device to obtain a third tag; and establish an association relationship between the third tag and the third content to obtain a third association relationship; wherein the third content is obtained based on the storage path of the image file.
- the preset association relationship includes a fourth association relationship, and the fourth association relationship is obtained through information transmitted by the wearable electronic device; the acquisition module is also used to acquire fourth content when establishing a connection with the wearable electronic device, and the fourth content is the user's biometric information; the determination module is also used to determine a fourth tag based on the fourth content acquired by the acquisition module; the processing module is also used to establish an association relationship between the fourth tag acquired by the acquisition module and the fourth content determined by the determination module to obtain a fourth association relationship.
- the determination module is specifically used to determine T keywords corresponding to the tag, each tag corresponding to at least one keyword; and from the T keywords, determine the target keyword contained in the first form tag, the first form tag is any one of the form tags; and determine the tag corresponding to the target keyword as the first form Tags The tags that match.
- the label includes a fifth label, and the fifth label is associated with at least two contents; a filling module is specifically used to fill in the target content among the at least two contents associated with the fifth label into the form corresponding to the fifth label; wherein the target content is any one of the following: the content with the highest selection probability value among the at least two contents, and the content determined according to user input.
- a determination module is specifically used to determine the sixth content based on the fifth content and the preset content corresponding to the second form tag, the fifth content is the content associated with the sixth tag in the tag, and the second form tag matches the sixth tag; a filling module is specifically used to fill the sixth content determined by the determination module into the form corresponding to the sixth tag.
- the form filling device when the displayed page includes a form, the form filling device obtains a form tag corresponding to the form one by one; and determines a tag that matches the form tag one by one from a preset association relationship; thereby filling the corresponding forms based on the content associated with the tag, wherein the preset association relationship is an association relationship between a tag and at least one content, and the preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the form filling device, location information of the form filling device, information of the file in the form filling device, and information transmitted by the wearable form filling device.
- the form filling device can obtain the form tag in the form and determine the tag that matches the above-mentioned form tag one by one from multiple association relationships, so as to fill the corresponding forms based on the content associated with the above-mentioned tag. In this way, the user does not need to operate, so the convenience of filling the form using the form filling device can be improved.
- the form filling device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
- the electronic device can be a terminal or other devices other than a terminal.
- the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
- NAS Network Attached Storage
- PC personal computer
- TV television
- teller machine a self-service machine
- the form filling device in the embodiment of the present application may be a device having an operating system.
- the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the form filling device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 4. To avoid repetition, they will not be described here.
- the embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores a program or instruction that can be run on the processor 601, and when the program or instruction is executed by the processor 601, each step of the above-mentioned form filling method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 7 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
- a power source such as a battery
- the electronic device structure shown in FIG7 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
- the above-mentioned processor 110 is used to obtain a form tag corresponding to the form one by one when the displayed page includes a form; and determine a tag that matches the form tag one by one from the preset association relationship, each association relationship is an association relationship between a tag and at least one content; and fill in the corresponding form based on the content associated with the tag determined by the determination module; wherein the preset association relationship is obtained through at least one of the following: information obtained during the operation of the target application in the electronic device, the location information of the electronic device, the information of the file in the electronic device, and the information transmitted by the wearable electronic device.
- the preset association relationship includes a first association relationship
- the first association relationship is obtained through information obtained during the process of running the target application in the electronic device.
- the above-mentioned processor 110 is also used to obtain first content during the process of the electronic device running the target application, and the first content includes at least one of the following: content input by the user, user information in the target application; and determine a first tag based on the first content obtained by the acquisition module; and establish an association relationship between the first tag determined by the determination module and the first content obtained by the acquisition module to obtain the first association relationship.
- the preset association relationship includes a second association relationship, and the second association relationship is obtained through the location information of the electronic device; the processor 110 is also used to obtain the changed first coordinate information, first time information and city information when the location information of the electronic device changes; and generate second content according to the first coordinate information, first time information and city information obtained by the acquisition module, each second content corresponds to a first coordinate information, a first time information and a city information; and establish an association relationship between the second tag and the second content to obtain a second association relationship.
- the preset association relationship includes a third association relationship, and the third association relationship is obtained through information of files in the electronic device; the processor 110 is also used to identify the image file in the electronic device to obtain a third tag; and establish an association relationship between the third tag and the third content to obtain a third association relationship; wherein the third content is obtained based on the storage path of the image file.
- the preset association relationship includes a fourth association relationship
- the fourth association relationship is The processor 110 is further used to obtain a fourth content when establishing a connection with the wearable electronic device, where the fourth content is the biometric information of the user; and determine a fourth tag based on the fourth content obtained by the acquisition module; and establish an association relationship between the fourth tag obtained by the acquisition module and the fourth content determined by the determination module to obtain a fourth association relationship.
- the processor 110 is specifically used to determine T keywords corresponding to a preset tag, each tag corresponding to at least one keyword; and determine a target keyword contained in a first form tag from the T keywords, the first form tag being any one of the form tags; and determine the tag corresponding to the target keyword as a tag matched by the first form tag.
- the tag includes a fifth tag, and the fifth tag is associated with at least two contents; the processor 110 is specifically used to fill in the target content among the at least two contents associated with the fifth tag into the form corresponding to the fifth tag; wherein the target content is any one of the following: the content with the highest selection probability value among the at least two contents, and the content determined according to the user input.
- the processor 110 is specifically used to determine the sixth content based on the fifth content and the preset content corresponding to the second form tag, the fifth content is the content associated with the sixth tag in the tag, and the second form tag matches the sixth tag; and fill the sixth content determined by the determination module into the form corresponding to the sixth tag.
- the electronic device can obtain the form tag in the form, determine the tag that matches the above form tag one by one from multiple association relationships, and fill the corresponding form based on the content associated with the above tag. In this way, the user does not need to operate, so the convenience of using the electronic device to fill in the form can be improved.
- the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072.
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts: a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the memory 109 can be used to store software programs and various data.
- the memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
- the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be a random access memory (RAM), a static random access memory (EEPROM), or a flash memory.
- RAM random access memory
- EEPROM electrically erasable programmable read-only memory
- flash memory a flash memory.
- the volatile memory may be a random access memory (RAM), a static random access memory (EEPROM), or a flash memory.
- RAM random access memory
- EEPROM electrically erasable programmable read-only memory
- the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- the various processes of the above-mentioned form filling method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is the processor in the electronic device in the above embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned form filling method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
- An embodiment of the present application provides a computer program product, which is stored in a storage medium.
- the program product is executed by at least one processor to implement the various processes of the above-mentioned form filling method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the above embodiment method can be implemented by means of software plus a necessary general hardware platform, or by hardware, but in many cases the former is a better implementation method.
- the technical solution of the present application is essentially or in other words, a modification of the prior art.
- the contributed part may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, disk, CD), and includes a number of instructions for enabling a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种表单填充方法、装置、电子设备及介质,属于电子技术领域。该表单填充方法包括:在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;确定出与表单标签一一匹配的标签,并从预设关联关系中,确定出与标签对应的内容,预设关联关系为一个标签和至少一个内容间的关联关系;基于内容,分别填充对应的表单;其中,预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。
Description
相关申请的交叉引用
本申请要求在2022年10月27日提交中国专利局、申请号为202211325745.6、名称为“表单填充方法、装置、电子设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请属于电子技术领域,具体涉及一种表单填充方法、装置、电子设备及介质。
通常,在用户使用电子设备进行表单填充的情况下,电子设备需要先读取用户历史输入内容,然后在获取到该历史输入内容对应的信息以后,需要用户对该信息进行手动标记,并将标记后的信息进行存储,在需要填充表单的情况下,则需要电子设备对标记后的信息进行检索并将检索到的与表单内容对应的信息填充到该表单中。
但是,如果需要读取的内容较多且较复杂的情况下,需要用户手动对该内容对应的信息进行依次标记,并进行多次手动输入,才可以将该信息标记清楚,如此,在读取用户历史输入内容的过程中,用户的操作比较繁琐、且耗时。
因此,导致使用电子设备填充表单的便捷性较低。
发明内容
本申请实施例的目的是提供一种表单填充方法、装置、电子设备及介质,能够解决导致使用电子设备填充表单的便捷性较低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种表单填充方法,该方法包括:在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;确定出与表单标签一一匹配的标签,并从预设关联关系中,确定出与标签对应的内容,预设关联关系为一个标签和至少一个内容间的关联关系;基于内容,分别填充对应的表单;其中,预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。
第二方面,本申请实施例提供了一种表单填充装置,该装置包括:获取模块、确定模块和填充模块;获取模块,用于在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;确定模块,用于确定出与表单标签一一匹配的标签,并从预设关联关系中,确定出与标签对应的内容,预设关联关系为一个标签和至少一个内容间的关联关系;填充模块,用于基于内容,分别填充对应的表单;其中,预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信
息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的方法。
第七方面,本申请实施例提供一种电子设备,所述电子设备被配置成用于执行如第一方面所述的方法。
在本申请实施例中,电子设备在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;并确定出与表单标签一一匹配的标签,以从预设关联关系中,确定出与标签对应的内容;从而基于内容,分别填充对应的表单,其中,预设关联关系为一个标签和至少一个内容间的关联关系;预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。由于电子设备可以通过获取表单中的表单标签,并从多个关联关系中确定与上述表单标签一一匹配的标签,以基于上述标签关联的内容,分别填充对应的表单。如此,并不需要用户进行操作,因此,可以提升使用电子设备填充表单的便捷性。
图1是本申请实施例提供的一种表单填充方法的流程示意图之一;
图2是本申请实施例提供的一种表单填充方法所应用的界面实例示意图之一;
图3是本申请实施例提供的一种表单填充方法所应用的界面实例示意图之二;
图4是本申请实施例提供的一种表单填充方法所应用的界面实例示意图之三;
图5是本申请实施例提供的一种表单填充装置的结构示意图;
图6是本申请实施例提供的一种电子设备的结构示意图;
图7是本申请实施例提供的一种电子设备的硬件示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
以下将对本申请实施例涉及的术语进行说明。
1、表单
表单是用来做数据采集的,一个表单有三个基本组成部分:表单标签,表单域和表单按钮。
表单标签:用于申明表单,定义采集数据的范围;包含了处理表单数据所用公共网关接口(Common Gateway Interface,CGI)程序的统一资源定位系统(Uniform Resource Locator,URL)以及数据提交到服务器的方法。
表单域:包含了文本框、密码框、隐藏域、多行文本框、复选框、单选框、下拉选择框和文件上传框等。
表单按钮:包括提交按钮、复位按钮和一般按钮;用于将数据传送到服务器上的CGI脚本或者取消输入,还可以用表单按钮来控制其他定义了处理脚本的处理工作。
2、光学字符识别(Optical Character Recognition,OCR)
光学字符识别是指电子设备(例如扫描仪或数码相机)检查纸上打印的字符,通过检测暗、亮的模式确定其形状,然后用字符识别方法将形状翻译成计算机文字的过程;即,针对印刷体字符,采用光学的方式将纸质文档中的文字转换成为黑白点阵的图像文件,并通过识别软件将图像中的文字转换成文本格式,供文字处理软件进一步编辑加工的技术。是指将文本图像转换为机器可读文本格式的流程。例如,如果扫描一个表单或收据,则计算机会将扫描保存为图像文件。则用户无法使用文本编辑器对图像文件中的文字进行编辑、搜索或计数。但是,电子设备可以使用OCR将图像转换为文本文档并将内容存储为文本数据。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的表单填充方法、装置、电子设备及介质进行详细地说明。
在相关技术中,在用户使用电子设备进行表单填充的情况下,电子设备需要先读取用户历史输入内容,然后在获取到该历史输入内容对应的信息以后,需要用户对该信息进行手动标记,并将标记后的信息进行存储,在需要填充表单的情况下,则需要电子设备对标记后的信息进行检索并将检索到的与表单内容对应的信息填充到该表单中。然而,如果需要读取的内容较多且较复杂的情况下,需要用户手动对该内容对应的信息进行依次标记,并进行多次手动输入,才可以将该信息标记清楚,如此,在读取用户历史输入内容的过程中,用户的操作比较繁琐、且耗时。
在本申请实施例中,电子设备在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;并确定出与表单标签一一匹配的标签,以从预设关联关系中,确定出与
标签对应的内容;从而基于内容,分别填充对应的表单,其中,预设关联关系为一个标签和至少一个内容间的关联关系;预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。由于电子设备可以通过获取表单中的表单标签,并从多个关联关系中确定与上述表单标签一一匹配的标签,以基于上述标签关联的内容,分别填充对应的表单。如此,并不需要用户进行多次操作,因此,可以提升使用电子设备填充表单的便捷性。
本申请实施例提供一种表单填充方法,如图1所示,该表单填充方法可以包括如下步骤201至步骤203:
步骤201、电子设备在显示的页面中包括表单的情况下,获取表单一一对应的表单标签。
示例性地,上述表单可以为一个或者多个表单。
示例性地,上述表单标签可以为一个或者多个表单标签。
在申请实施例中,电子设备先确定当前表单的页面(即表单个数),例如,在表单页面为一页的情况下(即一个表单),再对当前一个表单的整个页面进行OCR扫描,获取该表单中包含的表单标签。
举例说明,如图2所示,以电子设备显示疫情防控调查表(即上述一个表单)为例,电子设备先根据该疫情防控调查表划定出表单页面中的表单区域,该表单区域用于确定提取表单标签的区域。具体地,该表单区域的确定是基于表单的四个顶点和四条边界线做一个矩形变换框,该矩形变换框以内的区域即为表单区域。电子设备扫描上述表单区域,获取该疫情防控调查表21中对应的表单标签22,例如“1、姓名”、“2、家庭或者工作地址”、“3、14日内是否去过中高风险地区?”等。
步骤202、电子设备确定出与表单标签一一匹配的标签,并从预设关联关系中,确定出与标签对应的内容。
其中,上述预设关联关系为一个标签和至少一个内容间的关联关系。
在本申请实施例中,上述预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。
示例性地,上述预设关联关系可以为电子设备中预先存储的人员信息库中包含的一个或者多个关联关系。
示例性地,上述标签可以为上述人员信息库中存储的与该人员有关的标签。
示例性地,上述至少一个内容可以为与上述标签对应的内容。
举例说明,如图3所示,以上述人员信息库为张三的信息库为例,在该信息库中,“姓名”(即上述标签)与“张三”(即上述一个内容)之间的关联关系即为一个预设关联关系。而“手机”(即上述标签)与“15222222222”和“15333333333”(即上述
两个内容)之间的关联关系为两个预设关联关系。
在本申请实施例中,电子设备可以根据表单标签中包含的关键字,从该电子设备预先存储的一个或者多个预设关联关系中,确定出与表单标签一一匹配的标签。
举例说明,以“1、姓名”为上述表单标签为例,则与该“1、姓名”中包含的关键字为“姓名”,则从电子设备存储的信息库中确定与该关键字匹配的“姓名”(即上述标签),而与上述“姓名”(即上述标签)对应的一个内容可以为“张三”(即上述一个内容)。
以下将如何确定出与表单标签一一匹配的标签。
可选地,本申请实施例中,上述步骤202中的“确定出与表单标签一一匹配的标签”,具体可以通过下述步骤202a至步骤202c实现:
步骤202a、电子设备确定标签对应的T个关键字。
其中,每个标签对应至少一个关键字,T为正整数。
示例性地,上述标签可以为上述预设关联关系对应的标签,其中,一个预设关联关系对应一个标签。
步骤202b、电子设备从T个关键字中,确定第一表单标签包含的目标关键字。
其中,第一表单标签为至少一个表单标签中的任一个。具体地,上述第一表单标签可以为当前填充的表单标签。
示例性地,上述目标关键字可以为T个关键字中至少一个关键字,并且是第一表单标签中包含的至少一个关键字。
步骤202c、电子设备将目标关键字对应的标签,确定为第一表单标签匹配的标签。
举例说明,结合图2,如图3所示,以第一表单标签为“1、姓名”为例,电子设备可以从本人信息库中的6个标签(即“姓名”、“手机”、“位置信息”、“年龄”、“地址”、“生物特征”等)对应的16个关键字(即姓名手机位置信息年龄地址生物特征”等)中,确定该“1、姓名”标签(即上述第一表单标签)包含的目标关键字(即“姓”和“名”),则电子设备根据该目标关键字,将该目标关键字对应的标签(即“姓名”),作为与上述第一表单标签匹配的标签。
步骤203、电子设备基于内容,分别填充对应的表单。
示例性地,上述标签关联的内容可以为上述标签对应的至少一个内容。
举例说明,结合图3,如图2所示,以表单为疫情防控调查表为例,电子设备在确定与该表单中的3个表单标签22(即“1、姓名”、“2、家庭或者工作地址”、“3、14日内是否去过中高风险地区?”)匹配的3个标签(即“姓名”、“地址”、“位置信息”)之后,将该3个标签关联的内容填入该表单标签22对应的标签域23中。
在本申请实施例提供的表单填充方法中,电子设备在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;并确定出与表单标签一一匹配的标签,以从预设关联关系中,确定出与标签对应的内容;从而基于内容,分别填充对应的表单,其中,预
设关联关系为一个标签和至少一个内容间的关联关系;预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。由于电子设备可以通过获取表单中的表单标签,并从多个关联关系中确定与上述表单标签一一匹配的标签,以基于上述标签关联的内容,分别填充对应的表单。如此,并不需要用户进行多次操作,因此,可以提升使用电子设备填充表单的便捷性。
可选地,在本申请实施例中,上述预设关联关系包括第一关联关系,第一关联关系是通过运行电子设备中的目标应用的过程中获取的信息得到的。上述步骤201之前,本申请实施例提供的表单填充方法还可以包括步骤301至步骤303:
步骤301、电子设备在电子设备运行目标应用的过程中,获取第一内容。
其中,第一内容包括以下至少一项:用户输入的内容、目标应用中的用户信息。
示例性地,上述目标应用可以为电子设备当前运行的应用。具体地,上述目标应用可以为以下任一项:即时聊天类应用、短视频类应用、支付类应用、购物类应用等。
示例性地,上述用户输入的内容用于指示在用户使用输入法进行输入时,获取用户当前的输入内容。
具体地,上述用户的输入内容可以为以下至少一项:邮箱地址、银行卡号、航班号、身份证号、列车车次号等。
示例性地,上述用户信息用于指示与当前电子设备所属用户的相关信息。
具体地,上述用户信息可以为以下至少一项:订单信息、物流信息等。
其中,上述订单信息可以为以下至少一项:订单状态、收货人、收货人电话、收货人地址、收货人地址标签(即家、学校、单位等)等。上述物流信息可以为以下至少一项:物流状态(即待发货、已发货、运输中、已签收等)、签收人、签收时间、签收地址等。
步骤302、电子设备根据第一内容,确定第一标签。
示例性地,上述第一标签用于指示上述第一内容所包含的信息。
举例说明,以第一内容为用户的输入内容为例,若该用户的输入内容为“410511111111”(即上述第一内容),则电子设备根据输入账号的内容,将该账号“410511111111”确定为身份证号(即上述第一标签)。
步骤303、电子设备建立第一标签和第一内容间的关联关系,得到第一关联关系。
示例性地,上述第一关联关系用于指示上述第一标签与上述第一内容之间的关联关系。
示例性地,上述第一关联关系可以为一个第一标签对应一个第一内容,也可以为一个标签对应多个第一内容。
如此可知,由于电子设备可以在运行目标应用的过程中,根据用户的输入内容和/或该目标应用中的用户信息,获取第一内容,并建立第一内容和第一标签之间的第一关
联关系,从而可以在运行目标应用程序的过程中即时获取信息内容,以提升电子设备采集信息的及时性。
可选地,在本申请实施例中,上述预设关联关系包括第二关联关系,第二关联关系是通过电子设备的位置信息得到的。上述步骤201之前,本申请实施例提供的表单填充方法还可以包括如下步骤401至步骤403:
步骤401、在电子设备的位置信息发生变化的情况下,电子设备获取变化后的第一坐标信息、第一时间信息以及城市信息。
示例性地,上述位置信息变化用于指示电子设备从第二位置信息移动至第一位置信息。具体地,上述第一位置信息为变化后的位置信息,上述第二位置信息为变化前的位置信息。
示例性地,上述第二位置信息与第一位置信息不同。
具体地,上述第一位置信息包括以下至少一项:第一坐标信息、第一时间信息以及城市信息等。
示例性地,上述第一坐标信息用于指示第一位置信息所在的坐标信息,例如,北纬:22.477°,东经:114.101°。
示例性地,上述第一时间信息用于指示移动至第一位置信息所处的时间信息,例如,2022/07/01,2022/06/01等。
示例性地,上述第一城市信息用于指示第一位置信息所属的城市,例如,中国北京市西城区,中国广东省深圳市福田区等。
步骤402、电子设备根据第一坐标信息、第一时间信息以及城市信息,生成第二内容。
其中,上述第二内容可以为至少一个内容,每个第二内容对应一个第一坐标信息、一个第一时间信息以及一个城市信息。
在本申请实施例中,电子设备基于第一坐标信息、第一时间信息以及第一城市信息,生成第二内容。
举例说明,第二内容可以为:2022/07/01、北纬:22.477°、东经:114.101°、中国广东省深圳市福田区。
步骤403、电子设备建立第二标签和第二内容间的关联关系,得到第二关联关系。
示例性地,上述第二标签用于指示第二内容所包含的内容。
示例性地,上述第二标签可以对应一个或多个第二内容。
示例性地,上述第二关联关系用于指示第二标签与第二内容之间的关联关系。
如此可知,由于电子设备可以在其位置发生变化的情况下,获取电子设备的位置变化信息,从而可以即时获取位置变化信息对应的第二内容,并建立第二标签与第二内容的第二关联关系,以提升电子设备采集信息的便捷性。
可选地,本申请实施例中,上述预设关联关系包括第三关联关系,第三关联关系是
通过电子设备中的文件的信息得到的。上述步骤201之前,本申请实施例提供的表单填充方法还可以包括步骤501至步骤502:
步骤501、电子设备对电子设备中的图片文件进行识别,得到第三标签。
示例性地,上述图片文件可以为电子设备中的任意一个图片文件。具体地,上述图标文件可以为以下至少一项:即时通讯应用中的截图、摄像头拍摄的图片、身份证图片等。
在本申请实施例中,电子设备可以对其图片库内的任意一个图片文件进行OCR扫描,提取该图片文件对应的文本信息,并基于该文本信息,确定第三标签。
示例性地,上述第三标签用于指示与上述图片文件指示的信息。
举例说明,如图4为例,以图片文件为身份证图片为例,电子设备先对该身份证图片进行OCR扫描,得到该身份证图片的文本信息,即,姓名:张三,性别:男,民族:汉,出生:1990/04/18,住址:四川省成都市XXXXXXXX1号,公民身份号码:5137XXXXXXX439X等,再基于该文本信息生成第三标签,例如,身份证—张三等。
步骤502、电子设备建立第三标签和第三内容间的关联关系,得到第三关联关系。
其中,上述第三内容是根据图片文件的存储路径得到的。具体地,上述第三内容可以为图片文件的存储路径。
示例性地,第三关联关系用于指示上述第三标签与上述第三内容之间的关联关系。
如此可知,由于电子设备可以基于图库中的任意一个图片文件,得到第三关联关系,从而可以在需要填充图片表单的情况下,快速填充图片内容,从而提升填充表单的便捷性。
可选地,本申请实施例中,上述预设关联关系包括第四关联关系,第四关联关系是通过可穿戴电子设备传输的信息得到的。上述步骤201之前,本申请实施例提供的表单填充方法还可以包括步骤601至步骤603:
步骤601、电子设备在与可穿戴电子设备建立连接的情况下,获取第四内容。
其中,第四内容为用户的生物特征信息。具体地,上述第四内容是基于用户身上的可穿戴设备获取的。
示例性地,上述连接可以为无线连接或者有线连接。
示例性地,上述可穿戴电子设备可以为以下任意一项:手表、运动手环等。
示例性地,上述生物特征信息可以为以下至少一项:体温、心率、血压等。
步骤602、电子设备根据第四内容,确定第四标签。
示例性地,上述第四标签用于指示第四内容所包含的信息。
举例说明,若电子设备通过手表(即上述可穿戴设备),获取到用户的体温为37度(即上述第四内容),则电子设备根据“37度”确定为用户的体温(即上述第四标签)。
步骤603、电子设备建立第四标签和第四内容间的关联关系,得到第四关联关系。
示例性地,上述第四关联关系用于指示上述第四标签与上述第四内容之前的关联关
系。
示例性地,上述第四关联关系可以为一个第四标签关联一个第四内容,也可以为一个第四标签关联多个第四内容。
如此可知,由于电子设备可以在与可穿戴设备建立连接的情况下,获取用户的第四内容,并确定第四标签,以建立第四关联关系。这样可以从可穿戴电子设备中获取用户的生物特征信息,从而可以提升电子设备采集信息的多样性。
可选地,本申请实施例中,上述标签中包括第五标签,第五标签关联至少两个内容。上述步骤203具体可以通过下述步骤203a实现:
步骤203a、电子设备将第五标签关联的至少两个内容中的目标内容,填入第五标签对应的表单中。
其中,目标内容为以下任一项:至少两个内容中的选择概率值最高的内容、根据用户输入确定的内容。
示例性地,上述第五标签可以为用户信息库中的上述标签中的任意一个标签。
示例性地,上述选择概率用于指示用户历史选择的频率。
一种示例中,在第五标签对应至少两个内容的情况下,电子设备可以从该至少两个内容中将选择概率值最高的目标内容,并将该目标内容填入第五标签对应的表单中。
举例说明,如图3所示,在“手机”(即上述第五标签)对应两个电话号码(即上述至少两个内容),例如“15222222222(概率0.8)”“15333333333(概率0.2)”,则电子设备会将“15222222222”作为目标内容,填入“手机”对应的表单中。
另一种示例中,在在第五标签对应至少两个内容的情况下,电子设备可以根据用户的选择输入,从该至少两个内容中确定出目标内容,并将该目标内容填入第五标签对应的表单中。
可选地,本申请实施例中,上述步骤203具体可以通过下述步骤203b实现:
步骤203b、电子设备根据第五内容和第二表单标签对应的预设内容,确定第六内容。
其中,第五内容为上述标签中的第六标签关联的内容,第二表单标签与第六标签匹配。
示例性地,上述第五内容对应的预设内容可以为以下任意一项:位置信息、生物特征等。
示例性地,上述第二表单标签对应的预设内容可以为以下任意一项:“最近是否到过高危区域”、“当前体温”、“最近是否有发烧症状”、“最近是否未离开当前城市”等。
示例性地,上述第六内容可以为以下任意一项:是、否、其他等。
步骤203c、电子设备将第六内容填入第六标签对应的表单中。
在本申请实施例中,电子设备可以根据标签中的第六标签关联的第五内容所包含的第一关键字与上述第二表单标签中所包含的第一关键字匹配的情况下,确定第六内容,
然后将第六内容填入第六标签对应的表单中。
本申请实施例提供的表单填充方法,执行主体可以为表单填充装置。本申请实施例中以表单填充装置执行表单填充方法为例,说明本申请实施例提供的表单填充装置。
本申请实施例提供一种表单填充装置,如图5所示,该表单填充装置400包括:获取模块401、确定模块402和填充模块403。获取模块,用于在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;确定模块,用于确定出与获取模块获取的表单标签一一匹配的标签,并从预设关联关系中,确定出与标签对应的内容,预设关联关系为一个标签和至少一个内容间的关联关系;填充模块,用于基于确定模块确定的标签关联的内容,分别填充对应的表单;其中,预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。
可选地,在本申请实施例中,预设关联关系包括第一关联关系,第一关联关系是通过运行电子设备中的目标应用的过程中获取的信息得到的,装置还包括:处理模块;获取模块,还用于在电子设备运行目标应用的过程中,获取第一内容,第一内容包括以下至少一项:用户输入的内容、目标应用中的用户信息;确定模块,还用于根据获取模块获取的第一内容,确定第一标签;处理模块,用于建立确定模块确定的第一标签和获取模块获取的第一内容间的关联关系,得到第一关联关系。
可选地,在本申请实施例中,预设关联关系包括第二关联关系,第二关联关系是通过电子设备的位置信息得到的;获取模块,还用于在电子设备的位置信息发生变化的情况下,获取变化后的第一坐标信息、第一时间信息以及城市信息数;处理模块,还用于根据获取模块获取的第一坐标信息、第一时间信息以及城市信息,生成第二内容,每个第二内容对应一个第一坐标信息、一个第一时间信息以及一个城市信息;并建立第二标签和第二内容间的关联关系,得到第二关联关系。
可选地,在本申请实施例中,预设关联关系包括第三关联关系,第三关联关系是通过电子设备中的文件的信息得到的;处理模块,还用于对电子设备中的图片文件进行识别,得到第三标签;并建立第三标签和第三内容间的关联关系,得到第三关联关系;其中,第三内容是根据图片文件的存储路径得到的。
可选地,在本申请实施例中,预设关联关系包括第四关联关系,第四关联关系是通过可穿戴电子设备传输的信息得到的;获取模块,还用于在与可穿戴电子设备建立连接的情况下,获取第四内容,第四内容为用户的生物特征信息;确定模块,还用于根据获取模块获取的第四内容,确定第四标签;处理模块,还用于建立获取模块获取的第四标签和确定模块确定的第四内容间的关联关系,得到第四关联关系。
可选地,在本申请实施例中,确定模块,具体用于确定标签对应的T个关键字,每个标签对应至少一个关键字;并从T个关键字中,确定第一表单标签包含的目标关键字,第一表单标签为表单标签中的任一个;以及将目标关键字对应的标签,确定为第一表单
标签匹配的标签。
可选地,在本申请实施例中,标签中包括第五标签,第五标签关联至少两个内容;填充模块,具体用于将第五标签关联的至少两个内容中的目标内容,填入第五标签对应的表单中;其中,目标内容为以下任一项:至少两个内容中的选择概率值最高的内容、根据用户输入确定的内容。
可选地,在本申请实施例中,确定模块,具体用于根据第五内容和第二表单标签对应的预设内容,确定第六内容,第五内容为标签中的第六标签关联的内容,第二表单标签与第六标签匹配;填充模块,具体用于将确定模块确定的第六内容填入第六标签对应的表单中。
在本申请实施例提供的表单填充装置中,表单填充装置在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;并从预设关联关系中,确定出与表单标签一一匹配的标签;从而基于标签关联的内容,分别填充对应的表单,其中,预设关联关系为一个标签和至少一个内容间的关联关系,预设关联关系是通过以下至少一项得到的:运行表单填充装置中的目标应用的过程中获取的信息、表单填充装置的位置信息、表单填充装置中的文件的信息、可穿戴表单填充装置传输的信息。由于表单填充装置可以通过获取表单中的表单标签,并从多个关联关系中确定与上述表单标签一一匹配的标签,以基于上述标签关联的内容,分别填充对应的表单。如此,并不需要用户进行操作,因此,可以提升使用表单填充装置填充表单的便捷性。
本申请实施例中的表单填充装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的表单填充装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的表单填充装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601和存储器602,存储器602上存储有可在处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述表单填充方法实施例的各个步骤,且能达到相同的技术效果,
为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图7为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,上述处理器110,用于在显示的页面中包括表单的情况下,获取表单一一对应的表单标签;并从预设关联关系中,确定出与表单标签一一匹配的标签,每个关联关系为一个标签和至少一个内容间的关联关系;以及基于确定模块确定的标签关联的内容,分别填充对应的表单;其中,预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、电子设备的位置信息、电子设备中的文件的信息、可穿戴电子设备传输的信息。
可选地,在本申请实施例中,预设关联关系包括第一关联关系,第一关联关系是通过运行电子设备中的目标应用的过程中获取的信息得到的,上述处理器110,还用于在电子设备运行目标应用的过程中,获取第一内容,第一内容包括以下至少一项:用户输入的内容、目标应用中的用户信息;并根据获取模块获取的第一内容,确定第一标签;以及建立确定模块确定的第一标签和获取模块获取的第一内容间的关联关系,得到第一关联关系。
可选地,在本申请实施例中,预设关联关系包括第二关联关系,第二关联关系是通过电子设备的位置信息得到的;处理器110,还用于在电子设备的位置信息发生变化的情况下,获取变化后的第一坐标信息、第一时间信息以及城市信息;并根据获取模块获取的第一坐标信息、第一时间信息以及城市信息,生成第二内容,每个第二内容对应一个第一坐标信息、一个第一时间信息以及一个城市信息;以及建立第二标签和第二内容间的关联关系,得到第二关联关系。
可选地,在本申请实施例中,预设关联关系包括第三关联关系,第三关联关系是通过电子设备中的文件的信息得到的;处理器110,还用于对电子设备中的图片文件进行识别,得到第三标签;并建立第三标签和第三内容间的关联关系,得到第三关联关系;其中,第三内容是根据图片文件的存储路径得到的。
可选地,在本申请实施例中,预设关联关系包括第四关联关系,第四关联关系是通
过可穿戴电子设备传输的信息得到的;上述处理器110,还用于在与可穿戴电子设备建立连接的情况下,获取第四内容,第四内容为用户的生物特征信息;并根据获取模块获取的第四内容,确定第四标签;以及建立获取模块获取的第四标签和确定模块确定的第四内容间的关联关系,得到第四关联关系。
可选地,在本申请实施例中,处理器110,具体用于确定预设标签对应的T个关键字,每个标签对应至少一个关键字;并从T个关键字中,确定第一表单标签包含的目标关键字,第一表单标签为表单标签中的任一个;以及将目标关键字对应的标签,确定为第一表单标签匹配的标签。
可选地,在本申请实施例中,标签中包括第五标签,第五标签关联至少两个内容;处理器110,具体用于将第五标签关联的至少两个内容中的目标内容,填入第五标签对应的表单中;其中,目标内容为以下任一项:至少两个内容中的选择概率值最高的内容、根据用户输入确定的内容。
可选地,在本申请实施例中,处理器110,具体用于根据第五内容和第二表单标签对应的预设内容,确定第六内容,第五内容为标签中的第六标签关联的内容,第二表单标签与第六标签匹配;并将确定模块确定的第六内容填入第六标签对应的表单中。
在本申请实施例提供的表单填充方法中,由于电子设备可以通过获取表单中的表单标签,并从多个关联关系中确定与上述表单标签一一匹配的标签,并基于上述标签关联的内容,分别填充对应的表单。如此,并不需要用户进行操作,因此,可以提升使用电子设备填充表单的便捷性。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随
机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述表单填充方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述表单填充方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述表单填充方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术
做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (21)
- 一种表单填充方法,其中,所述方法包括:在显示的页面中包括表单的情况下,获取所述表单一一对应的表单标签;确定出与所述表单标签一一匹配的标签,并从预设关联关系中,确定出与所述标签对应的内容,所述预设关联关系为一个标签和至少一个内容间的关联关系;基于所述内容,分别填充对应的所述表单;其中,所述预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、所述电子设备的位置信息、所述电子设备中的文件的信息、可穿戴电子设备传输的信息。
- 根据权利要求1所述的方法,其中,所述预设关联关系包括第一关联关系,所述第一关联关系是通过运行所述电子设备中的所述目标应用的过程中获取的信息得到的;所述在显示的目标页面中包括表单的情况下,获取所述表单一一对应的表单标签之前,所述方法还包括:在所述电子设备运行所述目标应用的过程中,获取第一内容,所述第一内容包括以下至少一项:用户输入的内容、所述目标应用中的用户信息;根据所述第一内容,确定第一标签;建立所述第一标签和所述第一内容间的关联关系,得到所述第一关联关系。
- 根据权利要求1所述的方法,其中,所述预设关联关系包括第二关联关系,所述第二关联关系是通过所述电子设备的位置信息得到的;所述在显示的目标页面中包括表单的情况下,获取所述表单一一对应的表单标签之前,所述方法还包括:在所述电子设备的位置信息发生变化的情况下,获取变化后的第一坐标信息、第一时间信息以及城市信息;根据所述第一坐标信息、所述第一时间信息以及所述城市信息,生成第二内容,每个所述第二内容对应一个所述第一坐标信息、一个所述第一时间信息以及一个所述城市信息;建立第二标签和所述第二内容间的关联关系,得到所述第二关联关系。
- 根据权利要求1所述的方法,其中,所述预设关联关系包括第三关联关系,所述第三关联关系是通过所述电子设备中的文件的信息得到的;所述在显示的目标页面中包括表单的情况下,获取所述表单一一对应的表单标签之前,所述方法还包括:对所述电子设备中的图片文件进行识别,得到第三标签;建立所述第三标签和第三内容间的关联关系,得到所述第三关联关系;其中,所述第三内容是根据所述图片文件的存储路径得到的。
- 根据权利要求1所述的方法,其中,所述预设关联关系包括第四关联关系,所述第四关联关系是通过所述可穿戴电子设备传输的信息得到的;所述在显示的目标页面中包括表单的情况下,获取所述表单一一对应的表单标签之前,所述方法还包括:在与所述可穿戴电子设备建立连接的情况下,获取第四内容,所述第四内容为用户的生物特征信息;根据所述第四内容,确定第四标签;建立所述第四标签和所述第四内容间的关联关系,得到所述第四关联关系。
- 根据权利要求1所述的方法,其中,所述确定出与所述表单标签一一匹配的标签,包括:确定所述标签对应的T个关键字,每个所述标签对应至少一个所述关键字,T为正整数;从T个所述关键字中,确定第一表单标签包含的目标关键字,所述第一表单标签为所述表单标签中的任一个;将所述目标关键字对应的所述标签,确定为所述第一表单标签匹配的所述标签。
- 根据权利要求1所述的方法,其中,所述标签中包括第五标签,所述第五标签关联至少两个所述内容;所述基于所述内容,分别填充对应的所述表单,包括:将所述第五标签关联的至少两个所述内容中的目标内容,填入所述第五标签对应的所述表单中;其中,所述目标内容为以下任一项:至少两个所述内容中的选择概率值最高的内容、根据用户输入确定的内容。
- 根据权利要求1所述的方法,其中,所述基于所述内容,分别填充对应的所述表单,包括:根据第五内容和第二表单标签对应的预设内容,确定第六内容,所述第五内容为所述标签中的第六标签关联的所述内容,所述第二表单标签与所述第六标签匹配;将所述第六内容填入所述第六标签对应的所述表单中。
- 一种表单填充装置,其中,所述装置包括:获取模块、确定模块和填充模块;所述获取模块,用于在显示的页面中包括表单的情况下,获取所述表单一一对应的表单标签;所述确定模块,用于确定出与所述表单标签一一匹配的标签,并从预设关联关系中,确定出与所述标签对应的内容,所述预设关联关系为一个标签和至少一个内容间的关联关系;所述填充模块,用于基于所述内容,分别填充对应的所述表单;其中,所述预设关联关系是通过以下至少一项得到的:运行电子设备中的目标应用的过程中获取的信息、所述电子设备的位置信息、所述电子设备中的文件的信息、可穿戴电子设备传输的信息。
- 根据权利要求9所述的装置,其中,所述预设关联关系包括第一关联关系,所述第一关联关系是通过运行所述电子设备中的所述目标应用的过程中获取的信息得到的,所述装置还包括:处理模块;所述获取模块,还用于在所述电子设备运行所述目标应用的过程中,获取第一内容,所述第一内容包括以下至少一项:用户输入的内容、所述目标应用中的用户信息;所述确定模块,还用于根据所述获取模块获取的所述第一内容,确定第一标签;所述处理模块,用于建立所述确定模块确定的所述第一标签和所述获取模块获取的所述第一内容间的关联关系,得到所述第一关联关系。
- 根据权利要求9所述的装置,其中,所述预设关联关系包括第二关联关系,所述第二关联关系是通过所述电子设备的位置信息得到的;所述获取模块,还用于在所述电子设备的位置信息发生变化的情况下,获取变化后的第一坐标信息、第一时间信息以及城市信息;所述处理模块,还用于根据所述获取模块获取的所述第一坐标信息、所述第一时间信息以及所述城市信息,生成第二内容,每个所述第二内容对应一个所述第一坐标信息、一个所述第一时间信息以及一个所述城市信息;并建立第二标签和所述第二内容间的关联关系,得到所述第二关联关系。
- 根据权利要求9所述的装置,其中,所述预设关联关系包括第三关联关系,所述第三关联关系是通过所述电子设备中的文件的信息得到的;所述处理模块,还用于对所述电子设备中的图片文件进行识别,得到第三标签;并建立所述第三标签和第三内容间的关联关系,得到所述第三关联关系;其中,所述第三内容是根据所述图片文件的存储路径得到的。
- 根据权利要求9所述的装置,其中,所述预设关联关系包括第四关联关系,所 述第四关联关系是通过所述可穿戴电子设备传输的信息得到的;所述获取模块,还用于在与所述可穿戴电子设备建立连接的情况下,获取第四内容,所述第四内容为用户的生物特征信息;所述确定模块,还用于根据所述获取模块获取的所述第四内容,确定第四标签;所述处理模块,还用于建立所述获取模块获取的所述第四标签和所述确定模块确定的所述第四内容间的关联关系,得到所述第四关联关系。
- 根据权利要求9所述的装置,其中,所述确定模块,具体用于确定所述标签对应的T个关键字,每个所述标签对应至少一个所述关键字;并从T个所述关键字中,确定第一表单标签包含的目标关键字,所述第一表单标签为所述表单标签中的任一个;以及将所述目标关键字对应的所述标签,确定为所述第一表单标签匹配的所述标签。
- 根据权利要求9所述的装置,其中,所述标签中包括第五标签,所述第五标签关联至少两个所述内容;所述填充模块,具体用于将所述第五标签关联的至少两个所述内容中的目标内容,填入所述第五标签对应的所述表单中;其中,所述目标内容为以下任一项:至少两个所述内容中的选择概率值最高的内容、根据用户输入确定的内容。
- 根据权利要求9所述的装置,其中,所述确定模块,具体用于根据第五内容和第二表单标签对应的预设内容,确定第六内容,所述第五内容为所述标签中的第六标签关联的所述内容,所述第二表单标签与所述第六标签匹配;所述填充模块,具体用于将所述确定模块确定的所述第六内容填入所述第六标签对应的所述表单中。
- 一种电子设备,其中,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8中任一项所述的表单填充方法的步骤。
- 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8中任一项所述的表单填充方法的步骤。
- 一种芯片,其中,所述芯片包括处理器和通信接口,所述通信接口和所述处理 器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8中任一项所述的表单填充方法的步骤。
- 一种计算机程序产品,其中,所述程序产品被存储在非瞬态的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-8中任一项所述的表单填充方法的步骤。
- 一种电子设备,其中,所述电子设备被配置成用于执行如权利要求1-8中任一项所述的表单填充方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211325745.6A CN115618826A (zh) | 2022-10-27 | 2022-10-27 | 表单填充方法、装置、电子设备及介质 |
| CN202211325745.6 | 2022-10-27 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024088291A1 true WO2024088291A1 (zh) | 2024-05-02 |
Family
ID=84865248
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/126379 Ceased WO2024088291A1 (zh) | 2022-10-27 | 2023-10-25 | 表单填充方法、装置、电子设备及介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115618826A (zh) |
| WO (1) | WO2024088291A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115618826A (zh) * | 2022-10-27 | 2023-01-17 | 维沃移动通信有限公司 | 表单填充方法、装置、电子设备及介质 |
| CN117010349B (zh) * | 2023-09-28 | 2023-12-19 | 杭州今元标矩科技有限公司 | 基于神经网络模型的表单填充方法、系统及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103902519A (zh) * | 2014-03-17 | 2014-07-02 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
| US20160217119A1 (en) * | 2015-01-26 | 2016-07-28 | Adobe Systems Incorporated | Recognition and population of form fields in an electronic document |
| CN112765944A (zh) * | 2020-12-30 | 2021-05-07 | 维沃移动通信有限公司 | 表单填充方法、装置、设备和介质 |
| CN115618826A (zh) * | 2022-10-27 | 2023-01-17 | 维沃移动通信有限公司 | 表单填充方法、装置、电子设备及介质 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111368151A (zh) * | 2020-02-27 | 2020-07-03 | 维沃移动通信有限公司 | 显示方法及电子设备 |
| CN111462845B (zh) * | 2020-03-17 | 2025-05-02 | 深圳平安智慧医健科技有限公司 | 动态表单生成方法、装置、计算机设备和存储介质 |
| CN115034190B (zh) * | 2022-06-24 | 2025-07-15 | 挂号网(杭州)科技有限公司 | 一种表单生成方法、装置、电子设备及存储介质 |
-
2022
- 2022-10-27 CN CN202211325745.6A patent/CN115618826A/zh active Pending
-
2023
- 2023-10-25 WO PCT/CN2023/126379 patent/WO2024088291A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103902519A (zh) * | 2014-03-17 | 2014-07-02 | 联想(北京)有限公司 | 一种信息处理方法及电子设备 |
| US20160217119A1 (en) * | 2015-01-26 | 2016-07-28 | Adobe Systems Incorporated | Recognition and population of form fields in an electronic document |
| CN112765944A (zh) * | 2020-12-30 | 2021-05-07 | 维沃移动通信有限公司 | 表单填充方法、装置、设备和介质 |
| CN115618826A (zh) * | 2022-10-27 | 2023-01-17 | 维沃移动通信有限公司 | 表单填充方法、装置、电子设备及介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115618826A (zh) | 2023-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10192279B1 (en) | Indexed document modification sharing with mixed media reality | |
| US9530050B1 (en) | Document annotation sharing | |
| US10440196B2 (en) | Devices and methods for enhanced image capture of documents | |
| US20120083294A1 (en) | Integrated image detection and contextual commands | |
| WO2017087568A1 (en) | A digital image capturing device system and method | |
| US20170220858A1 (en) | Optical recognition of tables | |
| WO2024088291A1 (zh) | 表单填充方法、装置、电子设备及介质 | |
| KR102234172B1 (ko) | 디지털 트윈 책장 제공 장치 및 방법 | |
| TWI688868B (zh) | 用於提取訊息並使用所述訊息擷取聯絡人訊息的系統、非暫時性電腦可讀媒體和方法 | |
| CN113869063A (zh) | 数据推荐方法、装置、电子设备及存储介质 | |
| US9977793B2 (en) | Information processing system, information processing method, and information processing apparatus | |
| CN113094194A (zh) | 剪贴板信息的处理方法及装置 | |
| CN116127117B (zh) | 信息显示方法及装置 | |
| KR20100124952A (ko) | 문자인식을 이용한 휴대형 단말기의 증강현실 기반 실시간 ar컨텐츠 제공시스템 및 그 방법 | |
| CN112765447B (zh) | 数据搜索方法、装置和电子设备 | |
| JP6558145B2 (ja) | 情報処理端末、情報処理システムと、その処理方法及びプログラム | |
| JP6850323B2 (ja) | 情報処理装置、その制御方法及びプログラム | |
| CN112287131A (zh) | 信息交互方法、信息交互装置 | |
| CN115760110B (zh) | 信息识别方法、装置、电子设备及介质 | |
| CN120373264A (zh) | 信息处理方法、装置及电子设备 | |
| KR20250075198A (ko) | Qr코드를 이용한 실시간 증강현실 정보관리시스템 | |
| CN119597382A (zh) | 内容显示方法、装置及电子设备 | |
| CN119597387A (zh) | 界面处理方法、装置、电子设备及存储介质 | |
| CN116450587A (zh) | 文件的管理方法及其装置 | |
| CN117910008A (zh) | 文件解密方法、装置、计算机设备和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23881868 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.09.2025) |