














技术领域technical field
本申请涉及互联网技术领域,尤其涉及一种网页处理方法、装置、电子设备及计算机可读存储介质。The present application relates to the field of Internet technologies, and in particular, to a web page processing method, apparatus, electronic device, and computer-readable storage medium.
背景技术Background technique
在用户的日常学习以及工作中,可以通过浏览网页的方式来获取所需要的信息,针对比较重要的网页,用户还可以将该网页存储到本地。In the daily study and work of the user, the required information can be obtained by browsing the web pages, and for the more important web pages, the user can also store the web pages locally.
相关技术中,通常只能将网页转换为长图、离线网页、或者PDF等文档进行存储,然而,上述格式的文档支持的编辑功能比较有限,无法满足用户的编辑需求。In the related art, it is usually only possible to convert web pages into documents such as long images, offline web pages, or PDFs for storage. However, the editing functions supported by the documents in the above formats are relatively limited and cannot meet the editing needs of users.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种网页处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,能够将网页转换为可供多人在线协同编辑的表格文档,提高了文档的编辑效率。Embodiments of the present application provide a web page processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can convert web pages into form documents that can be edited online by multiple people, thereby improving document editing efficiency.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
本申请实施例提供一种网页处理方法,包括:The embodiment of the present application provides a web page processing method, including:
在人机交互界面中显示网页;Display web pages in the human-computer interface;
响应于针对所述网页的表格转换触发操作,显示对所述网页进行表格转换后得到的表格文档;其中,所述网页包括的至少一个信息对应填充在所述表格文档的至少一个单元格中;In response to a form conversion trigger operation for the webpage, displaying a form document obtained by performing form conversion on the webpage; wherein at least one piece of information included in the webpage is correspondingly filled in at least one cell of the form document;
响应于针对所述表格文档的分享触发操作,以分享对象的身份向至少一个被分享对象发送在线文档形式的所述表格文档;其中,所述在线文档用于供所述分享对象和所述至少一个被分享对象进行协同编辑。In response to a sharing trigger operation on the form document, send the form document in the form of an online document to at least one shared object as a shared object; wherein the online document is used for the shared object and the at least one shared object. A shared object for collaborative editing.
本申请实施例提供一种网页处理装置,包括:An embodiment of the present application provides a web page processing device, including:
显示模块,用于在人机交互界面中显示网页;The display module is used to display the web page in the human-computer interaction interface;
所述显示模块,还用于响应于针对所述网页的表格转换触发操作,显示对所述网页进行表格转换后得到的表格文档;其中,所述网页包括的至少一个信息对应填充在所述表格文档的至少一个单元格中;The display module is further configured to display a form document obtained by performing form conversion on the webpage in response to a form conversion triggering operation for the webpage; wherein, at least one piece of information included in the webpage is correspondingly filled in the form. in at least one cell of the document;
发送模块,用于响应于针对所述表格文档的分享触发操作,以分享对象的身份向至少一个被分享对象发送在线文档形式的所述表格文档;其中,所述在线文档用于供所述分享对象和所述至少一个被分享对象进行协同编辑。a sending module, configured to send the form document in the form of an online document to at least one shared object as a shared object in response to a sharing trigger operation for the form document; wherein the online document is used for the sharing The object and the at least one shared object are collaboratively edited.
本申请实施例提供一种电子设备,包括:The embodiment of the present application provides an electronic device, including:
存储器,用于存储可执行指令;memory for storing executable instructions;
处理器,用于执行所述存储器中存储的可执行指令时,实现本申请实施例提供的网页处理方法。The processor is configured to implement the web page processing method provided by the embodiments of the present application when executing the executable instructions stored in the memory.
本申请实施例提供一种计算机可读存储介质,存储有可执行指令,用于被处理器执行时,实现本申请实施例提供的网页处理方法。Embodiments of the present application provide a computer-readable storage medium storing executable instructions for implementing the web page processing method provided by the embodiments of the present application when executed by a processor.
本申请实施例提供一种计算机程序产品,包括计算机程序或指令,用于被处理器执行时,实现本申请实施例提供的网页处理方法。The embodiments of the present application provide a computer program product, including a computer program or instructions, for implementing the web page processing method provided by the embodiments of the present application when executed by a processor.
本申请实施例具有以下有益效果:The embodiments of the present application have the following beneficial effects:
通过对网页进行表格转换处理,得到对应的表格文档,接着以在线文档的形式将得到的表格文档发送给至少一个被分享对象,能够实现多人在线协同编辑表格文档,实现了从网页到表格文档的在线协同编辑,提高了文档的编辑效率,同时也满足了用户对文档的快速生成、以及多样化的编辑需求。By performing form conversion processing on the webpage, the corresponding form document is obtained, and then the obtained form document is sent to at least one shared object in the form of an online document, which can realize online collaborative editing of form documents by multiple people, and realize the transformation from webpage to form document. The online collaborative editing improves the editing efficiency of documents, and also meets the needs of users for rapid document generation and diversified editing.
附图说明Description of drawings
图1是本申请实施例提供的网页处理系统100的架构示意图;FIG. 1 is a schematic structural diagram of a web page processing system 100 provided by an embodiment of the present application;
图2是本申请实施例提供的终端设备400的结构示意图;FIG. 2 is a schematic structural diagram of a
图3是本申请实施例提供的网页处理方法的流程示意图;3 is a schematic flowchart of a web page processing method provided by an embodiment of the present application;
图4A是本申请实施例提供的从网页中获取至少一个信息的原理示意图;4A is a schematic diagram of the principle of acquiring at least one piece of information from a webpage provided by an embodiment of the present application;
图4B和图4C是本申请实施例提供的网页处理方法的流程示意图;4B and 4C are schematic flowcharts of a web page processing method provided by an embodiment of the present application;
图5A和图5B是本申请实施例提供的网页处理方法的应用场景示意图;5A and 5B are schematic diagrams of application scenarios of the webpage processing method provided by the embodiments of the present application;
图6A至图6E是本申请实施例提供的网页处理方法的应用场景示意图;6A to 6E are schematic diagrams of application scenarios of the webpage processing method provided by the embodiments of the present application;
图7是本申请实施例提供的网页处理方法的流程示意图;7 is a schematic flowchart of a web page processing method provided by an embodiment of the present application;
图8是本申请实施例提供的从网页转换得到的表格文档的示意图。FIG. 8 is a schematic diagram of a form document converted from a webpage provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail below with reference to the accompanying drawings. All other embodiments obtained under the premise of creative work fall within the scope of protection of the present application.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same or a different subset of all possible embodiments, and Can be combined with each other without conflict.
可以理解的是,在本申请实施例中,涉及到用户的历史发送记录等相关的数据,当本申请实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。It can be understood that, in the embodiments of the present application, related data such as the user's historical sending records are involved. When the embodiments of the present application are applied to specific products or technologies, the user's permission or consent needs to be obtained, and the collection of relevant data. , use and processing need to comply with relevant laws, regulations and standards of relevant countries and regions.
在以下的描述中,所涉及的术语“第一\第二\…”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\…”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In the following description, the term "first\second\..." is only used to distinguish similar objects, and does not represent a specific ordering of objects. It is understood that "first\second\..." The specific order or sequence may be interchanged under circumstances to enable the embodiments of the application described herein to be practiced in sequences other than those illustrated or described herein.
在以下的描述中,所涉及的术语“多个”是指至少两个。In the following description, reference to the term "plurality" refers to at least two.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
对本申请实施例进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。Before further describing the embodiments of the present application in detail, the terms and terms involved in the embodiments of the present application are described, and the terms and terms involved in the embodiments of the present application are suitable for the following explanations.
1)响应于:用于表示所执行的操作所依赖的条件或者状态,当满足所依赖的条件或状态时,所执行的一个或多个操作可以是实时的,也可以具有设定的延迟;在没有特别说明的情况下,所执行的多个操作不存在执行先后顺序的限制。1) In response to: used to represent the condition or state on which the executed operation depends, when the dependent condition or state is satisfied, one or more of the executed operations may be real-time, or may have a set delay; Unless otherwise specified, there is no restriction on the order of execution of multiple operations to be executed.
2)网页:构成网站的基本元素,是承载各种网站应用的平台。具体来说,网页是一个包括超文本标记语言(HTML,Hyper Text Markup Language)标签的纯文本文件,它可以存放在世界某个角落的某一台计算机中,是超文本标记语言格式,网页的扩展名为.html或者.htm。网页通常用图像档来提供图画,网页要通过网页浏览器来阅读。2) Web page: The basic element that constitutes a website is a platform that hosts various website applications. Specifically, a web page is a plain text file including Hyper Text Markup Language (HTML, Hyper Text Markup Language) tags, which can be stored in a computer in a corner of the world. The extension is .html or .htm. Web pages usually use image files to provide pictures, and web pages are to be read through a web browser.
3)在线文档:一种供用户在线编辑、多用户协作并实时保存于云端的文档,通过HTML页面进行文档显示,依赖于客户端与服务器的通信实现对用户编辑内容的同步,在线文档的类型可以是在线Word文档、在线Excel文档、在线PPT文档、在线制图文档。3) Online document: a document for users to edit online, collaborate with multiple users and save it in the cloud in real time. The document is displayed through HTML pages. It relies on the communication between the client and the server to synchronize the content edited by the user. The type of online document It can be an online Word document, an online Excel document, an online PPT document, and an online drawing document.
4)插件(Plug-in):是一种遵循一定规范的应用程序接口编写出来的程序,其只能运行在程序规定的系统平台下(可能同时支持多个平台),而不能脱离指定的平台单独运行。例如在浏览器中,安装相关的插件后,浏览器可以直接调用插件程序,用于处理特定类型的文件,从而扩展了浏览器的功能。4) Plug-in: It is a program written in accordance with a certain standard application program interface, which can only run under the system platform specified by the program (may support multiple platforms at the same time), but cannot be separated from the specified platform. run alone. For example, in a browser, after installing a related plug-in, the browser can directly call the plug-in program to process files of a specific type, thereby extending the functions of the browser.
5)事件:同一类型的信息组成的集合,例如以网页为酒店的搜索结果页为例,假设搜索结果页中包括多个酒店的搜索结果,则可以将每个酒店的搜索结果确定为一个事件,例如可以将酒店A的搜索结果确定为事件1,将酒店B的搜索结果确定为事件2,将酒店C的搜索结果确定为事件3。5) Event: a collection of information of the same type. For example, take the search result page of a hotel as an example. Assuming that the search result page includes the search results of multiple hotels, the search result of each hotel can be determined as an event. For example, the search result of hotel A may be determined as
6)单元:组成事件的基本元素,例如以事件为酒店A的搜索结果为例,则该事件可以由以下单元组成:酒店A的名称信息(假设为单元1)、酒店A的地址信息(假设为单元2)、酒店A的价格信息(假设为单元3)、酒店A的配图(假设为单元4)等。6) Unit: The basic elements that make up an event. For example, taking the event as the search result of Hotel A as an example, the event can be composed of the following units: the name information of Hotel A (assuming unit 1), the address information of Hotel A (assuming is unit 2), the price information of hotel A (assumed to be unit 3), the map of hotel A (assumed to be unit 4), etc.
7)网页标签:即HTML标签,是HTML语言中最基本的单位,HTML标签是HTML最重要的组成部分。网页标签的类型可以包括文本标签和图片标签,其中,文本标签指定了网页中对应显示的一个文本信息,图片标签指定了网页中对应显示的一个图片信息,且图片标签指定的是图片在网络中的地址,在基于图片标签获取对应的图片信息时,首先需要根据图片标签指定的地址从网络中下载相应的图片。7) Web page tags: HTML tags are the most basic units in the HTML language, and HTML tags are the most important part of HTML. The types of web page tags can include text tags and image tags, where the text tag specifies a corresponding display of text information in the web page, the image tag specifies a corresponding image information displayed in the web page, and the image tag specifies that the image is on the network. When obtaining the corresponding image information based on the image tag, you first need to download the corresponding image from the network according to the address specified by the image tag.
8)小程序(Mini Program):是一种不需要下载安装即可使用的应用程序。为了向用户提供更多样化的业务服务,开发者可为终端设备的应用(例如即时通信应用、购物应用、邮件应用等)开发相应的小程序,该小程序可作为子应用被嵌入至终端设备的应用中,通过运行应用内的子应用(即对应的小程序)能够为用户提供相应的业务服务。8) Mini Program: It is an application that can be used without downloading and installing. In order to provide users with more diverse business services, developers can develop corresponding applets for terminal device applications (such as instant messaging apps, shopping apps, mail apps, etc.), and the applets can be embedded in the terminal as a sub-application In the application of the device, the corresponding business service can be provided for the user by running the sub-application (ie the corresponding applet) in the application.
本申请实施例提供一种网页处理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,能够将网页转换为可供多人在线协同编辑的表格文档,提高了文档的编辑效率。下面说明本申请实施例提供的电子设备的示例性应用,本申请实施例提供的电子设备可以实施为各种类型的终端设备,也可以由服务器和终端设备协同实施。Embodiments of the present application provide a web page processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can convert web pages into form documents that can be edited online by multiple people, thereby improving document editing efficiency. Exemplary applications of the electronic devices provided by the embodiments of the present application are described below. The electronic devices provided by the embodiments of the present application may be implemented as various types of terminal devices, and may also be implemented cooperatively by a server and a terminal device.
下面以由服务器和终端设备协同实施本申请实施例提供的网页处理方法进行说明。示例的,参见图1,图1是本申请实施例提供的网页处理系统100的架构示意图,为实现支撑一个能够将网页转换为可供多人在线协同编辑的表格文档,以满足用户对文档的快速生成、以及便携编辑需求的应用,如图1所示,网页处理系统100包括:服务器200、网络300和终端设备400,其中,网络300可以是广域网或者局域网,又或者是二者的组合。The following describes the web page processing method provided by the embodiment of the present application by co-implementing the server and the terminal device. 1 is a schematic diagram of the architecture of a web page processing system 100 provided by an embodiment of the present application, in order to realize and support a web page that can be converted into a form document that can be edited online by multiple people, so as to meet the user's requirements for the document. For applications requiring rapid generation and portable editing, as shown in FIG. 1 , the web page processing system 100 includes: a server 200, a network 300 and a
在一些实施例中,终端设备400上运行有客户端410,客户端410可以是各种类型的客户端,例如浏览器、即时通信客户端等,在客户端410的人机交互界面中显示有网页(例如酒店的搜索结果页、电商网页、以及热门排行榜等);当客户端410接收到针对网页的表格转换触发操作时,可以将在人机交互界面中显示的网页通过网络300发送至服务器200,以使服务器200对网页进行分析,并将网页包括的至少一个信息对应填充在空表格文档中,得到与网页对应的表格文档。接着,当客户端410接收到服务器200返回的表格文档之后,可以在人机交互界面中显示对网页进行表格转换后得到的表格文档。在得到表格文档之后,客户端410还可以响应于针对表格文档的分享触发操作,以分享对象的身份向至少一个被分享对象发送在线文档形式的表格文档,例如客户端410在接收到分享对象(例如用户A)触发的分享触发操作之后,可以通过网络300向服务器200发送分享请求,分享请求中携带有被分享对象(例如用户B)的账号。服务器200在接收到终端设备400发送的分享请求之后,可以从分享请求中解析出被分享对象的账号(即用户B的账号),并向与被分享对象的账号关联的终端设备(即用户B的终端设备,图1中未示出)发送在线文档形式的表格文档(例如服务器可以向用户B的终端设备发送在线文档的地址,以使用户B的终端设备根据该地址来获取在线文档,从而减小传输过程中需要消耗的资源),如此,用户A和用户B可以针对在线文档进行协同编辑,提高了文档的编辑效率,同时也满足了用户针对文档的快速生成、以及多样化编辑的需求。In some embodiments, a
在另一些实施例中,本申请实施例提供的网页处理方法也可以由终端设备单独实施,例如以图1中示出的终端设备400为例,在终端设备400的人机交互界面中显示网页,当终端设备400接收到针对网页的表格转换触发操作时,对人机交互界面中当前显示的网页进行分析,并将网页包括的至少一个信息对应填充在空表格文档的至少一个单元格中,得到与网页对应的表格文档,接着,终端设备400可以在人机交互界面中显示对网页进行表格转换后得到的表格文档,随后当终端设备400接收到针对表格文档的分享触发操作时,可以以分享对象的身份向至少一个被分享对象发送在线文档形式的表格文档,其中,表格文档用于供分享对象和至少一个被分享对象进行协同编辑,如此,提高了文档的编辑效率,同时也满足了用户对文档的快速生成、以及多样化编辑的需求。In other embodiments, the web page processing method provided by the embodiments of the present application may also be implemented by a terminal device alone. For example, taking the
在一些实施例中,终端设备400或服务器200还可以通过运行计算机程序来实现本申请实施例提供的网页处理方法,例如,计算机程序可以是操作系统中的原生程序或软件模块;可以是本地(Native)应用程序(APP,Application),即需要在操作系统中安装才能运行的程序,如即时通信类的应用程序(对应上文的客户端410);也可以是小程序,即只需要下载到浏览器环境中就可以运行的程序;还可以是能够嵌入至任意APP中的小程序,如嵌入至即时通信类的应用程序中的小程序组件,其中,该小程序组件可以由用户控制运行或关闭。总而言之,上述计算机程序可以是任意形式的应用程序、模块或插件。In some embodiments, the
在一些实施例中,服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content DeliveryNetwork,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器,其中,云服务可以是网页处理服务,供终端设备400进行调用。终端设备400可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能电视、智能手表、车载终端等,但并不局限于此。终端设备400以及服务器200可以通过有线或无线通信方式进行直接或间接地连接,本申请实施例中不做限制。In some embodiments, the server 200 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, Cloud servers for basic cloud computing services such as network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms, where cloud services can be web page processing service for the
下面对图1中示出的终端设备400的结构进行说明。参见图2,图2是本申请实施例提供的终端设备400的结构示意图,图2所示的终端设备400包括:至少一个处理器420、存储器460、至少一个网络接口430和用户接口440。终端设备400中的各个组件通过总线系统450耦合在一起。可理解,总线系统450用于实现这些组件之间的连接通信。总线系统450除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图2中将各种总线都标为总线系统450。The structure of the
处理器420可以是一种集成电路芯片,具有信号的处理能力,例如通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其中,通用处理器可以是微处理器或者任何常规的处理器等。The processor 420 may be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where a general-purpose processor may be a microprocessor or any conventional processor or the like.
用户接口440包括使得能够呈现媒体内容的一个或多个输出装置441,包括一个或多个扬声器和/或一个或多个视觉显示屏。用户接口440还包括一个或多个输入装置442,包括有助于用户输入的用户接口部件,比如键盘、鼠标、麦克风、触屏显示屏、摄像头、其他输入按钮和控件。User interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and/or one or more visual display screens. User interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, and other input buttons and controls.
存储器460可以是可移除的,不可移除的或其组合。示例性的硬件设备包括固态存储器,硬盘驱动器,光盘驱动器等。存储器460可选地包括在物理位置上远离处理器420的一个或多个存储设备。Memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 460 optionally includes one or more storage devices that are physically remote from processor 420 .
存储器460包括易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。非易失性存储器可以是只读存储器(ROM,Read Only Memory),易失性存储器可以是随机存取存储器(RAM,Random Access Memory)。本申请实施例描述的存储器460旨在包括任意适合类型的存储器。Memory 460 includes volatile memory or non-volatile memory, and may also include both volatile and non-volatile memory. The non-volatile memory may be a read only memory (ROM, Read Only Memory), and the volatile memory may be a random access memory (RAM, Random Access Memory). The memory 460 described in the embodiments of the present application is intended to include any suitable type of memory.
在一些实施例中,存储器460能够存储数据以支持各种操作,这些数据的示例包括程序、模块和数据结构或者其子集或超集,下面示例性说明。In some embodiments, memory 460 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
操作系统461,包括用于处理各种基本系统服务和执行硬件相关任务的系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务;Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
网络通信模块462,用于经由一个或多个(有线或无线)网络接口430到达其他电子设备,示例性的网络接口430包括:蓝牙、无线相容性认证(WiFi)、和通用串行总线(USB,Universal Serial Bus)等;A network communication module 462 for reaching other electronic devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 including: Bluetooth, Wireless Compatibility (WiFi), and Universal Serial Bus ( USB, Universal Serial Bus), etc.;
呈现模块463,用于经由一个或多个与用户接口440相关联的输出装置441(例如,显示屏、扬声器等)使得能够呈现信息(例如,用于操作外围设备和显示内容和信息的用户接口);A presentation module 463 for enabling presentation of information (eg, a user interface for operating peripherals and displaying content and information) via one or more output devices 441 associated with the user interface 440 (eg, a display screen, speakers, etc.) );
输入处理模块464,用于对一个或多个来自一个或多个输入装置442之一的一个或多个用户输入或互动进行检测以及翻译所检测的输入或互动。An input processing module 464 for detecting one or more user inputs or interactions from one of the one or more input devices 442 and translating the detected inputs or interactions.
在一些实施例中,本申请实施例提供的网页处理装置可以采用软件方式实现,图2示出了存储在存储器460中的网页处理装置465,其可以是程序和插件等形式的软件,包括以下软件模块:显示模块4651、发送模块4652、识别模块4653、下载模块4654、安装模块4655、移动模块4656、删除模块4657、确定模块4658、转换模块4659、图像识别模块46510、创建模块46511、填充模块46512、解析模块46513和获取模块46514,这些模块是逻辑上的,因此根据所实现的功能可以进行任意的组合或进一步拆分。需要指出的是,在图2中为了表述方便,一次性示出了上述所有模块,在实际应用中,不排除网页处理装置465中仅包括显示模块4651和发送模块4652的实施,将在下文中说明各个模块的功能。In some embodiments, the webpage processing apparatus provided by the embodiments of the present application may be implemented in software. FIG. 2 shows the webpage processing apparatus 465 stored in the memory 460, which may be software in the form of programs and plug-ins, including the following Software modules: display module 4651, sending module 4652, identifying module 4653, downloading module 4654, installing module 4655, moving module 4656, deleting module 4657, determining module 4658, converting module 4659, image recognition module 46510, creating module 46511, filling module 46512, parsing module 46513 and obtaining module 46514, these modules are logical, so any combination or further splitting can be carried out according to the functions implemented. It should be pointed out that, for the convenience of expression, in FIG. 2, all the above modules are shown at one time. In practical applications, it is not excluded that the webpage processing device 465 only includes the display module 4651 and the sending module 4652, which will be explained below. function of each module.
下面将结合本申请实施例提供的终端设备的示例性应用和实施,对本申请实施例提供的网页处理方法进行具体说明。The web page processing method provided by the embodiment of the present application will be specifically described below with reference to the exemplary application and implementation of the terminal device provided by the embodiment of the present application.
参见图3,图3是本申请实施例提供的网页处理方法的流程示意图,将结合图3示出的步骤进行说明。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a web page processing method provided by an embodiment of the present application, which will be described with reference to the steps shown in FIG. 3 .
在步骤101中,在人机交互界面中显示网页。In
在一些实施例中,人机交互界面可以是显示于客户端(例如浏览器、即时通信客户端等)中的,在人机交互界面中显示的网页可以是搜索结果页、电商网页、以及热门排行榜等。In some embodiments, the human-computer interaction interface may be displayed on a client (such as a browser, an instant messaging client, etc.), and the web pages displayed in the human-computer interaction interface may be search result pages, e-commerce web pages, and Top charts, etc.
示例的,以客户端为浏览器为例,当浏览器接收到用户在搜索框中输入的关键词后,可以向服务器发送用户输入的关键词,以从服务器中获取与关键词匹配的搜索结果,接着浏览器在接收到服务器返回的搜索结果之后,可以在人机交互界面中显示与关键词匹配的搜索结果页。For example, taking the client as a browser as an example, after the browser receives the keyword input by the user in the search box, it can send the keyword input by the user to the server to obtain search results matching the keyword from the server. , and then after receiving the search result returned by the server, the browser may display the search result page matching the keyword in the human-computer interaction interface.
在步骤102中,响应于针对网页的表格转换触发操作,显示对网页进行表格转换后得到的表格文档。In
这里,网页包括的至少一个信息对应填充在表格文档的至少一个单元格中。Here, at least one piece of information included in the web page is correspondingly filled in at least one cell of the table document.
在一些实施例中,可以通过以下方式实现步骤102:在人机交互界面中显示工具箱入口;响应于针对工具箱入口的触发操作,显示工具箱界面,其中,工具箱界面包括表格转换工具;将针对表格转换工具的触发操作,识别为针对网页的表格转换触发操作,并显示对网页进行表格转换后得到的表格文档。In some embodiments,
示例的,以客户端为浏览器为例,在浏览器的人机交互界面中可以显示有工具箱入口;当浏览器接收到用户针对工具箱入口的点击操作时,会以弹窗的方式显示工具箱界面,其中,在工具箱界面中可以显示有表格转换工具(当然,在工具箱界面中还可以显示有其他工具,例如图片转换工具、PDF转换工具等);当浏览器接收到用户针对工具箱界面中显示的表格转换工具(例如“Excel”按钮)的点击操作时,会将用户当前浏览的网页转换为表格文档,并在人机交互界面中进行显示。For example, taking the client as the browser as an example, the toolbox entry can be displayed in the human-computer interaction interface of the browser; when the browser receives the user's click operation on the toolbox entry, it will be displayed in a pop-up window. Toolbox interface, in which, table conversion tools can be displayed in the toolbox interface (of course, other tools can also be displayed in the toolbox interface, such as image conversion tools, PDF conversion tools, etc.); When a form conversion tool (such as the "Excel" button) displayed in the toolbox interface is clicked, the web page currently browsed by the user will be converted into a form document and displayed in the human-computer interaction interface.
在另一些实施例中,也可以将针对网页触发的设定的手势操作(例如用户预先设定的三指抓取操作,其中,不同类型的手势操作对应的功能不同),识别为针对网页的表格转换触发操作;当然,也可以将针对运行网页的终端设备的设定的摇动操作(例如上下摇动操作,其中,不同类型的摇动操作对应的功能不同),识别为针对网页的表格转换触发操作,本申请实施例不对表格转换触发操作的类型进行具体限定。In other embodiments, a gesture operation triggered by a webpage (for example, a three-finger grab operation preset by a user, where different types of gesture operations correspond to different functions) can also be identified as a webpage-targeted gesture operation. Table conversion trigger operation; of course, the shaking operation set for the terminal device running the webpage (for example, the up and down shaking operation, wherein different types of shaking operations correspond to different functions), can also be identified as the table conversion trigger operation for the webpage , the embodiment of the present application does not specifically limit the type of the table conversion trigger operation.
在一些实施例中,人机交互界面可以是显示于客户端中的,其中,表格转换工具是客户端中的原生的功能。In some embodiments, the human-computer interface may be displayed in the client, wherein the form conversion tool is a native function in the client.
示例的,以客户端为浏览器为例,人机交互界面可以是显示于浏览器中的,其中,表格转换工具是浏览器中的原生的功能(即浏览器自身具备将网页转换为表格文档的功能),如此,用户在使用浏览器浏览网页时,无需下载额外的插件,只需通过浏览器自带的表格转换工具即可将当前浏览的网页转换为对应的表格文档,实现了表格文档的快速生成,进一步提高了用户的操作效率。For example, taking the client as a browser as an example, the human-computer interaction interface may be displayed in the browser, wherein the table conversion tool is a native function in the browser (that is, the browser itself has the ability to convert a web page into a table document. function), in this way, users do not need to download additional plug-ins when using browsers to browse web pages, and only need to use the form conversion tool that comes with the browser to convert the currently browsed web pages into corresponding form documents, realizing the form document. The rapid generation of , further improves the user's operational efficiency.
在另一些实施例中,人机交互界面可以是显示于客户端中的,其中,表格转换工具可以是客户端中的插件,则在工具箱界面中显示插件之前,还可以执行以下处理:响应于客户端中未安装插件,从服务器中下载插件,并进行插件的安装。In other embodiments, the human-computer interaction interface may be displayed in the client, wherein the table conversion tool may be a plug-in in the client, and before displaying the plug-in in the toolbox interface, the following processing may also be performed: responding to If the plug-in is not installed in the client, download the plug-in from the server and install the plug-in.
示例的,以客户端为浏览器为例,人机交互界面可以是显示于浏览器中的,其中,表格转换工具可以是浏览器中的插件(即浏览器自身不具备将网页转换为表格文档的功能,需要在浏览器中安装额外的具备将网页转换为表格文档功能的插件来扩展浏览器的功能),则在工具箱界面中显示插件之前,还可以执行以下处理:响应于浏览器中未安装插件(例如用户第一次使用将网页转换为表格文档的功能),自动从服务器中下载插件,并在浏览器中安装所下载的插件,如此,在安装完插件之后,会在工具箱界面中显示所安装的插件。For example, taking the client as a browser as an example, the human-computer interaction interface may be displayed in the browser, wherein the form conversion tool may be a plug-in in the browser (that is, the browser itself does not have the ability to convert web pages into form documents). function, you need to install additional plug-ins with the function of converting web pages into tabular documents in the browser to extend the function of the browser), before displaying the plug-in in the toolbox interface, you can also perform the following processing: In response to the browser If the plug-in is not installed (for example, the user uses the function of converting a web page into a table document for the first time), the plug-in is automatically downloaded from the server, and the downloaded plug-in is installed in the browser. The installed plugins are displayed in the interface.
在一些实施例中,在显示对网页进行表格转换后得到的表格文档之前,还可以执行以下处理:将网页转换为图片;对图片进行图像识别处理,得到图片包括的至少一个信息;创建空表格文档,并将图片包括的至少一个信息对应填充在空表格文档的至少一个单元格中,得到表格文档。In some embodiments, before displaying the table document obtained by performing table conversion on the web page, the following processing may also be performed: converting the web page into a picture; performing image recognition processing on the picture to obtain at least one piece of information included in the picture; creating an empty table document, and correspondingly fill at least one cell of the empty table document with at least one piece of information included in the picture to obtain the table document.
示例的,可以通过以下方式实现上述的对图片进行图像识别处理,得到图片包括的至少一个信息:首先调用第一图像识别模型对图片进行第一图像识别处理,以将图片划分为至少一个事件图片(即图片中与某个事件对应的区域,例如当从网页转换得到的图片中包括多个酒店的搜索结果时,事件图片1可以是图片中酒店A的搜索结果所在的区域,事件图片2可以是图片中酒店B的搜索结果所在的区域,事件图片3可以是图片中酒店C的搜索结果所在的区域);其中,第一图像识别模型是基于样本图片、以及在样本图片中标注出的至少一个样本事件所对应的区域进行训练得到的;接着调用第二图像识别模型对每个事件图片进行第二图像识别处理,以将每个事件图片划分为至少一个单元图片(即事件图片中与某个单元对应的区域,例如以事件图片1为例,单元图片1可以是事件图片1中酒店A的地址所在的区域,单元图片2可以是事件图片1中酒店A的价格所在的区域,单元图片3可以是事件图片1中酒店的评分所在的区域);其中,第二图像识别模型是基于样本事件图片、以及在样本事件图片中标注出的至少一个样本单元所对应的区域进行训练得到的,样本单元是样本事件的元素(例如当样本事件为某个酒店的搜索结果时,样本单元可以是该酒店的地址、名称、配图、评分、以及价格等);最后针对每个单元图片进行光学字符识别处理,得到图片包括的至少一个信息。Illustratively, the above-mentioned image recognition processing on the picture can be implemented in the following manner to obtain at least one piece of information included in the picture: first, the first image recognition model is invoked to perform the first image recognition processing on the picture, so as to divide the picture into at least one event picture. (That is, the area corresponding to an event in the picture, for example, when the picture converted from the webpage includes search results of multiple hotels, the
需要说明的是,上述的第一图像识别模型和第二图像识别模型可以是神经网络模型(例如卷积神经网络、深度卷积神经网络、或者全连接神经网络等)、决策树模型、梯度提升树、多层感知机、以及支持向量机等,本申请实施例对第一图像识别模型和第二图像识别模型的类型不作具体限定。It should be noted that the above-mentioned first image recognition model and second image recognition model may be neural network models (such as convolutional neural networks, deep convolutional neural networks, or fully connected neural networks, etc.), decision tree models, gradient boosting Trees, multilayer perceptrons, support vector machines, etc., the embodiments of the present application do not specifically limit the types of the first image recognition model and the second image recognition model.
在另一些实施例中,承接上文,可以通过以下方式实现上述的针对每个单元图片进行光学字符识别处理,得到图片包括的至少一个信息:针对每个单元图片进行光学字符识别处理,当识别成功时(即能够从单元图片中提取出对应的文本信息),将识别出的文本信息确定为图片包括的一个文本信息;当识别失败时(即无法从单元图片中提取出对应的文本信息),将单元图片确定为图片包括的一个图片信息。In other embodiments, continuing the above, the above-mentioned optical character recognition processing for each unit picture may be implemented in the following manner to obtain at least one piece of information included in the picture: performing optical character recognition processing on each unit picture, when the recognition When successful (that is, the corresponding text information can be extracted from the unit picture), the identified text information is determined as a text information included in the picture; when the recognition fails (that is, the corresponding text information cannot be extracted from the unit picture) , and the unit picture is determined as a piece of picture information included in the picture.
示例的,参见图4A,图4A是本申请实施例提供的从网页中获取至少一个信息的原理示意图,如图4A所示,在将网页(假设为关键词是手机的电商网页)转换为图片之后,可以调用第一图像识别模型对转换得到的图片进行第一图像识别处理,以将图片划分为3个事件图片(即进行第一次图片分类),分别为事件图片1(例如图片中手机A的搜索结果所在的区域)、事件图片2(例如图片中手机B的搜索结果所在的区域)和事件图片3(例如图片中手机C的搜索结果所在的区域),接着,针对划分得到的每个事件图片,还可以调用第二图像识别模型对每个事件图片进行第二图像识别处理,以将每个事件图片进一步划分为至少一个单元图片(即进行第二次图片分类),例如对于事件图片1,可以进一步划分为3个单元图片,分别为单元图片1(例如事件图片1中手机A的配图所在的区域)、单元图片2(例如事件图片1中手机A的配置信息所在的区域)和单元图片3(例如事件图片1中手机A的价格所在的区域);对于事件图片2,可以进一步划分为单元图片4(例如事件图片2中手机B的配图所在的区域)、单元图片5(例如事件图片2中手机B的配置信息所在的区域)和单元图片6(例如事件图片2中手机B的价格所在的区域);对于事件图片3,可以进一步划分为单元图片7(例如事件图片3中手机C的配图所在的区域)、单元图片8(例如事件图片3中手机C的配置信息所在的区域)和单元图片9(例如事件图片3中手机C的价格所在的区域)。在得到多个单元图片之后,还可以针对每个单元图片进行光学字符识别(OCR,Optical Character Recogniton)处理,当识别成功时,可以将识别出的文本信息确定为图片包括的一个文本信息,例如对于单元图片2,在经过OCR字符识别之后,可以提取到如下的文本信息:“XX畅玩7 2GB+16GB金色全通网4G手机双卡双待”,则可以将识别出的文本信息“XX畅玩7 2GB+16GB金色全通网4G手机双卡双待”确定为图片包括的一个文本信息(即可以将识别出的文本信息“XX畅玩7 2GB+16GB金色全通网4G手机双卡双待”填充在表格文档对应的一个单元格中);当识别失败时,可以将单元图片确定为图片包括的一个图片信息,例如对于单元图片1,在经过OCR字符识别之后,无法提取到任何的文本信息,则可以将单元图片1确定为图片包括的至少一个图片信息(即可以将单元图片1直接填充在表格文档对应的一个单元格中)。4A is a schematic diagram of the principle of obtaining at least one piece of information from a webpage provided by an embodiment of the present application. As shown in FIG. 4A , the webpage (assuming that the keyword is an e-commerce webpage of a mobile phone) is converted into After the picture, the first image recognition model can be called to perform the first image recognition process on the converted picture, so as to divide the picture into 3 event pictures (that is, the first picture classification), which are event picture 1 (for example, in the picture) The area where the search result of mobile phone A is located), the event picture 2 (such as the area where the search result of mobile phone B is located in the picture) and the event picture 3 (such as the area where the search result of mobile phone C is located in the picture), then, for the divided For each event picture, a second image recognition model may also be called to perform second image recognition processing on each event picture, so as to further divide each event picture into at least one unit picture (ie, perform the second picture classification), for example, for The event picture 1 can be further divided into 3 unit pictures, which are respectively the unit picture 1 (for example, the area where the picture of the mobile phone A in the event picture 1 is located), and the unit picture 2 (for example, the configuration information of the mobile phone A in the event picture 1 is located. area) and unit picture 3 (such as the area where the price of mobile phone A in
在一些实施例中,在得到图片包括的至少一个信息之后,还可以通过以下方式实现上述的将图片包括的至少一个信息对应填充在空表格文档的至少一个单元格中:针对每个事件图片执行以下处理:将事件图片包括的至少一个单元图片分别对应的文本信息或者至少一个单元图片,对应填充在空表格文档同一行或者同一列包括的至少一个单元格中。In some embodiments, after obtaining at least one piece of information included in the picture, the above-mentioned correspondingly filling at least one piece of information included in the picture into at least one cell of the empty table document may also be implemented in the following manner: execute for each event picture The following processing: correspondingly fill at least one cell included in the same row or same column of the empty table document with text information or at least one unit image corresponding to at least one unit image included in the event image.
示例的,以事件图片为图4A中示出的事件图片1为例,可以将单元图片1、单元图片2对应的文本信息“XX畅玩7 2GB+16GB金色全通网4G手机双卡双待”、以及单元图片3对应的文本信息“599”,对应填充在空表格文档的同一行或者同一列包括的3个单元格中,如此,将针对同一事件的多个信息填充在表格文档的同一行或者同一列中,方便了用户进行查看。By way of example, taking the
在另一些实施例中,在显示对网页进行表格转换后得到的表格文档之前,还可以执行以下处理:对网页的代码源数据进行解析,得到网页包括的多个网页标签;其中,网页标签的类型包括文本标签(例如<mark>、<pre>等标签,其中,<mark>标签用于定义有记号的文本,即<mark>标签指定了嵌入在网页中的有记号的文本信息;<pre>标签用于定义预格式文本,即<pre>标签指定了嵌入在网页中的符合预格式的文本信息)和图片标签(例如<img>标签,用于定义图片,即<img>标签指定了嵌入在网页中的图片信息),每个文本标签指定了网页中对应显示的一个文本信息,每个图片标签指定了网页中对应显示的一个图片信息;基于多个网页标签中的至少一个目标网页标签,获取至少一个信息(例如以目标网页标签为<img>标签为例,<img>标签指定了在网页中对应显示的一个图片信息(例如图片A)在网络中的地址,例如图片A的统一资源定位符(URL,Uniform Resource Locator),因此可以基于<img>标签指定的图片A的URL,从网络中获取图片A);创建空表格文档,并将所获取的至少一个信息对应填充在空表格文档的至少一个单元格中,得到表格文档。In other embodiments, before displaying the form document obtained by converting the web page to a form, the following processing may be performed: parsing the code source data of the web page to obtain a plurality of web page tags included in the web page; Types include text tags (such as <mark>, <pre> and other tags, where the <mark> tag is used to define marked text, that is, the <mark> tag specifies the marked text information embedded in the web page; <pre > tags are used to define pre-formatted text, that is, <pre> tags specify pre-formatted text information embedded in web pages) and image tags (such as <img> tags, which are used to define images, that is, <img> tags specify image information embedded in a web page), each text tag specifies a corresponding piece of text information displayed in the web page, and each image tag specifies a corresponding image information displayed in the web page; based on at least one target web page in multiple web page tags tag, obtain at least one piece of information (for example, take the target webpage tag as the <img> tag as an example, the <img> tag specifies the address in the network of a picture information (such as picture A) correspondingly displayed in the webpage, such as the address of picture A. Uniform Resource Locator (URL, Uniform Resource Locator), so you can obtain image A from the network based on the URL of image A specified by the <img> tag); create an empty form document, and fill at least one of the obtained information in the corresponding The table document is obtained in at least one cell of the empty table document.
在一些实施例中,还可以结合上文提及的将网页转换为图片,并对图片进行图像识别处理的方案来获取至少一个信息,例如在接收到针对网页触发的表格转换触发操作之后,可以首先尝试对网页的代码源数据进行解析,当成功对网页的代码源数据进行解析时,可以基于解析出的网页标签来获取至少一个信息;当对网页的代码源数据进行解析失败时,说明网页的代码的版本或类型属于不被支持解析的范畴,可以使用上文提及的将网页转换为图片,并对图片进行图像识别处理的方案来获取至少一个信息,如此,保证针对不同类型或版本的网页语言开发的网页都能顺利进行转换为表格文档。In some embodiments, at least one piece of information can also be obtained in combination with the above-mentioned solution of converting a webpage into a picture and performing image recognition processing on the picture. First try to parse the code source data of the webpage. When the code source data of the webpage is successfully parsed, at least one piece of information can be obtained based on the parsed webpage tag; when the code source data of the webpage fails to be parsed, it means the webpage The version or type of the code belongs to the category that does not support parsing. You can use the above-mentioned solution of converting a webpage into a picture and performing image recognition processing on the picture to obtain at least one piece of information. In this way, it is guaranteed that different types or versions can be used The web pages developed in the web language can be smoothly converted into table documents.
在一些实施例中,参见图4B,图4B是本申请实施例提供的网页处理方法的流程示意图,如图4B所示,在执行完图3示出的步骤102之后,还可以执行图4B示出的步骤104,将结合图4B示出的步骤104进行说明。In some embodiments, referring to FIG. 4B , FIG. 4B is a schematic flowchart of a webpage processing method provided by an embodiment of the present application. As shown in FIG. 4B , after
在步骤104中,响应于针对表格文档中第一单元格的拖动操作的当前落点处于第二单元格,将第一单元格中填充的第一信息移动至第二单元格中,且第一信息以覆盖第二单元格的方式显示。In
在一些实施例中,表格文档可以是始终处于可编辑状态的,即在响应于针对表格文档中第一单元格的拖动操作的当前落点处于第二单元格之前,无需对表格文档的状态进行切换。In some embodiments, the table document may be always in an editable state, that is, the state of the table document does not need to be changed until the current drop point is in the second cell in response to a drag operation on the first cell in the table document to switch.
在另一些实施例中,当第二单元格中原先填充有第二信息时,还可以执行以下处理:将第二信息移动到预览区域(例如在表格文档中悬浮显示的预览区域)中进行显示,其中,预览区域还可以显示以下入口至少之一:位移入口、删除入口;响应于针对位移入口的触发操作,将第二信息从预览区域移动至第一单元格中;响应于针对删除入口的触发操作,从预览区域中删除第二信息。In other embodiments, when the second cell is originally filled with the second information, the following processing may also be performed: moving the second information to a preview area (for example, a preview area displayed in a floating manner in a table document) for display , wherein the preview area can also display at least one of the following entries: a displacement entry, a delete entry; in response to a trigger operation for the displacement entry, move the second information from the preview area to the first cell; Trigger an operation to delete the second information from the preview area.
示例的,参见图5A,图5A是本申请实施例提供的网页处理方法的应用场景示意图,如图5A所示,在人机交互界面501中显示有对网页进行表格转换后得到的表格文档502,此时,用户可以针对表格文档502进行编辑,例如当接收到用户针对表格文档502中的单元格503的拖动操作,且该拖动操作的当前落点处于表格文档502中的单元格504时,可以将单元格503中填充的信息505(例如酒店A的配图)移动至单元格504中,且信息505以覆盖单元格504的方式显示。此外,当单元格504中原先填充有信息507(例如酒店C的地址信息)时,还可以将信息507移动至预览区域(例如在表格文档502中悬浮显示的预览区域506)中进行显示,其中,预览区域506中还可以显示有位移入口508和删除入口509;当接收到用户针对位移入口508的点击操作时,可以将信息507从预览区域506移动至单元格503中,同时在表格文档502中取消显示预览区域506;当接收到用户针对删除入口509的点击操作时,可以从预览区域506中删除信息507,并在表格文档502中取消显示预览区域506,如此,满足了用户针对表格文档的便携编辑的需求。5A is a schematic diagram of an application scenario of the web page processing method provided by the embodiment of the present application. As shown in FIG. 5A , a
在另一些实施例中,在对网页进行表格转换得到表格文档之后,还可以执行以下处理:响应于针对表格文档中第一单元格的拖动操作的当前落点处于第二单元格,显示操作列表,其中,操作列表包括以下入口至少之一:交换入口、合并入口、覆盖入口;响应于针对交换入口的触发操作,当第二单元格中原先填充有第二信息时,将填充在第一单元格中的第一信息移动至第二单元格中,并将第二信息移动至第一单元格中,当第二单元格为空时,将填充在第一单元格中的第一信息移动至第二单元格中;响应于针对合并入口的触发操作,当第二单元格中原先填充有第二信息时,将填充在第一单元格中的第一信息移动至第二单元格中,以在第二单元格中同时显示第一信息和第二信息(当第二单元格为空时,将填充在第一单元格中的第一信息移动至第二单元格中,以在第二单元格中显示第一信息);响应于针对覆盖入口的触发操作,将第一单元格中填充的第一信息移动至第二单元格中,且第一信息以覆盖第二单元格的方式显示。In other embodiments, after the web page is converted into a table to obtain a table document, the following processing may also be performed: in response to the current drop point of the drag operation on the first cell in the table document being in the second cell, display the operation A list, wherein the operation list includes at least one of the following entries: an exchange entry, a merge entry, and an overlay entry; in response to a trigger operation for the exchange entry, when the second cell is originally filled with the second information, it will be filled in the first Move the first information in the cell to the second cell and move the second information to the first cell, when the second cell is empty, move the first information filled in the first cell into the second cell; in response to the trigger operation for the merge entry, when the second cell is originally filled with the second information, the first information filled in the first cell is moved to the second cell, to display both the first information and the second information in the second cell (when the second cell is empty, move the first information filled in the first cell to the second cell to display the first information in the second cell The first information is displayed in the cell); in response to the trigger operation for the overlay entry, the first information filled in the first cell is moved to the second cell, and the first information is displayed in a manner of covering the second cell .
示例的,参见图5B,图5B是本申请实施例提供的网页处理方法的应用场景示意图,如图5B所示,在人机交互界面501中显示有对网页进行表格转换后得到的表格文档502,此时,用户可以针对表格文档502进行编辑,例如当接收到用户针对表格文档502中的单元格503的拖动操作,且该拖动操作的当前落点处于表格文档502中的单元格504时,可以显示操作列表(例如在表格文档502中悬浮显示操作列表510),其中,在操作列表510中还显示有交换入口511、合并入口512和覆盖入口513。当接收到用户针对交换入口511的点击操作、且单元格504中原先填充有信息507(例如酒店C的地址信息)时,可以将填充在单元格503中的信息505(例如酒店A的配图)移动至单元格504中,并将单元格504中填充的信息507移动至单元格503中,从而实现单元格503和单元格504中填充的信息之间的互换(当然,当单元格504为空时,可以仅仅将单元格503中填充的信息505移动至单元格504中);当接收到用户针对合并入口512的点击操作、且单元格504中原先填充有信息507时,可以将填充在单元格503中的信息505移动至单元格504中,以在单元格504中同时显示信息505和信息507(当然,当单元格504为空时,可以仅仅在单元格504中显示信息505);当接收到用户针对覆盖入口513的点击操作时,可以将单元格503中填充的信息505移动至单元格504中,且信息505是以覆盖单元格504的方式进行显示的,如此,满足了用户针对文档进行便携编辑的需求。5B is a schematic diagram of an application scenario of the web page processing method provided by the embodiment of the present application. As shown in FIG. 5B , a
在一些实施例中,表格文档可以具有两种状态,分别为锁定状态和可编辑状态,其中,锁定状态是屏蔽响应针对表格文档触发的编辑操作的状态,可编辑状态是响应针对表格文档触发的编辑操作的状态,则还可以在人机交互界面中显示状态控件,其中,状态控件用于在被触发时切换表格文档的状态,并以差异化的显示方式表征不同的状态(例如可以以不同的颜色、或者不同的尺寸来表征不同的状态,举例来说,当状态控件显示的颜色为绿色时,表征表格文档处于可编辑状态;当状态控件显示的颜色为红色时,表征表格文档处于锁定状态)。针对上述情况,在对表格文档进行编辑操作之前,如果表格文档当前所处的状态为锁定状态,则在进行编辑操作之前,用户还需要通过点击状态控件,将表格文档所处的状态从锁定状态切换至可编辑状态。In some embodiments, a form document may have two states, namely a locked state and an editable state, wherein the locked state is a state that blocks editing operations triggered in response to the form document, and the editable state is a state that is triggered in response to a form document. The state of the editing operation can also be displayed in the human-computer interaction interface, where the state control is used to switch the state of the form document when triggered, and to represent different states in a differentiated display mode (for example, it can be displayed in different For example, when the color displayed by the status control is green, it indicates that the table document is in an editable state; when the color displayed by the status control is red, it indicates that the table document is locked. state). In view of the above situation, before editing the table document, if the current state of the table document is locked, the user also needs to click the status control to change the state of the table document from the locked state before editing. Switch to editable state.
在一些实施例中,当用户需要查看历史表格文档时,还可以通过点击人机交互界面中显示的文档入口进行查看。示例的,可以在人机交互界面中显示文档入口;当接收到用户针对文档入口的点击操作时,在人机交互界面中显示文档详情界面,其中,文档详情界面包括在步骤102中生成的表格文档在内的至少一个表格文档的入口;响应于针对至少一个表格文档中的目标表格文档的入口的触发操作,显示目标表格文档。In some embodiments, when the user needs to view the historical form document, the user may also click the document entry displayed in the human-computer interaction interface to view it. For example, the document entry can be displayed in the human-computer interaction interface; when a click operation on the document entry by the user is received, the document details interface is displayed in the human-computer interaction interface, wherein the document details interface includes the table generated in
示例的,以客户端为浏览器为例,在浏览器提供的人机交互界面的底部显示有导航栏,在导航栏中显示有文档入口;当接收到用户针对文档入口的触发操作时,可以在人机交互界面中显示文档详情界面,在文档详情界面中显示有多个已经生成的表格文档分别对应的入口(例如包括表格文档1的入口、表格文档2的入口和表格文档3的入口),当接收到用户针对表格文档1的入口的点击操作时,可以在人机交互界面中显示表格文档1,如此,方便了用户查看已经生成的历史表格文档。As an example, taking the client as a browser as an example, a navigation bar is displayed at the bottom of the human-computer interaction interface provided by the browser, and a document entry is displayed in the navigation bar; The document details interface is displayed in the human-computer interaction interface, and there are multiple entries corresponding to the generated form documents (for example, the entry of
继续参见图3,在步骤103中,响应于针对表格文档的分享触发操作,以分享对象的身份向至少一个被分享对象发送在线文档形式的表格文档。Continuing to refer to FIG. 3 , in
这里,在线文档用于供分享对象和至少一个被分享对象进行协同编辑。Here, the online document is used for collaborative editing by the shared object and at least one shared object.
在一些实施例中,还可以在人机交互界面中显示分享入口,并将针对分享入口的触发操作,识别为针对表格文档的分享触发操作,此外,在响应于针对表格文档的分享触发操作时,还可以执行以下处理:在人机交互界面中显示多个平台;响应于平台选择操作,在被选中的平台中显示候选对象列表;响应于针对候选对象列表的对象选择操作,将被选中的至少一个候选对象确定为至少一个被分享对象。In some embodiments, the sharing portal may also be displayed in the human-computer interaction interface, and the triggering operation for the sharing portal is identified as the sharing triggering operation for the table document. In addition, when responding to the sharing triggering operation for the table document , can also perform the following processing: display multiple platforms in the human-computer interaction interface; in response to the platform selection operation, display the candidate object list in the selected platform; in response to the object selection operation for the candidate object list, the selected At least one candidate object is determined as at least one shared object.
示例的,以客户端为浏览器为例,在浏览器提供的人机交互界面中显示有分享入口,当浏览器接收到用户(例如用户A)针对分享入口的点击操作时,在人机交互界面中显示多个平台,例如包括平台A、平台B和平台C;当接收到用户A针对平台B的点击操作时,可以在人机交互界面中显示平台B中与用户A具有社交关系(例如好友关系、或者相互评论、点赞等关系)的多个候选对象组成的候选对象列表,例如假设候选对象列表中包括用户1、用户2、用户3和用户4;当用户A从候选对象列表中选中用户2时,则可以将用户2确定为被分享对象,并向用户2关联的终端设备发送在线文档形式的表格文档,以使用户A和用户2针对在线文档进行协同编辑。For example, taking the client as a browser as an example, a sharing portal is displayed in the human-computer interaction interface provided by the browser. Multiple platforms are displayed in the interface, for example, including platform A, platform B, and platform C; when user A's click operation on platform B is received, it can be displayed in the human-computer interaction interface that platform B has a social relationship with user A (such as A candidate object list composed of multiple candidate objects in friendship, or mutual comments, likes, etc.), for example, suppose that the candidate object list includes
在另一些实施例中,在以分享对象的身份向至少一个被分享对象发送在线文档形式的表格文档之前,还可以通过以下任意一种方式确定至少一个被分享对象:将分享对象的历史发送记录中发送次数大于发送次数阈值(例如5次)的至少一个对象,确定为至少一个被分享对象(例如以分享对象为用户A为例,假设用户A在过去一段时间内向用户1发送在线文档的次数为2次,向用户2发送在线文档的次数为9次,向用户3发送在线文档的次数为4次,则针对本次分享操作,可以自动将用户2确定为被分享对象,并向用户2关联的终端设备发送在线文档形式的表格文档);将与分享对象之间的社交距离(例如可以以两个用户之间的社交关系进行表征,两个用户之间越亲密,则对应的社交距离越短,例如假设用户A和用户B是情侣关系,则可以将用户A与用户B之间的社交距离确定为0.5;假设用户A与用户C是同事关系,则可以将用户A与用户C之间的社交距离确定为1;假设用户A与用户D是朋友关系,则可以将用户A与用户D之间的社交距离确定为0.6)小于社交距离阈值(例如0.5)的至少一个对象,确定为至少一个被分享对象(例如以分享对象为用户A为例,假设用户A与用户1之间的社交距离为0.6,用户A与用户2之间的社交距离为0.4,用户A与用户3之间的社交距离为1,则用户A在分享表格文档时,可以自动将用户2确定为被分享对象,并向用户2关联的终端设备发送在线文档形式的表格文档);将与分享对象属于同一群组(例如会话群组)的至少一个对象,确定为至少一个被分享对象(例如以分享对象为用户A为例,针对用户A所在的会话群组1,可以将会话群组1中与用户A交互的次数大于次数阈值(例如10次)的用户确定为被分享对象,举例来说,假设用户A在过去一段时间内与会话群组1中的用户1交互的次数为8次,与会话群组1中的用户2交互的次数为20次,与会话群组1中的用户3交互的次数为4次,则用户A在分享表格文档时,可以自动将用户2确定为被分享对象,并向用户2关联的终端设备发送在线文档形式的表格文档)。In other embodiments, before sending a form document in the form of an online document to at least one shared object as a shared object, at least one shared object may also be determined in any of the following ways: sending a history of the shared object to a record At least one object whose sending times is greater than the sending times threshold (for example, 5 times) is determined to be at least one shared object (for example, taking the sharing object as user A as an example, assuming that the number of times that user A has sent online documents to
在一些实施例中,分享对象和至少一个被分享对象针对在线文档进行协同编辑的方式包括:针对在线文档中当前正在被编辑的单元格,在单元格上显示正在被编辑的单元格的编辑对象的标识,其中,编辑对象是分享对象和至少一个被分享对象中的任一对象。示例的,以至少一个被分享对象分别为用户1和用户2为例,假设用户1当前正在编辑在线文档中的单元格1,则可以在单元格1上显示用户1的标识(例如用户1的账号或者头像),如此,方便了其他用户及时了解在线文档的编辑情况,避免了对同一单元格进行重复编辑的情况的发生,进一步提高了用户的编辑效率。In some embodiments, the way for the shared object and at least one shared object to collaboratively edit the online document includes: for a cell currently being edited in the online document, displaying the editing object of the cell being edited on the cell , where the editing object is any one of the shared object and at least one shared object. As an example, taking the at least one shared object as
在另一些实施例中,参见图4C,图4C是本申请实施例提供的网页处理方法的流程示意图,如图4C所示,在执行完图3示出的步骤103之后,还可以执行图4C示出的步骤105,将结合图4C示出的步骤105进行说明。In other embodiments, referring to FIG. 4C , FIG. 4C is a schematic flowchart of a webpage processing method provided by an embodiment of the present application. As shown in FIG. 4C , after
在步骤105中,响应于分享对象和至少一个被分享对象中的任一对象针对在线文档的编辑操作,在人机交互界面中更新显示编辑后的在线文档。In
这里,编辑操作的类型可以包括:在线编辑操作和离线编辑操作,其中,针对在线编辑操作,可以在人机交互界面中实时更新显示编辑后的在线文档;针对离线编辑操作,可以在任一对象从离线状态切换至在线状态后,在人机交互界面中更新显示编辑后的在线文档。Here, the types of editing operations may include: online editing operations and offline editing operations, wherein, for online editing operations, the edited online document can be updated and displayed in real time in the human-computer interaction interface; After the offline state is switched to the online state, the edited online document is updated and displayed in the human-computer interaction interface.
示例的,以任一对象为至少一个被分享对象中的用户2为例,用户2可以针对在线文档进行在线编辑操作,也可以针对在线文档进行离线编辑操作,对于用户2针对在线文档触发的在线编辑操作,可以在人机交互界面中实时更新显示编辑后的在线文档;而对于用户2针对在线文档触发的离线编辑操作,当用户2的账号从离线状态切换至在线状态后,获取用户2触发的离线编辑操作,并基于所获取的离线编辑操作对在线文档进行编辑,随后在人机交互界面中更新显示编辑后的在线文档。By way of example, taking any object as
本申请实施例提供的网页处理方法,在对网页进行表格转换处理,得到表格文档之后,还可以通过在线文档的形式将得到的表格文档发送给至少一个被分享对象,如此,实现了多人在线协同编辑表格文档的目的,满足了用户针对文档的快速生成、以及便捷编辑的需求,同时也提高了用户的编辑效率。In the web page processing method provided by the embodiments of the present application, after the web page is converted into a form and a form document is obtained, the obtained form document can also be sent to at least one shared object in the form of an online document. The purpose of collaboratively editing a table document satisfies the user's needs for rapid document generation and convenient editing, and also improves the user's editing efficiency.
下面,将说明本申请实施例在一个实际的应用场景中的示例性应用。Below, an exemplary application of the embodiments of the present application in a practical application scenario will be described.
相关技术中,用户在通过浏览器浏览网页时,浏览器中的工具箱通常只能提供如下功能:将网页保存为长图、可携带文档格式(PDF,Portable Document Format)、离线网页三种方案,并无将网页转换为表格文档的方案,此外,对于将网页转换为PDF或者长图后的编辑能力也支持有限。In the related art, when a user browses a web page through a browser, the toolbox in the browser usually only provides the following functions: saving the web page as a long image, Portable Document Format (PDF, Portable Document Format), and offline web pages. , there is no solution for converting web pages into tabular documents, and there is also limited support for editing capabilities after converting web pages to PDF or long images.
鉴于此,本申请实施例提供一种网页处理方法,能够将网页包括的超文本标记语言(HTML,Hyper Text Markup Language)内容转换为Excel文档(即表格文档),从而满足用户对资讯内容的不同场景需求。具体来说,可以将搜索结果页、电商网页、热门排行榜等,有着明显重复信息组块的网页内容,快速转换为表格文档,同时,本申请实施例还提供了便携的可视化、可多人共享在线编辑的操作能力,提升了用户的操作效率以及完善了工具性产品体验。In view of this, an embodiment of the present application provides a web page processing method, which can convert the content of Hyper Text Markup Language (HTML, Hyper Text Markup Language) included in a web page into an Excel document (ie, a table document), so as to satisfy users' different information content scene requirements. Specifically, search result pages, e-commerce webpages, popular ranking lists, etc., and webpage content with obvious repeated information blocks can be quickly converted into table documents. People share the operation ability of online editing, which improves the user's operation efficiency and improves the tool product experience.
下面对本申请实施例提供的网页处理方法进行具体说明。The web page processing method provided by the embodiments of the present application will be specifically described below.
在一些实施例中,针对浏览器的文档场景,在将网页包括的HTML内容通过智能识别生成表格文档后,还可以针对生成的表格文档进行便携编辑,例如可以通过拖拽表格文档中的某个单元格来实现表格文档中信息的移位。此外,还提供了针对表格文档的多人在线共享编辑的能力,例如可以将表格文档以在线文档的形式分享出去,从而实现多人在线共享编辑。In some embodiments, for the document scene of the browser, after the HTML content included in the web page is intelligently recognized to generate the form document, the generated form document can also be edited in a portable manner, for example, by dragging and dropping a certain Cells to realize the shifting of information in the table document. In addition, it also provides the ability for multiple people to share and edit the form document online. For example, the form document can be shared in the form of an online document, so as to realize online sharing and editing of multiple people.
示例的,参见图6A,图6A是本申请实施例提供的网页处理方法的应用场景示意图,如图6A所示,在浏览器提供的人机交互界面601中显示有工具箱入口,例如“工具箱”按钮602,当浏览器接收到用户针对“工具箱”按钮602的点击操作时,会在人机交互界面601中显示工具箱界面(例如以弹窗的方式显示工具箱界面603,并且在工具箱界面603中显示有表格转换工具,例如“Excel”按钮604)。当浏览器接收到用户针对“Excel”按钮604的点击操作时,会在人机交互界面601中显示与当前网页包括的HTML内容对应的表格文档605,其中,网页包括的多条信息被对应填充在表格文档605的多个单元格中。例如当网页包括的HTML内容含有多组信息时,如含有多家酒店报价信息的网页中,用户在点击工具箱详情界面603中显示的“Excel”按钮604之后,网页包括的多组信息在被分别识别后,可以转换为表格文档,其中,网页包括的多组信息(例如酒店名称、配图、评分、以及价格等)会被对应填充在表格文档的多个单元格中(例如可以将多家酒店的配图填充在表格文档的同一列中,而对于多家酒店的评分可以填充在表格文档的另一列中;此外,针对同一家酒店包括的酒店名称、配图、评分、以及价格等信息可以填充在表格文档的同一行中)。6A is a schematic diagram of an application scenario of the webpage processing method provided by the embodiment of the present application. As shown in FIG. 6A , a toolbox entry is displayed in the human-
示例的,参见图6B,图6B是本申请实施例提供的网页处理方法的应用场景示意图,如图6B所示,在得到表格文档605之后,用户还可以通过点击人机交互界面601中显示的状态控件,例如“拖动编辑”按钮606,控制表格文档605进入可编辑状态,从而实现对表格文档的便携编辑。例如,当浏览器接收到用户针对人机交互界面601中显示的“拖动编辑”按钮606的点击操作时,“拖动编辑”按钮606会处于高亮状态,表征表格文档605当前处于可编辑状态。此时,用户可以通过拖拽表格文档605中的某个单元格(例如单元格607)来实现表格文档605中信息的位移,例如在对单元格607进行拖动之后,填充在单元格607中的信息也会跟着进行移动。6B is a schematic diagram of an application scenario of the webpage processing method provided by the embodiment of the present application. As shown in FIG. 6B, after obtaining the
在一些实施例中,用户在打开浏览器之后,也可以通过点击底部导航栏中的文件入口,进入文件界面,接着通过点击文件界面显示的“文档”入口进入文档浏览列表,随后可以通过点击文档浏览列表中表格文档的入口打开已生成的表格文档。In some embodiments, after opening the browser, the user can also click the file entry in the bottom navigation bar to enter the file interface, and then click the "document" entry displayed on the file interface to enter the document browsing list, and then click the document The table document entry in the browse list opens the generated table document.
示例的,参见图6C,图6C是本申请实施例提供的网页处理方法的应用场景示意图,如图6C所示,在浏览器提供的人机交互界面601中显示有导航栏,在导航栏中显示有文件入口,例如“文件”按钮608,当浏览器接收到用户针对“文件”按钮608的点击操作时,会显示文件界面609,在文件界面609中显示有文档入口,例如“文档”按钮610,当浏览器接收到用户针对“文档”按钮610的点击操作时,会在人机交互界面601中显示文档详情界面,在文档详情界面中显示有已经生成的多个文档组成的文档浏览列表,当浏览器接收到用户针对文档浏览列表中某个文档的入口(例如表格文档605的入口611)的点击操作时,会在人机交互界面中显示表格文档605,从而查看已经生成的表格文档。6C is a schematic diagram of an application scenario of the webpage processing method provided by the embodiment of the present application. As shown in FIG. 6C , a navigation bar is displayed in the human-
下面继续对转换得到的表格文档的编辑过程进行具体说明。The following continues to describe the editing process of the converted table document in detail.
示例的,参见图6D,图6D是本申请实施例提供的网页处理方法的应用场景示意图,如图6D所示,当浏览器接收到用户针对人机交互界面601中显示的“拖动编辑”按钮606的点击操作时,“拖动编辑”按钮606会处于高亮状态,表征表格文档605当前处于可编辑状态,此时,用户可以通过拖拽表格文档605中某个单元格,来改变信息在表格文档605中的排序。例如,当接收到用户将单元格607拖拽至表格文档605中单元格612所在的位置的拖拽操作时,可以将填充在单元格607中的第一信息(例如酒店A的配图)移动至单元格612中,并以覆盖单元格612的方式进行显示。此外,当单元格612中原先填充有第二信息(例如酒店C的评价信息)时,还可以在表格文档605中悬浮显示预览区域613,在预览区域613中显示有原先填充在单元格612中的第二信息、以及位移入口(例如“位移”按钮614)和删除入口(例如“删除”按钮615)。当接收到用户针对“位移”按钮614的点击操作时,可以将填充在单元格612中的第二信息移动至单元格607中;当接收到用户针对“删除”按钮615的点击操作时,可以删除填充在单元格612中的第二信息,如此,实现了对表格文档进行便携编辑的目的。6D, FIG. 6D is a schematic diagram of an application scenario of the webpage processing method provided by the embodiment of the present application. As shown in FIG. 6D, when the browser receives the “drag edit” displayed by the user in the human-
在另一些实施例中,用户也可以通过分享链接,实现多人在线同时编辑从网页转换得到的表格文档。In other embodiments, the user can also share the link, so that multiple people can simultaneously edit the form document converted from the web page online.
示例的,参见图6E,图6E是本申请实施例提供的网页处理方法的应用场景示意图,如图6E所示,当浏览器接收到用户针对人机交互界面601中显示的分享入口,例如“分享”按钮616的点击操作时,会以弹窗的方式显示分享平台界面617,在分享平台界面617中显示有多个候选的平台供用户进行选择。例如用户在选中某个平台之后,还会进一步显示该平台包括的多个候选对象,接着,可以将用户在多个候选对象中选中的对象确定为被分享对象,并以在线文档的形式向被分享对象的客户端(例如浏览器)发送表格文档。继续参见图6E,用户在选择完需要分享的对象之后,可以在人机交互界面601中显示用户选中的被分享对象的头像,并且针对被分享对象进行编辑的单元格,可以在单元格上显示被分享对象的标识,例如当用户的好友1对单元格618进行了编辑,则可以在单元格618上显示好友1的标识;当用户的好友2对单元格619进行了编辑,则可以在单元格619上显示好友2的标识,如此,通过以可视化的方式显示每个被分享对象针对表格文档的编辑过程,方便了用户进行区分。6E, FIG. 6E is a schematic diagram of an application scenario of the webpage processing method provided by the embodiment of the present application. As shown in FIG. 6E, when the browser receives the user's sharing entry displayed in the human-
在一些实施例中,本申请实施例提供的网页处理方法的整个流程会涉及到用户、客户端(例如浏览器)、以及服务器之间的交互,其中,服务器需要分析和识别网页包括的HTML内容,生成相应的数据,以备生成最终的表格文档。In some embodiments, the entire process of the webpage processing method provided by the embodiments of the present application may involve the interaction between the user, the client (such as a browser), and the server, wherein the server needs to analyze and identify the HTML content included in the webpage , generate the corresponding data for generating the final table document.
示例的,参见图7,图7是本申请实施例提供的网页处理方法的流程示意图,如图7所示,浏览器在将网页包括的HTML内容转换为图片之后(例如可以通过对当前网页进行截屏的方式),可以将转换得到的图片上传到服务器进行第一次图像识别处理,例如服务器可以将图片中匹配图像模型ID为“事件”的部分识别出来,以将浏览器上传的图片划分为事件1(例如酒店A)图片、事件2(例如酒店B)图片、事件3(例如酒店C)图片等,接着针对每个事件图片,服务器还可以进行第二次图像识别处理,例如以事件1图片为例,服务器还可以将事件1图片中匹配图像模型ID为“单元”的部分识别处理,以将事件1图片进一步划分为单元1图片、单元2图片、单元3图片等,随后可以通过光学字符识别(OCR,Optical CharacterRecognition)获取到每个单元图片对应的数据(例如文本信息)。最后服务器可以将获取到的文本信息以事件进行归类,并按照客户端展示表格文档的格式需求,将获取到的文本信息填充到表格文档对应的单元格中,生成最终的表格文档。7 is a schematic flowchart of a web page processing method provided by an embodiment of the present application. As shown in FIG. 7, after the browser converts the HTML content included in the web page into a picture (for example, by You can upload the converted image to the server for the first image recognition processing. For example, the server can identify the part of the image that matches the image model ID "event", so as to divide the image uploaded by the browser into Event 1 (eg Hotel A) picture, Event 2 (eg Hotel B) picture, Event 3 (eg Hotel C) picture, etc. Then for each event picture, the server can also perform a second image recognition process, for example, with
需要说明的是,针对不包含文本信息的单元图片(例如酒店配图),服务器可以通过图像识别处理,对单元图片进行裁切生成图片文件,并将生成的图片文件填充到表格文档中。It should be noted that, for unit pictures that do not contain text information (such as hotel pictures), the server can cut the unit pictures to generate picture files through image recognition processing, and fill the generated picture files into the table document.
示例的,参见图8,图8是本申请实施例提供的从网页转换得到的表格文档的示意图,如图8所示,可以将同一事件包括的多个信息填充在表格文档的同一行中,例如可以将事件1(例如酒店A)包括的多个信息(例如酒店A的配图、地址、评价、名称等)填充在表格文档的第一行,将事件2(例如酒店B)包括的多个信息(例如酒店B的配图、地址、评价、名称等)填充在表格文档的第二行。此外,还可以将同一类型的单元对应的文本信息填充在表格文档的同一列中,例如可以将多个酒店的配图填充在表格文档的第一列中,将多个酒店的地址填充在表格文档的第二列中,将多个酒店的评价填充在表格文档的第三列中,如此,方便了用户进行查看。8 is a schematic diagram of a form document converted from a web page provided by an embodiment of the present application. As shown in FIG. 8 , multiple pieces of information included in the same event can be filled in the same row of the form document, For example, the first row of the table document can be filled with multiple pieces of information included in event 1 (eg, hotel A) (eg, the map, address, evaluation, name, etc. of hotel A), and multiple pieces of information included in event 2 (eg, hotel B) can be filled in the table document. Information (such as hotel B's picture, address, evaluation, name, etc.) is filled in the second row of the table document. In addition, the text information corresponding to the same type of unit can also be filled in the same column of the table document. For example, the pictures of multiple hotels can be filled in the first column of the table document, and the addresses of multiple hotels can be filled in the table. In the second column of the document, the reviews of multiple hotels are filled in the third column of the table document, which is convenient for users to view.
在一些实施例中,在得到表格文档之后,用户还可以通过点击人机交互界面中显示的“拖动编辑”按钮,以使表格文档进入可编辑的状态,此时,用户可以通过拖拽表格文档中某个单元格中,实现填充在单元格中的信息在表格文档中的位移。In some embodiments, after obtaining the form document, the user can also click the "drag to edit" button displayed in the human-computer interaction interface to make the form document enter an editable state. At this time, the user can drag and drop the form In a cell in the document, realize the displacement of the information filled in the cell in the table document.
在另一些实施例中,在得到表格文档之后,用户也可以将该表格文档分享给其他用户,例如向其他用户分享该表格文档的地址,从而使得其他用户能够基于该地址获取到该表格文档,并进行同时编辑的状态。In other embodiments, after obtaining the form document, the user may also share the form document with other users, for example, share the address of the form document with other users, so that other users can obtain the form document based on the address. and the state of simultaneous editing.
本申请实施例提供的网页处理方法,满足了网页与表格文档之间的样式转换,打破了内容容器的转换屏障,从而满足了用户对表格文档的快速生成、便携编辑的需求,进一步完善了浏览器工具性产品功能,扩展了用户浏览网页和编辑从网页转换得到的表格文档的使用场景,能够提升用户使用浏览器的时长,提升了用户的使用体验。The web page processing method provided by the embodiments of the present application satisfies the style conversion between web pages and table documents, breaks the conversion barrier of content containers, thus satisfies the user's needs for rapid generation and portable editing of table documents, and further improves browsing It expands the usage scenarios for users to browse web pages and edit form documents converted from web pages, which can increase the time users spend using the browser and improve the user experience.
下面继续说明本申请实施例提供的网页处理装置465的实施为软件模块的示例性结构,在一些实施例中,如图2所示,存储在存储器460的网页处理装置465中的软件模块可以包括:显示模块4651和发送模块4652。The following continues to describe the exemplary structure of the webpage processing apparatus 465 provided by the embodiments of the present application implemented as software modules. In some embodiments, as shown in FIG. 2 , the software modules stored in the webpage processing apparatus 465 of the memory 460 may include : Display module 4651 and sending module 4652.
显示模块4651,用于在人机交互界面中显示网页;以及用于响应于针对网页的表格转换触发操作,显示对网页进行表格转换后得到的表格文档;其中,网页包括的至少一个信息对应填充在表格文档的至少一个单元格中;发送模块4652,用于响应于针对表格文档的分享触发操作,以分享对象的身份向至少一个被分享对象发送在线文档形式的表格文档;其中,在线文档用于供分享对象和至少一个被分享对象进行协同编辑。The display module 4651 is used to display the web page in the human-computer interaction interface; and in response to the form conversion trigger operation for the web page, it is used to display the form document obtained by performing the form conversion on the web page; wherein, at least one piece of information included in the web page corresponds to filling In at least one cell of the form document; the sending module 4652 is configured to, in response to the sharing trigger operation for the form document, send the form document in the form of an online document as a shared object to at least one shared object; wherein, the online document uses for collaborative editing by the shared object and at least one shared object.
在一些实施例中,显示模块4651,还用于在人机交互界面中显示工具箱入口;以及用于响应于针对工具箱入口的触发操作,显示工具箱界面,其中,工具箱界面包括表格转换工具;网页处理装置465还包括识别模块4653,用于将针对表格转换工具的触发操作,识别为针对网页的表格转换触发操作;显示模块4651,还用于显示对网页进行表格转换后得到的表格文档。In some embodiments, the display module 4651 is further configured to display the toolbox entry in the human-computer interaction interface; and in response to a trigger operation for the toolbox entry, display the toolbox interface, wherein the toolbox interface includes table conversion The web page processing device 465 also includes an identification module 4653 for identifying the trigger operation for the form conversion tool as a form conversion trigger operation for the web page; the display module 4651 is also used for displaying the form obtained by performing the form conversion on the web page documentation.
在一些实施例中,人机交互界面是显示于客户端中的,表格转换工具是客户端中的原生的功能。In some embodiments, the human-computer interface is displayed in the client, and the form conversion tool is a native function in the client.
在一些实施例中,人机交互界面是显示于客户端中的,表格转换工具是客户端中的插件;网页处理装置465还包括下载模块4654和安装模块4655,其中,下载模块4654,用于响应于客户端中未安装插件,从服务器中下载插件;安装模块4655,用于进行插件的安装。In some embodiments, the human-computer interaction interface is displayed in the client, and the form conversion tool is a plug-in in the client; the webpage processing apparatus 465 further includes a download module 4654 and an installation module 4655, wherein the download module 4654 is used for In response that the plug-in is not installed in the client, the plug-in is downloaded from the server; the installation module 4655 is used to install the plug-in.
在一些实施例中,网页处理装置465还包括移动模块4656,用于响应于针对表格文档中第一单元格的拖动操作的当前落点处于第二单元格,将第一单元格中填充的第一信息移动至第二单元格中,且第一信息以覆盖第二单元格的方式显示。In some embodiments, the web page processing apparatus 465 further includes a moving module 4656 for, in response to the current drop point of the drag operation on the first cell in the table document being in the second cell, move the filled in the first cell The first information is moved into the second cell, and the first information is displayed in a manner of covering the second cell.
在一些实施例中,当第二单元格中原先填充有第二信息时,显示模块4651,还用于将第二信息移动到预览区域中进行显示,其中,预览区域还显示以下至少之一:位移入口、删除入口;移动模块4656,还用于响应于针对位移入口的触发操作,将第二信息从预览区域移动至第一单元格中;网页处理装置465还包括删除模块4657,用于响应于针对删除入口的触发操作,从预览区域中删除第二信息。In some embodiments, when the second cell is originally filled with second information, the display module 4651 is further configured to move the second information to a preview area for display, where the preview area also displays at least one of the following: A displacement entry and a deletion entry; the moving module 4656 is further configured to move the second information from the preview area to the first cell in response to a triggering operation for the displacement entry; the webpage processing apparatus 465 further includes a deletion module 4657, used to respond The second information is deleted from the preview area in response to the triggering operation for the deletion entry.
在一些实施例中,显示模块4651,还用于响应于针对表格文档中第一单元格的拖动操作的当前落点处于第二单元格,显示操作列表,其中,操作列表包括以下至少之一:交换入口、合并入口、覆盖入口;移动模块4656,还用于响应于针对交换入口的触发操作,当第二单元格中原先填充有第二信息时,将填充在第一单元格中的第一信息移动至第二单元格中,并将第二信息移动至第一单元格中,当第二单元格为空时,将填充在第一单元格中的第一信息移动至第二单元格中;以及用于响应于针对合并入口的触发操作,当第二单元格中原先填充有第二信息时,将填充在第一单元格中的第一信息移动至第二单元格中,以在第二单元格中同时显示第一信息和第二信息;以及用于响应于针对覆盖入口的触发操作,将第一单元格中填充的第一信息移动至第二单元格中,且第一信息以覆盖第二单元格的方式显示。In some embodiments, the display module 4651 is further configured to display an operation list in response to the current drop point of the drag operation on the first cell in the table document being in the second cell, where the operation list includes at least one of the following : exchange entry, merge entry, and overlay entry; the moving module 4656 is further configured to, in response to the triggering operation for the exchange entry, fill the first cell with the second information when the second cell is originally filled with the second information Move a message to the second cell and move the second message to the first cell, when the second cell is empty, move the first message filled in the first cell to the second cell In response to the trigger operation for the merge entry, when the second cell is originally filled with the second information, the first information filled in the first cell is moved to the second cell, so as to be in the second cell The first information and the second information are displayed in the second cell at the same time; and the first information filled in the first cell is moved to the second cell in response to the trigger operation for the overlay entry, and the first information Displayed in a way that covers the second cell.
在一些实施例中,显示模块4651,还用于在人机交互界面中显示状态控件,其中,状态控件用于在被触发时切换表格文档的状态,并以差异化的显示方式表征不同的状态,状态的类型包括:锁定状态和可编辑状态,锁定状态是屏蔽响应针对表格文档触发的编辑操作的状态,可编辑状态是响应针对表格文档触发的编辑操作的状态。In some embodiments, the display module 4651 is further configured to display a state control in the human-computer interaction interface, wherein the state control is used to switch the state of the form document when triggered, and to represent different states in a differentiated display manner , the types of states include: locked state and editable state, the locked state is the state of shielding the editing operation triggered for the table document, and the editable state is the state of responding to the editing operation triggered for the table document.
在一些实施例中,显示模块4651,还用于在人机交互界面中显示多个平台;以及用于响应于平台选择操作,在被选中的平台中显示候选对象列表;网页处理装置465还包括确定模块4658,用于响应于针对候选对象列表的对象选择操作,将被选中的至少一个候选对象确定为至少一个被分享对象。In some embodiments, the display module 4651 is further configured to display multiple platforms in the human-computer interaction interface; and in response to the platform selection operation, display a candidate object list in the selected platform; the web page processing device 465 further includes The determining module 4658 is configured to, in response to the object selection operation on the candidate object list, determine the at least one selected candidate object as at least one shared object.
在一些实施例中,确定模块4658,还用于通过以下任意一种方式确定至少一个被分享对象:将分享对象的历史发送记录中发送次数大于发送次数阈值的至少一个对象,确定为至少一个被分享对象;将与分享对象之间的社交距离小于社交距离阈值的至少一个对象,确定为至少一个被分享对象;将与分享对象属于同一群组的至少一个对象,确定为至少一个被分享对象。In some embodiments, the determining module 4658 is further configured to determine at least one shared object in any one of the following manners: determining at least one object whose number of times of transmission is greater than the threshold of the number of times of transmission in the historical transmission record of the shared object as at least one object to be shared. Sharing objects; determining at least one object whose social distance from the sharing object is less than the social distance threshold as at least one shared object; and determining at least one object belonging to the same group as the sharing object as at least one shared object.
在一些实施例中,显示模块4651,还用于在人机交互界面中显示文档入口;以及用于响应于针对文档入口的触发操作,显示文档详情界面,其中,文档详情界面包括表格文档在内的至少一个表格文档的入口;以及用于响应于针对至少一个表格文档中的目标表格文档的入口的触发操作,显示目标表格文档。In some embodiments, the display module 4651 is further configured to display a document entry in the human-computer interaction interface; and in response to a trigger operation for the document entry, display a document detail interface, wherein the document detail interface includes a form document the entry of at least one form document; and for displaying the target form document in response to a trigger operation for the entry of the target form document in the at least one form document.
在一些实施例中,分享对象和至少一个被分享对象针对在线文档进行协同编辑的方式包括:针对在线文档中当前正在被编辑的单元格,在单元格上显示正在被编辑的单元格的编辑对象的标识,其中,编辑对象是分享对象和至少一个被分享对象中的任一对象。In some embodiments, the way for the shared object and at least one shared object to collaboratively edit the online document includes: for a cell currently being edited in the online document, displaying the editing object of the cell being edited on the cell , where the editing object is any one of the shared object and at least one shared object.
在一些实施例中,显示模块4651,还用于响应于分享对象和至少一个被分享对象中的任一对象针对在线文档的编辑操作,在人机交互界面中更新显示编辑后的在线文档;其中,编辑操作的类型包括:在线编辑操作和离线编辑操作;其中,针对在线编辑操作,在人机交互界面中实时更新显示编辑后的在线文档;其中,针对离线编辑操作,在任一对象从离线状态切换至在线状态后,在人机交互界面中更新显示编辑后的在线文档。In some embodiments, the display module 4651 is further configured to update and display the edited online document in the human-computer interaction interface in response to an editing operation on the online document by the sharing object and any object among the at least one shared object; wherein , the types of editing operations include: online editing operations and offline editing operations; wherein, for online editing operations, the edited online document is updated and displayed in real-time in the human-computer interaction interface; wherein, for offline editing operations, when any object changes from the offline state After switching to the online state, the edited online document is updated and displayed in the human-computer interaction interface.
在一些实施例中,网页处理装置465还包括转换模块4659、图像识别模块46510、创建模块46511和填充模块46512,其中,转换模块4659,用于将网页转换为图片;图像识别模块46510,用于对图片进行图像识别处理,得到图片包括的至少一个信息;创建模块46511,用于创建空表格文档;填充模块46512,用于将图片包括的至少一个信息对应填充在空表格文档的至少一个单元格中,得到表格文档。In some embodiments, the webpage processing apparatus 465 further includes a conversion module 4659, an image recognition module 46510, a creation module 46511 and a filling module 46512, wherein the conversion module 4659 is used to convert the webpage into a picture; the image recognition module 46510 is used to Perform image recognition processing on the picture to obtain at least one piece of information included in the picture; the creation module 46511 is used to create an empty table document; the filling module 46512 is used to fill at least one cell of the empty table document with at least one piece of information included in the picture. , get the table document.
在一些实施例中,图像识别模块46510,还用于调用第一图像识别模型对图片进行第一图像识别处理,以将图片划分为至少一个事件图片;其中,第一图像识别模型是基于样本图片、以及在样本图片中标注出的至少一个样本事件所对应的区域进行训练得到的;调用第二图像识别模型对每个事件图片进行第二图像识别处理,以将每个事件图片划分为至少一个单元图片;其中,第二图像识别模型是基于样本事件图片、以及在样本事件图片中标注出的至少一个样本单元所对应的区域进行训练得到的,样本单元是样本事件的元素;针对每个单元图片进行光学字符识别处理,得到图片包括的至少一个信息。In some embodiments, the image recognition module 46510 is further configured to call the first image recognition model to perform the first image recognition processing on the picture, so as to divide the picture into at least one event picture; wherein the first image recognition model is based on the sample picture , and the region corresponding to at least one sample event marked in the sample picture is obtained by training; calling the second image recognition model to carry out the second image recognition process to each event picture, so as to divide each event picture into at least one unit picture; wherein, the second image recognition model is obtained by training based on the sample event picture and the region corresponding to at least one sample unit marked in the sample event picture, and the sample unit is an element of the sample event; for each unit The picture is processed by optical character recognition to obtain at least one piece of information included in the picture.
在一些实施例中,图像识别模块46510,还用于针对每个单元图片进行光学字符识别处理,当识别成功时,将识别出的文本信息确定为图片包括的一个文本信息;当识别失败时,将单元图片确定为图片包括的一个图片信息;填充模块46512,用于针对每个事件图片执行以下处理:将事件图片包括的至少一个单元图片分别对应的文本信息或者至少一个单元图片,对应填充在空表格文档的同一行或者同一列包括的至少一个单元格中。In some embodiments, the image recognition module 46510 is further configured to perform optical character recognition processing for each unit picture, and when the recognition is successful, determine the recognized text information as a piece of text information included in the picture; when the recognition fails, The unit picture is determined as a picture information included in the picture; the filling module 46512 is used to perform the following processing for each event picture: the text information or at least one unit picture corresponding to at least one unit picture included in the event picture is filled in the corresponding In at least one cell included in the same row or column of an empty table document.
在一些实施例中,网页处理装置465还包括解析模块46513和获取模块46514,其中,解析模块46513,用于对网页的代码源数据进行解析,得到网页包括的多个网页标签;获取模块46514,用于基于多个网页标签中的至少一个目标网页标签,获取至少一个信息;其中,网页标签的类型包括文本标签和图片标签,每个文本标签指定了网页中对应显示的一个文本信息,每个图片标签指定了网页中对应显示的一个图片信息;创建模块46511,用于创建空表格文档;填充模块46512,用于将至少一个信息对应填充在空表格文档的至少一个单元格中,得到表格文档。In some embodiments, the webpage processing apparatus 465 further includes a parsing module 46513 and an obtaining module 46514, wherein the parsing module 46513 is used to parse the code source data of the webpage to obtain multiple webpage tags included in the webpage; the obtaining module 46514, It is used to obtain at least one piece of information based on at least one target webpage tag in the multiple webpage tags; wherein, the types of webpage tags include text tags and image tags, and each text tag specifies a corresponding display of text information in the webpage, and each The picture tag specifies a picture information correspondingly displayed in the webpage; the creation module 46511 is used to create an empty table document; the filling module 46512 is used to fill at least one information in at least one cell of the empty table document correspondingly to obtain the table document .
需要说明的是,本申请实施例装置的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本申请实施例提供的网页处理装置中未尽的技术细节,可以根据图3、图4B、或图4C任一附图的说明而理解。It should be noted that, the description of the device in the embodiment of the present application is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment, so it will not be repeated. The unexhausted technical details of the webpage processing apparatus provided in the embodiments of the present application can be understood according to the description of any one of FIG. 3 , FIG. 4B , or FIG. 4C .
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令(即可执行指令),该计算机指令存储在计算机可读存储介质中。电子设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该电子设备执行本申请实施例上述的网页处理方法。Embodiments of the present application provide a computer program product or computer program, where the computer program product or computer program includes computer instructions (ie, executable instructions), and the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device executes the web page processing method described above in the embodiment of the present application.
本申请实施例提供一种存储有可执行指令的计算机可读存储介质,其中存储有可执行指令,当可执行指令被处理器执行时,将引起处理器执行本申请实施例提供的网页处理方法,例如,如图3、图4B、或图4C示出的网页处理方法。The embodiments of the present application provide a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored, and when the executable instructions are executed by a processor, the processor will cause the processor to execute the web page processing method provided by the embodiments of the present application , for example, the web page processing method shown in FIG. 3 , FIG. 4B , or FIG. 4C .
在一些实施例中,计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; it may also include one or any combination of the foregoing memories Various equipment.
在一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。In some embodiments, executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and which Deployment may be in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(HTML,Hyper TextMarkup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。As an example, executable instructions may, but do not necessarily correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in a Hyper Text Markup Language (HTML) document One or more scripts of a , stored in a single file dedicated to the program in question, or in multiple cooperating files (eg, files that store one or more modules, subroutines, or code sections).
作为示例,可执行指令可被部署为在一个电子设备上执行,或者在位于一个地点的多个电子设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个电子设备上执行。As an example, executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one site, or alternatively, multiple electronic devices distributed across multiple sites and interconnected by a communication network execute on.
以上所述,仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和范围之内所作的任何修改、等同替换和改进等,均包含在本申请的保护范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements and improvements made within the spirit and scope of this application are included within the protection scope of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210225086.2ACN114595191B (en) | 2022-03-09 | 2022-03-09 | Web page processing method, device, electronic device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210225086.2ACN114595191B (en) | 2022-03-09 | 2022-03-09 | Web page processing method, device, electronic device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN114595191Atrue CN114595191A (en) | 2022-06-07 |
| CN114595191B CN114595191B (en) | 2025-04-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210225086.2AActiveCN114595191B (en) | 2022-03-09 | 2022-03-09 | Web page processing method, device, electronic device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN114595191B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115277701A (en)* | 2022-07-25 | 2022-11-01 | 明阳产业技术研究院(沈阳)有限公司 | A network management method, device, medium, and electronic equipment of a cluster system |
| CN116319731A (en)* | 2022-09-06 | 2023-06-23 | 北京达佳互联信息技术有限公司 | Online document sending method and device, electronic equipment and storage medium |
| WO2024149004A1 (en)* | 2022-10-24 | 2024-07-18 | 北京字跳网络技术有限公司 | Information processing method and apparatus, electronic device and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050188298A1 (en)* | 2004-01-22 | 2005-08-25 | Nokia Corporation | Displaying a web page in a browser window and a method for handling a web page |
| CN101226548A (en)* | 2008-01-11 | 2008-07-23 | 孟小峰 | System and method for abstraction of Web data based on vision |
| CN106528271A (en)* | 2015-09-11 | 2017-03-22 | 北京国双科技有限公司 | Method and device for acquiring web page data |
| CN106610774A (en)* | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | Webpage table editing method and device |
| CN110991403A (en)* | 2019-12-19 | 2020-04-10 | 同方知网(北京)技术有限公司 | Document information fragmentation extraction method based on visual deep learning |
| CN111507352A (en)* | 2020-04-16 | 2020-08-07 | 腾讯科技(深圳)有限公司 | Image processing method and device, computer equipment and storage medium |
| WO2020232872A1 (en)* | 2019-05-22 | 2020-11-26 | 平安科技(深圳)有限公司 | Table recognition method and apparatus, computer device, and storage medium |
| CN112560411A (en)* | 2020-12-21 | 2021-03-26 | 深圳供电局有限公司 | Intelligent personnel information input method and system |
| CN113268964A (en)* | 2020-07-23 | 2021-08-17 | 腾讯科技(深圳)有限公司 | Table editing method, device, equipment and storage medium |
| CN113850068A (en)* | 2021-09-28 | 2021-12-28 | 上海临冠数据科技有限公司 | Method and device for converting picture into editable text by maintaining format |
| CN113849552A (en)* | 2021-09-27 | 2021-12-28 | 中国平安财产保险股份有限公司 | Structured data conversion method and device, electronic equipment and medium |
| CN113936286A (en)* | 2021-11-29 | 2022-01-14 | 中国平安人寿保险股份有限公司 | Image text recognition method and device, computer equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050188298A1 (en)* | 2004-01-22 | 2005-08-25 | Nokia Corporation | Displaying a web page in a browser window and a method for handling a web page |
| CN101226548A (en)* | 2008-01-11 | 2008-07-23 | 孟小峰 | System and method for abstraction of Web data based on vision |
| CN106528271A (en)* | 2015-09-11 | 2017-03-22 | 北京国双科技有限公司 | Method and device for acquiring web page data |
| CN106610774A (en)* | 2015-10-23 | 2017-05-03 | 北京国双科技有限公司 | Webpage table editing method and device |
| WO2020232872A1 (en)* | 2019-05-22 | 2020-11-26 | 平安科技(深圳)有限公司 | Table recognition method and apparatus, computer device, and storage medium |
| CN110991403A (en)* | 2019-12-19 | 2020-04-10 | 同方知网(北京)技术有限公司 | Document information fragmentation extraction method based on visual deep learning |
| CN111507352A (en)* | 2020-04-16 | 2020-08-07 | 腾讯科技(深圳)有限公司 | Image processing method and device, computer equipment and storage medium |
| CN113268964A (en)* | 2020-07-23 | 2021-08-17 | 腾讯科技(深圳)有限公司 | Table editing method, device, equipment and storage medium |
| CN112560411A (en)* | 2020-12-21 | 2021-03-26 | 深圳供电局有限公司 | Intelligent personnel information input method and system |
| CN113849552A (en)* | 2021-09-27 | 2021-12-28 | 中国平安财产保险股份有限公司 | Structured data conversion method and device, electronic equipment and medium |
| CN113850068A (en)* | 2021-09-28 | 2021-12-28 | 上海临冠数据科技有限公司 | Method and device for converting picture into editable text by maintaining format |
| CN113936286A (en)* | 2021-11-29 | 2022-01-14 | 中国平安人寿保险股份有限公司 | Image text recognition method and device, computer equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115277701A (en)* | 2022-07-25 | 2022-11-01 | 明阳产业技术研究院(沈阳)有限公司 | A network management method, device, medium, and electronic equipment of a cluster system |
| CN116319731A (en)* | 2022-09-06 | 2023-06-23 | 北京达佳互联信息技术有限公司 | Online document sending method and device, electronic equipment and storage medium |
| WO2024149004A1 (en)* | 2022-10-24 | 2024-07-18 | 北京字跳网络技术有限公司 | Information processing method and apparatus, electronic device and storage medium |
| Publication number | Publication date |
|---|---|
| CN114595191B (en) | 2025-04-11 |
| Publication | Publication Date | Title |
|---|---|---|
| US11763076B2 (en) | Document applet generation | |
| US10776447B2 (en) | Digital communications platform for webpage overlay | |
| US10108715B2 (en) | Transformation and presentation of on-demand native application crawling results | |
| CN101578592B (en) | Lasting preservation door | |
| CN106682219B (en) | Associated document acquisition method and device | |
| CN114595191B (en) | Web page processing method, device, electronic device and storage medium | |
| WO2016015432A1 (en) | Page construction method, apparatus, system and device, and nonvolatile computer storage medium | |
| US11720376B2 (en) | Methods and systems for content generation via templates with rules and/or triggers | |
| US20210149842A1 (en) | System and method for display of document comparisons on a remote device | |
| US20150046779A1 (en) | Augmenting and presenting captured data | |
| EP3030988A1 (en) | Augmenting and presenting captured data | |
| CN113220381B (en) | A click data display method and device | |
| CN116992081A (en) | Page form data processing method and device and user terminal | |
| WO2024164589A1 (en) | Information display method and apparatus, electronic device, computer readable storage medium, and computer program product | |
| CN116701811A (en) | Webpage processing method, device, equipment and computer readable storage medium | |
| CN110020279B (en) | Page data processing method and device and storage medium | |
| WO2024032087A1 (en) | Local dynamic page generation method and apparatus, electronic device, computer readable storage medium, and computer program product | |
| CN112578973B (en) | Content selection method, device, equipment and computer readable storage medium | |
| HK40070963A (en) | Web page processing method, device, electronic equipment and storage medium | |
| CN115344148A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
| KR102382703B1 (en) | Multi-Channel Integration Platform Authoring Device and Method Thereby | |
| HK40042439A (en) | Document processing method, device and apparatus, and medium | |
| HK40042439B (en) | Document processing method, device and apparatus, and medium | |
| CN118733909A (en) | Search processing method, device, electronic device and storage medium | |
| CN120469609A (en) | Information acquisition method and device, electronic equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code | Ref country code:HK Ref legal event code:DE Ref document number:40070963 Country of ref document:HK | |
| GR01 | Patent grant | ||
| GR01 | Patent grant |