CN109656659B - Behavior event processing method and device, electronic equipment and readable storage medium - Google Patents
Behavior event processing method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN109656659B CN109656659B CN201811513644.5A CN201811513644A CN109656659B CN 109656659 B CN109656659 B CN 109656659B CN 201811513644 A CN201811513644 A CN 201811513644A CN 109656659 B CN109656659 B CN 109656659B
- Authority
- CN
- China
- Prior art keywords
- event
- behavior event
- behavior
- list management
- management group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims description 6
- 238000000034 method Methods 0.000 claims abstract description 59
- 230000001960 triggered effect Effects 0.000 claims abstract description 14
- 230000006399 behavior Effects 0.000 claims description 144
- 230000006870 function Effects 0.000 claims description 15
- 230000003542 behavioural effect Effects 0.000 claims description 8
- 230000000694 effects Effects 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims 1
- 230000010365 information processing Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 239000003795 chemical substances by application Substances 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007306 functionalization reaction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a method and a device for processing a behavior event, electronic equipment and a computer-readable storage medium, and relates to the field of information processing. The method is applied to a list management group, the list management group comprises at least one item cell, and the method comprises the following steps: when the behavior event is detected to be triggered, acquiring an attribution identifier of the behavior event, and if the attribution identifier is the list management group behavior event, executing the behavior event by a first event control corresponding to the list management group; if the attribution identification is a cell behavior event, searching a cell corresponding to the behavior event from each cell to be used as a target cell, and executing the behavior event by a second event control corresponding to the target cell. In this way, the behavior events of the list management group and the behavior events of the item cells are managed independently, and the item cells are also managed independently, so that the corresponding list management group or item cell can be executed when a certain behavior event is processed, and the processing efficiency is improved.
Description
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method and an apparatus for processing a behavior event, an electronic device, and a computer-readable storage medium
Background
With the development of the internet, communication modes of people are more and more diversified, for example, instant communication can be performed through application programs such as QQ and WeChat, and messages or comments can be published on platforms such as websites and forums.
Generally speaking, the messages or comments may be presented in a list manner, and for convenience of description, the messages or comments are called a "list management group," which may be, for example, a list management group of a message area in a website or a forum on a browser, a list management group of a message area in a certain page in an application program, or a list management group of a message area in another form in which a user may issue comments. The term cell is a term cell in the list management group, one list management group may include one or more term cells, and the term cell may further include a primary term cell and a secondary term cell.
In the prior art, the list management group is managed uniformly and integrally, and the behavior events of the list management group and the behavior events of each cell are executed by tableview. Therefore, the whole list management group and each cell in the list management group can be managed only through tableview, and the efficiency of processing a certain behavior event is low. Moreover, when the behavior event of the cell is updated, the whole configuration information needs to be updated, which not only has large workload, but also has low efficiency and is not flexible enough, especially under the condition of more configuration information.
Disclosure of Invention
The application provides a method and a device for processing a behavior event, electronic equipment and a computer readable storage medium, which can solve the problems of low efficiency, large workload and insufficient flexibility when the behavior event aiming at a list management group is processed. The technical scheme is as follows:
in a first aspect, a method for processing a behavior event is provided, where the method is applied to a list management group, where the list management group includes at least one item cell, and the method includes:
when detecting that a behavior event is triggered, acquiring an attribution identification of the behavior event;
if the attribution identification is a list management group behavior event, executing the behavior event by a first event control corresponding to the list management group;
if the attribution identification is a cell behavior event, searching an item cell corresponding to the behavior event from each item cell to serve as a target item cell;
executing the behavior event by a second event control corresponding to the target item cell.
In a second aspect, an apparatus for processing an activity event is provided, where the apparatus is applied to a list management group, where the list management group includes at least one item cell, and the apparatus includes:
the acquiring module is used for acquiring the attribution identification of the behavior event when the behavior event is detected to be triggered;
the calling module is used for calling a first event control corresponding to the list management group to execute the behavior event;
the matching module is used for searching an item cell corresponding to the behavior event from each item cell to be used as a target item cell;
the calling module is further configured to call a second event control corresponding to the target item cell to execute the behavior event.
In a third aspect, an electronic device is provided, which includes:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to execute, by invoking the operation instruction, an operation corresponding to the method for processing the behavior event shown in the first aspect of the present application.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the method for processing the behavior event shown in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
the processing method of the behavior event is applied to a list management group, the list management group comprises at least one item cell, specifically, when the behavior event is detected to be triggered, an attribution identifier of the behavior event is obtained, and if the attribution identifier is the behavior event of the list management group, the behavior event is executed by a first event control corresponding to the list management group; if the attribution identification is a cell behavior event, searching a cell corresponding to the behavior event from each cell to be used as a target cell, and executing the behavior event by a second event control corresponding to the target cell. In this way, the behavior events of the list management group and the behavior events of the item cells are managed independently, and the item cells are also managed independently, so that the corresponding list management group or item cell can be executed when a certain behavior event is processed, and the processing efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a method for processing an action event according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus for processing an action event according to yet another embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device for processing a behavior event according to yet another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The list management group in the present application may be a list management group in which a user can make comments, for example, a list management group of a certain website and a message area in a forum on a browser, a list management group of a message area in a certain page in an application, or a list management group of a message area in another form in which a user can make comments.
The browser or the application program can be installed in the terminal, and the terminal can have the following characteristics:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (WIreless-Fidelity), WiMAX (worldwide interoperability for Microwave Access), etc., thereby adapting to various systems of networks, not only supporting voice service, but also supporting various WIreless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
The term cell is a term cell in the list management group, one list management group may include one or more term cells, and the term cell may further include a primary term cell and a secondary term cell.
For example, if there is no user left message in a forum message area, there is no list management group in the message area, at this time, the user a clicks a "comment" button and gives a message a, then the message a given by the user a is shown by a term cell and also by a first-level term cell, and if the user a or other users comment on the message a or reply to a message b, then the message b is shown by a second-level term cell; if the user A or other users have re-published the message c, the message c is still presented by a level entry cell. If the left messages a, b and c exist at the same time, the left messages a, b and c are all one item cell respectively, and the list management group is formed by the item cells.
Further, the list management group is provided with first configuration information, and the first configuration information comprises agent methods of each behavior event corresponding to the list management group; and each item cell is also correspondingly provided with second configuration information, and each second configuration information respectively comprises a proxy method of each behavior event corresponding to the item cell.
Specifically, from the perspective of the user, the list management group may include function buttons, such as a "view more comments" button, a "report" button, a "reply" button, and the like, and the user may trigger corresponding operations after clicking the buttons, so that the function buttons correspond to various behavior events, and all the behavior events are pre-configured in the first configuration information. For example, the action event corresponding to "view more comments" may be "view", the action event corresponding to "report" may be a behavior event reporting that the message violates the regulations, and the action event corresponding to "reply" may be a behavior event that a comment is made for the message.
The proxy method is an action executed for a behavior event after the user clicks a function button. For example, if the user clicks the "View more comments" button, then the act of expanding the list containing more comments is performed.
The first configuration information includes agent methods corresponding to all behavior events of the list management group, and all the agent methods are executed through tableview. Similarly, the list management group includes one or more item cells, each item cell has independent second configuration information, the second configuration information also includes agent methods corresponding to all behavior events of the item cell, and all the agent methods are executed by the item cell itself.
In the prior art, the list management group is managed uniformly and integrally, and the behavior events of the list management group and the behavior events of each cell are executed by tableview. Therefore, the whole list management group and each cell in the list management group can be managed only through tableview, and the efficiency of processing a certain behavior event is low. Moreover, when the behavior event of the cell is updated, the whole configuration information needs to be updated, which not only has large workload, but also has low efficiency and is not flexible enough, especially under the condition of more configuration information.
The application provides a method and an apparatus for processing a behavior event, an electronic device, and a computer-readable storage medium, which aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, a method for processing an activity event is provided, where the method is applied to a list management group, where the list management group includes at least one item cell, and as shown in fig. 1, the method includes:
step S101, when detecting that a behavior event is triggered, acquiring an attribution identification of the behavior event;
in the present application, because all the behavior events are not managed uniformly, it is necessary to distinguish whether the triggered behavior event is a behavior event in a list management group or a behavior event in an item cell. Therefore, in practical applications, an identifier is set in advance for an action event, including a list management group action event and a cell action event.
And detecting whether the behavior event is triggered or not is to detect whether the button corresponding to the behavior event is clicked by the user or not. For example, tablevew detects that the user has clicked the "report" button, which corresponds to the detection of a "report that the comment violates the regulation" action event.
Step S102, if the attribution mark is a list management group behavior event, executing the behavior event by a first event control corresponding to the list management group;
in a preferred embodiment of the present invention, the first configuration information further includes: event controls corresponding to all behavior events corresponding to the list management group;
the step of executing the behavioral event by a first event control corresponding to the list management group includes:
acquiring a first event control and a first proxy method corresponding to the behavior event based on the first configuration information;
the behavioral event is executed by the first event control employing a first proxy method.
Specifically, the event control is a view control required for executing the behavior event, for example, an "input box" may pop up from the event control corresponding to the "reply" and is a view control required for executing the "reply" corresponding behavior event.
In addition, in the first configuration information of the list management group, event controls corresponding to each behavior event corresponding to the list management group are further included, and if it is determined that the triggered behavior event is a list management group behavior event based on the attribution identifier, the tableview may obtain the event control and the proxy method corresponding to the behavior event according to the first configuration information, and the behavior event is further executed by the event control using the proxy method. For example, if the user clicks the "view more comments" button, an action is performed to expand the list containing more comments, which is the proxy method, and the "list containing more comments" is the event control.
Step S103, if the attribution identification is a cell behavior event, searching an item cell corresponding to the behavior event from each item cell to be used as a target item cell;
in a preferred embodiment of the present invention, the attribution identifier further includes an item cell tag;
the step of searching the item cell corresponding to the behavior event from each item cell comprises the following steps:
extracting a cell label from the attribution identification;
matching the item cell label with the item cell labels of all the item cells to obtain a matching item cell;
and taking the matching item cell as a target item cell.
In practical applications, a list management group may include a plurality of cell items, so if it is identified that a triggered behavior event is a cell behavior event, it is further required to identify which cell item corresponds to the behavior event. Therefore, the attribution identifier further includes an item cell label, and thus, after the attribution identifier is identified as an item cell behavior event, the item cell label is matched with the item cell labels of all the item cells, and the obtained matching item is the final target item cell.
Step S104, executing the behavior event by the second event control corresponding to the target item cell.
In a preferred embodiment of the present invention, the second configuration information further includes: event controls corresponding to each behavior event corresponding to the item cell respectively;
the step of executing the behavior event by the second event control corresponding to the target item cell includes:
acquiring a second event control and a second proxy method corresponding to the behavior event based on the second configuration information;
executing, by a second event control, the behavioral event using the second proxy method.
The principle of step S104 is similar to that of step S102, except that step S102 is to execute a behavior event with respect to a list management group behavior event, and step S104 is to execute a behavior event with respect to a cell behavior event, and the specific process may refer to step S102, which is not described herein again.
The processing method of the behavior event is applied to a list management group, the list management group comprises at least one item cell, specifically, when the behavior event is detected to be triggered, an attribution identifier of the behavior event is obtained, and if the attribution identifier is the behavior event of the list management group, the behavior event is executed by a first event control corresponding to the list management group; if the attribution identification is a cell behavior event, searching a cell corresponding to the behavior event from each cell to be used as a target cell, and executing the behavior event by a second event control corresponding to the target cell. In this way, the behavior events of the list management group and the behavior events of the item cells are managed independently, and the item cells are also managed independently, so that the corresponding list management group or item cell can be executed when a certain behavior event is processed, and the processing efficiency is improved.
Moreover, regardless of updating the configuration information of the list management group or the configuration information of a certain cell, the configuration information can be updated in a targeted manner without updating the whole configuration information, so that the method is simple and flexible, and the workload of updating the configuration information is reduced.
Fig. 2 is a schematic structural diagram of a device for processing a behavior event according to an embodiment of the present application, where the device is applied to a list management group, where the list management group includes at least one cell, and as shown in fig. 2, the device according to this embodiment may include:
an obtaining module 201, configured to obtain an attribution identifier of a behavior event when it is detected that the behavior event is triggered;
a calling module 202, configured to call a first event control corresponding to the list management group to execute the behavior event;
the matching module 203 is configured to search an item cell corresponding to the behavior event from each item cell, and use the item cell as a target item cell;
the invoking module 202 is further configured to invoke a second event control corresponding to the target item cell to execute the behavior event.
The behavior event processing apparatus of this embodiment can execute the behavior event processing method shown in the first embodiment of this application, and the implementation principles thereof are similar, and are not described herein again.
The device for processing the behavior event is applied to a list management group, wherein the list management group comprises at least one item cell, and the device specifically comprises: the acquiring module is used for acquiring the attribution identification of the behavior event when the behavior event is detected to be triggered; the calling module is used for calling a first event control corresponding to the list management group to execute the behavior event; the matching module is used for searching an item cell corresponding to the behavior event from each item cell to be used as a target item cell; and the calling module is also used for calling a second event control corresponding to the target item cell to execute the behavior event. In this way, the behavior events of the list management group and the behavior events of the item cells are managed independently, and the item cells are also managed independently, so that the corresponding list management group or item cell can be executed when a certain behavior event is processed, and the processing efficiency is improved.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., the terminal device or the server of fig. 1) 300 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs, which when executed by the electronic device, cause the electronic device to perform the method for processing the behavior event shown in the above method embodiment.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Claims (10)
1. A method for processing an activity event, the method being applied to a list management group, the list management group including at least one item cell, the method comprising:
when detecting that a behavior event is triggered, acquiring an attribution identification of the behavior event;
if the attribution identification is a list management group behavior event, executing the behavior event by a first event control tableview corresponding to the list management group;
if the attribution identification is a cell behavior event, searching an item cell corresponding to the behavior event from each item cell to serve as a target item cell;
executing the behavior event by a second event control item cell corresponding to the target item cell.
2. The method according to claim 1, wherein the list management group is provided with first configuration information including an agent method of each behavior event corresponding to the list management group; and each item cell is correspondingly provided with second configuration information, each second configuration information comprises an agent method of each behavior event corresponding to the item cell, and the agent method is an action executed aiming at the behavior event after a user clicks a function button in the list management group.
3. The method for processing behavior event according to claim 2, wherein the first configuration information further comprises: event controls corresponding to all behavior events corresponding to the list management group;
executing, by a first event control corresponding to the list management group, the behavior event includes:
acquiring a first event control and a first proxy method corresponding to the behavior event based on the first configuration information;
executing, by the first event control, the behavioral event employing the first proxy method.
4. The method for processing behavior event according to claim 2, wherein the second configuration information further comprises: event controls corresponding to each behavior event corresponding to the item cell respectively;
executing the behavior event by a second event control corresponding to the target item cell, including:
acquiring a second event control and a second proxy method corresponding to the behavior event based on the second configuration information;
executing, by the second event control, the behavioral event employing the second proxy method.
5. The method for processing behavioral events according to claim 1, wherein the attribution identity further includes an item cell tag;
the step of searching the item cell corresponding to the behavior event from each item cell comprises the following steps:
extracting the cell label from the attribution identification;
matching the item cell label with the item cell labels of all the item cells to obtain a matched item cell;
and taking the matching item cell as a target item cell.
6. An apparatus for processing behavior event, wherein the apparatus is applied to a list management group, the list management group comprises at least one item cell, and the apparatus comprises:
the acquiring module is used for acquiring the attribution identification of the behavior event when the behavior event is detected to be triggered;
the calling module is used for calling a first event control tableview corresponding to the list management group to execute the behavior event;
the matching module is used for searching an item cell corresponding to the behavior event from each item cell to be used as a target item cell;
the calling module is further configured to call a second event control item cell corresponding to the target item cell to execute the behavior event.
7. The apparatus according to claim 6, wherein the list management group is provided with first configuration information including an agent method of each behavior event corresponding to the list management group; and each item cell is correspondingly provided with second configuration information, each second configuration information comprises an agent method of each behavior event corresponding to the item cell, and the agent method is an action executed aiming at the behavior event after a user clicks a function button in the list management group.
8. The apparatus for handling behavioral events according to claim 7, wherein the first configuration information further includes: event controls corresponding to all behavior events corresponding to the list management group;
the calling module comprises:
the first extraction submodule is used for acquiring a first event control and a first proxy method corresponding to the behavior event based on the first configuration information;
and the first execution submodule is used for calling the first event control to execute the behavior event by adopting the first proxy method.
9. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is used for executing the processing method of the behavior event in any one of the claims 1-5 by calling the operation instruction.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the method of processing a behavioral event according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513644.5A CN109656659B (en) | 2018-12-11 | 2018-12-11 | Behavior event processing method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513644.5A CN109656659B (en) | 2018-12-11 | 2018-12-11 | Behavior event processing method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109656659A CN109656659A (en) | 2019-04-19 |
CN109656659B true CN109656659B (en) | 2020-02-07 |
Family
ID=66112969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811513644.5A Active CN109656659B (en) | 2018-12-11 | 2018-12-11 | Behavior event processing method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656659B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111753229B (en) * | 2020-06-10 | 2024-07-09 | 支付宝(杭州)信息技术有限公司 | Page configuration method, device and equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160005001A1 (en) * | 2014-05-13 | 2016-01-07 | Monster Worldwide, Inc. | Social Relation Management Apparatuses, Methods and Systems |
CN106502656B (en) * | 2016-10-09 | 2018-08-03 | 武汉斗鱼网络科技有限公司 | List View construction method and system in a kind of IOS systems |
-
2018
- 2018-12-11 CN CN201811513644.5A patent/CN109656659B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109656659A (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108664812B (en) | Information desensitization method, device and system | |
CN109725975B (en) | Method and device for prompting read state of message and electronic equipment | |
US20130246920A1 (en) | Method of enabling voice input for a visually based interface | |
US20150213127A1 (en) | Method for providing search result and electronic device using the same | |
US20170249934A1 (en) | Electronic device and method for operating the same | |
US20160156214A1 (en) | Method for charging control and an electronic device thereof | |
EP3657326B1 (en) | Broadcast event processing method and device | |
CN111381819B (en) | List creation method and device, electronic equipment and computer-readable storage medium | |
CN114489896B (en) | Content display method and device, storage medium and electronic equipment | |
CN110619101B (en) | Method and apparatus for processing information | |
CN109656659B (en) | Behavior event processing method and device, electronic equipment and readable storage medium | |
CN110708238B (en) | Method and apparatus for processing information | |
CN110519373B (en) | Method and device for pushing information | |
EP3001652B1 (en) | Method for providing information and an electronic device thereof | |
US8457663B2 (en) | Phone number encapsulation using token based framework | |
KR101516997B1 (en) | Method and apparatus for protecting smishing | |
CN107967155B (en) | Method, device, server and medium for realizing program operation based on Hook shared library | |
CN112306516B (en) | Method and apparatus for updating code | |
US9980132B2 (en) | Method for detecting messages and call request and electronic device adapted thereto | |
CN112286609B (en) | Method and device for managing shortcut setting items of intelligent terminal | |
KR20150045560A (en) | Apparatas and method for sorting a contents using for updated post information in an electronic device | |
CN114374738B (en) | Information pushing method and device, storage medium and electronic equipment | |
CN113867992B (en) | Call chain resource isolation method and device, storage medium and electronic equipment | |
CN112256326B (en) | Information processing method, device, equipment and storage medium | |
WO2021047534A1 (en) | Method and apparatus for multimedia processing, and electronic device and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 408, 4th floor, 51 Zhichun Road, Haidian District, Beijing 100086 Patentee after: Tiktok Technology Co.,Ltd. Country or region after: China Address before: 408, 4th floor, 51 Zhichun Road, Haidian District, Beijing 100086 Patentee before: BEIJING MICROLIVE VISION TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |