CN112925512A - Message sending method and device, electronic equipment and storage medium - Google Patents

Message sending method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112925512A
CN112925512A CN202110129364.XA CN202110129364A CN112925512A CN 112925512 A CN112925512 A CN 112925512A CN 202110129364 A CN202110129364 A CN 202110129364A CN 112925512 A CN112925512 A CN 112925512A
Authority
CN
China
Prior art keywords
message
receiving object
message receiving
information
configuration information
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
CN202110129364.XA
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110129364.XA priority Critical patent/CN112925512A/en
Publication of CN112925512A publication Critical patent/CN112925512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • 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/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computing Systems (AREA)
  • Artificial Intelligence (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to a message sending method, an apparatus, an electronic device and a storage medium, wherein the method comprises: acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information; determining message receiving object information based on the message configuration information; determining a language type used by the message receiving object; and sending the message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object. By adopting the technical scheme provided by the embodiment of the disclosure, operators do not need to sense users, and the working efficiency of the operators can be improved; and the developer is not required to write different scripts aiming at different activities, so that the productivity of the developer can be liberated. The method and the device enable the message content received by the message receiving object to be written in the language type used by the message receiving object, so that the understanding difficulty of a user can be reduced, and the satisfaction degree of the user can be improved.

Description

Message sending method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a message sending method, an apparatus, an electronic device, and a storage medium.
Background
With the development of mobile communication technology and the continuous improvement of living standard of people, mobile terminals have become indispensable communication tools in people's lives. End users may experience more and more services by installing a wide variety of applications on mobile terminals, such as: search, browse news, shop, order, etc. Most application programs have a relevant mechanism for message sending, and the message sending is a convenient way for realizing the interaction between the application programs and terminal users.
At present, the method for sending messages is that an operator configures an activity page to be online, a user temporarily records information of the user after participating in the activity, and the operator manually sends a message notice to the users after the activity is finished. This manual approach is inefficient and prone to error, and operators need to perceive the user
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a message sending method, an apparatus, an electronic device, and a storage medium.
In a first aspect, the present disclosure provides a message sending method, including:
acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information;
determining message receiving object information based on the message configuration information;
determining a language type used by the message receiving object;
and sending a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object.
In a second aspect, the present disclosure further provides a message sending apparatus, including:
the configuration module is used for acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information;
a message receiving object determining module, configured to determine message receiving object information based on the message configuration information;
a language type determination module for determining the language type used by the message receiving object
A sending module, configured to send a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object, and the message configuration information, where the message is written in the language type used by the message receiving object.
In a third aspect, the present disclosure also provides an electronic device, including: a processor and a memory;
the processor executes the program or instructions stored in the memory to cause the electronic device to implement the steps of any of the above methods.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium storing a program or instructions which, when executed by a computing device, cause the computing device to carry out the steps of any of the above methods.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the technical scheme provided by the embodiment of the disclosure determines the information of the message receiving object by setting the message configuration information; determining a language type used by the message receiving object; and sending a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object. The method and the device can automatically identify the users who need to send the messages and automatically complete the message sending, and can meet the message sending requirements aiming at different activities. By adopting the technical scheme provided by the embodiment of the disclosure, operators do not need to sense users, and the working efficiency of the operators can be improved; and the developer is not required to write different scripts aiming at different activities, so that the productivity of the developer can be liberated.
In addition, the technical scheme provided by the embodiment of the disclosure fully considers the language used by the user, so that the message content received by the message receiving object is written in the language type used by the message receiving object, the understanding difficulty of the user can be reduced, and the satisfaction degree of the user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a message sending method in an embodiment of the present disclosure;
fig. 2 is a flow chart of another method of sending a message in an embodiment of the present disclosure;
FIG. 3 is a flowchart of another message sending method in the embodiment of the present disclosure
Fig. 4 is a block diagram of a message sending apparatus in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a flowchart of a message sending method in the embodiment of the present disclosure. The present embodiment may be applicable to a situation of sending a message in a terminal, where the method may be executed by a message sending device, and the device may be implemented in a software and/or hardware manner, and the device may be configured in an electronic device, for example, a terminal, specifically including but not limited to a smart phone, a palm computer, a tablet computer, a wearable device with a display screen, a desktop computer, a notebook computer, an all-in-one machine, a smart home device, and the like. Alternatively, the embodiment may be applicable to a case of message sending in a server, and the method may be executed by a message sending apparatus, which may be implemented in software and/or hardware, and may be configured in an electronic device, such as a server.
Referring to fig. 1, the message transmitting method includes:
s110, obtaining message configuration information, wherein the message configuration information comprises activity information and message sending template information.
Wherein the activity is an activity that an application operator organizes for a user. Illustratively, the activity may be specifically a daily check-in claim point, an invite friend to return a coupon, and the like.
The activity information may specifically be at least one of a name of the activity, a code of the activity, a hash value of the activity, and an activity rule.
The message transmission template information refers to a document used in a message transmitted to a message reception target.
Alternatively, in practice, the message configuration information may be input by an operator, or the message configuration information may be automatically generated according to the activities performed by the current application operator. This is not limited by the present application.
If the message configuration information is input by the operator, optionally, the message configuration information can be directly obtained based on the text information input by the operator; or acquiring voice information input by an operator, performing voice recognition, and acquiring message configuration information based on a voice recognition result.
And S120, determining the message receiving object information based on the message configuration information.
The message receiving object information comprises at least one of a user name, a user ID, a user mailbox, a user mobile phone number, a user micro signal and a user QQ number of the message receiving object.
There are various specific implementation methods of this step, and this application does not limit this. Illustratively, the message reception object screening condition may be determined based on the message configuration information; and determining the message receiving object information based on the message receiving object screening condition.
Further, message receiving object screening conditions may be determined based on activity information in the message configuration information; and determining the message receiving object information based on the message receiving object screening condition. For example, if the activity content is the daily check-in bonus, it is possible to set "whether or not to be qualified to participate in the activity of 'daily check-in bonus' as a message reception object filtering condition based on the activity. Based on the filtering condition, message reception object information is determined.
Optionally, before determining the message receiving object information based on the message receiving object screening condition, the method further includes: and acquiring user information participating in preset activities. The user information comprises at least one of a user name, a user ID, a user mailbox, a user mobile phone number, a user micro signal and a user QQ number. Determining message receiving object information based on the message receiving object screening condition, including: and determining message receiving object information in the user information participating in the preset activity based on the message receiving object screening condition. The setting can reduce the screening range and improve the efficiency of determining the information of the message receiving object.
S130, determining the language type used by the message receiving object.
Alternatively, the language type may be english, korean, chinese, japanese, and the like.
The purpose of this step is to lay a foundation for the subsequent ability to compose message text in the language type of the message recipient object.
There are various specific implementation methods of this step, and this application does not limit this. Two methods by which this step can be achieved are given below by way of example.
The method comprises the following steps: acquiring position information of a message receiving object; based on the message reception object location information, the language type used by the message reception object is determined.
Specifically, in practice, the application program may be configured to read the positioning information of the user during the use process by the user, and store the positioning information as the position information of the message receiving object. And subsequently, determining the country of the user based on the position information of the message receiving object, and determining the official language of the country of the user as the language type used by the message receiving object.
The second method comprises the following steps: acquiring a language type used by a message receiving object user system; the language type used by the message recipient object is determined based on the language type used by the message recipient object user system.
In practice, the same application provided by the same operator to users in different countries uses different types of languages, so the user system may specifically be an application installed in a terminal held by the user. The language type used by the application program is the language type used by the message receiving object user system. Alternatively, the user system is an operating system installed in a terminal held by the user. The language type used by the operating system is the language type used by the message receiving object user system. The language type used by the user system may then be determined to be the language type used by the message recipient object.
S140, sending the message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object.
There are various specific implementation methods of this step, and for example, the message may be sent to the message receiving object based on the message receiving object information, the language type used by the message receiving object, and the message sending template information in the message configuration information.
Since in practice it may happen that the type of language used in the message sending template information is different from the type of language used in the message ultimately sent to the message recipient, in which case this step includes the meaning of translating the text in the message sending template.
In practice, the translation may be an immediate translation or a non-immediate translation.
If the translation is a non-instant translation, optionally, versions written in different language types consistent with the content of the messaging template are pre-stored. When the step is executed, the version of the message content which is finally selected as the message receiving object is determined according to the message sending template information and the language type used by the message receiving object. Then, the message content of the finally selected version as the message reception object is transmitted as the message content to the message reception object.
According to the technical scheme, the message receiving object information is determined by setting the message configuration information; determining a language type used by the message receiving object; the message is sent to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, the message is written according to the language type used by the message receiving object, the message sending aiming at which users need to be sent can be automatically identified, the message sending is automatically completed, and the message sending requirements aiming at different activities can be met. By adopting the technical scheme provided by the embodiment of the disclosure, operators do not need to sense users, and the working efficiency of the operators can be improved; and the developer is not required to write different scripts aiming at different activities, so that the productivity of the developer can be liberated.
In addition, the technical scheme fully considers the language used by the user, so that the message content received by the message receiving object is written in the language type used by the message receiving object, the understanding difficulty of the user can be reduced, and the satisfaction degree of the user is improved.
On the basis of the above technical solutions, optionally, after S110, the method further includes: obtaining an approval result aiming at the message configuration information; s120 may alternatively determine the message receiving object information based on the approved message configuration information. By adding the approval step, the message configuration information can be effectively supervised.
On the basis of the above technical solutions, optionally, the message configuration information includes a message sending manner; the message sending mode comprises message pushing and/or sending of in-station messages.
Optionally, the message sending method may further include sending a short message.
Fig. 2 is a flowchart of another message sending method in the embodiment of the present disclosure. Fig. 2 is a specific example of fig. 1. Referring to fig. 2, the message transmitting method includes:
s210, obtaining message configuration information, wherein the message configuration information comprises activity information and message sending template information; the message configuration information also includes message sending trigger conditions.
Optionally, the message sending triggering condition includes sending a message at a preset time interval, and/or sending a message based on a user operation instruction.
S220, determining message receiving object information based on the message configuration information.
And S230, determining the language type used by the message receiving object.
S240, sending the message to the message receiving object based on the message sending trigger condition, the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object.
Illustratively, if the activity is a daily check-in credit, setting the message sending trigger condition includes sending a message at a preset time interval, wherein the preset time interval is 24 hours. In performing this step, a message is sent to the message recipient (i.e., user) every 24 hours to remind the user to check-in.
And if the activity is to invite the friend to return the shopping coupon, setting the message sending triggering condition to comprise sending a message based on the user operation instruction. The user operation instruction may specifically be an operation instruction of an inviter, or may also be an operation instruction of an invitee, which is not limited in the present application. Illustratively, if the user operation instruction is an operation instruction of an inviter, assuming that A invites B to see an activity, after A clicks a virtual key of "invite", a message is sent to A to inform A of picking up a coupon. Or if the user operation instruction is an operation instruction of an invitee, assuming that A invites B to see the activity, after B clicks a virtual key for 'accepting the invitation', a message is sent to A to inform A to receive the shopping coupon.
The essence of the technical scheme is that the time for sending the information is controlled, so that the message sending method is more intelligent, and the participation degree of personnel is reduced.
Fig. 3 is a flowchart of another message sending method in the embodiment of the present disclosure. Fig. 3 is a specific example of fig. 1. Referring to fig. 3, the message transmitting method includes:
in the first step, an operator establishes a plurality of message sending templates (i.e. performs initial document configuration) on a translation platform, and different message sending templates are adapted to different activity contents. The translation platform further translates based on messaging templates established by the user such that each messaging template has versions in a plurality of different language types.
Secondly, the operator creates an activity page corresponding to the country/region, and brings the activity page online, wherein the activity page has a unique hash value and can be used as an identifier, and exemplarily, if the activity page is linked as:
https:// activity.tiktok.com/magic/test/ejs/5f489f2564d34b02ef91505 c? appType ═ muse, then the uniquely identified hash is: 5f489f2564d34b02ef91505 c.
The activity information is written into the MongoDB database activity table.
And thirdly, completing message configuration on a message platform by an operator. The configured fields comprise an activity name (hash), a message reach type (push or in-station mail), sending time, a sent message template and the like, and the examination and approval process is entered after the creation is completed. After passing the approval, the information is written into the MongoDB database noticeinfo table, and the state of the information configured for the message is the approval passing state. Optionally, the noticeinfo table includes fields for reflecting activity-related information, such as one or more of an activity page ID, an activity name, an activity type, an activity rule, a product line, whether an activity is online, a set of push message templates, a set of inbound message templates, an approval status, an approval number, and the like.
And fourthly, if the message needing to be sent is a user recall message (such as a daily sign-in credit), triggering an RPC interface of the message platform once every preset time (such as 24 hours) in a Faas (a Serverless implementation mode) timing trigger mode, searching an online activity list, finding out users with each activity meeting the conditions in the activity list, and triggering message sending.
If the message to be sent is a direct triggering type message (such as inviting a friend to return a shopping coupon), an MQ (message queue) triggering mode is adopted, and after a downstream message platform serving as a consumer of the MQ receives the message, user information in the message is compared with information in a database, and the message is triggered to be sent if the condition is met.
On the basis of the above technical solution, if the message sending method is executed by a server, optionally, a plurality of servers adopt a cluster deployment manner. And under the condition that part of servers in the cluster are down, normal sending of the messages can still be ensured. Meanwhile, in order to ensure the high performance of the cluster, when the message is triggered to be sent, concurrent computation can be performed in an open routine mode, and the efficiency and the overall performance of the whole message pushing process are improved.
On the basis of the above technical solutions, optionally, based on the solution provided by the present disclosure, for different types of activities, related data for message sending is packaged to form a service item, and the service item is set to allow a third party to call through an RPC interface. The message sending service provided by the application can be quickly accessed by a third party through the RPC interface.
Based on the same inventive concept, the disclosure also provides a message sending device. Fig. 4 is a block diagram of a message sending apparatus in an embodiment of the present disclosure. Referring to fig. 4, the message transmitting apparatus includes:
a configuration module 410, configured to obtain message configuration information, where the message configuration information includes activity information and message sending template information;
a message receiving object determining module 420, configured to determine message receiving object information based on the message configuration information;
a language type determination module 430 for determining the language type used by the message receiving object
A sending module 440, configured to send a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object, and the message configuration information, where the message is written in the language type used by the message receiving object.
Optionally, the message receiving object determining module includes a screening condition determining unit and a message receiving object determining unit;
the screening condition determining unit is used for determining screening conditions of message receiving objects based on the message configuration information;
the message receiving object determining unit is configured to determine message receiving object information based on the message receiving object screening condition.
Optionally, the system further comprises a user information acquisition module;
the user information acquisition module is used for acquiring user information participating in preset activities before determining the information of the message receiving object based on the message receiving object screening condition;
the message receiving object determining unit is specifically configured to determine, based on the message receiving object screening condition, the message receiving object information in the user information participating in the preset activity.
Optionally, the language type determining module is specifically configured to:
acquiring position information of a message receiving object;
determining a language type used by the message receiving object based on the message receiving object location information.
Optionally, the language type determining module is specifically configured to:
acquiring a language type used by a message receiving object user system;
determining the language type used by the message receiving object based on the language type used by the message receiving object user system.
Optionally, the system further comprises an approval result obtaining module, configured to obtain an approval result for the message configuration information after obtaining the message configuration information;
the message receiving object determining module is specifically configured to determine the message receiving object information based on the approved message configuration information.
Optionally, the message configuration information further includes a message sending mode;
the message sending mode comprises message pushing and/or sending of in-station messages.
Optionally, the message configuration information further includes a message sending trigger condition;
the sending module is specifically configured to send a message to the message receiving object based on the message sending trigger condition, the message receiving object information, the language type used by the message receiving object, and the message configuration information.
The message sending apparatus provided in the embodiment of the present disclosure may execute the steps executed by the client or the server in the message sending method provided in the embodiment of the present disclosure, and has the execution steps and beneficial effects, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure. Referring now specifically to fig. 5, a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 500 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), a wearable electronic device, and the like, and fixed terminals such as a digital TV, a desktop computer, a smart home device, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a processor and a memory; the processor executes the program or instructions stored in the memory to cause the electronic device to implement the steps of any of the methods described above.
Specifically, as shown in fig. 5, the electronic device 1000 may include a processor (e.g., a central processing unit, a graphics processor, etc.) 1001 that may perform various appropriate actions and processes to implement the message transmitting method according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage device 1008 into a Random Access Memory (RAM)1003, as in the embodiments of the present disclosure. In the RAM 1003, various programs and data necessary for the operation of the electronic apparatus 1000 are also stored. The processor 1001, ROM 1002, and RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
Generally, the following devices may be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 1007 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 1008 including, for example, magnetic tape, hard disk, and the like; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 1000 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart, thereby implementing the messaging method as above. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1008, or installed from the ROM 1002. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the process 1001.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information;
determining message receiving object information based on the message configuration information;
determining a language type used by the message receiving object;
and sending a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object.
Optionally, when the one or more programs are executed by the electronic device, the electronic device may also perform other steps of the above embodiments.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method of any one of the embodiments in fig. 1 to fig. 4 can be implemented, and the execution manner and the beneficial effects are similar, and are not described herein again.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for sending a message, comprising:
acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information;
determining message receiving object information based on the message configuration information;
determining a language type used by the message receiving object;
and sending a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object and the message configuration information, wherein the message is written in the language type used by the message receiving object.
2. The method of claim 1, wherein determining message recipient object information based on the message configuration information comprises:
determining a message receiving object screening condition based on the message configuration information;
and determining message receiving object information based on the message receiving object screening condition.
3. The method of claim 2, wherein before determining message recipient object information based on the message recipient object screening criteria, further comprising:
acquiring user information participating in a preset activity;
the determining message reception object information based on the message reception object screening condition includes:
and determining the information of the message receiving object in the user information participating in the preset activity based on the message receiving object screening condition.
4. The method of claim 1, wherein determining the language type used by the message receiving object comprises:
acquiring position information of a message receiving object;
determining a language type used by the message receiving object based on the message receiving object location information.
5. The method of claim 1, wherein determining the language type used by the message receiving object comprises:
acquiring a language type used by a message receiving object user system;
determining the language type used by the message receiving object based on the language type used by the message receiving object user system.
6. The method of claim 1, wherein obtaining the message configuration information comprises:
obtaining an approval result aiming at the message configuration information;
determining message receiving object information based on the message configuration information, including;
and determining the message receiving object information based on the approved message configuration information.
7. The method of claim 1, wherein the message configuration information comprises a message sending mode;
the message sending mode comprises message pushing and/or sending of in-station messages.
8. The method of claim 1, wherein the message configuration information further comprises a message sending trigger condition;
the sending a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object, and the message configuration information, includes:
and sending a message to the message receiving object based on the message sending trigger condition, the message receiving object information, the language type used by the message receiving object and the message configuration information.
9. The method according to claim 8, wherein the message sending trigger condition comprises sending messages at preset time intervals and/or sending messages based on user operation instructions.
10. A message transmission apparatus, comprising:
the configuration module is used for acquiring message configuration information, wherein the message configuration information comprises activity information and message sending template information;
a message receiving object determining module, configured to determine message receiving object information based on the message configuration information;
a language type determining module, configured to determine a language type used by the message receiving object, and send a message to the message receiving object based on the message receiving object information, the language type used by the message receiving object, and the message configuration information, where the message is written in the language type used by the message receiving object.
11. An electronic device, comprising: a processor and a memory;
the processor executes the program or instructions stored by the memory to cause the electronic device to implement the steps of the method of any one of claims 1 to 9.
12. A computer-readable storage medium storing a program or instructions which, when executed by a computing device, causes the computing device to carry out the steps of the method according to any one of claims 1 to 9.
CN202110129364.XA 2021-01-29 2021-01-29 Message sending method and device, electronic equipment and storage medium Pending CN112925512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110129364.XA CN112925512A (en) 2021-01-29 2021-01-29 Message sending method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110129364.XA CN112925512A (en) 2021-01-29 2021-01-29 Message sending method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112925512A true CN112925512A (en) 2021-06-08

