CN107861822B - Method, device and equipment for simulating broadcast notification in client - Google Patents

Method, device and equipment for simulating broadcast notification in client Download PDF

Info

Publication number
CN107861822B
CN107861822B CN201711036777.3A CN201711036777A CN107861822B CN 107861822 B CN107861822 B CN 107861822B CN 201711036777 A CN201711036777 A CN 201711036777A CN 107861822 B CN107861822 B CN 107861822B
Authority
CN
China
Prior art keywords
client
broadcast
notification
broadcast notification
data
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
CN201711036777.3A
Other languages
Chinese (zh)
Other versions
CN107861822A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201711036777.3A priority Critical patent/CN107861822B/en
Priority to CN202111290100.9A priority patent/CN114090285A/en
Publication of CN107861822A publication Critical patent/CN107861822A/en
Application granted granted Critical
Publication of CN107861822B publication Critical patent/CN107861822B/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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the specification provides a method, a device and equipment for simulating broadcast notification in a client. In one embodiment, the method comprises: the simulation end establishes connection with the client; after the connection is successfully established, the simulation terminal sends data for the client terminal to generate a broadcast notification to the client terminal, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal.

Description

Method, device and equipment for simulating broadcast notification in client
Technical Field
One or more embodiments of the present disclosure relate to the field of software technologies, and in particular, to a method, an apparatus, and a device for simulating a broadcast notification in a client.
Background
During development and testing of applications (apps), it is often necessary to use broadcast notification functions into various operating systems to broadcast various types of broadcast notifications within the apps. For example, the Notifications function of iOS. On one hand, the broadcast monitoring object in the App can perform corresponding processing action after monitoring the broadcast name specified by the service. On the other hand, broadcast notifications may inform the entire App of the current state or behavior.
In the related art, broadcast notifications broadcast in an App often need to be triggered only by using the App by a user, and some broadcast notifications even need to be triggered only by performing relatively complex operations on the App by the user, so that the App development and test efficiency is low.
Disclosure of Invention
In view of the above, one or more embodiments of the present disclosure provide a method, an apparatus, and a device for simulating broadcast notification in a client.
In order to achieve the above purpose, one or more embodiments of the present disclosure provide the following technical solutions:
in one aspect, a method for simulating broadcasting notification in a client is provided, which includes:
the method comprises the steps that a simulation end is connected with a client, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the simulation terminal sends data for the client terminal to generate a broadcast notification to the client terminal, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal.
In another aspect, a method for simulating broadcasting notification in a client is provided, which includes:
the method comprises the steps that a client side is connected with a simulation end, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the client receives data which is sent by the simulation end and used for the client to generate a broadcast notification;
the client generates the broadcast notification by using the data;
and the client broadcasts the broadcast notification to a broadcast monitoring object in the client.
In one aspect, an apparatus for simulating a broadcast notification in a client is provided, which is applied to a simulation end that stores data used to generate the broadcast notification, and the apparatus includes:
the connection establishing module is used for establishing connection with the client;
and the sending module is used for sending data for the client to generate a broadcast notification to the client after the connection is successfully established, wherein the broadcast notification is broadcasted to a broadcast monitoring object in the client by the client.
In another aspect, an apparatus for simulating broadcasting notification in a client is provided, which is applied to the client, and includes:
the connection establishing module is connected with the analog end, and the analog end stores data used for generating broadcast notification;
the receiving module is used for receiving data which is sent by the analog end and used for the client to generate a broadcast notification after the connection is successfully established;
a generation module that generates the broadcast notification using the data;
and the broadcast module is used for broadcasting the broadcast notification to the broadcast monitoring object in the client.
In one aspect, an analog end device is provided, which includes:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to:
the method comprises the steps that a simulation end is connected with a client, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the simulation terminal sends data for the client terminal to generate a broadcast notification to the client terminal, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal.
In yet another aspect, a client device is provided, comprising:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to:
the method comprises the steps that a client side is connected with a simulation end, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the client receives data which is sent by the simulation end and used for the client to generate a broadcast notification;
the client generates the broadcast notification by using the data;
and the client broadcasts the broadcast notification to a broadcast monitoring object in the client.
According to the technical scheme, the data used for generating the broadcast notification is stored by the analog end, and after the analog end is connected with the client, the data used for generating the broadcast notification by the client can be sent to the client by the analog end, so that the client broadcasts the broadcast notification to the broadcast monitoring object in the client. According to the scheme, the user can be prevented from operating at the client (namely the developed or tested App) to trigger the broadcast notification, so that the operation of the user in the development and test process is simplified, and the development and test efficiency of the App is improved.
Drawings
FIG. 1 illustrates an exemplary scenario diagram;
FIG. 2 illustrates a method flow (performed by a simulation end device) for simulating an in-client broadcast notification according to an exemplary embodiment;
FIG. 3 illustrates a method flow (performed by a client device) for simulating an in-client broadcast notification provided by an exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus (application at the analog end) for simulating broadcast notifications in a client according to an exemplary embodiment;
FIG. 5 illustrates a block diagram of an apparatus (application at a client) for simulating an in-client broadcast notification provided by an exemplary embodiment;
fig. 6 illustrates a structure of a simulation end device or a client device according to an exemplary embodiment.
Detailed Description
Fig. 1 shows an exemplary scenario in which: the system comprises a client device provided with a client (namely an App to be tested) and an analog end device provided with an analog end application program (used for providing data capable of generating broadcast notification in the App). The client device/analog device may include, but is not limited to, various Personal Computers (PCs), mobile phones, and the like. The analog end application program can have the functions of editing, displaying and managing data for generating broadcast notification by a user and the like.
Fig. 2 shows a flow of a method (performed by a simulation end device) for simulating broadcast notification in a client according to an exemplary embodiment. As shown in fig. 2, in one embodiment, the method includes the steps of:
in step 101, an analog side establishes a connection with a client, wherein the analog side stores data used for generating a broadcast notification.
In one embodiment, the analog end and the client end can establish connection through a Dynamic Link Library (DLL) integrated in the client end. Of course, the data communication mode between the client and the simulation end includes but is not limited to: socket, USB, TCP/IP protocol, Bluetooth protocol, etc.
In step 102, after the connection is successfully established, the analog end sends data for the client to generate a broadcast notification to the client, and the broadcast notification is broadcasted to a broadcast monitoring object in the client by the client.
In one embodiment, the simulation terminal may provide a user interface for editing the data, and the simulation terminal may store the edited data. The development personnel of the App can edit various broadcast notification data according to the actual service requirements and store the data to the analog terminal for later use. In addition, the developer can manage all data at the simulation end (for example, add, delete, change, check and the like for the data).
In an embodiment, the client may be an application installed on the mobile operating system iOS. In the iOS, the iOS App needs to use the Notifications (a notification mechanism of the iOS) of the iOS, wherein the iOS App may include a plurality of objects (i.e. broadcast initiation objects) capable of sending broadcast Notifications and objects (i.e. broadcast listening objects) capable of receiving broadcast Notifications. The key to Notifications is a Notification Center (Notification Center) that manages registration and deregistration of broadcast listening objects, and transmission and reception of broadcast Notifications. For the broadcast initiating object, it does not need to care which broadcast monitoring objects need to monitor the specific broadcast notification sent by the broadcast initiating object, and for the broadcast monitoring objects, it does not need to care which broadcast initiating object sends the specific broadcast notification needed to be monitored by the broadcast monitoring objects, thereby reducing the coupling degree between the broadcast initiating object and the broadcast monitoring objects. In some embodiments, each iOS App may have a notification center that broadcasts certain broadcast notifications within the App after they are received, without concern about which broadcast listening objects or broadcast messages are received. After receiving the broadcast notification, the broadcast listener in App may obtain some information encapsulated therein from the broadcast notification, and then perform corresponding processing actions according to the information. Of course, the notification mechanism is not limited to the Notifications function of iOS.
In one embodiment, the above step 102 can be embodied as the following process:
the analog end responds to a specific operation (such as selecting a specific broadcast name in a list in the analog end and clicking to start to send out a broadcast) which is made by a user at the analog end and used for triggering a broadcast notification, acquires stored data (such as local storage or storage in a memory or remote storage) used for generating the broadcast notification for the client, and sends the acquired data to the client. The data for generating various types of broadcast notifications may include, but is not limited to: the name of the broadcast (which is used to indicate a broadcast notification, typically a character string), the content of the broadcast (e.g., the object that the broadcast needs to carry, some additional information, etc.). Of course, the manner in which the user triggers the broadcast notification is not limited, for example: one operation of the user at the analog end can trigger a plurality of broadcast notifications, or be automatically triggered (such as timing trigger) by the analog end, and the like.
Fig. 3 shows a flow of a method (performed by a client device) for simulating an intra-client broadcast notification, according to the process of fig. 2, the method includes the following steps:
in step 201, the client establishes a connection with the analog end, wherein the analog end stores data used for generating the broadcast notification.
In step 202, after the connection is successfully established, the client receives data sent by the analog end and used for the client to generate a broadcast notification.
In step 203, the client generates the broadcast notification using the data, wherein the process of "generating" may be to encapsulate the received data in a message.
In step 204, the client broadcasts the broadcast notification to the broadcast listening object in the client.
The number of the broadcast monitoring objects receiving the broadcast notification is greater than or equal to 0, depending on the specific service of the App. In fact, the client broadcasts the generated broadcast notification in the App through its broadcast center, and does not need to care which listening objects actually receive the broadcast notification, and the objects receiving the broadcast can perform corresponding processing actions. For App developers, after the simulation end sends out the data, the test results can be obtained by observing the processing actions of the App.
Based on the embodiments shown in fig. 2 and fig. 3, the following effects can be achieved:
the App developer can conveniently trigger any broadcast notification required to be used through the analog end, and can edit data used for generating the broadcast notification at the analog end to meet different service requirements. According to the scheme, the situation that a user needs to operate at the App end to trigger various broadcast notifications in the past App development process is avoided, so that the operation of the user in the development and test process is simplified, and the App development and test efficiency is improved. Particularly, for some broadcast notifications which need a relatively long operation link (i.e. a series of operations) to start, the scheme can be triggered by one key after the analog end edits data. By the aid of the scheme, development and test of App can cover all scenes (including some special scenes).
Corresponding to the above method, there is also provided an apparatus for simulating in-client broadcast notification, which may be implemented by software.
Fig. 4 is a block diagram illustrating an apparatus 400 (applied at the analog end) for simulating broadcast notification in a client according to an exemplary embodiment. As shown in fig. 4, in an embodiment, the analog end stores data used for generating a broadcast notification, and the apparatus 400 includes: a connection establishing module 410 and a sending module 420, wherein:
the connection establishment module 410 is configured to: and establishing connection with the client.
The sending module 420 is configured to: and after the connection is successfully established, sending data for the client to generate a broadcast notification to the client, wherein the broadcast notification is broadcasted to a broadcast monitoring object in the client by the client.
In one embodiment, the apparatus 400 further provides a user interface for editing data for generating the broadcast notification, and stores the edited data.
In an embodiment, the sending module 410 may be configured to:
and responding to a specific operation which is made by a user through the user interface and is used for triggering the broadcast notification, acquiring the stored data used for generating the broadcast notification by the client, and sending the acquired data to the client.
Fig. 5 is a block diagram illustrating an apparatus 500 (application at a client) for simulating broadcast notification within the client according to an exemplary embodiment. As shown in fig. 5, in one embodiment, the apparatus 500 comprises: a connection establishing module 510, a receiving module 520, a generating module 530, and a broadcasting module 540, wherein:
the connection establishment module 510 is configured to: establishing connection with an analog terminal, wherein the analog terminal stores data used for generating broadcast notification;
the receiving module 520 is configured to: after the connection is successfully established, receiving data which is sent by the analog end and used for generating a broadcast notification by the client;
the generation module 530 is configured to: generating the broadcast notification using the data;
the broadcast module 540 is configured to: and broadcasting the broadcast notification to a broadcast monitoring object in the client.
As shown in fig. 6, one or more embodiments of the present specification provide a client device or an analog device, which may include a processor, an internal bus, a network interface, a storage (including a memory and a non-volatile storage), and may also include hardware required for other services. A processor may be one or more instances of a Central Processing Unit (CPU), processing unit, processing circuit, processor, Application Specific Integrated Circuit (ASIC), microprocessor, or other processing logic that may execute instructions. The processor reads the corresponding program from the nonvolatile memory into the memory and then runs the program. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
In an embodiment, for an analog end device, the processor thereof may be configured to:
the method comprises the steps that a simulation end is connected with a client, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the simulation terminal sends data for the client terminal to generate a broadcast notification to the client terminal, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal.
In an embodiment, for a client device, its processor may be configured to:
the method comprises the steps that a client side is connected with a simulation end, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the client receives data which is sent by the simulation end and used for the client to generate a broadcast notification;
the client generates the broadcast notification by using the data;
and the client broadcasts the broadcast notification to a broadcast monitoring object in the client.
The embodiments in the present specification are described in a progressive manner, and the same/similar parts in the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Especially, for the analog end device/client device embodiment and the apparatus embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of the storage medium of the computer include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM)
(SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is merely exemplary of one or more embodiments of the present disclosure and is not intended to limit the scope of one or more embodiments of the present disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of claims of one or more embodiments of the present specification.

Claims (11)

1. A method for simulating broadcast notification in a client is used for quickly triggering the broadcast notification in the client, wherein the client is an application program installed on a mobile operating system iOS; the method comprises the following steps:
the method comprises the steps that a simulation end is connected with a client, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the analog terminal sends data for the client terminal to generate a broadcast notification to the client terminal, the data is encapsulated in a message by the client terminal to generate the broadcast notification, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
2. The method of claim 1, the simulation side providing a user interface for editing the data, the simulation side storing the edited data.
3. The method of claim 2, the analog end sending data to the client for the client to generate a broadcast notification comprising:
in response to a specific operation for triggering broadcast notification at the analog end by a user, the analog end acquires the stored data for the client to generate the broadcast notification and sends the acquired data to the client.
4. The method of claim 1, the establishing, by the simulation end, a connection with a client comprises:
the simulation end and the client end establish connection through a dynamic library integrated in the client end.
5. A method for simulating broadcast notification in a client is used for quickly triggering the broadcast notification in the client, wherein the client is an application program installed on a mobile operating system iOS; the method comprises the following steps:
the method comprises the steps that a client side is connected with a simulation end, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the client receives data which is sent by the simulation end and used for the client to generate a broadcast notification;
the client generates the broadcast notification by using the data;
the client broadcasts the broadcast notification to a broadcast monitoring object in the client;
wherein the client generating the broadcast notification using the data comprises: the client encapsulates the data in a message to generate a broadcast notification;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
6. A device for simulating broadcast notification in a client is applied to a simulation end, the simulation end stores data used for generating the broadcast notification and is used for quickly triggering the broadcast notification in the client, and the client is an application program installed on a mobile operating system iOS; the device comprises:
the connection establishing module is used for establishing connection with the client;
the sending module is used for sending data for the client to generate a broadcast notification to the client after the connection is successfully established, the data is encapsulated in a message by the client to generate the broadcast notification, and the broadcast notification is broadcasted to a broadcast monitoring object in the client by the client;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
7. The apparatus according to claim 6, which provides a user interface for editing data for generating a broadcast notification, and stores the edited data.
8. The apparatus of claim 7, the transmitting module configured to:
and responding to a specific operation which is made by a user through the user interface and is used for triggering the broadcast notification, acquiring the stored data used for generating the broadcast notification by the client, and sending the acquired data to the client.
9. A device for simulating broadcast notification in a client is applied to the client and used for quickly triggering the broadcast notification in the client, wherein the client is an application program installed on a mobile operating system iOS; the device comprises:
the connection establishing module is connected with the analog end, and the analog end stores data used for generating broadcast notification;
the receiving module is used for receiving data which is sent by the analog end and used for the client to generate a broadcast notification after the connection is successfully established;
a generation module that generates the broadcast notification using the data;
the broadcast module is used for broadcasting the broadcast notification to a broadcast monitoring object in the client;
the generating module is configured to encapsulate the data in a message to generate a broadcast notification;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
10. The analog end equipment is used for quickly triggering broadcast notification in a client, wherein the client is an application program installed on a mobile operating system iOS; the method comprises the following steps:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to:
the method comprises the steps that a simulation end is connected with a client, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the analog terminal sends data for the client terminal to generate a broadcast notification to the client terminal, the data is encapsulated in a message by the client terminal to generate the broadcast notification, and the broadcast notification is broadcasted to a broadcast monitoring object in the client terminal by the client terminal;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
11. A client device for quickly triggering a broadcast notification within the client, the client being an application installed on a mobile operating system iOS; the method comprises the following steps:
a processor;
a memory for storing processor-executable instructions;
the processor is configured to:
the method comprises the steps that a client side is connected with a simulation end, and the simulation end stores data used for generating broadcast notifications;
after the connection is successfully established, the client receives data which is sent by the simulation end and used for the client to generate a broadcast notification;
the client generates the broadcast notification by using the data;
the client broadcasts the broadcast notification to a broadcast monitoring object in the client;
wherein the client generating the broadcast notification using the data comprises: the client encapsulates the data in a message to generate a broadcast notification;
the client side is provided with a notification center, and the notification center broadcasts the broadcast notification to the broadcast monitoring object corresponding to the broadcast notification after receiving the broadcast notification sent by any broadcast initiating object.
CN201711036777.3A 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client Active CN107861822B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711036777.3A CN107861822B (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client
CN202111290100.9A CN114090285A (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711036777.3A CN107861822B (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111290100.9A Division CN114090285A (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client

Publications (2)

Publication Number Publication Date
CN107861822A CN107861822A (en) 2018-03-30
CN107861822B true CN107861822B (en) 2021-09-28

Family

ID=61696540

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111290100.9A Pending CN114090285A (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client
CN201711036777.3A Active CN107861822B (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202111290100.9A Pending CN114090285A (en) 2017-10-30 2017-10-30 Method, device and equipment for simulating broadcast notification in client

Country Status (1)

Country Link
CN (2) CN114090285A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090836A (en) * 2014-02-17 2014-10-08 腾讯科技(深圳)有限公司 Response test method and device of application program for system broadcast
CN105093016A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Automation testing method and device for mobile terminal
CN105242996A (en) * 2014-07-09 2016-01-13 腾讯科技(深圳)有限公司 Electric quantity simulation method and apparatus for intelligent terminal
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs
US9710368B1 (en) * 2014-05-02 2017-07-18 Amazon Technologies, Inc. Inter-process communication automated testing framework

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021438B2 (en) * 2013-06-20 2015-04-28 Sap Portals Israel Ltd Automatic framework for parallel testing on multiple testing environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090836A (en) * 2014-02-17 2014-10-08 腾讯科技(深圳)有限公司 Response test method and device of application program for system broadcast
US9710368B1 (en) * 2014-05-02 2017-07-18 Amazon Technologies, Inc. Inter-process communication automated testing framework
CN105242996A (en) * 2014-07-09 2016-01-13 腾讯科技(深圳)有限公司 Electric quantity simulation method and apparatus for intelligent terminal
CN105093016A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Automation testing method and device for mobile terminal
CN105354143A (en) * 2015-12-02 2016-02-24 北京奇虎科技有限公司 Test method and device for application programs

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"An event based test automation framework for Android mobiles";R Anbunathan 等;《2014 International Conference on Contemporary Computing and Informatics(IC3I)》;20150126;第76-79页 *
"基于Android自动化测试平台的研究与实现";林小捷;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140515(第05期);第I138-851页 *

Also Published As

Publication number Publication date
CN114090285A (en) 2022-02-25
CN107861822A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN110532020B (en) Data processing method, device and system for micro-service arrangement
CN108345531B (en) Test method, device and system
CN108200170B (en) Message processing method and device and readable storage medium
CN108965400B (en) Information processing method, device, equipment and system
CN111090423B (en) Webhook framework system and method for realizing active calling and event triggering
CN113190464B (en) mock testing method and device, electronic equipment and medium
CN108400902B (en) Method, device and equipment for gray level test
CN104391716A (en) Plug-in-based application program implementing method and device
CN110224897B (en) Weak network testing method and device of application program, mobile device and storage medium
CN110007936B (en) Data processing method and device
CN114168460A (en) Remote debugging method, device and storage medium for front-end code in hybrid development
CN110795353A (en) Debugging method, device and equipment for fast application and storage medium
KR101290977B1 (en) Message transfer method using push server and the system thereby
CN108984417B (en) Software testing method, device, terminal and storage medium
JP2011198361A (en) Device management method and apparatus therefor
CN107861822B (en) Method, device and equipment for simulating broadcast notification in client
CN110677443A (en) Data transmitting and receiving method, transmitting end, receiving end, system and storage medium
CN109150795B (en) Information processing method, device and equipment
CN107566519B (en) Code operation method and device, server and server cluster
CN113204344B (en) Information acquisition method and device for front-end development
CN111026502B (en) Business debugging architecture creating method and device, electronic equipment and storage medium
CN111367592B (en) Information processing method and device
CN112995254B (en) Method, equipment, system, device and component for transmitting heartbeat information
CN113821428A (en) Cloud testing method and device, electronic equipment and computer storage medium
CN112383617A (en) Method, device, terminal equipment and medium for long connection

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant