CN117312693A - Interface information sharing method and device, electronic equipment and storage medium - Google Patents
Interface information sharing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117312693A CN117312693A CN202311198057.2A CN202311198057A CN117312693A CN 117312693 A CN117312693 A CN 117312693A CN 202311198057 A CN202311198057 A CN 202311198057A CN 117312693 A CN117312693 A CN 117312693A
- Authority
- CN
- China
- Prior art keywords
- information
- route
- browser
- current
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域Technical field
本申请涉及数据交互技术领域,尤其涉及一种界面信息共享方法和装置、电子设备和存储介质。The present application relates to the field of data interaction technology, and in particular to an interface information sharing method and device, electronic equipment and storage media.
背景技术Background technique
目前,在现有的交互系统中,用户之间如果需要进行系统界面信息的共享,则只能够通过截图、录屏等方式实现。Currently, in existing interactive systems, if users need to share system interface information, this can only be achieved through screenshots, screen recordings, etc.
采用上述方法实现系统界面信息的共享,存在如下所述问题:Using the above method to share system interface information has the following problems:
1、效率低下:截图、录屏等操作需要用户手动进行、且需要对截图或录屏内容进行后期处理,如裁剪、压缩等,耗费用户大量时间和精力;1. Low efficiency: Operations such as screenshots and screen recordings require users to perform manual operations, and post-processing of screenshots or screen recordings, such as cropping, compression, etc., consumes a lot of time and energy from users;
2、信息质量参差不齐:由于截图和录屏无法保证信息的准确性和完整性,导致共享的界面信息质量参差不齐,影响用户之间的交流效果;2. The quality of information is uneven: Since screenshots and screen recordings cannot guarantee the accuracy and completeness of the information, the quality of the shared interface information is uneven, which affects the communication effect between users;
3、无法实时同步:截图和录屏无法实现实时同步,无法满足用户在交流过程中的即时需求。3. Unable to synchronize in real time: Screenshots and screen recordings cannot be synchronized in real time and cannot meet the immediate needs of users during communication.
因此,相关技术中界面信息共享存在效率低下、信息质量参差不齐以及无法实时同步的技术问题。Therefore, interface information sharing in related technologies has technical problems such as low efficiency, uneven information quality, and inability to synchronize in real time.
发明内容Contents of the invention
本申请提供了一种界面信息共享方法和装置、电子设备和存储介质,以至少解决相关技术中界面信息共享存在效率低下、信息质量参差不齐以及无法实时同步的技术问题。This application provides an interface information sharing method and device, electronic equipment, and storage media to at least solve the technical problems of low efficiency, uneven information quality, and inability to synchronize in real time in interface information sharing in related technologies.
根据本申请实施例的一个方面,提供了一种界面信息共享方法,应用于终端,包括:According to one aspect of the embodiments of the present application, an interface information sharing method is provided, which is applied to a terminal and includes:
监听得到当前交互界面上的关键信息,其中,所述关键信息用于进行信息过滤;Monitor and obtain key information on the current interactive interface, where the key information is used for information filtering;
将所述关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,其中,所述当前浏览器路由为所述当前交互界面对应的URL地址,所述当前界面信息包括所述当前交互界面以及所述关键信息;Synchronize the key information to the current browser route to obtain the target browser route corresponding to the current interface information, where the current browser route is the URL address corresponding to the current interactive interface, and the current interface information includes the Describe the current interactive interface and the key information;
确定对所述当前界面信息进行共享的共享对象信息;Determine the shared object information for sharing the current interface information;
将所述共享对象信息以及所述目标浏览器路由发送至服务器,以使所述服务器将所述目标浏览器路由共享至所述共享对象信息所对应的目标对象,并使所述目标对象按照所述目标浏览器路由展示所述当前界面信息。Send the shared object information and the target browser route to the server, so that the server shares the target browser route to the target object corresponding to the shared object information, and causes the target object to follow the specified The target browser route displays the current interface information.
可选地,如前述的方法,所述监听得到当前界面上的关键信息,包括:Optionally, as in the aforementioned method, the monitoring obtains key information on the current interface, including:
获取在所述当前交互界面上的每个目标控件中输入的关键子信息;Obtain the key sub-information entered in each target control on the current interactive interface;
基于所述每个目标控件中输入的关键子信息得到所述关键信息。The key information is obtained based on the key sub-information input in each target control.
可选地,如前述的方法,所述将所述关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,包括:Optionally, as in the aforementioned method, the key information is synchronized to the current browser route to obtain the target browser route corresponding to the current interface information, including:
按照所述每个目标控件中输入的关键子信息以及所述每个目标控件对应的信息类型,确定出与每个关键子信息对应的信息类型;Determine the information type corresponding to each key sub-information according to the key sub-information input in each target control and the information type corresponding to each target control;
基于所述与每个关键子信息对应的信息类型,确定出关键浏览器路由;Determine the key browser route based on the information type corresponding to each key sub-information;
将所述关键浏览器路由拼接至所述当前浏览器路由之后,得到所述当前界面信息对应的所述目标浏览器路由。After splicing the key browser route to the current browser route, the target browser route corresponding to the current interface information is obtained.
可选地,如前述的方法,在所述基于所述与每个关键子信息对应的信息类型,确定出关键浏览器路由之后,所述方法还包括:Optionally, as in the aforementioned method, after determining the key browser route based on the information type corresponding to each key sub-information, the method further includes:
按照所述关键信息过滤得到目标信息,并对所述当前交互界面更新得到包括所述目标信息的更新后交互界面;Filter according to the key information to obtain target information, and update the current interactive interface to obtain an updated interactive interface including the target information;
确定出所述更新后交互界面的更新后浏览器路由;Determine the updated browser route of the updated interactive interface;
将所述关键浏览器路由拼接至所述更新后浏览器路由之后,得到更新后界面信息对应的所述更新后浏览器路由,其中,所述更新后界面信息包括所述更新后交互界面以及所述关键信息。After splicing the key browser route to the updated browser route, the updated browser route corresponding to the updated interface information is obtained, wherein the updated interface information includes the updated interactive interface and all Describe key information.
根据本申请实施例的另一个方面,还提供了一种界面信息共享方法,应用于服务器,包括:According to another aspect of the embodiment of the present application, an interface information sharing method is also provided, applied to a server, including:
获取来自于客户端的共享对象信息以及目标浏览器路由,其中,所述目标浏览器路由为所述客户端通过监听得到当前交互界面上的关键信息,将所述关键信息同步至当前浏览器路由中之后,得到的与当前界面信息对应的浏览器路由,所述关键信息用于进行信息过滤,所述当前浏览器路由为所述当前交互界面对应的URL地址,所述当前界面信息包括所述当前交互界面以及所述关键信息;Obtain the shared object information and the target browser route from the client, where the target browser route means that the client obtains key information on the current interactive interface through monitoring, and synchronizes the key information to the current browser route. After that, the browser route corresponding to the current interface information is obtained. The key information is used for information filtering. The current browser route is the URL address corresponding to the current interactive interface. The current interface information includes the current interface information. Interactive interface and the key information;
将所述目标浏览器路由共享至所述共享对象信息所对应的目标对象,以使所述目标对象按照所述目标浏览器路由展示所述当前界面信息。The target browser route is shared to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route.
可选地,如前述的方法,所述将所述目标浏览器路由共享至所述共享对象信息所对应的目标对象,以使所述目标对象按照所述目标浏览器路由展示所述当前界面信息,包括:Optionally, as in the aforementioned method, the target browser route is shared to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route. ,include:
根据所述目标浏览器路由生成目标通知信息;Generate target notification information according to the target browser route;
将所述目标通知信息按照所述共享对象信息推送至所述目标对象,以使所述目标对象通过触发所述目标通知信息,打开所述当前界面信息。The target notification information is pushed to the target object according to the shared object information, so that the target object opens the current interface information by triggering the target notification information.
根据本申请实施例的另一个方面,还提供了一种界面信息共享装置,应用于终端,包括:According to another aspect of the embodiment of the present application, an interface information sharing device is also provided, which is applied to a terminal and includes:
监听模块,用于监听得到当前交互界面上的关键信息,其中,所述关键信息用于进行信息过滤;A listening module, used to monitor and obtain key information on the current interactive interface, where the key information is used for information filtering;
同步模块,用于将所述关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,其中,所述当前浏览器路由为所述当前交互界面对应的URL地址,所述当前界面信息包括所述当前交互界面以及所述关键信息;A synchronization module, used to synchronize the key information to the current browser route to obtain the target browser route corresponding to the current interface information, wherein the current browser route is the URL address corresponding to the current interactive interface, and the The current interface information includes the current interactive interface and the key information;
共享模块,用于确定对所述当前界面信息进行共享的共享对象信息;A sharing module, used to determine the shared object information for sharing the current interface information;
第一发送模块,用于将所述共享对象信息以及所述目标浏览器路由发送至服务器,以使所述服务器将所述目标浏览器路由共享至所述共享对象信息所对应的目标对象,并使所述目标对象按照所述目标浏览器路由展示所述当前界面信息。The first sending module is used to send the shared object information and the target browser route to the server, so that the server shares the target browser route to the target object corresponding to the shared object information, and The target object is caused to display the current interface information according to the target browser route.
根据本申请实施例的另一个方面,还提供了一种界面信息共享装置,应用于服务器,包括:According to another aspect of the embodiment of the present application, an interface information sharing device is also provided, which is applied to a server and includes:
获取模块,用于获取来自于客户端的共享对象信息以及目标浏览器路由,其中,所述目标浏览器路由为所述客户端通过监听得到当前交互界面上的关键信息,将所述关键信息同步至当前浏览器路由中之后,得到的与当前界面信息对应的浏览器路由,所述关键信息用于进行信息过滤,所述当前浏览器路由为所述当前交互界面对应的URL地址,所述当前界面信息包括所述当前交互界面以及所述关键信息;The acquisition module is used to obtain the shared object information from the client and the target browser route, wherein the target browser route is for the client to obtain the key information on the current interactive interface through monitoring, and synchronize the key information to After the current browser route is completed, the browser route corresponding to the current interface information is obtained. The key information is used for information filtering. The current browser route is the URL address corresponding to the current interactive interface. The current interface The information includes the current interactive interface and the key information;
第二发送模块,用于将所述目标浏览器路由共享至所述共享对象信息所对应的目标对象,以使所述目标对象按照所述目标浏览器路由展示所述当前界面信息。The second sending module is configured to share the target browser route to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route.
根据本申请实施例的又一个方面,还提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器、通信接口和存储器通过通信总线完成相互间的通信;其中,存储器,用于存储计算机程序;处理器,用于通过运行所述存储器上所存储的所述计算机程序来执行上述任一实施例中的方法步骤。According to yet another aspect of the embodiment of the present application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein, A memory is used to store a computer program; a processor is used to execute the method steps in any of the above embodiments by running the computer program stored on the memory.
根据本申请实施例的又一个方面,还提供了一种计算机可读的存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一实施例中的方法步骤。According to yet another aspect of the embodiment of the present application, a computer-readable storage medium is also provided. The storage medium stores a computer program, wherein the computer program is configured to execute the method in any of the above embodiments when running. step.
在本申请实施例中,通过监听得到当前交互界面上的关键信息,并将关键信息同步至当前浏览器路由中,从而可以得到当前界面信息对应的目标浏览器路由;并且通过服务器将对当前界面信息进行共享的共享对象信息以及目标浏览器路由发送至目标对象,从而使目标对象按照目标浏览器路由展示当前界面信息;进而实现了将当前界面信息共享给目标对象的目的;由于在共享的过程中,无需进行截图、录屏等操作,从而可以解决相关技术中界面信息共享存在效率低下、信息质量参差不齐以及无法实时同步的技术问题。In the embodiment of this application, the key information on the current interactive interface is obtained through monitoring, and the key information is synchronized to the current browser route, so that the target browser route corresponding to the current interface information can be obtained; and the current interface is processed through the server. The shared object information and the target browser route for information sharing are sent to the target object, so that the target object displays the current interface information according to the target browser route; thus achieving the purpose of sharing the current interface information to the target object; due to the sharing process , there is no need to take screenshots, screen recordings, etc., thus solving the technical problems in related technologies such as inefficiency in interface information sharing, uneven information quality, and inability to synchronize in real time.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to describe the embodiments or the prior art. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1是根据本申请实施例的一种可选的界面信息共享方法的硬件环境的示意图;Figure 1 is a schematic diagram of the hardware environment of an optional interface information sharing method according to an embodiment of the present application;
图2是根据本申请实施例的一种可选的应用于终端的界面信息共享方法的流程示意图;Figure 2 is a schematic flowchart of an optional interface information sharing method applied to a terminal according to an embodiment of the present application;
图3是根据本申请实施例的一种可选的应用于服务器的界面信息共享方法的流程示意图;Figure 3 is a schematic flowchart of an optional interface information sharing method applied to a server according to an embodiment of the present application;
图4是根据本申请实施例的一种可选的应用于终端的界面信息共享装置的结构框图;Figure 4 is a structural block diagram of an optional interface information sharing device applied to a terminal according to an embodiment of the present application;
图5是根据本申请实施例的一种可选的应用于服务器的界面信息共享装置的结构框图;Figure 5 is a structural block diagram of an optional interface information sharing device applied to a server according to an embodiment of the present application;
图6是根据本申请实施例的一种可选的电子设备的结构框图。Figure 6 is a structural block diagram of an optional electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only These are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
根据本申请实施例的一个方面,提供了一种界面信息共享方法。可选地,在本实施例中,上述界面信息共享方法可以应用于如图1所示的由终端1402和服务器1404所构成的硬件环境中。如图1所示,服务器1404通过网络与终端1402进行连接,可用于为终端或终端上安装的客户端提供服务(如游戏服务、应用服务等),可在服务器上或独立于服务器设置数据库,用于为服务器1404提供数据存储服务。According to one aspect of the embodiments of the present application, an interface information sharing method is provided. Optionally, in this embodiment, the above interface information sharing method can be applied to a hardware environment composed of a terminal 1402 and a server 1404 as shown in FIG. 1 . As shown in Figure 1, the server 1404 is connected to the terminal 1402 through the network and can be used to provide services (such as game services, application services, etc.) for the terminal or the client installed on the terminal. The database can be set up on the server or independently from the server. Used to provide data storage services for server 1404.
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端可以并不限定于为PC、手机、平板电脑等。The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network. The above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. The terminal may not be limited to a PC, a mobile phone, a tablet, etc.
本申请实施例的界面信息共享方法可以由服务器来执行,也可以由终端来执行,还可以是由服务器和终端共同执行。其中,终端执行本申请实施例的界面信息共享方法也可以是由安装在其上的客户端来执行。The interface information sharing method in the embodiment of the present application can be executed by the server, the terminal, or both the server and the terminal. Wherein, the terminal executing the interface information sharing method of the embodiment of the present application may also be executed by a client installed on the terminal.
以由终端来执行本实施例中的界面信息共享方法为例,图2为本申请实施例提供的一种界面信息共享方法,应用于终端,包括如下所述步骤:Taking the interface information sharing method in this embodiment executed by a terminal as an example, Figure 2 shows an interface information sharing method provided by an embodiment of the present application. It is applied to a terminal and includes the following steps:
步骤S101,监听得到当前交互界面上的关键信息,其中,关键信息用于进行信息过滤。Step S101: Monitor and obtain key information on the current interactive interface, where the key information is used for information filtering.
本实施例中的界面信息共享方法可以应用于需要将系统界面共享给其他用户的场景。The interface information sharing method in this embodiment can be applied to scenarios where the system interface needs to be shared with other users.
具体的,终端的客户端可以通过对当前交互界面上的指定控件中的信息进行监听的方式,来获取当前交互界面上的关键信息。Specifically, the client of the terminal can obtain the key information on the current interactive interface by monitoring the information in the specified control on the current interactive interface.
关键信息可以是用于进行信息过滤的信息。可以包括的类型例如:时间、类型等等,可以根据实际系统的功能或应用于的业务场景进行选择。Key information may be information used for information filtering. The types that can be included are: time, type, etc., which can be selected according to the functions of the actual system or the business scenarios it is applied to.
当前交互界面可以是用于输入关键信息的界面,也就是说,当前交互界面可以是需要进行界面共享的目标系统中,除关键信息之外的其它界面信息。The current interactive interface may be an interface for inputting key information. That is to say, the current interactive interface may be other interface information other than key information in the target system that needs to be interface shared.
步骤S102,将关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,其中,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息。Step S102, synchronize the key information to the current browser route to obtain the target browser route corresponding to the current interface information, where the current browser route is the URL address corresponding to the current interactive interface, and the current interface information includes the current interactive interface and key information. .
具体的,在确定出关键信息之后,本实施例中将关键信息同步至当前浏览器路由中,即,将关键信息同步至当前交互界面的URL地址中,并得到当前界面信息对应的目标浏览器路由。Specifically, after determining the key information, in this embodiment, the key information is synchronized to the current browser route, that is, the key information is synchronized to the URL address of the current interactive interface, and the target browser corresponding to the current interface information is obtained. routing.
将关键信息同步至当前浏览器路由可以是基于关键信息生成用于同步至浏览器路由的关键浏览器路由,然后将该关键浏览器路由与当前交互界面的URL地址整合得到目标浏览器路由。Synchronizing the key information to the current browser route may be based on the key information to generate a key browser route for synchronization to the browser route, and then integrating the key browser route with the URL address of the current interactive interface to obtain the target browser route.
步骤S103,确定对当前界面信息进行共享的共享对象信息。Step S103: Determine the sharing object information for sharing the current interface information.
具体的,在获取当前界面信息之后,可以确定给出所需要进行共享的共享对象的共享对象信息。Specifically, after obtaining the current interface information, the shared object information of the shared object that needs to be shared can be determined.
共享对象信息可以包括但不限于:目标系统中的账号、以及该账号对应的密码等等。The shared object information may include but is not limited to: the account in the target system, the password corresponding to the account, etc.
并且,共享对象信息可以是由共享发起方通过在共享对象信息输入控件输入后得到。Moreover, the shared object information can be obtained by the sharing initiator after inputting the shared object information input control.
步骤S104,将共享对象信息以及目标浏览器路由发送至服务器,以使服务器将目标浏览器路由共享至共享对象信息所对应的目标对象,并使目标对象按照目标浏览器路由展示当前界面信息。Step S104: Send the shared object information and the target browser route to the server, so that the server shares the target browser route to the target object corresponding to the shared object information, and causes the target object to display the current interface information according to the target browser route.
具体的,在确定出共享对象信息以及目标浏览器路由之后,可以将共享对象信息发送至服务器,然后通过该服务器将目标浏览器路由共享至共享对象信息所对应的目标对象。Specifically, after the shared object information and the target browser route are determined, the shared object information can be sent to the server, and then the target browser route is shared to the target object corresponding to the shared object information through the server.
目标对象可以是登录有共享对象信息所指示的账号的客户端,目标对象可以通过对该目标浏览器路由进行解析,并得到当前界面信息。例如,可以先根据目标浏览器路由中的当前浏览器路由请求得到当前交互界面,然后根据目标浏览器路由中与关键信息对应的关键浏览器路由,解析得到关键信息;从而接口得到当前界面信息。The target object can be a client logged in with an account indicated by the shared object information. The target object can parse the target browser route and obtain the current interface information. For example, you can first obtain the current interactive interface based on the current browser routing request in the target browser route, and then parse and obtain the key information based on the key browser route corresponding to the key information in the target browser route; thereby the interface obtains the current interface information.
本实施例中的方法,通过监听得到当前交互界面上的关键信息,并将关键信息同步至当前浏览器路由中,从而可以得到当前界面信息对应的目标浏览器路由;并且通过服务器将对当前界面信息进行共享的共享对象信息以及目标浏览器路由发送至目标对象,从而使目标对象按照目标浏览器路由展示当前界面信息;进而实现了将当前界面信息共享给目标对象的目的;由于在共享的过程中,无需进行截图、录屏等操作,从而可以解决相关技术中界面信息共享存在效率低下、信息质量参差不齐以及无法实时同步的技术问题。The method in this embodiment obtains key information on the current interactive interface through monitoring, and synchronizes the key information to the current browser route, so that the target browser route corresponding to the current interface information can be obtained; and the server will process the current interface The shared object information and the target browser route for information sharing are sent to the target object, so that the target object displays the current interface information according to the target browser route; thereby achieving the purpose of sharing the current interface information to the target object; due to the sharing process , there is no need to take screenshots, screen recordings, etc., thus solving the technical problems in related technologies such as inefficiency in interface information sharing, uneven information quality, and inability to synchronize in real time.
作为一种可选的实施例,如前述的方法,所述步骤S101监听得到当前界面上的关键信息,包括如下所述步骤:As an optional embodiment, as in the aforementioned method, step S101 monitors and obtains key information on the current interface, including the following steps:
步骤1201,获取在当前交互界面上的每个目标控件中输入的关键子信息。Step 1201: Obtain key sub-information entered in each target control on the current interactive interface.
步骤1202,基于每个目标控件中输入的关键子信息得到关键信息。Step 1202: Obtain key information based on the key sub-information input in each target control.
具体的,为了获取用户输入的关键信息,当前交互界面上存在多个可以用于输入关键子信息的目标控件。Specifically, in order to obtain the key information input by the user, there are multiple target controls on the current interactive interface that can be used to input key sub-information.
目标控件可以是通过下拉框或者打字输入的方式输入关键子信息。每个关键子信息可以是一个或多个字符构成。The target control can input key sub-information through a drop-down box or typing input. Each key sub-information can be composed of one or more characters.
在确定出每个目标控件中输入的关键子信息之后,即可基于每个目标控件中输入的关键子信息得到关键信息,也就是说,关键信息包括所有关键子信息。After determining the key sub-information input in each target control, the key information can be obtained based on the key sub-information input in each target control. That is to say, the key information includes all key sub-information.
通过本实施例的方法,可以提取得到当前交互界面上的关键信息。Through the method of this embodiment, key information on the current interactive interface can be extracted.
作为一种可选的实施例,如前述的方法,所述步骤S102将关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,包括如下所述步骤:As an optional embodiment, as in the aforementioned method, step S102 synchronizes key information to the current browser route to obtain the target browser route corresponding to the current interface information, including the following steps:
步骤1301,按照每个目标控件中输入的关键子信息以及每个目标控件对应的信息类型,确定出与每个关键子信息对应的信息类型。Step 1301: Determine the information type corresponding to each key sub-information according to the key sub-information input in each target control and the information type corresponding to each target control.
具体的,每个目标控件用于输入的信息的信息类型都各不相同,例如:时间、资源类型等等。Specifically, the type of information used to input information for each target control is different, such as time, resource type, etc.
因此,对于不同的关键子信息来说,每个关键自信息对应的信息类型也互不相同。Therefore, for different key sub-information, the information type corresponding to each key self-information is also different from each other.
步骤1302,基于与每个关键子信息对应的信息类型,确定出关键浏览器路由。Step 1302: Determine the key browser route based on the information type corresponding to each key sub-information.
具体的,在确定出与每个关键子信息对应的信息类型之后,可以按照预设的对应关系,例如,每个信息类型对应的URL信息,以及每个关键子信息对应的URL信息。生成关键浏览器路由。Specifically, after determining the information type corresponding to each key sub-information, a preset correspondence relationship can be followed, for example, the URL information corresponding to each information type, and the URL information corresponding to each key sub-information. Generate critical browser routes.
步骤S1303,将关键浏览器路由拼接至当前浏览器路由之后,得到当前界面信息对应的目标浏览器路由。Step S1303: After splicing key browser routes to the current browser route, the target browser route corresponding to the current interface information is obtained.
在确定出关键浏览器路由之后,可以将该关键浏览器路由拼接至当前浏览器路由之后,以得到当前界面信息对应的目标浏览器路由;进一步,可以通过对关键浏览器路由的前N个字符采用预设字符进行标识,以与当前交互界面的当前浏览器路由进行区别,便于后期解析得到当前交互界面以及关键信息。After determining the key browser route, the key browser route can be spliced to the current browser route to obtain the target browser route corresponding to the current interface information; further, the first N characters of the key browser route can be obtained Use preset characters for identification to distinguish it from the current browser route of the current interactive interface, so as to facilitate later analysis to obtain the current interactive interface and key information.
作为一种可选的实施例,如前述的方法,在所述步骤S1302基于与每个关键子信息对应的信息类型,确定出关键浏览器路由之后,方法还包括如下所述步骤:As an optional embodiment, as in the aforementioned method, after step S1302 determines the key browser route based on the information type corresponding to each key sub-information, the method further includes the following steps:
步骤1401,按照关键信息过滤得到目标信息,并对当前交互界面更新得到包括目标信息的更新后交互界面;Step 1401, filter the target information according to the key information, and update the current interactive interface to obtain an updated interactive interface including the target information;
步骤1402,确定出更新后交互界面的更新后浏览器路由;Step 1402, determine the updated browser route of the updated interactive interface;
步骤1403,将关键浏览器路由拼接至更新后浏览器路由之后,得到更新后界面信息对应的更新后浏览器路由,其中,更新后界面信息包括更新后交互界面以及关键信息。Step 1403: After splicing the key browser routes to the updated browser routes, the updated browser routes corresponding to the updated interface information are obtained, where the updated interface information includes the updated interactive interface and key information.
也就是说,在确定出关键信息之后,可以先过滤得到目标信息,即,目标信息是关键信息所用于过滤筛选的信息。That is to say, after the key information is determined, the target information can be obtained by filtering first, that is, the target information is the information used for filtering the key information.
例如,在所有目标控件中输入关键信息之后,可以通过点击例如“查询”等按键,以启动查询,从服务器中得到目标信息,并对当前交互界面更新得到包括目标信息的更新后交互界面。For example, after entering key information in all target controls, you can click a button such as "Query" to start a query, obtain the target information from the server, and update the current interactive interface to obtain an updated interactive interface including the target information.
在确定出目标更新后交互界面之后,即可得到与该更新后交互界面对应的更新后浏览器路由。进而可以将关键浏览器路由拼接至更新后浏览器路由之后,得到更新后界面信息对应的更新后浏览器路由。After the target updated interactive interface is determined, the updated browser route corresponding to the updated interactive interface can be obtained. Then, the key browser routes can be spliced to the updated browser routes to obtain the updated browser routes corresponding to the updated interface information.
如图3所示,根据本申请实施例的另一个方面,还提供了一种界面信息共享方法,应用于服务器,包括如下所述步骤:As shown in Figure 3, according to another aspect of the embodiment of the present application, an interface information sharing method is also provided, which is applied to a server and includes the following steps:
步骤S201,获取来自于客户端的共享对象信息以及目标浏览器路由,其中,目标浏览器路由为客户端通过监听得到当前交互界面上的关键信息,将关键信息同步至当前浏览器路由中之后,得到的与当前界面信息对应的浏览器路由,关键信息用于进行信息过滤,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息;Step S201, obtain the shared object information from the client and the target browser route. The target browser route is that the client obtains the key information on the current interactive interface through monitoring, and synchronizes the key information to the current browser route to obtain The browser route corresponding to the current interface information. The key information is used for information filtering. The current browser route is the URL address corresponding to the current interactive interface. The current interface information includes the current interactive interface and key information;
步骤S202,将目标浏览器路由共享至共享对象信息所对应的目标对象,以使目标对象按照目标浏览器路由展示当前界面信息。Step S202: Share the target browser route to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route.
具体的,终端的客户端可以通过对当前交互界面上的指定控件中的信息进行监听的方式,来获取当前交互界面上的关键信息。Specifically, the client of the terminal can obtain the key information on the current interactive interface by monitoring the information in the specified control on the current interactive interface.
关键信息可以是用于进行信息过滤的信息。可以包括的类型例如:时间、类型等等,可以根据实际系统的功能或应用于的业务场景进行选择。Key information may be information used for information filtering. The types that can be included are: time, type, etc., which can be selected according to the functions of the actual system or the business scenarios it is applied to.
当前交互界面可以是用于输入关键信息的界面,也就是说,当前交互界面可以是需要进行界面共享的目标系统中,除关键信息之外的其它界面信息。The current interactive interface may be an interface for inputting key information. That is to say, the current interactive interface may be other interface information other than key information in the target system that needs to be interface shared.
在确定出关键信息之后,终端的客户端将关键信息同步至当前浏览器路由中,即,将关键信息同步至当前交互界面的URL地址中,并得到当前界面信息对应的目标浏览器路由。After determining the key information, the client of the terminal synchronizes the key information to the current browser route, that is, synchronizes the key information to the URL address of the current interactive interface, and obtains the target browser route corresponding to the current interface information.
将关键信息同步至当前浏览器路由可以是基于关键信息生成用于同步至浏览器路由的关键浏览器路由,然后将该关键浏览器路由与当前交互界面的URL地址整合得到目标浏览器路由。Synchronizing the key information to the current browser route may be based on the key information to generate a key browser route for synchronization to the browser route, and then integrating the key browser route with the URL address of the current interactive interface to obtain the target browser route.
在获取当前界面信息之后,可以确定给出所需要进行共享的共享对象的共享对象信息。After obtaining the current interface information, the shared object information of the shared object that needs to be shared can be determined.
共享对象信息可以包括但不限于:目标系统中的账号、以及该账号对应的密码等等。The shared object information may include but is not limited to: the account in the target system, the password corresponding to the account, etc.
并且,共享对象信息可以是由共享发起方通过在共享对象信息输入控件输入后得到。Moreover, the shared object information can be obtained by the sharing initiator after inputting the shared object information input control.
具体的,在确定出共享对象信息以及目标浏览器路由之后,终端即可将共享对象信息以及目标浏览器路由发送至服务器。Specifically, after determining the shared object information and the target browser route, the terminal can send the shared object information and the target browser route to the server.
服务器在获取共享对象信息以及目标浏览器路由之后,即可按照该共享对象信息将目标浏览器路由共享至共享对象信息所对应的目标对象。After the server obtains the shared object information and the target browser route, it can share the target browser route to the target object corresponding to the shared object information according to the shared object information.
目标对象可以是登录有共享对象信息所指示的账号的客户端,目标对象可以通过对该目标浏览器路由进行解析,并得到当前界面信息。例如,可以先根据目标浏览器路由中的当前浏览器路由请求得到当前交互界面,然后根据目标浏览器路由中与关键信息对应的关键浏览器路由,解析得到关键信息;从而接口得到当前界面信息。The target object can be a client logged in with an account indicated by the shared object information. The target object can parse the target browser route and obtain the current interface information. For example, you can first obtain the current interactive interface based on the current browser routing request in the target browser route, and then parse and obtain the key information based on the key browser route corresponding to the key information in the target browser route; thereby the interface obtains the current interface information.
作为一种可选的实施例,如前述的方法,所述步骤S202将目标浏览器路由共享至共享对象信息所对应的目标对象,以使目标对象按照目标浏览器路由展示当前界面信息,包括如下所述步骤:As an optional embodiment, as in the aforementioned method, step S202 shares the target browser route to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route, including the following The steps described:
步骤2101,根据目标浏览器路由生成目标通知信息。Step 2101: Generate target notification information according to the target browser route.
具体的,服务器在获取共享对象信息以及目标浏览器路由之后,可以先基于目标浏览器路由生成用于通知目标对象的目标通知信息。Specifically, after acquiring the shared object information and the target browser route, the server can first generate target notification information for notifying the target object based on the target browser route.
目标通知信息内可以封装有目标浏览器路由,并且目标通知信息可以封装为卡片通知的形式。The target notification information can be encapsulated with the target browser route, and the target notification information can be encapsulated in the form of a card notification.
步骤2102,将目标通知信息按照共享对象信息推送至目标对象,以使目标对象通过触发目标通知信息,打开当前界面信息。Step 2102: Push the target notification information to the target object according to the shared object information, so that the target object opens the current interface information by triggering the target notification information.
具体的,在生成目标通知信息之后,可以将目标通知信息按照共享对象信息推送给目标对象。Specifically, after the target notification information is generated, the target notification information can be pushed to the target object according to the shared object information.
例如,可以按照共享对象信息中的目标账号信息,将目标通知信息推送至当前登录有目标账号信息所对应的目标账号的目标客户端(即,目标对象),并在目标对象中的目标通知信息被触发(例如,点击)之后,即可打开该当前界面信息。For example, according to the target account information in the shared object information, the target notification information can be pushed to the target client (that is, the target object) currently logged in with the target account corresponding to the target account information, and the target notification information in the target object After being triggered (for example, clicked), the current interface information can be opened.
如下所述,提供一种应用前述任一实施例的应用例:As described below, an application example using any of the foregoing embodiments is provided:
打开系统的可视化界面(即,当前交互界面),可看到过滤信息模块的关键字筛查(即,目标控件)。Open the visual interface of the system (i.e., the current interactive interface), and you can see the keyword screening (i.e., target control) of the filtering information module.
用户可以在客户端的目标控件中选择自行过滤数据的关键字(即,每个目标控件中输入的关键子信息),客户端监听用户选择的关键字,将所有关键字(即,关键信息)同步到当前浏览器路由上,得到目标浏览器路由。Users can select keywords to filter data by themselves in the target control of the client (i.e., key sub-information entered in each target control). The client monitors the keywords selected by the user and synchronizes all keywords (i.e., key information). Go to the current browser route and get the target browser route.
在选定关键字过滤出需要的信息界面,点击可视化界面上的分享按钮,填写指定的分享人员的登录id(即,共享对象信息),将目标浏览器路由发送到服务器,由服务器将目标浏览器路由推送到指定的用户系统(即,目标对象)的共享信息界面。In the selected keyword filtering out required information interface, click the share button on the visual interface, fill in the login ID of the designated sharing person (i.e., the shared object information), and send the target browser route to the server, which will then send the target browser The router route is pushed to the shared information interface of the specified user system (i.e., the target object).
在被指定推送用户系统界面(即,目标对象的界面)上,展示收到服务器推送的卡片通知(即,目标通知信息),用户点击通知卡片通知,即可跳转分享的当前界面信息。On the designated push user system interface (i.e., the interface of the target object), the card notification received from the server push (i.e., the target notification information) is displayed. The user clicks the notification card notification to jump to the current shared interface information.
实现原理可以是:The implementation principle can be:
用户通过客户端(即,终端)应用程序选择需要共享的界面信息,并将该界面信息进行数据化处理,生成共享数据包(即,包括所述目标浏览器路由)。The user selects the interface information that needs to be shared through the client (ie, terminal) application program, and the interface information is digitized to generate a shared data package (ie, including the target browser route).
客户端应用程序将共享数据包发送至服务器,同时,客户端应用程序向服务器请求匹配允许被共享该共享数据包的其它用户。The client application sends the shared data package to the server, and at the same time, the client application requests the server to match other users who are allowed to be shared with the shared data package.
服务器接收共享数据包并存储至共享数据库中,同时根据客户端应用程序的请求(即,发送的共享对象信息),匹配被允许共享该共享数据包的其它用户系统(即,目标对象)。The server receives the shared data package and stores it in the shared database. At the same time, according to the request of the client application (ie, the shared object information sent), it matches other user systems (ie, target objects) that are allowed to share the shared data package.
服务器将匹配结果发送至客户端应用程序,客户端应用程序根据匹配结果,建立与其它用户的通信通道,实现用户之间的实时共享系统界面信息。The server sends the matching results to the client application, and the client application establishes communication channels with other users based on the matching results to realize real-time sharing of system interface information between users.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with this application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily necessary for this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM(Read-Only Memory,只读存储器)/RAM(Random Access Memory,随机存取存储器)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM (Read-Only Memory, Read-only memory)/RAM (Random Access Memory, disk, optical disk), including a number of instructions to make a terminal device (can be a mobile phone, computer, server, or network device, etc.) to execute this Apply the methods described in the various examples.
根据本申请实施例的另一个方面,还提供了一种用于实施上述应用于终端的界面信息共享方法的界面信息共享装置。图4是根据本申请实施例的一种可选的界面信息共享装置的结构框图,该装置应用于终端,如图4所示,该装置可以包括:According to another aspect of the embodiments of the present application, an interface information sharing device for implementing the above interface information sharing method applied to a terminal is also provided. Figure 4 is a structural block diagram of an optional interface information sharing device according to an embodiment of the present application. The device is applied to a terminal. As shown in Figure 4, the device may include:
监听模块11,用于监听得到当前交互界面上的关键信息,其中,关键信息用于进行信息过滤;The monitoring module 11 is used to monitor and obtain key information on the current interactive interface, where the key information is used for information filtering;
同步模块12,用于将关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,其中,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息;Synchronization module 12 is used to synchronize key information to the current browser route to obtain the target browser route corresponding to the current interface information, where the current browser route is the URL address corresponding to the current interactive interface, and the current interface information includes the current interactive interface and key information;
共享模块13,用于确定对当前界面信息进行共享的共享对象信息;Sharing module 13, used to determine the shared object information for sharing the current interface information;
第一发送模块14,用于将共享对象信息以及目标浏览器路由发送至服务器,以使服务器将目标浏览器路由共享至共享对象信息所对应的目标对象,并使目标对象按照目标浏览器路由展示当前界面信息。The first sending module 14 is used to send the shared object information and the target browser route to the server, so that the server shares the target browser route to the target object corresponding to the shared object information, and causes the target object to be displayed according to the target browser route. Current interface information.
需要说明的是,该实施例中的监听模块11可以用于执行上述步骤S101,该实施例中的同步模块12可以用于执行上述步骤S102,该实施例中的共享模块13可以用于执行上述步骤S103,该实施例中的第一发送模块14可以用于执行上述步骤S104。It should be noted that the listening module 11 in this embodiment can be used to perform the above step S101, the synchronization module 12 in this embodiment can be used to perform the above step S102, and the sharing module 13 in this embodiment can be used to perform the above step S101. Step S103, the first sending module 14 in this embodiment can be used to perform the above step S104.
本实施例中的装置,除包含上述模块之外,还可以包含执行如前述任一应用于终端的界面信息共享方法的实施例中任意方法的模块。In addition to the above-mentioned modules, the device in this embodiment may also include a module that performs any method in any of the foregoing embodiments of the interface information sharing method applied to the terminal.
根据本申请实施例的另一个方面,还提供了一种用于实施上述应用于服务器的界面信息共享方法的界面信息共享装置。图5是根据本申请实施例的一种可选的界面信息共享装置的结构框图,该装置应用于服务器,如图5所示,该装置可以包括:According to another aspect of the embodiment of the present application, an interface information sharing device for implementing the above interface information sharing method applied to a server is also provided. Figure 5 is a structural block diagram of an optional interface information sharing device according to an embodiment of the present application. The device is applied to a server. As shown in Figure 5, the device may include:
根据本申请实施例的另一个方面,还提供了一种界面信息共享装置,应用于服务器,包括:According to another aspect of the embodiment of the present application, an interface information sharing device is also provided, which is applied to a server and includes:
获取模块21,用于获取来自于客户端的共享对象信息以及目标浏览器路由,其中,目标浏览器路由为客户端通过监听得到当前交互界面上的关键信息,将关键信息同步至当前浏览器路由中之后,得到的与当前界面信息对应的浏览器路由,关键信息用于进行信息过滤,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息;The acquisition module 21 is used to obtain the shared object information from the client and the target browser route. The target browser route is for the client to obtain the key information on the current interactive interface through monitoring, and synchronize the key information to the current browser route. After that, the browser route corresponding to the current interface information is obtained, and the key information is used for information filtering. The current browser route is the URL address corresponding to the current interactive interface. The current interface information includes the current interactive interface and key information;
第二发送模块22,用于将目标浏览器路由共享至共享对象信息所对应的目标对象,以使目标对象按照目标浏览器路由展示当前界面信息。The second sending module 22 is used to share the target browser route to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route.
需要说明的是,该实施例中的获取模块21可以用于执行上述步骤S201,该实施例中的第二发送模块22可以用于执行上述步骤S202。It should be noted that the acquisition module 21 in this embodiment can be used to perform the above step S201, and the second sending module 22 in this embodiment can be used to perform the above step S202.
本实施例中的装置,除包含上述模块之外,还可以包含执行如前述任一应用于服务器的界面信息共享方法的实施例中任意方法的模块。In addition to the above-mentioned modules, the device in this embodiment may also include a module that performs any method in any of the foregoing embodiments of the interface information sharing method applied to the server.
此处需要说明的是,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现,其中,硬件环境包括网络环境。It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above module, as part of the device, can run in the hardware environment as shown in Figure 1, and can be implemented by software or hardware, where the hardware environment includes a network environment.
根据本申请实施例的又一个方面,还提供了一种用于实施上述系统界面信息方法的电子设备,该电子设备可以是服务器、终端、或者其组合。According to yet another aspect of the embodiment of the present application, an electronic device for implementing the above system interface information method is also provided. The electronic device may be a server, a terminal, or a combination thereof.
根据本申请的另一个实施例,还提供一种电子设备,包括:如图6所示,电子设备可以包括:处理器1501、通信接口1502、存储器1503和通信总线1504,其中,处理器1501,通信接口1502,存储器1503通过通信总线1504完成相互间的通信。According to another embodiment of the present application, an electronic device is also provided, including: As shown in Figure 6, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, The communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
存储器1503,用于存放计算机程序;Memory 1503, used to store computer programs;
处理器1501,用于执行存储器1503上所存放的程序时,实现如下步骤:The processor 1501 is used to implement the following steps when executing the program stored in the memory 1503:
应用于终端的界面信息共享方法:Interface information sharing method applied to terminals:
步骤S101,监听得到当前交互界面上的关键信息,其中,关键信息用于进行信息过滤。Step S101: Monitor and obtain key information on the current interactive interface, where the key information is used for information filtering.
步骤S102,将关键信息同步至当前浏览器路由中,得到当前界面信息对应的目标浏览器路由,其中,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息。Step S102, synchronize the key information to the current browser route to obtain the target browser route corresponding to the current interface information, where the current browser route is the URL address corresponding to the current interactive interface, and the current interface information includes the current interactive interface and key information. .
步骤S103,确定对当前界面信息进行共享的共享对象信息。Step S103: Determine the sharing object information for sharing the current interface information.
步骤S104,将共享对象信息以及目标浏览器路由发送至服务器,以使服务器将目标浏览器路由共享至共享对象信息所对应的目标对象,并使目标对象按照目标浏览器路由展示当前界面信息。Step S104: Send the shared object information and the target browser route to the server, so that the server shares the target browser route to the target object corresponding to the shared object information, and causes the target object to display the current interface information according to the target browser route.
以及,应用于服务器的界面信息共享方法:And, the interface information sharing method applied to the server:
步骤S201,获取来自于客户端的共享对象信息以及目标浏览器路由,其中,目标浏览器路由为客户端通过监听得到当前交互界面上的关键信息,将关键信息同步至当前浏览器路由中之后,得到的与当前界面信息对应的浏览器路由,关键信息用于进行信息过滤,当前浏览器路由为当前交互界面对应的URL地址,当前界面信息包括当前交互界面以及关键信息;Step S201, obtain the shared object information from the client and the target browser route. The target browser route is that the client obtains the key information on the current interactive interface through monitoring, and synchronizes the key information to the current browser route to obtain The browser route corresponding to the current interface information. The key information is used for information filtering. The current browser route is the URL address corresponding to the current interactive interface. The current interface information includes the current interactive interface and key information;
步骤S202,将目标浏览器路由共享至共享对象信息所对应的目标对象,以使目标对象按照目标浏览器路由展示当前界面信息。Step S202: Share the target browser route to the target object corresponding to the shared object information, so that the target object displays the current interface information according to the target browser route.
可选地,在本实施例中,上述的通信总线可以是PCI(Peripheral ComponentInterconnect,外设部件互连标准)总线、或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于上述电子设备与其他设备之间的通信。Optionally, in this embodiment, the above-mentioned communication bus may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, etc. The communication bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the above-mentioned electronic devices and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far away from the aforementioned processor.
作为一种示例,上述存储器1503中可以但不限于包括上述应用于终端的界面信息共享装置中的监听模块11、同步模块12、共享模块13和第一发送模块14,以及应用于服务器的界面信息共享装置中的获取模块21以及第二发送模块22。此外,还可以包括但不限于上述用于终端的界面信息共享装置以及应用于服务器的界面信息共享装置中的其他模块单元,本示例中不再赘述。As an example, the above-mentioned memory 1503 may include, but is not limited to, the listening module 11, the synchronization module 12, the sharing module 13 and the first sending module 14 in the above-mentioned interface information sharing device applied to the terminal, as well as the interface information applied to the server. The acquisition module 21 and the second sending module 22 in the shared device. In addition, it may also include but is not limited to other module units in the above-mentioned interface information sharing device for terminals and the interface information sharing device applied to servers, which will not be described again in this example.
上述处理器可以是通用处理器,可以包含但不限于:CPU(Central ProcessingUnit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(DigitalSignal Processor,数字信号处理器)、ASIC(Application Specific IntegratedCircuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, which may include but is not limited to: CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor), etc.; it may also be a DSP (Digital Signal Processor, digital signal processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
本申请实施例还提供一种计算机可读存储介质,存储介质包括存储的程序,其中,程序运行时执行上述方法实施例的方法步骤。An embodiment of the present application also provides a computer-readable storage medium. The storage medium includes a stored program, wherein the method steps of the above method embodiment are executed when the program is run.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: U disk, ROM, RAM, mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, It includes several instructions to cause one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, each embodiment is described with its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例中所提供的方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only the preferred embodiments of the present application. It should be pointed out that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications can also be made. should be regarded as the scope of protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311198057.2A CN117312693A (en) | 2023-09-15 | 2023-09-15 | Interface information sharing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311198057.2A CN117312693A (en) | 2023-09-15 | 2023-09-15 | Interface information sharing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117312693A true CN117312693A (en) | 2023-12-29 |
Family
ID=89261310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311198057.2A Pending CN117312693A (en) | 2023-09-15 | 2023-09-15 | Interface information sharing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117312693A (en) |
-
2023
- 2023-09-15 CN CN202311198057.2A patent/CN117312693A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI519979B (en) | Information recommendation method and device thereof and information resource recommendation system | |
US20220365985A1 (en) | Page jump method and apparatus, electronic device and computer-readable storage medium | |
CN105451087A (en) | Pushing method, terminals, historical data server and system for barrage information | |
WO2018208664A1 (en) | Matching and attribution of user device events | |
CN106534276A (en) | Data sharing method and device, mobile terminal | |
WO2015106660A1 (en) | Security check method and system, terminal, verification server | |
WO2024099288A1 (en) | Resource processing method and apparatus, device, and medium | |
CN110377440A (en) | Information processing method and device | |
WO2024193582A1 (en) | Data query method and apparatus, and electronic device | |
CN113377312A (en) | Same-screen interaction method and device, computer equipment and computer readable storage medium | |
JP2024528494A (en) | Item processing method, device, equipment, and medium | |
US20150350444A1 (en) | Methods and systems for providing a multi-channel customer engagement experience | |
CN119166555A (en) | Method, device, equipment and storage medium for obtaining device information of access device | |
WO2024160121A1 (en) | Data production method and apparatus, and medium and electronic device | |
WO2024193586A1 (en) | Information query method and apparatus, and electronic device | |
CN117312693A (en) | Interface information sharing method and device, electronic equipment and storage medium | |
CN116264603B (en) | Live broadcast information processing method, device, equipment and storage medium | |
CN112688793B (en) | Data packet obtaining method and device and electronic equipment | |
JP6531303B1 (en) | INFORMATION SYSTEM, INFORMATION PROCESSING DEVICE, TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM | |
CN115563134A (en) | Interaction method, interaction device, electronic equipment and computer readable medium | |
CN104202310B (en) | A kind of method and apparatus that connection is established between mobile device and computing device | |
CN112449057B (en) | Message prompting method and device, storage medium and electronic device | |
CN113379556A (en) | Dynamic monitoring method, device and equipment for service data | |
CN114270389A (en) | Information acquisition method, device, system, electronic device, and storage medium | |
US9942361B2 (en) | Reporting page composition data |
Legal Events
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 |