CN114567515A - Method for implementing automatic group adding of mobile terminal chat application - Google Patents
Method for implementing automatic group adding of mobile terminal chat application Download PDFInfo
- Publication number
- CN114567515A CN114567515A CN202210197022.6A CN202210197022A CN114567515A CN 114567515 A CN114567515 A CN 114567515A CN 202210197022 A CN202210197022 A CN 202210197022A CN 114567515 A CN114567515 A CN 114567515A
- Authority
- CN
- China
- Prior art keywords
- script
- mobile terminal
- barrier
- instruction
- chat application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004801 process automation Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
- H04L12/1822—Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1083—In-session procedures
- H04L65/1093—In-session procedures by adding participants; by removing participants
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The application relates to a method for realizing automatic group adding of mobile terminal chat application, which comprises the following steps: receiving a script instruction sent by an upper computer, transmitting the script instruction to barrier-free service, analyzing the script instruction based on the barrier-free service to obtain instruction content, and finally executing the instruction content on the chat application based on the barrier-free service. According to the method and the device, the selection, click and input operation instructions required by the mobile terminal chat application group adding can be compiled in the script in advance, and the operation instructions compiled in the script are analyzed and executed through barrier-free services supported by the mobile terminal, so that the automation of the group adding operation of the mobile terminal chat application is realized, the operation steps are simplified, and the accuracy and the working efficiency are improved.
Description
Technical Field
The application relates to the technical field of mobile terminal software development, in particular to a method for realizing automatic group adding of mobile terminal chat applications.
Background
In the service industry and in people's daily life, when mobile end chat applications such as WeChat or nailing are used, there are often batch clustering scenarios, such as supporting clusters that require maintenance of multiple user services. Whether the WeChat or the nail is added, when the group is added in batches, the WeChat or the nail needs to be added one by one in a manual mode, even the application description needs to be filled in manually, time and labor are consumed, and mistakes are easy to make.
Disclosure of Invention
In order to overcome the problem that time and labor are consumed when the mobile terminal chat application needs to be added in batches in the related art at least to a certain extent, the application provides a method for realizing automatic group adding of the mobile terminal chat application.
The scheme of the application is as follows:
a method for realizing automatic group adding of mobile terminal chat application includes:
receiving a script instruction sent by an upper computer;
passing the script instructions to an unobstructed service;
analyzing the script instruction based on the barrier-free service to obtain instruction content;
executing the instructional content on a chat application based on the barrier-free service.
Preferably, in an implementation manner of the present application, before the receiving the script instruction sent by the upper computer, the method further includes: the developer mode is turned on.
Preferably, in an implementable manner of the present application, the upper computer is installed with a Python environment, and starts the http service.
Preferably, in an implementable manner of the present application, the script instruction is compiled by the upper computer through pyc and sent through http service.
Preferably, in an implementation manner of the present application, the script instruction is in an adb (Android Debug Bridge) format.
Preferably, in an implementable manner of the present application, the operation instruction includes: selection, and/or click, and/or input.
The technical scheme provided by the application can comprise the following beneficial effects: the method for realizing automatic group adding of the mobile terminal chat application in the application comprises the following steps: receiving a script instruction sent by an upper computer, transmitting the script instruction to barrier-free service, analyzing the script instruction based on the barrier-free service to obtain instruction content, and finally executing the instruction content on the chat application based on the barrier-free service. According to the method and the device, the selection, click and input operation instructions required by the mobile terminal chat application group adding can be compiled in the script in advance, and the operation instructions compiled in the script are analyzed and executed through barrier-free services supported by the mobile terminal, so that the automation of the group adding operation of the mobile terminal chat application is realized, the operation steps are simplified, and the accuracy and the working efficiency are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a method for implementing automatic grouping of a mobile chat application according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
A method for implementing automatic group adding of a mobile terminal chat application, referring to fig. 1, includes:
s11: receiving a script instruction sent by an upper computer;
s12: passing the script instructions to a barrier-free service;
s13: analyzing the script instruction based on barrier-free service to obtain instruction content;
s14: and executing the instruction content on the chat application based on the barrier-free service.
The barrier-free service in this embodiment is access Services generally carried in an android system, and the access Services are barrier-free application Services that can provide an interface enhancement function, and are intended to assist a disabled user or a user who may temporarily fail to perform a full interaction with a device to complete an operation. For example, a user driving a car, attending a child, or attending a noisy party may require additional or alternative interface feedback means. The Android system starts with Android 1.6(API level 4) and barrier-free services can be built and deployed, and these services are significantly improved in Android4.0(API level 14). The Android support library is also updated with the release of Android4.0, providing support for these enhanced barrier-free service functions (from Android 1.6).
The above steps of the process in this embodiment are implemented at the mobile terminal.
In this embodiment, the script instruction is pulled from the upper computer by an RPA (robot process automation) service. And analyzing the script instruction based on the barrier-free service through the RPA application to obtain instruction content, and executing the instruction content on the chat application based on the barrier-free service through the RPA application.
The method for realizing automatic group adding of the mobile terminal chat application in the embodiment comprises the following steps: receiving a script instruction sent by an upper computer, transmitting the script instruction to barrier-free service, analyzing the script instruction based on the barrier-free service to obtain instruction content, and finally executing the instruction content on the chat application based on the barrier-free service. According to the method and the device, the selection, click and input operation instructions required by the mobile terminal chat application group adding can be compiled in the script in advance, and the operation instructions compiled in the script are analyzed and executed through barrier-free services supported by the mobile terminal, so that the automation of the group adding operation of the mobile terminal chat application is realized, the operation steps are simplified, and the accuracy and the working efficiency are improved.
In some embodiments, before receiving a script instruction sent by an upper computer, the method for implementing automatic grouping of a mobile terminal chat application further includes: the developer mode is turned on.
Further, the upper computer is provided with a Python environment and starts http service.
In this embodiment, preparation work needs to be performed before the method flow is executed, and the preparation work includes: the mobile terminal and the upper computer are connected through a data line, the developer mode needs to be started for the mobile terminal, the Python environment needs to be installed for the upper computer, and http service is started.
http is a network transport protocol, and preferably, the format of data transmission is defined based on TCP in this embodiment.
Further, the script instructions are compiled by the upper computer through pyc and sent through http service.
In this embodiment, the upper computer is installed with a Python environment, writes an automatic execution script through pyc, calculates a script instruction through reading the script, and transmits the script instruction to the http service.
In some embodiments, in the method for implementing automatic clustering of the mobile terminal chat application, the script instruction is in an adb format.
In this embodiment, the http service transmits the instruction in the adb format to the mobile terminal through the data line according to the script instruction, and the mobile terminal receives the adb format instruction and transmits the adb format instruction to the barrier-free service.
In some embodiments, the operation instruction includes: selection, and/or click, and/or input.
In the embodiment, the barrier-free service analyzes the script instruction to obtain the instruction content, and calls operations such as selection, click and input according to the instruction content, wherein the operations can be truly reflected on third-party applications such as WeChat and nailing, and by the method, the human operation is completely simulated, and automatic clustering is performed.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (6)
1. A method for realizing automatic group adding of mobile terminal chat application is characterized by comprising the following steps:
receiving a script instruction sent by an upper computer;
passing the script instructions to an unobstructed service;
analyzing the script instruction based on the barrier-free service to obtain instruction content;
executing the instructional content on a chat application based on the barrier-free service.
2. The method according to claim 1, wherein before the receiving the script instruction sent by the upper computer, the method further comprises: the developer mode is turned on.
3. The method according to claim 1, wherein the upper computer is installed with a Python environment and initiates http services.
4. The method of claim 1, wherein the script instructions are compiled by the upper computer via pyc and sent via an http service.
5. The method of claim 4, wherein the script instruction is in an adb format.
6. The method of claim 1, wherein the operation instruction comprises: selection, and/or click, and/or input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210197022.6A CN114567515A (en) | 2022-03-01 | 2022-03-01 | Method for implementing automatic group adding of mobile terminal chat application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210197022.6A CN114567515A (en) | 2022-03-01 | 2022-03-01 | Method for implementing automatic group adding of mobile terminal chat application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114567515A true CN114567515A (en) | 2022-05-31 |
Family
ID=81716675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210197022.6A Pending CN114567515A (en) | 2022-03-01 | 2022-03-01 | Method for implementing automatic group adding of mobile terminal chat application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114567515A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115291883A (en) * | 2022-07-12 | 2022-11-04 | 湖南于一科技有限公司 | Method for realizing development and operation of robot by self-defined script parser |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737240A (en) * | 2017-04-18 | 2018-11-02 | 阿里巴巴集团控股有限公司 | The method that the method, apparatus and group that chat group automatically creates create |
CN111581095A (en) * | 2020-05-08 | 2020-08-25 | 广州大学 | Self-starting USB debugging method and device based on barrier-free service and storage medium |
CN113238951A (en) * | 2021-05-20 | 2021-08-10 | 大河(深圳)信息有限公司 | Software barrier-free automatic test system and test method thereof |
CN113836505A (en) * | 2021-09-18 | 2021-12-24 | 湖南小算科技信息有限公司 | Method for rapidly acquiring shell permission of terminal equipment based on android system |
-
2022
- 2022-03-01 CN CN202210197022.6A patent/CN114567515A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737240A (en) * | 2017-04-18 | 2018-11-02 | 阿里巴巴集团控股有限公司 | The method that the method, apparatus and group that chat group automatically creates create |
CN111581095A (en) * | 2020-05-08 | 2020-08-25 | 广州大学 | Self-starting USB debugging method and device based on barrier-free service and storage medium |
CN113238951A (en) * | 2021-05-20 | 2021-08-10 | 大河(深圳)信息有限公司 | Software barrier-free automatic test system and test method thereof |
CN113836505A (en) * | 2021-09-18 | 2021-12-24 | 湖南小算科技信息有限公司 | Method for rapidly acquiring shell permission of terminal equipment based on android system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115291883A (en) * | 2022-07-12 | 2022-11-04 | 湖南于一科技有限公司 | Method for realizing development and operation of robot by self-defined script parser |
CN115291883B (en) * | 2022-07-12 | 2023-05-05 | 湖南于一科技有限公司 | Method for realizing development and operation of robot by custom script parser |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6188975B1 (en) | Programmatic use of software debugging to redirect hardware related operations to a hardware simulator | |
CN109995877B (en) | Information pushing method and device | |
CN114567515A (en) | Method for implementing automatic group adding of mobile terminal chat application | |
US20150331784A1 (en) | System and method for controlling test script execution by smartphone | |
US20040088150A1 (en) | System and method for hardware and software co-verification | |
US7366505B2 (en) | Apparatus and method for delivering messages to a mobile information terminal | |
CN108052449B (en) | Operating system running state detection method and device | |
CN111381965B (en) | Method and apparatus for processing requests | |
CN103677956A (en) | Method and device for simulating application operation of mobile equipment on calculating equipment | |
CN107645476B (en) | Request processing method and device | |
CN112597000B (en) | Instant messaging software automatic test method based on WebScokey protocol | |
CN112486546A (en) | SQLITE database upgrading method, device, terminal and system | |
CN112817883A (en) | Method, device and system for adapting interface platform and computer readable storage medium | |
CN111158987B (en) | Health check method and device for micro-service architecture | |
CN115167874B (en) | Automatic driving software mirror image deployment method and device, electronic equipment and readable medium | |
EP1465069B1 (en) | Method and computer system for activation of source files | |
CN111966597A (en) | Test data generation method and device | |
CN115756544A (en) | Equipment updating method and device, electronic equipment and storage medium | |
CN111382551B (en) | Integrated circuit development system, integrated circuit development method, and integrated circuit | |
CN113986263A (en) | Code automation test method, device, electronic equipment and storage medium | |
CN111290873B (en) | Fault processing method and device | |
CN113950034A (en) | Bluetooth behavior simulation method, device and equipment | |
CN112486504A (en) | Interaction method, upper computer and computer readable storage medium | |
CN112015427A (en) | Method and device for building multiple compiling environments and electronic equipment | |
CN111158925B (en) | Remote terminal debugging method, terminal, server 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 |