CN109669737B - Application processing method, device, equipment and medium - Google Patents

Application processing method, device, equipment and medium Download PDF

Info

Publication number
CN109669737B
CN109669737B CN201811566887.5A CN201811566887A CN109669737B CN 109669737 B CN109669737 B CN 109669737B CN 201811566887 A CN201811566887 A CN 201811566887A CN 109669737 B CN109669737 B CN 109669737B
Authority
CN
China
Prior art keywords
hotspot
response
event information
proxy server
logic
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
Application number
CN201811566887.5A
Other languages
Chinese (zh)
Other versions
CN109669737A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811566887.5A priority Critical patent/CN109669737B/en
Publication of CN109669737A publication Critical patent/CN109669737A/en
Application granted granted Critical
Publication of CN109669737B publication Critical patent/CN109669737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

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 Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an application processing method, an application processing device, application processing equipment and an application processing medium, and relates to the field of Internet. The method comprises the following steps: acquiring target event information from a server; analyzing a hotspot response object from the target event information; and carrying out hotspot response based on hotspot response logic in the local application and the parsed hotspot response object. The application processing method, the device, the equipment and the medium provided by the embodiment of the invention realize instant response to social hotspots or emergency events under the condition of not influencing the safety of the client.

Description

Application processing method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the field of Internet, in particular to an application processing method, device, equipment and medium.
Background
Today, with the rapid development of the internet, some response events need to be executed by application software to respond to social hotspots or emergency events, so as to better serve users and improve user experience. For example, dueleven is a shopping day, and many applications pop up relevant information about dueleven shopping activities in applications as fast as 11 months and 11 days.
Generally, the above-mentioned addition manner of the response event is:
(1) Writing the response event into a new version of the application, releasing the new version, and installing the new version by the client to realize the addition of the response event;
(2) And generating a patch package according to the response event by utilizing a hot updating technology of the client, issuing the patch package to the client, and adding the response event by the client based on the patch package.
However, the above method has the following drawbacks:
the scheme (1) can only be applied in the scenes with predictable dates and properties of social hotspots, and the release of new versions requires a long period. Therefore, the use range is limited, and the baking tray is commonly used in holiday atmosphere.
The scheme (2) can respond to the social hotspot immediately and carry out activity release on the premise that the user does not update the client version. However, the code issued by the existing hot update technology affects the security of the client, the unsafe code is issued after being hijacked by a third party easily, and the application embedded with the hot update code also faces the risk that the application store cannot be checked.
Disclosure of Invention
The embodiment of the invention provides an application processing method, device, equipment and medium, which are used for responding to social hotspots or emergency events in real time under the condition of not influencing the safety of a client.
In a first aspect, an embodiment of the present invention provides an application processing method, applied to a client, where the method includes:
acquiring target event information from a server;
analyzing a hotspot response object from the target event information;
and carrying out hotspot response based on hotspot response logic in the local application and the resolved hotspot response object.
In a second aspect, an embodiment of the present invention further provides an application processing method, applied to a server, where the method includes:
target event information is issued to a client;
and receiving an operation instruction sent by the client, calling hotspot response logic in the client, and carrying out hotspot response based on the hotspot response object in the target event information.
In a third aspect, an embodiment of the present invention further provides an application processing apparatus, where the apparatus includes:
the target event acquisition module is used for acquiring target event information from the server;
the response object analysis module is used for analyzing the hotspot response object from the target event information;
and the hotspot response module is used for carrying out hotspot response based on hotspot response logic in the local application and the resolved hotspot response object.
In a fourth aspect, an embodiment of the present invention further provides an application processing apparatus, where the apparatus includes:
the target event issuing module is used for issuing target event information to the client;
and the hotspot response module is used for receiving the operation instruction sent by the client, calling hotspot response logic in the client and carrying out hotspot response based on the hotspot response object in the target event information.
In a fifth aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the application processing method according to any of the embodiments of the present invention.
In a sixth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the application processing method according to any one of the embodiments of the present invention.
The embodiment of the invention carries out hotspot response by the hotspot response logic based on the local application and the hotspot response object obtained from the server. The method achieves a response to the hotspot without reinstalling the new version.
In addition, because the method does not need to modify codes in the local application, the problem that the security of the client side is influenced by codes issued by the existing hot updating technology is solved.
Drawings
Fig. 1 is a flowchart of an application processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of an application processing method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an application processing method according to a third embodiment of the present invention;
fig. 4 is a flowchart of an application processing method according to a fourth embodiment of the present invention;
fig. 5 is a system block diagram of an application processing method according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of module division according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an application processing apparatus according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an application processing apparatus provided in the seventh embodiment;
fig. 9 is a schematic structural diagram of an apparatus according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of an application processing method according to an embodiment of the present invention. The embodiment can be applied to the situation of instant response to the social hotspot or emergency based on the local application. The method may be performed by an application processing apparatus, which may be implemented by means of software and/or hardware. Referring to fig. 1, the application processing method provided in this embodiment includes:
and S110, acquiring target event information from the server.
Specifically, the target event information includes a hotspot response object that responds to the target hotspot.
The target hotspot may be any social hotspot or emergency.
The hotspot response object is determined according to the target hotspot and actual requirements, and may be, for example, a related animation of the target hotspot or a related webpage of the target hotspot.
Developers can configure target event information at the server side according to requirements.
Optionally, the target event information may be obtained by a request from the client to the server, or may be directly issued to the client by the server after completing the configuration of the target event information.
Typically, when the local application is started, the client sends a target event information request to the server, and the server issues the target event information configured by the developer to the client.
And S120, analyzing the hotspot response object from the target event information.
And S130, carrying out hotspot response based on the hotspot response logic in the local application and the resolved hotspot response object.
Wherein the hotspot response logic is written to when the current version of the local application is developed.
Optionally, the step of performing the hotspot response based on the hotspot response logic in the local application and the parsed hotspot response object may be executed by the client, or may be executed by the server.
The hotspot response logic may be any hotspot response logic. Specifically, the hotspot response object may be played, or the hotspot response object may be displayed, which is not limited in this embodiment.
According to the technical scheme of the embodiment of the invention, the hotspot response is carried out based on the hotspot response logic in the local application and the hotspot response object acquired from the server. The method achieves a response to the hotspot without reinstalling the new version.
In addition, because the method does not need to modify the code in the local application, the problem that the security of the client is influenced by the code issued by the existing hot update technology is solved.
Example two
Fig. 2 is a flowchart of an application processing method according to a second embodiment of the present invention. This embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2, the application processing method provided in this embodiment includes:
s210, target event information is obtained from the server.
And S220, analyzing the hotspot response object and the hotspot trigger condition from the target event information.
The hotspot triggering condition is a condition for triggering the local application to respond to the hotspot.
For example, the hotspot trigger condition may be that the operation content includes hotspot event information.
Because each user's preferences are different, the hot spots of interest are also different. Through the setting of the hotspot triggering condition, whether the user is interested in the hotspot event can be determined.
And S230, if the operation of the local application is determined to meet the requirement of the hotspot triggering condition based on the monitoring logic in the local application, executing the operation of carrying out hotspot response based on the hotspot response logic in the local application and the resolved hotspot response object.
Typically, the determining that the operation of the native application meets the requirement of the hotspot triggering condition based on the monitoring logic in the native application includes:
monitoring the successful execution of the trigger event in the hotspot trigger condition based on monitoring logic in the local application;
and if the successful execution of the trigger event is monitored and the trigger event information is matched with the hotspot event information in the trigger condition, determining that the operation of the local application meets the requirement of the hotspot trigger condition.
The triggering event can be a praise, a posting, and/or a comment, among others.
Specifically, the trigger event information may be contents of approval, contents of posting, and/or contents of comment.
The hotspot event information may include the time, location, people, and/or event of the hotspot event. For example, hotspot events may include day 12 of 2018, feng Mou and Zhao Mou, marriage.
According to the technical scheme of the embodiment, whether the user is interested in the hotspot event is determined by adding the trigger condition. And responding to the hotspot under the condition that the operation of the local application meets the requirement of the hotspot triggering condition, namely the user is interested in the hotspot event. Thereby improving the user experience.
EXAMPLE III
Fig. 3 is a flowchart of an application processing method according to a third embodiment of the present invention. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, the application processing method provided in this embodiment includes:
s310, acquiring the target event information and the webpage address of the proxy server from the server.
S320, analyzing the hotspot response object from the target event information, and starting a proxy server according to the webpage address.
Specifically, the proxy server may reside in the background for a local front-end web page, and specifically may be a front-end H5 web page proxy server. Where H5 refers to HTML5.
Because the H5 webpage proxy server is built by JavaScript, has the capability of interacting with the client and can be dynamically and mutually called with the local method, thereby having certain expansibility on the function.
S330, sending an operation instruction to the proxy server, wherein the operation instruction instructs the proxy server to execute the following steps: and calling hotspot response logic in the local application, and carrying out hotspot response based on the analyzed hotspot response object.
Typically, the sending of the operation instruction to the proxy server includes:
if the execution of a trigger event in the target event information is monitored in the local application, sending a matching instruction comprising the trigger event information and hotspot event information analyzed from the target event information to the proxy server, wherein the matching instruction instructs the proxy server to execute the following steps: matching the trigger event information with the hotspot event information; if the matching is successful, calling hotspot response logic in the local application, and carrying out hotspot response based on the hotspot response object in the target event information.
The technical scheme of the embodiment of the invention indicates the proxy server to execute the hot spot response operation by sending the operation instruction to the proxy server. Thereby relieving the server of stress. Meanwhile, a developer can dynamically configure the matching logic of the information in the proxy server, so that the editing of the matching logic is facilitated.
Example four
Fig. 4 is a flowchart of an application processing method according to a fourth embodiment of the present invention. The present embodiment describes a method with a server as an execution subject. Referring to fig. 4, the application processing method provided in this embodiment includes:
and S410, sending the target event information to the client.
The target event information is as described in the above embodiments.
And S420, receiving an operation instruction sent by the client, calling a hotspot response logic in the client, and carrying out hotspot response based on a hotspot response object in the target event information.
Typically, the receiving an operation instruction sent by the client, invoking a hotspot response logic in the client, and performing hotspot response based on a hotspot response object in the target event information includes:
receiving a matching instruction which is sent by a client and comprises trigger event information executed by the client;
matching the trigger event information with the hotspot event information in the target event information;
if the matching is successful, calling hotspot response logic in the client, and carrying out hotspot response based on the hotspot response object in the target event information.
The same concepts of the same terms as those in the above embodiments are also applied to the present embodiment. This embodiment is not described in detail herein.
According to the technical scheme of the embodiment, the hotspot response logic in the client is called by receiving the operation instruction sent by the client, and hotspot response is carried out based on the hotspot response object in the target event information. Therefore, response to the hot event is realized on the premise of not releasing a new version or modifying a client code.
EXAMPLE five
Fig. 5 is a system block diagram of an application processing method according to a fifth embodiment of the present invention. This embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 5, the application processing method provided in this embodiment includes:
and configuring target event information at a server (server) side according to the operation requirement.
The target event information includes a hot spot trigger condition and a hot spot response object, and specifically, the hot spot trigger condition may include an occurrence location, time or other key conditions of the hot spot.
And the server side issues the target event information and the proxy server webpage address to a local client (native) when the client program is started.
In particular, the proxy server may be a front-end H5 web proxy server.
And the client analyzes the received data and starts the proxy server according to the webpage address of the proxy server which is successfully analyzed.
The client sends an instruction comprising execution information of the local application and a hotspot triggering condition to the proxy server, and instructs the proxy server to judge whether a use scene of the local application meets the hotspot triggering condition or not according to the execution information of the local application and the hotspot triggering condition; if yes, the proxy server calls a hot spot response logic of the local client, and hot spot response is carried out based on the hot spot response object in the target event information.
In this embodiment, the client interacts with the server only once. And the client unifies logic after local processing after successfully analyzing the target event information and the proxy server webpage address transmitted by the server.
In other words, referring to fig. 6, the implementation of the method may also be divided into three modules, which are a plug-in framework module, a bridge module and an analysis module.
The analysis module is used for the client side to analyze the target event information transmitted by the server and provide a data source for the client side to respond to the hot spot.
The bridging module is used for webpage interaction between a local client based on a webpage view bridge (webview bridge) and a front-end proxy server.
The plug-in framework module provides the capability of dynamically increasing plug-ins for the client, and can trigger animation display or operation activity page display and the like by specifying the host and the plug-ins so as to execute the hotspot response object.
This embodiment can also be described as: the scheme that client side pile insertion is used as a main part and the cooperation is assisted by a front-end webpage and a server is used.
Specifically, firstly, a pile is inserted in a network layer of a mobile client, and all network request events are monitored in advance; then, the server issues a front-end H5 webpage link, and the client starts the front-end webpage resident background based on the front-end H5 webpage link to serve as a proxy server; the proxy server monitors all network request events of the client and responds to the hotspot under the condition that the monitored network request events meet hotspot triggering conditions.
The principle shows that the invention is a multi-end matching solution of a heavy client and a light server.
The technical scheme of the embodiment of the invention can realize the following effects:
the response of the hot spot can be flexibly configured by dynamically configuring the target event information in the server and the matching logic in the proxy server. Meanwhile, different hotspot response effects can be set by configuring the hotspot response object.
And after the client successfully analyzes the data source provided by the server, starting the proxy server to monitor the port or the notification expected to trigger the hot spot response in the client. And carrying out rule matching on the behavior data produced by the user and the response triggering condition, and if the matching is successful, triggering the execution of the response. Therefore, the coverage of hotspot response can be realized by any notification or network request on the client, and better dynamic property is realized.
The embodiment does not need to tamper the client code, thereby avoiding the risk brought by modifying the code.
The proxy server may invoke all client-side hot-response logic and may reuse all local client-side logic developed for normal requirements for hot-response.
And a front-end H5 webpage proxy server is introduced to reduce the pressure of the server side.
In this embodiment, the client interacts with the server only once, and then interacts with the front-end H5 web proxy server. So that no additional burden is imposed on the server, and the cost of using the front-end H5 web page as a proxy server is lower.
It should be noted that, through the technical teaching of the present embodiment, a person skilled in the art may motivate a combination of any one of the implementation manners described in the above embodiments to achieve timely and safe hot spot response to the local application.
Example six
Fig. 7 is a schematic structural diagram of an application processing apparatus according to a sixth embodiment of the present invention. Referring to fig. 7, the present embodiment provides an application processing apparatus including: a target event acquisition module 10, a response object parsing module 20 and a hotspot response module 30.
The target event obtaining module 10 is configured to obtain target event information from a server;
a response object parsing module 20, configured to parse a hotspot response object from the target event information;
the hotspot response module 30 is configured to perform hotspot response based on the hotspot response logic in the local application and the parsed hotspot response object.
According to the embodiment of the invention, the hotspot response is carried out based on the hotspot response logic in the local application and the hotspot response object obtained from the server. The method realizes the response to the hot spot under the condition that the new version does not need to be reinstalled.
In addition, because the method does not need to modify the code in the local application, the problem that the security of the client is influenced by the code issued by the existing hot update technology is solved.
Further, the apparatus further comprises: the device comprises a trigger condition analysis module and a condition determination module.
The trigger condition analysis module is used for analyzing a hotspot trigger condition from the target event information before hotspot response is carried out on the hotspot response logic in the local application and the analyzed hotspot response object;
and the condition determining module is used for executing the operation of carrying out hotspot response based on the hotspot response logic in the local application and the resolved hotspot response object if the condition determining module determines that the operation of the local application meets the requirement of the hotspot triggering condition based on the monitoring logic in the local application.
Further, the condition determining module includes: a trigger event monitoring unit and a condition determining unit.
The system comprises a trigger event monitoring unit, a hot spot triggering condition execution unit and a hot spot triggering unit, wherein the trigger event monitoring unit is used for monitoring the successful execution of a trigger event in the hot spot triggering condition based on a monitoring logic in a local application;
and the condition determining unit is used for determining that the operation of the local application meets the requirement of the hotspot triggering condition if the successful execution of the triggering event is monitored and the triggering event information is matched with the hotspot event information in the triggering condition.
Further, the apparatus further comprises: the system comprises an address receiving module and a server starting module.
The address receiving module is used for receiving the webpage address of the proxy server sent by the server before hotspot response is carried out on the basis of hotspot response logic in the local application and the resolved hotspot response object;
the server starting module starts the proxy server according to the webpage address;
accordingly, the hotspot response module comprises: an instruction transmitting unit.
The instruction sending unit is used for sending an operation instruction to the proxy server, wherein the operation instruction instructs the proxy server to execute the following steps: and calling hotspot response logic in the local application, and carrying out hotspot response based on the analyzed hotspot response object.
Further, the instruction sending unit includes: an instruction sending subunit.
The instruction sending subunit is configured to send, if execution of a trigger event in the target event information is monitored in the local application, a matching instruction including the trigger event information and hotspot event information analyzed from the target event information to the proxy server, where the matching instruction instructs the proxy server to execute the following steps: matching the trigger event information with the hotspot event information; if the matching is successful, calling hotspot response logic in the local application, and carrying out hotspot response based on the hotspot response object in the target event information.
EXAMPLE seven
Fig. 8 is a schematic structural diagram of an application processing apparatus provided in the seventh embodiment. Referring to fig. 8, the application processing apparatus provided in this embodiment includes: a target event issuing module 40 and a hotspot response module 50.
The target event issuing module 10 is used for issuing target event information to the client;
and the hotspot response module 20 is configured to receive an operation instruction sent by the client, call a hotspot response logic in the client, and perform hotspot response based on a hotspot response object in the target event information.
According to the technical scheme of the embodiment, the hotspot response logic in the client is called by receiving the operation instruction sent by the client, and hotspot response is carried out based on the hotspot response object in the target event information. Therefore, response to the hot event is realized on the premise of not releasing a new version or modifying a client code.
Further, the hotspot response module comprises: the device comprises an instruction receiving unit, an information matching unit and a hot spot response unit.
The system comprises an instruction receiving unit, an instruction processing unit and an instruction processing unit, wherein the instruction receiving unit is used for receiving a matching instruction which is sent by a client and comprises trigger event information executed by the client;
the information matching unit is used for matching the trigger event information with the hotspot event information in the target event information;
and the hotspot response unit is used for calling hotspot response logic in the client if the matching is successful, and carrying out hotspot response based on the hotspot response object in the target event information.
The application processing device provided by the embodiment of the invention can execute the application processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example eight
Fig. 9 is a schematic structural diagram of an apparatus according to an eighth embodiment of the present invention. FIG. 9 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 9 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 9, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 over the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement an application processing method provided by an embodiment of the present invention.
Example nine
An embodiment ninth of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an application processing method according to any one of the embodiments of the present invention, where the method includes:
acquiring target event information from a server;
resolving a hotspot response object from the target event information;
and carrying out hotspot response based on hotspot response logic in the local application and the parsed hotspot response object.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 context of this document, 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, 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 wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like 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 latter scenario, 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).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An application processing method applied to a client is characterized by comprising the following steps:
acquiring target event information and a webpage address of a proxy server from a server;
analyzing a hotspot response object from the target event information, and starting a proxy server according to the webpage address;
performing hotspot response based on hotspot response logic in the local application and the resolved hotspot response object; the method specifically comprises the following steps: sending an operation instruction to the proxy server, wherein the operation instruction instructs the proxy server to execute the following steps: calling hotspot response logic in the local application, and carrying out hotspot response based on the analyzed hotspot response object; the proxy server monitors a network request event of the client and carries out hotspot response under the condition that the network request event meets hotspot triggering conditions; the hotspot triggering condition is obtained by analyzing the target event information; the proxy server is a local front-end webpage resident background;
the sending of the operation instruction to the proxy server includes: if the execution of a trigger event in the target event information is monitored in the local application, sending a matching instruction comprising the trigger event information and hotspot event information analyzed from the target event information to the proxy server, wherein the matching instruction instructs the proxy server to execute the following steps: matching the trigger event information with the hotspot event information; if the matching is successful, calling hotspot response logic in the local application, and carrying out hotspot response based on a hotspot response object in the target event information;
correspondingly, the method further comprises the following steps: editing the matching logic of the information in the proxy server in response to a developer configuring the matching logic.
2. The method of claim 1, wherein before performing the hotspot response based on the hotspot response logic in the local application and the parsed hotspot response object, the method further comprises:
analyzing a hotspot triggering condition from the target event information;
and if the operation of the local application is determined to meet the requirement of the hotspot triggering condition based on the monitoring logic in the local application, executing the operation of carrying out hotspot response based on the hotspot response logic in the local application and the resolved hotspot response object.
3. The method of claim 2, wherein determining that the operation of the native application meets the requirement of the hotspot triggering condition based on monitoring logic in the native application comprises:
monitoring the successful execution of the trigger event in the hotspot trigger condition based on monitoring logic in the local application;
and if the successful execution of the trigger event is monitored, and the trigger event information is matched with the hotspot event information in the trigger condition, determining that the operation of the local application meets the requirement of the hotspot trigger condition.
4. An application processing method applied to a server is characterized by comprising the following steps:
the method comprises the steps that target event information and a proxy server webpage address are issued to a client, the proxy server webpage address is used for enabling the client to start a proxy server according to the webpage address, and the proxy server is used for calling a hot spot response logic in local application when receiving an operation instruction of the client and carrying out hot spot response based on an analyzed hot spot response object;
receiving a matching instruction which is sent by a client and comprises trigger event information executed by the client;
matching the trigger event information with the hot event information in the target event information;
if the matching is successful, calling hotspot response logic in the client, and carrying out hotspot response based on a hotspot response object in the target event information;
the proxy server monitors a network request event of the client and carries out hotspot response under the condition that the network request event meets hotspot triggering conditions; the hotspot triggering condition is obtained by analyzing the target event information; the proxy server is a local front-end webpage resident background;
correspondingly, the method further comprises the following steps: editing the matching logic of the information in the proxy server in response to a developer configuring the matching logic.
5. An application processing apparatus, comprising:
the target event acquisition module is used for acquiring target event information and a webpage address of the proxy server from the server;
the response object analysis module is used for analyzing the hotspot response object from the target event information and starting a proxy server according to the webpage address;
the hotspot response module is used for carrying out hotspot response based on hotspot response logic in the local application and the resolved hotspot response object; the hotspot response module comprises an instruction sending unit used for sending an operation instruction to the proxy server, wherein the operation instruction instructs the proxy server to execute the following steps: calling hotspot response logic in the local application, and carrying out hotspot response based on the analyzed hotspot response object; the proxy server monitors a network request event of a client and carries out hotspot response under the condition that the network request event meets hotspot triggering conditions; the hotspot triggering condition is obtained by analyzing the target event information;
the instruction sending unit comprises: an instruction sending subunit, configured to send, if execution of a trigger event in the target event information is monitored in the local application, a matching instruction including the trigger event information and hotspot event information analyzed from the target event information to the proxy server, where the matching instruction instructs the proxy server to execute the following: matching the trigger event information with the hotspot event information; if the matching is successful, calling hotspot response logic in the local application, and carrying out hotspot response based on a hotspot response object in the target event information;
the proxy server is a local front-end webpage resident background;
correspondingly, the device is also used for: editing the matching logic of the information in the proxy server in response to a developer configuring the matching logic.
6. The apparatus of claim 5, further comprising:
the trigger condition analysis module is used for analyzing a hotspot trigger condition from the target event information before hotspot response is carried out on the hotspot response logic in the local application and the analyzed hotspot response object;
and the condition determining module is used for executing the operation of carrying out hotspot response based on the hotspot response logic in the local application and the resolved hotspot response object if the condition determining module determines that the operation of the local application meets the requirement of the hotspot triggering condition based on the monitoring logic in the local application.
7. The apparatus of claim 6, wherein the condition determining module comprises:
the trigger event monitoring unit is used for monitoring the successful execution of the trigger event in the hotspot trigger condition based on the monitoring logic in the local application;
and the condition determining unit is used for determining that the operation of the local application meets the requirement of the hotspot triggering condition if the successful execution of the triggering event is monitored and the triggering event information is matched with the hotspot event information in the triggering condition.
8. An application processing apparatus, comprising:
the target event issuing module is used for issuing target event information and a proxy server webpage address to a client, the proxy server webpage address is used for enabling the client to start a proxy server according to the webpage address, and the proxy server is used for calling a hot spot response logic in a local application when receiving an operation instruction of the client and carrying out hot spot response based on an analyzed hot spot response object;
the hotspot response module is used for receiving an operation instruction sent by the client, calling hotspot response logic in the client and carrying out hotspot response based on a hotspot response object in the target event information; the proxy server monitors a network request event of the client and carries out hotspot response under the condition that the network request event meets hotspot triggering conditions; the hotspot triggering condition is obtained by analyzing the target event information;
the hotspot response module comprises:
the instruction receiving unit is used for receiving a matching instruction which is sent by the client and comprises trigger event information executed by the client;
the information matching unit is used for matching the trigger event information with the hotspot event information in the target event information;
the hotspot response unit is used for calling hotspot response logic in the client if the matching is successful, and carrying out hotspot response based on a hotspot response object in the target event information;
the client interacts with the server only once, and unifies logic after local processing after successfully analyzing the target event information transmitted by the server and the webpage address of the proxy server;
the proxy server is a local front-end webpage resident background;
correspondingly, the device is also used for: editing the matching logic of the information in the proxy server in response to a developer configuring the matching logic.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the application processing method of any of claims 1-3 or claim 4.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the application processing method of any one of claims 1 to 3 or claim 4.
CN201811566887.5A 2018-12-19 2018-12-19 Application processing method, device, equipment and medium Active CN109669737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811566887.5A CN109669737B (en) 2018-12-19 2018-12-19 Application processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811566887.5A CN109669737B (en) 2018-12-19 2018-12-19 Application processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN109669737A CN109669737A (en) 2019-04-23
CN109669737B true CN109669737B (en) 2023-04-18

Family

ID=66144023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811566887.5A Active CN109669737B (en) 2018-12-19 2018-12-19 Application processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109669737B (en)

Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810243A (en) * 2013-11-29 2014-05-21 北京知立方科技有限公司 Innovative hotspot pre-warning recognition system and method
CN105553870A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Method and device for allocating service request
CN105808427A (en) * 2016-03-02 2016-07-27 厦门美图移动科技有限公司 Test method, device and system of mobile terminal software
CN106202289A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of homepage finding method and electronic equipment
CN106211142A (en) * 2016-07-12 2016-12-07 福建歌航电子信息科技有限公司 A kind of WiFi AP terminal wide area network cut-in method
CN106407803A (en) * 2016-08-30 2017-02-15 北京奇虎科技有限公司 Detection method and device of SQL (Structured Query Language) injection vulnerabilities
CN106533968A (en) * 2016-12-21 2017-03-22 重庆邮电大学 Security policy configuration method for software defined mobile network (SDMN) based on network intermediate equipment
CN106790455A (en) * 2016-12-08 2017-05-31 中国科学院软件研究所 A kind of distributed cloud management system and method based on mixed mode
CN106970789A (en) * 2017-03-07 2017-07-21 武汉斗鱼网络科技有限公司 A kind of Android end groups bury point methods and system automatically in AOP and AspectJ daily record
CN107071579A (en) * 2017-03-02 2017-08-18 合网络技术(北京)有限公司 Multimedia resource processing method and device
CN107122970A (en) * 2017-04-27 2017-09-01 深圳怡化电脑股份有限公司 Safety certifying method, device, system, equipment, ATM and storage medium
CN107292040A (en) * 2017-06-28 2017-10-24 电子科技大学 Finite Element Model Validation based on Kriging response surfaces
CN107317708A (en) * 2017-06-29 2017-11-03 人民法院信息技术服务中心 The monitoring method and device of a kind of Court business application system
CN107390230A (en) * 2017-07-19 2017-11-24 哈尔滨工业大学 Double Gm APD photon counting laser radars based on half time alignment door
CN107391276A (en) * 2017-07-05 2017-11-24 腾讯科技(深圳)有限公司 Distributed monitor method, interception control device and system
CN107635012A (en) * 2017-10-18 2018-01-26 中汇信息技术(上海)有限公司 A kind of match messages method, server and computer-readable recording medium
CN107657807A (en) * 2017-09-19 2018-02-02 北京摩拜科技有限公司 Accumulation processing method, vehicle, server and the Vehicular system of vehicle
US9949127B1 (en) * 2014-04-21 2018-04-17 Google Llc Web-based wireless hotspot creation and management
CN107948317A (en) * 2017-12-26 2018-04-20 金蝶软件(中国)有限公司 Adjustment method, device, storage medium and the computer equipment of Distributed Services
CN108055302A (en) * 2017-12-05 2018-05-18 竞技世界(北京)网络技术有限公司 A kind of image cache processing method, system and server
CN108074210A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object acquisition system and method rendered for cloud
CN108073350A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object storage system rendered for cloud and method
CN108182213A (en) * 2017-12-20 2018-06-19 福建新大陆软件工程有限公司 A kind of data processing optimization device and method based on distributed system
CN108200574A (en) * 2018-01-05 2018-06-22 北京奇虎科技有限公司 Wi-Fi hotspot connection method and device
CN108462701A (en) * 2018-02-12 2018-08-28 武汉卡比特信息有限公司 A kind of shared cell phone network connecting internet system and method for exempting from hot spot
CN108491234A (en) * 2018-03-19 2018-09-04 深圳乐信软件技术有限公司 A kind of real-time traffic control method, device, equipment and storage medium
CN108664221A (en) * 2018-05-11 2018-10-16 北京奇虎科技有限公司 A kind of data proof of possession method, apparatus and readable storage medium storing program for executing
CN108733005A (en) * 2017-04-21 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and device of control smart machine linkage
CN108769097A (en) * 2018-03-30 2018-11-06 中国科学院信息工程研究所 Support the content distribution network system of network-control
CN108846038A (en) * 2018-05-25 2018-11-20 上海与德科技有限公司 A kind of message prompt method, device, server and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7448012B1 (en) * 2004-04-21 2008-11-04 Qi-De Qian Methods and system for improving integrated circuit layout
CN1905701B (en) * 2006-08-08 2012-08-08 钟杨 Method and system for issuing network message to mobile terminal apparatus
US8208026B2 (en) * 2009-03-02 2012-06-26 Flir Systems, Inc. Systems and methods for processing infrared images
CN103064834A (en) * 2011-10-19 2013-04-24 腾讯科技(深圳)有限公司 Method of displaying microblog hot data and system thereof
US9161219B2 (en) * 2012-06-22 2015-10-13 Guest Tek Interactive Entertainment Ltd. Authorizing secured wireless access at hotspot having open wireless network and secure wireless network
US9509784B2 (en) * 2013-03-14 2016-11-29 Level 3 Communications, Llc Manifest chunking in content delivery in a network
US9813861B2 (en) * 2014-07-30 2017-11-07 Appoet Inc. Media device that uses geolocated hotspots to deliver content data on a hyper-local basis
WO2017079372A1 (en) * 2015-11-04 2017-05-11 Veniam, Inc. Adaptive rate control for vehicular networks
US9755941B2 (en) * 2015-11-04 2017-09-05 Veniam, Inc. Adaptive rate control for vehicular networks
US10034237B2 (en) * 2016-02-08 2018-07-24 Cisco Technology, Inc. System and method to facilitate hotspot onboarding for user equipment in a network environment
US10645577B2 (en) * 2016-07-15 2020-05-05 Avago Technologies International Sales Pte. Limited Enhanced secure provisioning for hotspots
CN106484858B (en) * 2016-10-09 2019-12-06 腾讯科技(北京)有限公司 hot content pushing method and device
CN108512813B (en) * 2017-02-27 2021-10-19 百度在线网络技术(北京)有限公司 Apparatus and method for preventing information from being masked
CN108833950B (en) * 2018-06-29 2021-05-28 武汉斗鱼网络科技有限公司 Barrage message issuing method, server, system and storage medium

Patent Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810243A (en) * 2013-11-29 2014-05-21 北京知立方科技有限公司 Innovative hotspot pre-warning recognition system and method
US9949127B1 (en) * 2014-04-21 2018-04-17 Google Llc Web-based wireless hotspot creation and management
CN105553870A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Method and device for allocating service request
CN105808427A (en) * 2016-03-02 2016-07-27 厦门美图移动科技有限公司 Test method, device and system of mobile terminal software
CN106202289A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of homepage finding method and electronic equipment
CN106211142A (en) * 2016-07-12 2016-12-07 福建歌航电子信息科技有限公司 A kind of WiFi AP terminal wide area network cut-in method
CN106407803A (en) * 2016-08-30 2017-02-15 北京奇虎科技有限公司 Detection method and device of SQL (Structured Query Language) injection vulnerabilities
CN108073350A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object storage system rendered for cloud and method
CN108074210A (en) * 2016-11-10 2018-05-25 成都赫尔墨斯科技股份有限公司 A kind of object acquisition system and method rendered for cloud
CN106790455A (en) * 2016-12-08 2017-05-31 中国科学院软件研究所 A kind of distributed cloud management system and method based on mixed mode
CN106533968A (en) * 2016-12-21 2017-03-22 重庆邮电大学 Security policy configuration method for software defined mobile network (SDMN) based on network intermediate equipment
CN107071579A (en) * 2017-03-02 2017-08-18 合网络技术(北京)有限公司 Multimedia resource processing method and device
CN106970789A (en) * 2017-03-07 2017-07-21 武汉斗鱼网络科技有限公司 A kind of Android end groups bury point methods and system automatically in AOP and AspectJ daily record
CN108733005A (en) * 2017-04-21 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and device of control smart machine linkage
CN107122970A (en) * 2017-04-27 2017-09-01 深圳怡化电脑股份有限公司 Safety certifying method, device, system, equipment, ATM and storage medium
CN107292040A (en) * 2017-06-28 2017-10-24 电子科技大学 Finite Element Model Validation based on Kriging response surfaces
CN107317708A (en) * 2017-06-29 2017-11-03 人民法院信息技术服务中心 The monitoring method and device of a kind of Court business application system
CN107391276A (en) * 2017-07-05 2017-11-24 腾讯科技(深圳)有限公司 Distributed monitor method, interception control device and system
CN107390230A (en) * 2017-07-19 2017-11-24 哈尔滨工业大学 Double Gm APD photon counting laser radars based on half time alignment door
CN107657807A (en) * 2017-09-19 2018-02-02 北京摩拜科技有限公司 Accumulation processing method, vehicle, server and the Vehicular system of vehicle
CN107635012A (en) * 2017-10-18 2018-01-26 中汇信息技术(上海)有限公司 A kind of match messages method, server and computer-readable recording medium
CN108055302A (en) * 2017-12-05 2018-05-18 竞技世界(北京)网络技术有限公司 A kind of image cache processing method, system and server
CN108182213A (en) * 2017-12-20 2018-06-19 福建新大陆软件工程有限公司 A kind of data processing optimization device and method based on distributed system
CN107948317A (en) * 2017-12-26 2018-04-20 金蝶软件(中国)有限公司 Adjustment method, device, storage medium and the computer equipment of Distributed Services
CN108200574A (en) * 2018-01-05 2018-06-22 北京奇虎科技有限公司 Wi-Fi hotspot connection method and device
CN108462701A (en) * 2018-02-12 2018-08-28 武汉卡比特信息有限公司 A kind of shared cell phone network connecting internet system and method for exempting from hot spot
CN108491234A (en) * 2018-03-19 2018-09-04 深圳乐信软件技术有限公司 A kind of real-time traffic control method, device, equipment and storage medium
CN108769097A (en) * 2018-03-30 2018-11-06 中国科学院信息工程研究所 Support the content distribution network system of network-control
CN108664221A (en) * 2018-05-11 2018-10-16 北京奇虎科技有限公司 A kind of data proof of possession method, apparatus and readable storage medium storing program for executing
CN108846038A (en) * 2018-05-25 2018-11-20 上海与德科技有限公司 A kind of message prompt method, device, server and storage medium