Family

ID=76168809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110129364.XA Pending CN112925512A (en) 2021-01-29 2021-01-29 Message sending method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112925512A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN115442323A (en) * 2022-09-01 2022-12-06 北京金山办公软件股份有限公司 Message distribution method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN109683998A (en) * 2017-10-19 2019-04-26 北京京东尚科信息技术有限公司 Internationalize implementation method, device and system
CN110533456A (en) * 2019-07-30 2019-12-03 威富通科技有限公司 A kind of coupon information method for pushing, system and server
CN110659387A (en) * 2019-09-20 2020-01-07 上海掌门科技有限公司 Method and apparatus for providing video
CN111338822A (en) * 2020-02-25 2020-06-26 北京字节跳动网络技术有限公司 Message processing method and device
CN111666400A (en) * 2020-07-10 2020-09-15 腾讯科技(深圳)有限公司 Message acquisition method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN109683998A (en) * 2017-10-19 2019-04-26 北京京东尚科信息技术有限公司 Internationalize implementation method, device and system
CN110533456A (en) * 2019-07-30 2019-12-03 威富通科技有限公司 A kind of coupon information method for pushing, system and server
CN110659387A (en) * 2019-09-20 2020-01-07 上海掌门科技有限公司 Method and apparatus for providing video
CN111338822A (en) * 2020-02-25 2020-06-26 北京字节跳动网络技术有限公司 Message processing method and device
CN111666400A (en) * 2020-07-10 2020-09-15 腾讯科技(深圳)有限公司 Message acquisition method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN115442323A (en) * 2022-09-01 2022-12-06 北京金山办公软件股份有限公司 Message distribution method and device

