WO2019024522A1 - 标题栏与弹框栏同步通信的方法、存储介质、设备及系统 - Google Patents

标题栏与弹框栏同步通信的方法、存储介质、设备及系统 Download PDF

Info

Publication number
WO2019024522A1
WO2019024522A1 PCT/CN2018/081319 CN2018081319W WO2019024522A1 WO 2019024522 A1 WO2019024522 A1 WO 2019024522A1 CN 2018081319 W CN2018081319 W CN 2018081319W WO 2019024522 A1 WO2019024522 A1 WO 2019024522A1
Authority
WO
WIPO (PCT)
Prior art keywords
title
bar
click event
current page
event information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/081319
Other languages
English (en)
French (fr)
Inventor
张磊
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Publication of WO2019024522A1 publication Critical patent/WO2019024522A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores

Definitions

  • the present invention relates to the field of application development technologies, and in particular, to a method, a storage medium, a device and a system for synchronous communication between a title bar and a bullet frame.
  • a secondary menu is usually used in the development and design of various APPs (Applications).
  • the so-called secondary menu means that the menu button can pull down and select a menu.
  • the developer will design a title bar for the secondary menu page, the title bar is used to classify the secondary menu page, each category is a title. Since there are a large number of titles, it is necessary to perform a left and right sliding operation, and this sliding operation is troublesome and difficult to view. Therefore, current developers usually design a bullet box bar, that is, clicking the button on the right side of the title bar can pop up. A drop-down box with the same content as the panel in the drop-down box.
  • EventBus an open source communication framework
  • third-party frameworks usually contain thousands of lines of code or even tens of thousands of lines of code. This is to add a few thousand lines to the project for a small function. The way of the code is undoubtedly not very practical, and the additional thousands of lines of tens of thousands of lines of code will not only increase the complexity of the project but also cause major disadvantages such as resource overhead.
  • the object of the present invention is to overcome the deficiencies of the above background art, and to provide a method, a storage medium, a device and a system for synchronously communicating a title bar and a bullet frame bar, which can realize synchronous communication of messages between a tab bar and a bullet box bar.
  • the communication hierarchy is simple and clear, the information is easy to track, and there is no need to introduce a third-party communication framework, and the resource overhead is low.
  • the technical solution adopted by the present invention is to provide a method for synchronously communicating a title bar and a bullet frame bar, the method comprising the following steps:
  • the setting of the title bar and the bullet box bar setting the title bar and the bullet box bar, so that the title bar and the bullet box bar use the title element container to carry the information of the title element, and pass the data adapter corresponding to the respective title element container. To listen to click events for their respective title elements;
  • the flow of the title bar event to the bullet box bar when the data adapter of the title bar listens to the click event of a title element of the title bar, the click event information received by the data adapter is forwarded to the current page through the preset bridge The current page uses the signal pool reference to forward the click event information to the title element container of the bulletin board;
  • the flow of the bullet column event to the title bar when the data adapter of the bullet box bar listens to the click event of a title element of the bullet box bar, the click event information received by the data adapter is forwarded to the current through the preset bridge In the page; the current page forwards the click event information to the title element container of the title bar by means of a signal pool reference.
  • the click event information received by the data adapter is forwarded to the current page by using a preset bridge, which specifically includes the following operations:
  • the page is set to monitor click event information in the data adapter of the title bar through a preset bridge, the preset bridge is set between the current page and the data adapter of the title bar; once the preset bridge listens to the title After receiving the click event information, the data adapter of the column forwards the click event information to the current page;
  • the click event information received by the data adapter is forwarded to the current page by using a preset bridge, which specifically includes the following operations: setting the current page to be preset through the bridge
  • the device monitors the click event information in the data adapter of the bullet box bar, and the preset bridge is set between the current page and the data adapter of the bullet box bar; once the preset bridge monitors the data adapter receiving the bullet box bar After clicking on the event information, the click event information is forwarded to the current page.
  • the current page uses the signal pool reference to forward the click event information to the title element container of the bullet box column, which specifically includes the following operations: A signal pool is created between the current page and the title element container of the bullet-box bar, the signal pool has a reference to the title element container of the bullet-box bar and a reference to the current page; once the current page receives the click event information of the title bar, Forwarding the click event information to the signal pool; after receiving the click event information forwarded by the current page, the signal pool forwards the click event information to the title element container of the bullet box column;
  • the current page uses the signal pool reference to forward the click event information to the title element container of the title bar, which specifically includes the following operations: the title element in the current page and the title bar A signal pool is created between the containers, the signal pool has a reference to the title element container of the title bar and a reference to the current page; once the current page receives the click event information of the bullet box, the click event information is forwarded to the signal pool; After receiving the click event information forwarded by the current page, the signal pool forwards the click event information to the title element container of the title bar.
  • the present invention also provides a storage medium having stored thereon a computer program, the computer program being executed by the processor to implement the steps of the method of synchronously communicating the title bar with the bullet box.
  • the present invention also provides an apparatus for synchronously communicating a title bar with a bullet-box bar, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, the processor implementing the computer program The steps of the method for synchronously communicating the title bar with the bullet box.
  • the invention also provides a system for synchronously communicating a title bar and a bullet frame bar, the system comprising a title bar and a bullet frame bar setting module, a title bar flow processing module, and a bullet frame bar flow processing module;
  • the title bar and the bullet box setting module are configured to: set the title bar and the bullet box column, so that the title bar and the bullet frame bar use the title element container to carry the information of the title element, and pass the respective title element container.
  • the title bar flow processing module is configured to: when the data adapter of the title bar listens to a click event of a title element of the title bar, forward the click event information received by the data adapter to the current page by using a preset bridge ; the current page is forwarded to the title element container of the bulletin bar by means of a signal pool reference;
  • the bullet box column processing module is configured to: when the data adapter of the bullet box bar monitors a click event of a title element of the bullet box column, forward the click event information received by the data adapter to the preset bridge to the click event information In the current page; causes the current page to forward the click event information to the title element container of the title bar by means of a signal pool reference.
  • the specific process in which the title bar flow processing module forwards the click event information received by the data adapter to the current page through the preset bridge is: setting the current page to be preset through the bridge.
  • the device monitors the click event information in the data adapter of the title bar, and the preset bridge is set between the current page and the data adapter of the title bar; once the preset bridge monitors the data adapter of the title bar receives the click event After the information, the click event information is forwarded to the current page.
  • the title bar flow processing module causes the current page to forward the click event information to the title element container of the bullet box column by using the signal pool reference: the current page and the bullet box column
  • a signal pool is created between the title element containers, the signal pool has a reference to the title element container of the bullet box column and a reference to the current page; once the current page receives the click event information of the title bar, the click event information is forwarded to the signal In the pool, after receiving the click event information forwarded by the current page, the signal pool forwards the click event information to the title element container of the bullet box.
  • the specific process of forwarding the click event information received by the data adapter to the current page by using the preset bridge is: setting the current page to be preset.
  • the bridge monitors the click event information in the data adapter of the bullet box bar, and the preset bridge is set between the current page and the data adapter of the bullet box bar; once the preset bridge monitors the data adapter of the bullet box bar After receiving the click event information, the click event information is forwarded to the current page.
  • the bullet box column processing module causes the current page to forward the click event information to the title element container of the title bar by means of a signal pool reference: the specific process in the current page and the title bar A signal pool is created between the title element containers, the signal pool has a reference to the title element container of the title bar and a reference to the current page; once the current page receives the click event information of the bullet box, the click event information is forwarded to the signal pool. After receiving the click event information forwarded by the current page, the signal pool forwards the click event information to the title element container of the title bar.
  • the title bar and the bullet box are both set to use the title element container to carry the information of the title element, and listen to the click event of the respective title element through the data adapter corresponding to the respective title element container;
  • the corresponding click event information is forwarded to the current page, and then the current page is forwarded to the title element container of the bullet box;
  • the bullet box is monitored,
  • the title is clicked, the corresponding click event information is also forwarded to the current page, and then forwarded to the title element container of the title bar through the current page, thereby realizing the two-way communication between the title bar and the bullet column.
  • the invention can realize synchronous communication of messages between the tab bar and the bullet box bar, and the communication hierarchy structure is simple and clear, and the tracking of the click event information is small; and, no third party communication framework is needed, Increase project complexity and resource overhead.
  • the signal pool reference is used for forwarding.
  • the way the signal pool is referenced not only reduces the strong coupling between the title element container of the bullet-box bar or the title bar and the current page, but also greatly improves the scalability and maintainability of the program.
  • FIG. 1 is a flowchart of a method for synchronously communicating a title bar and a bullet-box column in an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a hierarchical relationship between a page, a title bar, and a bullet frame column according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for synchronously communicating a title bar and a bullet-box column in an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a system for synchronously communicating a title bar and a bullet frame column in an embodiment of the present invention.
  • an embodiment of the present invention provides a method for synchronously communicating a title bar and a bullet frame.
  • the method includes the following steps:
  • Step S1 the setting of the title bar and the bullet box column: setting the title bar and the bullet box column, so that the title bar and the bullet box column use the title element container to carry the title element information, and corresponding to the respective title element containers.
  • the data adapter listens for click events for the respective title element.
  • the operating system is an Android system.
  • the title element container may be a Recycle VIew container provided by the Android system
  • the data adapter may be an Android adapter Adapter corresponding to the Recycle VIew container.
  • the biggest feature of the RecycleVIew container is that it can carry the same type of element information, and the data of the element information in the RecycleVIew container is loaded from the corresponding Adapter.
  • the Adapter stores the title element information of the title bar that needs to be displayed, and then passes the Adapter to the RecycleVIew container by calling the adapter setting function setadapter in the RecycleVIew container.
  • the RecycleVIew container can load the title of the title bar by loading the data in the Adapter. Elemental information is presented.
  • the data (title element information) is from the Adapter, that is, the Adapter is an object that is most familiar with the data (title element information).
  • the Adapter is able to obtain the click event information of the title bar. Since the RecycleVIew container itself is just a container, it is mainly responsible for displaying the view elements. For the functions of the view elements, such as listening, it is executed in the Adapter. Therefore, the Adapter can be used to monitor the title elements in the title bar. Click on the event.
  • the listener of the element in the Adapter is set by calling the click listener setting function setOnClickListener for each element in the Adapter, that is, setting the click event listener of the title element of the title bar in the RecycleVIew container.
  • the Android system After setting the listener in the Adapter, when the user clicks on an element (that is, a title) in the RecycleVIew container, the Android system will first capture and forward the click event to the Adapter, so the Adapter will listen to the title bar. The title was pressed for the event.
  • the bullet box bar Since the bullet box bar is to present the same data information as the title bar, only the view area of the bullet box bar will be larger. Therefore, based on the same design principle described above, the title element container is also used for the bullet box column, such as the RecycleVIew container to carry the title element information, and the click event of the bullet box is also monitored in the same manner as the title bar. No longer.
  • Step S2 Processing of the title bar event flowing to the bullet box: when the data adapter of the title bar listens to the click event of a title element of the title bar, the click event information received by the data adapter is forwarded through the preset bridge To the current page (such as the current secondary menu page); the current page uses the signal pool reference to forward the click event information to the title element container of the bullet box.
  • the click event information of the title bar and the bullet box column are all monitored by the data adapter corresponding to the respective title element container, and the title element container of the bullet box column does not hold the data adapter of the title bar, the click event information is clicked. It is not possible to directly reach the title element container of the title bar from the data adapter of the title bar, and must be forwarded by the page Fragment instead of being directly sent by the data adapter of the title bar to the title element container of the bullet box.
  • the flow of the click event information of the title bar to the bullet box column is: first, the data adapter flow corresponding to the title element container of the title bar is transferred to the page Fragment, and then the page Fragment is clicked again.
  • the event information is forwarded to the title element container of the bullet box.
  • the click event information received by the data adapter is forwarded to the current page by using a preset bridge.
  • the specific process of forwarding the click event information received by the data adapter to the current page through the preset bridge includes:
  • the preset bridge listens to the data adapter of the title bar and receives the click event information of the operating system callback, the bridge will forward the click event information directly to the current page.
  • the page fragment is forwarded by using the signal pool reference.
  • the reason why the signal pool reference is used for forwarding is to reduce the strong coupling relationship between the title element container and the page fragment of the bullet box. Such a design can greatly improve the scalability and maintainability of the program.
  • the specific process of forwarding the click event information to the title element container of the bullet box in the manner that the current page is referenced by the signal pool includes:
  • the click event information is forwarded to the signal pool by means of a function call (since the signal pool and the page Fragment are referenced, therefore, the function can be directly passed.
  • the method of calling forwards the click event information to the signal pool.
  • the signal pool After receiving the click event information forwarded by the page Fragment, the signal pool forwards the click event information to the title element container of the bullet box by means of a function call.
  • Step S3 Processing of the bullet box column event flowing to the title bar: when the data adapter of the bullet box bar monitors the click event of a title element of the bullet box bar, the click event received by the data adapter through the preset bridge The information is forwarded to the current page (such as the current secondary menu page); the current page uses the signal pool reference to forward the click event information to the title element container of the title bar.
  • the bullet box column uses the title element container to carry the title element information, and listens to the click event of the respective title element through the data adapter corresponding to the respective title element container, therefore, the bullet box column
  • the flow of the click event stream to the title bar can be the same as that in step S2, that is, the data adapter corresponding to the title element container of the bullet box is first transferred to the page Fragment through the bridge stream, and then the page Fragment is further signaled. The way the pool references the click event information is forwarded to the title element container of the title bar.
  • step S2 Because the specific flow process in the second step (including the specific process of forwarding through the bridge and the specific process of forwarding by the signal pool) is described in detail, the related flow process is not repeated in this step, and the entire flow is repeated. The same manner can be understood as the reverse operation of step S2.
  • the integrity of the synchronous communication between the title bar and the bullet-frame bar can be ensured, so that the title bar and the bullet-frame bar can communicate bidirectionally, that is, the click event information of the title bar can be synchronously flowed to the bullet-box bar, and the bullet frame
  • the click event information of the column can also be synchronously flowed to the title bar, thereby achieving the purpose of two-way transmission between the information.
  • step S2 and step S3 may be performed simultaneously or sequentially according to actual conditions.
  • This embodiment is only a specific example, and is not a limitation of its sequence.
  • the embodiment of the present invention further provides a storage medium, where the computer program is stored, and the computer program is executed by the processor to implement the title bar in each embodiment.
  • the steps of the method of synchronous communication with the bullet box bar includes a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like.
  • the medium of the code includes a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like.
  • the method for synchronously communicating with the title bar and the bullet box column is provided.
  • the embodiment of the present invention further provides a device for synchronously communicating the title bar and the bullet frame bar, including a memory, a processor, and a memory. And a computer program operable on the processor, the processor executing the computer program to implement the steps of the method for synchronously communicating the title bar and the bullet box in each of the above embodiments.
  • an embodiment of the present invention further provides a system for synchronously communicating a title bar and a bullet frame.
  • the system includes a title bar and a bullet frame setting module, a title bar flow processing module, and a bullet frame flow processing module.
  • the title bar and the bullet box bar setting module are used to: set the title bar and the bullet box bar, so that the title bar and the bullet box bar use the title element container to carry the information of the title element, and pass the respective title element container.
  • the title bar flow processing module is configured to: when the data adapter of the title bar listens to the click event of a certain title element of the title bar, forward the click event information received by the data adapter to the current page through the preset bridge; The current page uses the signal pool reference to forward the click event information to the title element container of the bullet box;
  • the bullet box flow processing module is configured to: when the data adapter of the bullet box bar monitors a click event of a title element of the bullet box bar, forward the click event information received by the data adapter to the current page through the preset bridge Medium; causes the current page to forward click event information to the title element container of the title bar in a way that is referenced by the signal pool.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种标题栏与弹框栏同步通信的方法、存储介质、设备及系统,涉及应用程序开发技术领域。该方法包括:将标题栏、弹框栏均设置为使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;当监听到标题栏的某个标题被点击时,将相应的点击事件信息转发至当前页面中,再经过当前页面转发至弹框栏的标题元素容器中;当监听到弹框栏的某个标题被点击时,将相应的点击事件信息转发至当前页面中,再经过当前页面转发至标题栏的标题元素容器中。本发明能实现标签栏与弹框栏之间的同步通信,不但通信层级结构简单清晰,信息易跟踪,而且无需引入第三方通信框架,资源开销低。

Description

标题栏与弹框栏同步通信的方法、存储介质、设备及系统 技术领域
本发明涉及应用程序开发技术领域,具体来讲是一种标题栏与弹框栏同步通信的方法、存储介质、设备及系统。
背景技术
目前,在各种APP(Application,应用程序)的开发设计中通常会使用到二级菜单,所谓二级菜单是指菜单按钮能下拉选择一次菜单。在应用程序的二级菜单页面设计中,开发人员会为二级菜单页面设计一个标题栏,标题栏是用于将二级菜单页面进行分类处理的,每一类是一个标题。由于标题数量比较多的时候,需要进行左右滑动操作,而这种滑动操作比较麻烦也不便于查看,所以,目前的开发人员通常会设计一个弹框栏,即点击标题栏右侧的按钮可以弹出一个下拉框,下拉框的面板的内容和标题栏中的内容相同。
由于二级菜单页面中,同时存在标题栏和弹框栏,因此为了达到操作的统一性,需要标题栏和弹框栏之间进行消息的同步通信,以满足以下要求:当用户点击标题栏中的某一个标题的时候,需要将该标题的点击选中状态同步到下拉的弹框栏中;当用户在下拉的弹框栏中点击某一个标题后,需要将该标题的点击选中状态同步到标题栏中的相同标题元素中。
传统的实现标题栏和弹框栏同步通信的方式是,通过引入一种现有的组件间通信库EventBus(一种开源的通信框架)来进行通信的。但是,实际操作中,采用EventBus进行通信的方式存在以下缺陷:
(1)由于EventBus的通信层级结构比较复杂,因此存在消息的跟踪难度大的问题;
(2)由于需要将第三方框架引入到现有系统项目中,而第三方框架通常包含几千行代码甚至上万行代码,这种为了实现一个小功能为项目额外添加几千行上万行代码的方式无疑实用性不高,并且额外添加的几千行上万行代码不但会增加项目的复杂度而且还会造成资源开销大等弊端存在。
发明内容
本发明的目的是为了克服上述背景技术的不足,提供一种标题栏与弹框栏同步通信的方法、存储介质、设备及系统,能实现标签栏与弹框栏之间的消息同步通信,不但通信层级结构简单清晰,信息易跟踪,而且无需引入第三方通信框架,资源开销低。
为达到以上目的,本发明采取的技术方案是:提供一种标题栏与弹框栏同步通信的方法,该方法包括以下步骤:
标题栏与弹框栏的设置:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;
标题栏事件向弹框栏的流转:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中;
弹框栏事件向标题栏的流转:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
在上述技术方案的基础上,所述标题栏事件向弹框栏的流转操作中,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中,具体包括以下操作:将当前页面设置为通过预设的桥接器监听标题栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与标题栏的数据适配器之间;一旦上述预设的桥接器监听到标题栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中;
所述弹框栏事件向标题栏的流转操作中,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中,具体包括以下操作:将当前页面设置为通过预设的桥接器监听弹框栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与弹框栏的数据适配器之间;一旦上述预设的桥接器监听到弹框栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
在上述技术方案的基础上,所述标题栏事件向弹框栏的流转操作中,当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中,具体包括以下操作:在当前页面与弹框栏的标题元素容器之间创建一个信号池,该信号池具有弹框栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到标题栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至弹框栏的标题元素容器中;
所述弹框栏事件向标题栏的流转操作中,当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中,具体包括以下操作:在当前页面与标题栏的标题元素容器之间创建一个信号池,该信号池具有标题栏的标题元素容器的引用以及当前页面的引用;一 旦当前页面收到弹框栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至标题栏的标题元素容器中。
本发明还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述标题栏与弹框栏同步通信的方法的步骤。
本发明还提供一种标题栏与弹框栏同步通信的设备,包括存储器、处理器及存储在存储器上并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述标题栏与弹框栏同步通信的方法的步骤。
本发明还提供一种标题栏与弹框栏同步通信的系统,该系统包括标题栏与弹框栏设置模块、标题栏流转处理模块、弹框栏流转处理模块;
所述标题栏与弹框栏设置模块用于:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;
所述标题栏流转处理模块用于:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中;
所述弹框栏流转处理模块用于:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
在上述技术方案的基础上,所述标题栏流转处理模块通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的具体流程为:将当前页面设置为通过预设的桥接器监听标题栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与标题栏的数据适配器之间;一旦上述预设的桥接器监听到标题栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
在上述技术方案的基础上,所述标题栏流转处理模块使当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中的具体流程为:在当前页面与弹框栏的标题元素容器之间创建一个信号池,该信号池具有弹框栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到标题栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至弹框栏的标题元素容器中。
在上述技术方案的基础上,所述弹框栏流转处理模块通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的具体流程为:将当前页面设置为通过预设的桥接器监听弹框栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与弹框栏的数据适配器之间;一旦上述预设的桥接器监听到弹框栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
在上述技术方案的基础上,所述弹框栏流转处理模块使当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中的具体流程为:在当前页面与标题栏的标题元素容器之间创建一个信号池,该信号池具有标题栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到弹框栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息 后,将该点击事件信息转发至标题栏的标题元素容器中。
本发明的有益效果在于:
(1)本发明中,将标题栏、弹框栏均设置为使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;当监听到标题栏的某个标题被点击时,会将相应的点击事件信息转发至当前页面中,再经过当前页面转发至弹框栏的标题元素容器中;当监听到弹框栏的某个标题被点击时,也会将相应的点击事件信息转发至当前页面中,再经过当前页面转发至标题栏的标题元素容器中,从而实现了标题栏与弹框栏之间的双向通信。
与现有技术相比,本发明能实现标签栏与弹框栏之间的消息同步通信,不但通信层级结构简单清晰,点击事件信息的跟踪难度小;而且,无需引入第三方通信框架,不会增加项目的复杂度且资源开销小。
(2)本发明中,当前页面将点击事件信息转发至弹框栏或标题栏的标题元素容器中时,采用的是信号池引用的方式进行转发的。该信号池引用的方式,不仅能降低弹框栏或标题栏的标题元素容器与当前页面之间的强耦合关系,还能够极大的提高程序的可扩展性和可维护性。
附图说明
图1为本发明实施例中标题栏与弹框栏同步通信的方法的流程图;
图2为本发明实施例中页面、标题栏以及弹框栏之间的层级关系的示意图;
图3为本发明实施例中标题栏与弹框栏同步通信的设备的结构示意图;
图4为本发明实施例中标题栏与弹框栏同步通信的系统的结构框图。
具体实施方式
下面结合附图及具体实施例对本发明作进一步的详细描述。
参见图1所示,本发明实施例提供一种标题栏与弹框栏同步通信的方法,该方法包括以下步骤:
步骤S1、标题栏与弹框栏的设置:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件。
举例来说,以操作系统为Android系统为例,在一种实施方式中,所述标题元素容器可为Android系统提供的RecycleVIew容器,所述数据适配器可为RecycleVIew容器对应的Android适配器Adapter(以下简称为Adapter)。RecycleVIew容器最大的特点是能够承载相同类型的元素信息,而RecycleVIew容器中元素信息的数据是从对应的Adapter中来进行加载的。具体来说,Adapter中存储需要展示的标题栏的标题元素信息,然后通过调用RecycleVIew容器中的适配器设置函数setadapter将Adapter传递给RecycleVIew容器,RecycleVIew容器就能够通过加载Adapter中的数据将标题栏的标题元素信息呈现出来。
通过上述的描述可以发现数据(标题元素信息)是从Adapter中来的,也就是说Adapter是对数据(标题元素信息)最了解的一个对象。而当用户点击标题栏的时候,其本质也就是用户对数据(标题元素信息)进行操作的时候,此时Adapter是能够获取到该标题栏的点击事件信息的。由于RecycleVIew容器本身只是一个容器,主要是负 责展示视图元素,而对于视图元素所具备的功能,如监听,则是在Adapter中来进行执行的,因此,可通过Adapter来监听标题栏中标题元素的点击事件。具体来说,通过将Adapter中的每一个元素调用点击监听设置函数setOnClickListener来设置Adapter中的元素的监听,也就是设置RecycleVIew容器中的标题栏的标题元素的点击事件监听。通过在Adapter中设置好监听后,当用户点击RecycleVIew容器中的某一个元素(即某一个标题)的时候,Android系统会首先将该点击事件捕获并转发到Adapter内,这样Adapter就监听到标题栏的标题被按下的事件了。
由于弹框栏是要呈现和标题栏相同的数据信息,只是弹框栏的视图面积会更大一些。因此,基于上述相同的设计原理,对于弹框栏也是使用标题元素容器,如RecycleVIew容器来承载标题元素信息,且弹框栏的点击事件的监听方法也是和上述标题栏的监听方法一样,此处不再赘述。
另外,需要强调的是,上述的Android系统实例仅仅是一个例子而已,在其他的系统中(如IOS系统中),具体选用的容器控件、适配器控件以及实现方式,均可以根据其他系统的实际函数、代码、接口等情况进行具体的设计和调整,在此不做限制。
步骤S2、标题栏事件向弹框栏流转的处理:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面(如当前的二级菜单页面)中;当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中。
可以理解的是,只有清楚的了解页面、标题栏以及弹框栏之间的层级关系才能够知道点击事件信息的具体流转流程。下面就对页面、 标题栏以及弹框栏之间的层级关系进行简要介绍。如图2所示,图中的实线边框代表一个应用程序的页面,也称之为Fragment(碎片);图中的虚线框部分代表弹框栏,对应弹框栏的标题元素容器,用于显示弹框栏的标题信息;图中的斜线影音部分代表标题栏的,对应标题栏的标题元素容器,用于显示标题栏的标题信息。从上述层级关系可以看出,标题栏与弹框栏都是在页面之间的。但是,由于标题栏、弹框栏的点击事件信息都是通过各自标题元素容器对应的数据适配器监听得到的,而弹框栏的标题元素容器并没有持有标题栏的数据适配器,所以点击事件信息无法直接从标题栏的数据适配器到达至弹框栏的标题元素容器中,必须经过页面Fragment来进行转发,而不是直接由标题栏的数据适配器发送到弹框栏的标题元素容器中。
基于上述原理分析,本发明实施例中,标题栏的点击事件信息向弹框栏流转的流程是:先从标题栏的标题元素容器对应的数据适配器流转到页面Fragment中,然后页面Fragment再将点击事件信息转发至弹框栏的标题元素容器中。进一步的,本发明实施例中,是通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的。具体来说,步骤S2中,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的具体流程包括:
1、将页面Fragment设置为通过预设的桥接器监听标题栏的数据适配器中的点击事件信息,所述预设的桥接器设置在页面Fragment与标题栏的数据适配器之间;
2、一旦预设的桥接器监听到标题栏的数据适配器接收到操作系统回调的点击事件信息后,该桥接器会将该点击事件信息直接转发到当前页面中。
更进一步的,本发明实施例中,页面Fragment在将点击事件信 息转发至弹框栏的标题元素容器中时,是采用的信号池引用的方式进行转发的。之所以采用信号池引用的方式来进行转发,是为了降低弹框栏的标题元素容器与页面Fragment之间的强耦合关系,这样的设计能够极大的提高程序的扩展性和可维护性。具体来说,步骤S2中,当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中的具体流程包括:
1、在页面Fragment与弹框栏的标题元素容器之间创建一个信号池,该信号池具有弹框栏的标题元素容器的引用以及页面Fragment的引用;
2、一旦页面Fragment收到标题栏的点击事件信息后,通过函数调用的方式将点击事件信息转发到信号池中(由于信号池与页面Fragment之间是有引用关系的,因此,可直接通过函数调用的方式将点击事件信息转发到信号池中);信号池接收到页面Fragment转发过来的点击事件信息后,将该点击事件信息通过函数调用的方式转发至弹框栏的标题元素容器中。
步骤S3、弹框栏事件向标题栏流转的处理:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面(如当前的二级菜单页面)中;当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
可以理解的是,由于弹框栏标题栏均使用标题元素容器来承载标题元素信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件,因此,弹框栏的点击事件信息流转到标题栏的流转过程可采用与步骤S2中相同的流转方式,即先从弹框栏的标题元素容器对应的数据适配器通过桥接器流转到页面Fragment 中,然后页面Fragment再采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。由于在步骤二中已经具体的流转过程(包括通过桥接器进行转发的具体过程以及采用信号池转发的具体过程)进行了详细的描述,所以,本步骤中不再赘述相关的流转过程,整个流转方式相同,可理解为步骤S2的逆向操作。
通过上述操作可确保标题栏与弹框栏之间进行同步通信的完整性,使得标题栏与弹框栏之间能够双向通信,即标题栏的点击事件信息可以同步流转至弹框栏,弹框栏的点击事件信息也可以同步流转至标题栏,从而达到信息之间的双向传递的目的。
另外,需要说明的是:实际操作时,步骤S2和步骤S3可同时执行或根据实际情况进行先后顺序的调整,本实施例仅为一具体实例,并不是对其先后顺序的限制。
对应上述的标题栏与弹框栏同步通信的方法,本发明实施例还提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时可实现上述各实施例中的标题栏与弹框栏同步通信的方法的步骤。需要说明的是,所述存储介质包括U盘、移动硬盘、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、磁碟或者光盘等各种可以存储程序代码的介质。
另外,参见图3所示,对应上述的标题栏与弹框栏同步通信的方法,本发明实施例还提供一种标题栏与弹框栏同步通信的设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,该处理器执行计算机程序时可实现上述各实施例中的标题栏与弹框栏同步通信的方法的步骤。
参见图4所示,本发明实施例还提供一种标题栏与弹框栏同步通信的系统,该系统包括标题栏与弹框栏设置模块、标题栏流转处理模 块、弹框栏流转处理模块。
其中,标题栏与弹框栏设置模块用于:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;
标题栏流转处理模块用于:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中;
弹框栏流转处理模块用于:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
需要说明的是:上述实施例提供的系统在实现标题栏与弹框栏之间的同步通信时,仅以上述各功能模块的划分进行举例说明,实际应用中,可根据需要而将上述功能分配由不同功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。
本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。

Claims (10)

  1. 一种标题栏与弹框栏同步通信的方法,其特征在于,该方法包括以下步骤:
    标题栏与弹框栏的设置:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;
    标题栏事件向弹框栏的流转:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中;
    弹框栏事件向标题栏的流转:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
  2. 如权利要求1所述的标题栏与弹框栏同步通信的方法,其特征在于:所述标题栏事件向弹框栏的流转操作中,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中,具体包括以下操作:
    将当前页面设置为通过预设的桥接器监听标题栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与标题栏的数据适配器之间;一旦上述预设的桥接器监听到标题栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中;
    所述弹框栏事件向标题栏的流转操作中,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中,具体包括以下操作:
    将当前页面设置为通过预设的桥接器监听弹框栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与弹框栏的数据适配器之间;一旦上述预设的桥接器监听到弹框栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
  3. 如权利要求1所述的标题栏与弹框栏同步通信的方法,其特征在于:所述标题栏事件向弹框栏的流转操作中,当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中,具体包括以下操作:
    在当前页面与弹框栏的标题元素容器之间创建一个信号池,该信号池具有弹框栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到标题栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至弹框栏的标题元素容器中;
    所述弹框栏事件向标题栏的流转操作中,当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中,具体包括以下操作:
    在当前页面与标题栏的标题元素容器之间创建一个信号池,该信号池具有标题栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到弹框栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至标题栏的标题元素容器中。
  4. 一种存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现上述权利要求1至3中任一项所述方法的步骤。
  5. 一种标题栏与弹框栏同步通信的设备,包括存储器、处理器 及存储在所述存储器上并在所述处理器上运行的计算机程序,其特征在于:所述处理器执行所述计算机程序时实现上述权利要求1至3中任一项所述方法的步骤。
  6. 一种标题栏与弹框栏同步通信的系统,其特征在于:该系统包括标题栏与弹框栏设置模块、标题栏流转处理模块、弹框栏流转处理模块;
    所述标题栏与弹框栏设置模块用于:对标题栏、弹框栏进行设置,使标题栏、弹框栏均使用标题元素容器来承载标题元素的信息,并通过各自的标题元素容器所对应的数据适配器来监听各自的标题元素的点击事件;
    所述标题栏流转处理模块用于:当标题栏的数据适配器监听到标题栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中;
    所述弹框栏流转处理模块用于:当弹框栏的数据适配器监听到弹框栏的某个标题元素的点击事件时,通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中;使当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中。
  7. 如权利要求6所述的标题栏与弹框栏同步通信的系统,其特征在于,所述标题栏流转处理模块通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的具体流程为:
    将当前页面设置为通过预设的桥接器监听标题栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与标题栏的数据适配器之间;一旦上述预设的桥接器监听到标题栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
  8. 如权利要求6所述的标题栏与弹框栏同步通信的系统,其特征在于,所述标题栏流转处理模块使当前页面采用信号池引用的方式将点击事件信息转发至弹框栏的标题元素容器中的具体流程为:
    在当前页面与弹框栏的标题元素容器之间创建一个信号池,该信号池具有弹框栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到标题栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至弹框栏的标题元素容器中。
  9. 如权利要求6所述的标题栏与弹框栏同步通信的系统,其特征在于,所述弹框栏流转处理模块通过预设的桥接器将数据适配器接收到的点击事件信息转发至当前页面中的具体流程为:
    将当前页面设置为通过预设的桥接器监听弹框栏的数据适配器中的点击事件信息,该预设的桥接器设置在当前页面与弹框栏的数据适配器之间;一旦上述预设的桥接器监听到弹框栏的数据适配器接收到点击事件信息后,将该点击事件信息转发到当前页面中。
  10. 如权利要求6所述的标题栏与弹框栏同步通信的系统,其特征在于,所述弹框栏流转处理模块使当前页面采用信号池引用的方式将点击事件信息转发至标题栏的标题元素容器中的具体流程为:
    在当前页面与标题栏的标题元素容器之间创建一个信号池,该信号池具有标题栏的标题元素容器的引用以及当前页面的引用;一旦当前页面收到弹框栏的点击事件信息后,将点击事件信息转发到信号池中;信号池接收到当前页面转发过来的点击事件信息后,将该点击事件信息转发至标题栏的标题元素容器中。
PCT/CN2018/081319 2017-07-31 2018-03-30 标题栏与弹框栏同步通信的方法、存储介质、设备及系统 Ceased WO2019024522A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710641535.0 2017-07-31
CN201710641535.0A CN107450992B (zh) 2017-07-31 2017-07-31 标题栏与弹框栏同步通信的方法、存储介质、设备及系统

Publications (1)

Publication Number Publication Date
WO2019024522A1 true WO2019024522A1 (zh) 2019-02-07

Family

ID=60489874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081319 Ceased WO2019024522A1 (zh) 2017-07-31 2018-03-30 标题栏与弹框栏同步通信的方法、存储介质、设备及系统

Country Status (2)

Country Link
CN (1) CN107450992B (zh)
WO (1) WO2019024522A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450992B (zh) * 2017-07-31 2020-05-12 武汉斗鱼网络科技有限公司 标题栏与弹框栏同步通信的方法、存储介质、设备及系统
CN112612449B (zh) * 2020-12-17 2024-06-18 深圳前海微众银行股份有限公司 一种网页页面的同步方法及装置、设备、存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496873B1 (en) * 1999-05-21 2002-12-17 International Business Machines Corporation Real time device driver interface apparatus and method therefor
CN105955832A (zh) * 2016-05-12 2016-09-21 武汉斗鱼网络科技有限公司 一种设备屏幕页面与子页面之间互相通信的方法及系统
CN106201488A (zh) * 2016-06-30 2016-12-07 国云科技股份有限公司 一种可重用的步骤窗口实现方法
CN106775970A (zh) * 2016-12-01 2017-05-31 掌阅科技股份有限公司 跨进程的窗口操作同步方法、装置及电子设备
CN107450992A (zh) * 2017-07-31 2017-12-08 武汉斗鱼网络科技有限公司 标题栏与弹框栏同步通信的方法、存储介质、设备及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914204B (zh) * 2012-12-31 2018-02-06 北京新媒传信科技有限公司 一种用于视图显示和切换的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496873B1 (en) * 1999-05-21 2002-12-17 International Business Machines Corporation Real time device driver interface apparatus and method therefor
CN105955832A (zh) * 2016-05-12 2016-09-21 武汉斗鱼网络科技有限公司 一种设备屏幕页面与子页面之间互相通信的方法及系统
CN106201488A (zh) * 2016-06-30 2016-12-07 国云科技股份有限公司 一种可重用的步骤窗口实现方法
CN106775970A (zh) * 2016-12-01 2017-05-31 掌阅科技股份有限公司 跨进程的窗口操作同步方法、装置及电子设备
CN107450992A (zh) * 2017-07-31 2017-12-08 武汉斗鱼网络科技有限公司 标题栏与弹框栏同步通信的方法、存储介质、设备及系统

Also Published As

Publication number Publication date
CN107450992A (zh) 2017-12-08
CN107450992B (zh) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2021208512A1 (zh) 用户界面的控件信息的获取方法、装置、终端及存储介质
CN112000738B (zh) 数据库连接的切换方法、装置、设备及介质
CN102222043A (zh) 一种测试方法和测试装置
CN110519461A (zh) 文件发送方法、装置、计算机设备以及存储介质
US20170034084A1 (en) Intelligent messaging reply system and method
CN113094236B (zh) 一种系统数据采集方法、装置、计算机设备及存储介质
CN103019733B (zh) 一种用于浏览器的活动对象执行方法、系统及浏览器
CN103377079B (zh) 终端及其应用运行装置和方法,运行应用程序的方法
CN113378036A (zh) 页面操作分析、埋点方法、装置、设备及存储介质
WO2019134287A1 (zh) 一种版本信息管理方法、电子设备及可读存储介质
CN111736825A (zh) 一种信息展示方法、装置、设备和存储介质
US10521499B2 (en) Method and device for editing data
CN110045952B (zh) 代码调用方法与装置
CN112988308A (zh) 一种教学显示方法、装置、教学一体机及存储介质
CN107450992B (zh) 标题栏与弹框栏同步通信的方法、存储介质、设备及系统
CN105898608A (zh) 视频播放控制方法及浏览器
CN110609686A (zh) 数据系统生成方法、装置、计算机设备、存储介质
CN109800044B (zh) 一种html5双屏应用的方法、装置及电子设备
CN114741636B (zh) 一种页面跳转方法、装置、设备及存储介质
WO2018064938A1 (zh) 一种在应用中实现辅助功能的方法及装置
US9400738B2 (en) Generation of automated unit tests for a controller layer system and method
CN116185826A (zh) 一种测试方法、装置、设备及存储介质
CN110458445A (zh) 一种乘客信息发布管理系统
CN104133675A (zh) 一种基于动态配置技术的配网多主题应用界面集成方法
US12205178B2 (en) Method and apparatus for group management, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18840485

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18840485

Country of ref document: EP

Kind code of ref document: A1