Also Published As

Publication number Publication date
CN109669737A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US11119812B2 (en) Method and device for processing application program page according to a common interface container
US10841754B2 (en) Verification code obtaining method and apparatus, and terminal
US9665465B1 (en) Automated determination of application permissions
US11303596B2 (en) Method and a device for processing information
CN111190673B (en) Page display method and device based on operation monitoring and electronic equipment
CN112231617A (en) Service call checking method and device, storage medium and electronic equipment
CN112347384A (en) Method, system and electronic equipment for monitoring advertisement content
CN112416455B (en) Data processing method, device, terminal and storage medium
CN116823537A (en) Insurance report processing method and device, storage medium and electronic equipment
US9959411B2 (en) Detecting security vulnerabilities on computing devices
CN114205156A (en) Message detection method and device for tangent plane technology, electronic equipment and medium
CN109669737B (en) Application processing method, device, equipment and medium
CN108289056B (en) Method and device for sharing dynamic chart and computing equipment
CN111722936B (en) Page end and original end communication method and device, electronic equipment and readable medium
CN113535568B (en) Verification method, device, equipment and medium for application deployment version
CN113612756B (en) Shared login method and device, computer readable storage medium and electronic equipment
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller
US9959195B2 (en) Dynamic instrumentation of WSGI applications
CN109241787B (en) Call detection method and device for image input device and computer readable storage medium
CN112596824A (en) Information interaction method and device, electronic equipment and storage medium
CN111767486B (en) Method, apparatus, electronic device and computer readable medium for displaying pages
CN113760706B (en) Webpage debugging method and device
CN109218270B (en) Method and device for processing hijacked request
CN113641923A (en) Access page generation method and device, electronic equipment and storage 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