CN111343077A - Message sending control method and device, computer equipment and readable storage medium - Google Patents

Message sending control method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN111343077A
CN111343077A CN202010098409.7A CN202010098409A CN111343077A CN 111343077 A CN111343077 A CN 111343077A CN 202010098409 A CN202010098409 A CN 202010098409A CN 111343077 A CN111343077 A CN 111343077A
Authority
CN
China
Prior art keywords
wechat
login
real estate
message sending
control method
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
Application number
CN202010098409.7A
Other languages
Chinese (zh)
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.)
Chongqing Ruiyun Technology Co ltd
Original Assignee
Chongqing Ruiyun 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 Chongqing Ruiyun Technology Co ltd filed Critical Chongqing Ruiyun Technology Co ltd
Priority to CN202010098409.7A priority Critical patent/CN111343077A/en
Publication of CN111343077A publication Critical patent/CN111343077A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a message sending control method, a message sending control device, computer equipment and a readable storage medium, wherein a real estate marketing data monitoring result report is obtained when a message sending instruction is received; and keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user. The whole process is unattended, the report is automatically exported and sent to the superior leader WeChat, so that time and labor are saved, and manual operation is not needed.

Description

Message sending control method and device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling message transmission, a computer device, and a readable storage medium.
Background
In real estate marketing activities, current management and marketing general equal-place production marketing managers need to summarize and reply the whole result of the daily marketing of a case, and form a daily marketing report by using the whole marketing data of the day through a series of monitoring data and records, and the current marketing report is displayed on a marketing management control software platform. Generally, for the report, a background manager needs to export the report into a picture format file to report data to an upper level in the WeChat group. According to the method, a background manager is required to open management software at regular time every day, the report is checked, then a report picture is led out, then the report is downloaded and finally forwarded to a superior leader WeChat, and the problems of time and labor waste, incapability of fixing reporting time and the like exist due to manual operation in the whole process.
Disclosure of Invention
The invention provides a message sending control method, a message sending control device, computer equipment and a readable storage medium, which mainly solve the technical problems that: the whole process of transmitting the real estate marketing data monitoring result report is manually operated, time and labor are wasted, the reporting time cannot be fixed, on one hand, the workload and the error rate of background management personnel are increased, on the other hand, real estate marketing management personnel cannot know the marketing condition in time, and the work propulsion efficiency is influenced.
In order to solve the above technical problem, the present invention provides a message transmission control method, including:
when a message sending instruction is received, a real estate marketing data monitoring result report is obtained;
and keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user.
Optionally, when the set time interval is reached, it is determined that the message sending instruction is received.
Optionally, the obtaining the real estate marketing data monitoring result report includes:
and exporting the real estate marketing data monitoring result report as a picture, and storing the picture on a local computer disk.
Optionally, the maintaining the web page version wechat in the login state includes:
when a web page version wechat is logged in for the first time, a code scanning login two-dimensional code is generated and displayed, login cookie information is obtained and stored when code scanning login is carried out, and periodic refreshing operation is carried out by utilizing the login cookie information so as to keep the web page version wechat in a login state all the time.
Optionally, the preset WeChat user is WeChat of a real estate marketing manager.
The present invention also provides a message transmission control apparatus, including:
the instruction receiving module is used for triggering the data acquisition module to acquire a real estate marketing data monitoring result report when receiving the message sending instruction;
the processing module is used for keeping the webpage version WeChat in a login state, calling a WeChat message sending interface, and controlling the webpage version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user.
Optionally, the data obtaining module is configured to export the real estate marketing data monitoring result report as a picture, and store the picture on a local computer disk.
Optionally, the processing module is configured to generate and display a code-scanning login two-dimensional code when logging in the web page version wechat for the first time, acquire and store login cookie information when performing code-scanning login, and perform a periodic refresh operation by using the login cookie information to keep the web page version wechat in a login state all the time.
The invention also provides computer equipment, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the message transmission control method as described in any one of the above.
The present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the message transmission control method as described above.
The invention has the beneficial effects that:
according to the message sending control method, the message sending control device, the computer equipment and the readable storage medium, when a message sending instruction is received, a real estate marketing data monitoring result report is obtained; and keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user. The whole process is unattended, the report is automatically exported and sent to the superior leader WeChat, so that time and labor are saved, and manual operation is not needed. Therefore, the method can automatically report the derived report to the superior leader through the webpage version WeChat, and has obvious advantages compared with the traditional manual report operation mode.
Drawings
Fig. 1 is a schematic flow chart of a message sending control method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message transmission control apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following detailed description and accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
the traditional method for transmitting the real estate marketing data monitoring result report needs background management personnel to open management software at regular time every day, export a report picture after checking the report, download the report and finally forward the report to a superior leader WeChat, and has the problems of complex whole-process operation, time and labor waste, incapability of fixing reporting time and the like. In order to solve the above problems, this embodiment provides a message sending control method, which is unattended in the whole process, automatically derives the report, and automatically sends the report to the leader WeChat of the upper level, so that time and labor are saved, and manual operation is not needed.
Referring to fig. 1, the message transmission control method mainly includes the following steps:
s101, acquiring a real estate marketing data monitoring result report when a message sending instruction is received.
In the embodiment, a timing period can be preset through a Java timer, when a set time interval is reached, the system can determine that a message sending instruction is received, and trigger the system to acquire a real estate marketing data monitoring result report so as to automatically send the real estate marketing data monitoring result report to a preset WeChat user.
Optionally, the real estate marketing data monitoring result report is exported as a picture by executing the real estate marketing data monitoring result report export task, and further, the real estate marketing data monitoring result report can be stored on a local computer disk.
S102, keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user.
And automatically sending the real estate marketing data monitoring result report to a preset WeChat user by utilizing the webpage version WeChat in the login state, namely the WeChat of a real estate marketing manager or a superior leader WeChat and the like.
That is, the web page version wechat needs to be in a login state for a long time so as to be sent at any time when the report needs to be sent, and the report sending time is fixed and is not lost. Therefore, when a webpage version WeChat is logged in for the first time, a code scanning login two-dimensional code is generated and displayed, when a background manager performs code scanning login, the system can automatically acquire and store login cookie information, periodic refreshing operation is performed by using the login cookie information so as to keep the webpage version WeChat in a login state all the time, multiple login by the background manager is not needed, the complex operation that one WeChat code scanning login is required when a report is sent every time is avoided, and the workload is reduced.
And based on the web page version wechat which keeps the login state, the real estate marketing data monitoring result report can be sent to a preset wechat user by calling a wechat message sending interface.
The wechat message sending interface is, for example: https:// wx2.qq. com/cgi-bin/mmwebwx-bin/webwxsendmgimg; and then constructing message content according to the WeChat message format to take the real estate marketing data monitoring result report as the message content, so as to send the message content to a preset WeChat user.
The configuration code of the message content is as follows:
Figure BDA0002386041530000041
the message sending control method provided by the invention obtains a real estate marketing data monitoring result report when receiving a message sending instruction; and keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user. The whole process is unattended, the report is automatically exported and sent to the superior leader WeChat, so that time and labor are saved, and manual operation is not needed.
Therefore, according to the scheme, only a background manager needs to log in the WeChat once, the exported report can be automatically reported to the superior leader through the webpage version WeChat, and compared with the traditional manual reporting mode, the method has obvious advantages.
Example two:
in this embodiment, on the basis of the first embodiment, a message sending control device is provided, which is mainly used to implement the steps of the message sending control method in the first embodiment, please refer to fig. 2, and the message sending control device includes an instruction receiving module 21, a data obtaining module 22, and a processing module 23, where:
the instruction receiving module 21 is configured to trigger the data obtaining module 22 to obtain the real estate marketing data monitoring result report when receiving the message sending instruction.
The instruction receiving module 21 can be implemented by a Java timer, and when the set time interval of the Java timer is reached, it is equivalent to determining that a message sending instruction is received, so as to trigger the data obtaining module 22 to execute a report exporting task, thereby obtaining a real estate marketing data monitoring result report.
The data obtaining module 22 is configured to export the real estate marketing data monitoring result report as a picture, and store the picture on a local computer disk.
The processing module 23 is configured to keep the web page version wechat in a login state, call a wechat message sending interface, and control the web page version wechat to send the real estate marketing data monitoring result report to a preset wechat user.
Optionally, the processing module 23 is configured to generate and display a code-scanning login two-dimensional code when logging in the web page version wechat for the first time, acquire and store login cookie information when performing code-scanning login, and perform periodic refreshing operation by using the login cookie information to keep the web page version wechat in a login state all the time.
The data acquisition module 22 and the processing module 23 may be implemented by a central processing unit and a controller.
The message sending control device provided by the embodiment utilizes the instruction receiving module to trigger the data acquisition module to acquire the real estate marketing data monitoring result report when receiving the message sending instruction; and the processing module keeps the webpage version WeChat in a login state, calls a WeChat message sending interface, and controls the webpage version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user. The whole process is unattended, the report is automatically exported and sent to the superior leader WeChat, so that time and labor are saved, and manual operation is not needed.
Example three:
in this embodiment, on the basis of the first embodiment and/or the second embodiment, a computer device is provided to implement the steps of the message sending control method in the first embodiment, please refer to fig. 3, where the computer device includes a processor 31, a memory 32, and a communication bus 33; wherein the content of the first and second substances,
the communication bus 33 is used for realizing connection communication between the processor 31 and the memory 32;
the processor 31 is configured to execute one or more programs stored in the memory 32 to implement the steps of the message transmission control method as described in the first embodiment. Please refer to the steps of the message sending control method in the first embodiment, which are not described herein again.
The present embodiment also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the message transmission control method as described in embodiment one. Please refer to the steps of the message sending control method in the first embodiment, which are not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disks, optical disks) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A message transmission control method, comprising:
when a message sending instruction is received, a real estate marketing data monitoring result report is obtained;
and keeping the web page version WeChat in a login state, calling a WeChat message sending interface, and controlling the web page version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user.
2. The message transmission control method according to claim 1, wherein it is determined that the message transmission instruction is received when the set time interval is reached.
3. The messaging control method of claim 1, wherein the obtaining the real estate marketing data monitoring results report comprises:
and exporting the real estate marketing data monitoring result report as a picture, and storing the picture on a local computer disk.
4. A messaging control method according to any of claims 1 to 3, wherein the maintaining of the netpage version WeChat in the logged-on state comprises:
when a web page version wechat is logged in for the first time, a code scanning login two-dimensional code is generated and displayed, login cookie information is obtained and stored when code scanning login is carried out, and periodic refreshing operation is carried out by utilizing the login cookie information so as to keep the web page version wechat in a login state all the time.
5. The message transmission control method as claimed in claim 4, wherein the predetermined wechat user is a wechat of a property marketing manager.
6. A message transmission control apparatus, comprising:
the instruction receiving module is used for triggering the data acquisition module to acquire a real estate marketing data monitoring result report when receiving the message sending instruction;
the processing module is used for keeping the webpage version WeChat in a login state, calling a WeChat message sending interface, and controlling the webpage version WeChat to send the real estate marketing data monitoring result report to a preset WeChat user.
7. The messaging control apparatus of claim 6, wherein the data acquisition module is configured to export the property marketing data monitoring results report as a picture and store it on a local computer disk.
8. The message transmission control device as claimed in claim 6 or 7, wherein the processing module is configured to generate and display a code-scanning login two-dimensional code when logging in the web WeChat for the first time, acquire and store login cookie information when performing code-scanning login, and perform a periodical refreshing operation using the login cookie information to keep the web WeChat in a login state all the time.
9. A computer device, comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the message transmission control method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the message transmission control method according to any one of claims 1 to 5.
CN202010098409.7A 2020-02-18 2020-02-18 Message sending control method and device, computer equipment and readable storage medium Pending CN111343077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010098409.7A CN111343077A (en) 2020-02-18 2020-02-18 Message sending control method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010098409.7A CN111343077A (en) 2020-02-18 2020-02-18 Message sending control method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111343077A true CN111343077A (en) 2020-06-26

Family

ID=71185337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010098409.7A Pending CN111343077A (en) 2020-02-18 2020-02-18 Message sending control method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111343077A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536558A (en) * 2006-11-01 2009-09-16 李勇直 Messenger system for transmitting handwriting instant messages through wire and/or wireless network system and messenger service method thereof
CN104199958A (en) * 2014-09-18 2014-12-10 浪潮软件集团有限公司 Intelligent data analysis, comparison and pushing method
CN104575496A (en) * 2013-10-14 2015-04-29 中兴通讯股份有限公司 Method and device for automatically sending multimedia documents and mobile terminal
US20150249627A1 (en) * 2014-02-28 2015-09-03 International Business Machines Corporation Iterative Method to Successfully Send Large Electronic Messages
CN105704236A (en) * 2016-03-25 2016-06-22 中山日报社 Information issuing method and system
CN109743214A (en) * 2019-03-01 2019-05-10 致讯科技(天津)有限公司 A kind of message gateway exchange controller
CN110622487A (en) * 2017-10-09 2019-12-27 华为技术有限公司 File sharing method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101536558A (en) * 2006-11-01 2009-09-16 李勇直 Messenger system for transmitting handwriting instant messages through wire and/or wireless network system and messenger service method thereof
CN104575496A (en) * 2013-10-14 2015-04-29 中兴通讯股份有限公司 Method and device for automatically sending multimedia documents and mobile terminal
US20150249627A1 (en) * 2014-02-28 2015-09-03 International Business Machines Corporation Iterative Method to Successfully Send Large Electronic Messages
CN104199958A (en) * 2014-09-18 2014-12-10 浪潮软件集团有限公司 Intelligent data analysis, comparison and pushing method
CN105704236A (en) * 2016-03-25 2016-06-22 中山日报社 Information issuing method and system
CN110622487A (en) * 2017-10-09 2019-12-27 华为技术有限公司 File sharing method and terminal
CN109743214A (en) * 2019-03-01 2019-05-10 致讯科技(天津)有限公司 A kind of message gateway exchange controller