Similar Documents

Publication Publication Date Title
CN112311841B (en) Information pushing method and device, electronic equipment and computer readable medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN110851035B (en) Session message display method and device, electronic equipment and storage medium
CN110658960A (en) Message processing method and device and electronic equipment
CN111935111B (en) Interaction method and device and electronic equipment
CN112395509A (en) Information display method, information providing method, apparatus, and computer-readable medium
CN111460049A (en) Content sharing method and device, electronic equipment and computer readable storage medium
CN112925512A (en) Message sending method and device, electronic equipment and storage medium
CN110633126A (en) Information display method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN114338576A (en) Task participant adding method and device, electronic equipment and storage medium
CN113326013A (en) Information interaction method and device and electronic equipment
CN111597486A (en) Information processing method and device and electronic equipment
CN111614759A (en) Resource sharing method and device, electronic equipment and computer readable medium
CN111262778B (en) Invitation link information processing method and device, electronic equipment and readable medium
CN112311750B (en) Interaction method and device and electronic equipment
CN112367241A (en) Message generation and message transmission method, device, equipment and computer readable medium
CN111367689A (en) Interactive prompt information sending method and device of online document and electronic equipment
CN112291216B (en) Communication method and device and electronic equipment
CN115113787A (en) Message processing method, device, equipment and medium
CN114063795A (en) Interaction method, interaction device, electronic equipment and storage medium
CN112306596A (en) Information interaction method and device and electronic equipment
CN114827060A (en) Interaction method and device and electronic equipment
CN112131832A (en) Method and device for reminding task state of online document and electronic 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