Similar Documents

Publication Publication Date Title
CN112559133A (en) Cloud-edge coordination system and cloud-edge coordination method based on native container technology
CN103856774A (en) Intelligent detection system and method for video surveillance
EP4124956A1 (en) Automated system and method for detection and remediation of anomalies in robotic process automation environment
CN101771565B (en) Analogy method for realizing multitudinous or different baseboard management controllers by single server
CN109861856B (en) Method and device for notifying system fault information, storage medium and computer equipment
CN103259684A (en) Internet service monitoring method and system
CN109669835A (en) MySQL database monitoring method, device, equipment and readable storage medium storing program for executing
CN107566172B (en) Active management method and system based on storage system
CN114996085A (en) Prometheus-based real-time service monitoring method and system
CN109639490B (en) Downtime notification method and device
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
US20190384691A1 (en) Methods for providing an enterprise synthetic monitoring framework
CN112860504A (en) Monitoring method and device, computer storage medium and electronic equipment
CN111343077A (en) Message sending control method and device, computer equipment and readable storage medium
US20230090607A1 (en) Techniques for cross platform communication process flow metric generation and display
CN111611123B (en) Data processing method, data processing system and equipment
CN114371980A (en) Call link performance monitoring method and device, computer equipment and storage medium
CN111290873B (en) Fault processing method and device
CN113965447A (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN113138895A (en) Monitoring method and device of cloud desktop equipment
CN112000552A (en) Machine tool monitoring method, device, system, electronic device and storage medium
CN116760648B (en) Security service method, device, electronic equipment and storage medium
CN110796353A (en) Scheduling processing method and device
CN109922141A (en) The real time acquiring method and device of activity request list in Java application server
CN110827523B (en) Alarm management system for semiconductor equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200626