WO2023155685A1 - Communication method, system, and apparatus, storage medium, and processor - Google Patents

Communication method, system, and apparatus, storage medium, and processor Download PDF

Info

Publication number
WO2023155685A1
WO2023155685A1 PCT/CN2023/074215 CN2023074215W WO2023155685A1 WO 2023155685 A1 WO2023155685 A1 WO 2023155685A1 CN 2023074215 W CN2023074215 W CN 2023074215W WO 2023155685 A1 WO2023155685 A1 WO 2023155685A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
identification code
target
message
feedback message
Prior art date
Application number
PCT/CN2023/074215
Other languages
French (fr)
Chinese (zh)
Inventor
王威
Original Assignee
阿里巴巴(中国)有限公司
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 阿里巴巴(中国)有限公司 filed Critical 阿里巴巴(中国)有限公司
Publication of WO2023155685A1 publication Critical patent/WO2023155685A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present invention relates to the communication field, in particular, to a communication method, system, device, storage medium and processor.
  • SMS service is a communication capability for enterprises to reach mobile phone users. Enterprises can send messages to mobile terminals in multiple countries/regions through SMS service to better attract users.
  • the uplink short message refers to the short message sent from the mobile terminal to the operator.
  • uplink SMS function is supported; if the operator does not support obtaining the message replied by the user, the uplink SMS function is not supported.
  • Embodiments of the present invention provide a communication method, system, device, storage medium, and processor to at least solve the problem that the SMS sender is difficult to obtain the user's reply message when the operator does not support uplink communication in the SMS service question.
  • a communication method including: receiving a feedback message returned by the first terminal, and obtaining an identification code of the first terminal, wherein the feedback message is sent by the first terminal to the second terminal Feedback message of the message; matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; A second identification code associated with the identification code is obtained to obtain a target second identification code, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
  • a communication system including: at least one first terminal, configured to receive a message sent by a second terminal, and return the feedback message to the server; at least one second terminal, is used to send a message to the first terminal, and obtain the feedback message returned by the first terminal from the server; the server is configured to receive the message sent by the second terminal to the first terminal In this case, generate the second identification code of the second terminal and the first identification code corresponding to the first terminal, and establish an association between each of the first identification codes and the corresponding second identification code The relationship is further used to match the identification code of the first terminal with the multiple stored first identification codes when receiving the feedback message returned by the first terminal, so as to obtain the target matching the identification code.
  • first identification code determining a second identification code associated with the target first identification code, obtaining a target second identification code, and sending the feedback message to the second identification code corresponding to the target second identification code Two terminals.
  • a communication device including: a first receiving unit, configured to receive a feedback message returned by the first terminal, and obtain an identification code of the first terminal, wherein the feedback message is The feedback message of the first terminal for the message sent by the second terminal; the matching unit is configured to match the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, wherein the first The identification code is used to identify the first terminal; the first determining unit is configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal ; The first sending unit is configured to send the feedback message to the second terminal corresponding to the target second identification code.
  • the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above communication methods.
  • a processor is also provided, and the processor is configured to run a program, wherein any one of the above communication methods is executed when the program is running.
  • the feedback message is a feedback message sent by the first terminal for the message sent by the second terminal; combining the identification code with the stored Multiple first identification codes are matched to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code, Obtaining the target second identification code, wherein the second identification code is used to identify the second terminal; sending the feedback message to the second terminal corresponding to the target second identification code, and assigning identification codes to the first terminal and the second terminal through the server , realize the matching between the first terminal and the second terminal by means of the identification code, and send the feedback message of the first terminal to the matched second terminal, so as to achieve the purpose of sending the feedback message of the first terminal to the first terminal, thereby realizing In the case that the communication manufacturer does not support uplink communication, the second terminal can also obtain the technical effect of the reply message of the
  • Fig. 1 is a block diagram of the hardware structure of a computer terminal according to an embodiment of the present invention
  • Fig. 2 is an interactive schematic diagram of an optional computer terminal according to an embodiment of the present invention.
  • Fig. 3 is a flowchart of a communication method provided according to an embodiment of the present invention.
  • Fig. 4 is a schematic diagram of a static page in a communication method provided according to an embodiment of the present invention.
  • Fig. 5 is a schematic diagram of a communication system provided according to an embodiment of the present invention.
  • Fig. 6 is a schematic diagram of a communication device provided according to an embodiment of the present invention.
  • Fig. 7 is a structural block diagram of an optional computer terminal provided according to an embodiment of the present invention.
  • Uplink short messages refer to short messages sent to communication service providers, which are used to customize a certain service, complete a certain inquiry, or handle a certain business.
  • the landing page also known as the landing page, is a static page opened to the user after a potential user clicks on an advertisement or uses a search engine to search.
  • the static page will display an extension related to the clicked advertisement or search result link. content.
  • an embodiment of a communication method is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in The flowcharts show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.
  • Fig. 1 shows a block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a communication method.
  • the computer terminal 10 may include one or more (shown by 102a, 102b, ..., 102n in the figure) processors (processors may include but not limited to microprocessors) MCU or a processing device such as a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions.
  • processors may include but not limited to microprocessors
  • MCU or a processing device such as a programmable logic device FPGA
  • memory 104 for storing data
  • a transmission module 106 for communication functions.
  • FIG. 1 is only a schematic diagram, and it does not limit the structure of the above-mentioned electronic device.
  • computer terminal 10 may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
  • the one or more processors and/or other data processing circuits described above may generally be referred to herein as "data processing circuits".
  • the data processing circuit may be implemented in whole or in part as software, hardware, firmware or other arbitrary combinations.
  • the data processing circuit can be a single independent processing module, or be fully or partially integrated into any of the other elements in the computer terminal 10 (or mobile device).
  • the data processing circuit is used as a processor control (for example, the selection of the terminal path of the variable resistor connected to the interface).
  • the memory 104 can be used to store software programs and modules of application software, such as the program instruction/data storage device corresponding to the communication method in the embodiment of the present invention, and the processor runs the software programs and modules stored in the memory 104 to execute various Functional application and data processing are to realize the communication method mentioned above.
  • the memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include a memory that is remotely located relative to the processor, and these remote memories may be connected to the computer terminal 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the transmission device 106 is used to receive or transmit data via a network.
  • the specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal 10 .
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • the display may be, for example, a touchscreen liquid crystal display (LCD), which may enable a user to interact with the user interface of the computer terminal 10 (or mobile device).
  • LCD liquid crystal display
  • FIG. 1 The block diagram of the hardware structure shown in Fig. 1 can not only be used as an exemplary block diagram of the above-mentioned computer terminal 10 (or mobile device), but also can be used as an exemplary block diagram of the above-mentioned server.
  • Fig. 2 is a block diagram An embodiment of using the computer terminal 10 (or mobile device) shown in FIG. 1 as the receiving end is shown. As shown in Figure 2, the computer terminal 10 (or mobile device) may be connected or electronically connected to one or more servers 108 via a data network. In an optional embodiment, the above-mentioned computer terminal 10 (or mobile device) may be a mobile phone or a PC.
  • the data network connection may be a local area network connection, a wide area network connection, an Internet connection, or another type of data network connection.
  • computer terminal A peer 10 (or mobile device) may execute to connect to a web service 110 executed by a server (eg, a security server) or a group of servers.
  • Web service 110 is a web-based user service, such as social networking, cloud resources, email, online payment, or other online applications.
  • FIG. 3 is a flow chart of a communication method according to an embodiment of the present invention.
  • the communication method of the embodiment of the present invention is applied to a server, including:
  • S301 Receive a feedback message returned by the first terminal, and acquire an identification code of the first terminal, where the feedback message is a feedback message sent by the first terminal to a message sent by the second terminal.
  • the second terminal may be a terminal that initiates a short message message, for example, it may be an enterprise terminal that sends a business short message message
  • the first terminal may be a terminal that receives a short message message, for example, it may be a terminal that receives a business short message message sent by an enterprise terminal.
  • the identification code of the first terminal may be the user's mobile phone number.
  • one second terminal can initiate a message to multiple first terminals, and the first terminal can send a feedback message to the second terminal after receiving the message sent by the second terminal, for example, the second terminal sends a message to the first terminal
  • the feedback message of the first terminal may be a satisfaction result or an unsubscribe message.
  • the first terminal when it sends a feedback message to the second terminal, it first sends the feedback message to the server, and the server then sends the feedback message of the first terminal to the corresponding second terminal.
  • the server can serve the cloud, because every Each first terminal is associated with an identification code, and the server obtains the identification code of the first terminal while obtaining the feedback message sent by the first terminal.
  • the method it also includes: receiving a message sent by the second terminal to the first terminal, and obtaining the identification code of the first terminal; generating a second identification code corresponding to the second terminal and a first identification code corresponding to the first terminal, and establishing each An association relationship between an identification code and a corresponding second identification code; storing the first identification code, the second identification code and the association relationship.
  • the method after receiving the message sent by the second terminal to the first terminal, the method further includes: determining the target third terminal from candidate third terminals; sending the second terminal The message is sent to the gateway corresponding to the target third terminal, and the message is sent to the first terminal through the gateway.
  • the third terminal may be the base station of the operator.
  • the second terminal sends a message to the first terminal, it submits the message to the server, and the server then matches the most suitable operator according to the intelligent scheduling system of the system. Finally, it is sent to the operator's gateway, and the operator sends it to the first terminal.
  • the server when the server receives the message sent by the second terminal to the first terminal, it generates a unique second identification code for the second terminal, and at the same time generates a first identification code for the first terminal to which the second terminal delivers the message, That is, the first identification code corresponding to the identification code is generated for the first terminal, and the association message between the second identification code and the first identification code is established, so that when receiving the feedback message from the first terminal, the first identification code The association relationship with the second identification code determines the second terminal corresponding to the first terminal.
  • the server when it generates a unique second identification code for the second terminal, it can apply for a second identification code for the second terminal in real time when receiving the message sent by the second terminal to the first terminal, or apply for a second identification code in advance.
  • a batch of second identification codes is stored in the data pool, and when a message sent by the second terminal to the first terminal is received, a second identification in the data pool is allocated to the second terminal.
  • the server When the server generates the first identification code for the first terminal of the message delivered by the second terminal, it can randomly generate a 3-6-digit extension code, and use the extension code as the first identification code of the first terminal, that is, the first identification code of the first terminal.
  • the customized code is a unique number corresponding to the identification code of the first terminal.
  • the customized code includes The association relationship between the first identification code and the corresponding second identification code is defined.
  • the identification code of the first terminal can be first matched with the first identification code of the first terminal in the server, and then Match the first identification code of the first terminal with the second identification code of the second terminal to realize the matching between the first terminal and the second terminal, so that the feedback message of the first terminal and the second terminal to be delivered the feedback message Perform matching, bypass the operator's link, and realize the delivery of feedback messages.
  • the server when the server receives the message sent by the second terminal to the first terminal, that is, before receiving the feedback message returned by the first terminal and obtaining the identification code of the first terminal, the server has already generated the second terminal ID of the second terminal. The identification code and the first identification code corresponding to the first terminal. There are multiple first identification codes stored in the server. After the server receives the feedback message returned by the first terminal and obtains the identification code of the first terminal, it can The first identification codes are traversed to obtain the first identification code corresponding to the identification code of the first terminal.
  • S303 Determine a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify the second terminal.
  • the server while generating the second identification code of the second terminal and the first identification code corresponding to the first terminal, the server also establishes an association relationship between each first identification code and the corresponding second identification code. Obtain the first identification code corresponding to the identification code of the first terminal, and obtain the second identification code associated with the first identification code according to the association relationship, that is, the target second identification code, so as to obtain the second terminal corresponding to the first terminal.
  • the first identification code of the first terminal is combined with the second identification code corresponding to the second terminal to obtain the first identification code of the first terminal custom code, because the custom code contains the association between the first identification code and the corresponding second identification code, after obtaining the first identification code corresponding to the identification code of the first terminal, you can locate the first The customized code corresponding to the terminal, so as to obtain the second identification code of the second terminal from the customized code.
  • sending the feedback message to the second terminal corresponding to the target second identification code includes: determining the application program interface corresponding to the target second identification code; calling the application program interface, through The application program interface sends the feedback message to the second terminal.
  • the server is provided with a pair of application program interfaces, each application program interface corresponds to the second identification code, and the second terminal can call the application program interface corresponding to the second identification code, so as to obtain the information of the first terminal that has delivered the message.
  • Feedback message so that the feedback message of the first terminal can be obtained without going through the link of the operator, avoiding the situation that the operator in a region/country does not support obtaining the online reply message directly through the Internet link, the second A problem that it is difficult for the terminal to obtain the feedback message of the first terminal.
  • the feedback message is a feedback message sent by the first terminal for the message sent by the second terminal; combining the identification code with the stored Multiple first identification codes are matched to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code, The target second identification code is obtained, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
  • the server assigns identification codes to the first terminal and the second terminal, realizes the matching of the first terminal and the second terminal by means of the identification code, and sends the feedback message of the first terminal to the matched second terminal, so that the first terminal
  • the purpose of sending the feedback message of the first terminal to the first terminal so as to realize the technical effect that the second terminal can also obtain the reply message of the first terminal when the communication manufacturer does not support uplink communication, and further solve the problem of short message service.
  • the SMS sender it is difficult for the SMS sender to obtain the user's reply message.
  • the message sent by the first terminal to the second terminal may contain a link.
  • receiving the feedback message returned by the first terminal includes: responding The first terminal returns a static page corresponding to the link to the first terminal for the trigger instruction of the link in the message sent by the second terminal, wherein the static page includes at least an identification message of the second terminal and information to be fed back by the first terminal; A feedback message generated after the first terminal edits the static page is received.
  • the message sent by the second terminal to the first terminal may be a short message
  • the link in the message may be a short link converted from a long link, so as to save the number of characters in sending a short message.
  • the owner of the first terminal clicks the terminal link in the received message, it jumps to the server, parses the short link through the server, obtains the long link corresponding to the short link, jumps to the static page corresponding to the long link, and saves the static page
  • the page is returned to the first terminal, and the static page may contain content to be replied, or
  • the identification information of the object to which the second terminal belongs may be included.
  • the holding object point of the first terminal can edit the content in the static page to complete the information feedback.
  • the content to be replied in the static page is the satisfaction survey content
  • the user can click the control corresponding to the satisfaction score to generate a feedback message.
  • the user can also click the control corresponding to "unsubscribe" to realize the unsubscription of the message.
  • the method before receiving the message sent by the second terminal to the first terminal, the method further includes: obtaining the second The terminal requests information for the static page template; parses the request, determines the target template requested by the request information; obtains the target template from the stored static page templates, and returns the target template to the second terminal.
  • the server can provide the client with a static page template, and the client can choose static pages of different styles, and set its own logo for the selected static page in the background to improve its own recognition, so that after the static page is served to the user to view, it can Know the sender of the static page to better interact with users.
  • Language selection can also be made in the static page template, from supporting customers to send static pages to multiple different countries or regions.
  • the server provides a static page template and supports the modification of the static page by the client, which reduces the cost of the client's own development of the static page, thereby reducing the cost of client terminal access to the server, and improving the convenience and efficiency of access .
  • the method also includes: parsing the verification code from the feedback message, and judging whether the verification code matches the identification code; if the verification code matches the identification code of the first terminal, performing the identification The code is matched with the multiple stored first identification codes to obtain a target first identification code matching the identification code.
  • the static page may also include an input field for inputting a verification code, prompting the user to input the verification code, as shown in FIG. 4 , which is a schematic diagram of a static page in the communication method provided according to an embodiment of the present invention
  • the preset verification code may be The last two digits of the identification code of the second terminal, for example, the last two digits of the mobile phone number
  • the server can verify the verification code to determine whether the verification code and the identification code match.
  • a match it means that the terminal of the feedback message is consistent with the terminal receiving the message, and the feedback message can be fed back to the second terminal.
  • the server can discard the feedback message, thereby avoiding the problem of sending the wrong feedback message to the second terminal.
  • the communication method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation.
  • the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
  • a storage medium such as ROM/RAM, disk, CD
  • a communication system is also provided, as shown in FIG. 5, the system includes:
  • At least one first terminal 501 is configured to receive the message sent by the second terminal 502 and return the feedback message to the server 503 .
  • At least one second terminal 502 is configured to send a message to the first terminal 501 and acquire the feedback message returned by the first terminal 501 from the server 503 .
  • the second terminal 502 can be a terminal that initiates a short message message, for example, it can be an enterprise terminal that sends a business short message message
  • the first terminal 501 can be a terminal that receives a short message message, for example, it can be a business short message message sent by an enterprise terminal.
  • the identification code of the first terminal 501 may be the user's mobile phone number.
  • one second terminal 502 may initiate a message to multiple first terminals 501, and the first terminal 501 may send a feedback message to the second terminal 502 after receiving the message sent by the second terminal 502, for example, the second terminal 502 Send a satisfaction survey report to the first terminal 501, and the feedback message from the first terminal 501 may be a satisfaction result or an unsubscribe message.
  • the second terminal 502 when the second terminal 502 sends a message to the first terminal 501, it first sends the message to the server 503, and then sends the message to the first terminal 501 through the server 503, and the first terminal 501 sends a feedback to the second terminal 502 When sending a message, the feedback message is first sent to the server 503, and the server 503 then sends the feedback message of the first terminal 501 to the corresponding second terminal 502.
  • the server 503 is configured to generate the second identification code of the second terminal 502 and the first identification code corresponding to the first terminal 501 when receiving the message sent by the second terminal 502 to the first terminal 501.
  • identification codes and establish an association relationship between each of the first identification codes and the corresponding second identification codes, and is also used to, when receiving the feedback message returned by the first terminal 501, link the Matching the identification code of the first terminal 501 with the multiple stored first identification codes to obtain a target first identification code matching the identification code, and determining a second identification code associated with the target first identification code, The target second identification code is obtained, and the feedback message is sent to the second terminal 502 corresponding to the target second identification code.
  • the server 503 when the server 503 receives the message sent by the second terminal 502 to the first terminal 501, it generates a unique second identification code for the second terminal 502, and at the same time sends the message to the first terminal 501 for the second terminal 502. Generate the first identification code, that is, generate the first identification code corresponding to the identification code for the first terminal 501, and establish an association message between the second identification code and the first identification code, so that after receiving the feedback from the first terminal 501 When sending a message, the second terminal 502 corresponding to the first terminal 501 is determined through the association relationship between the first identification code and the second identification code, so that the feedback message of the first terminal 501 and the second terminal 502 to be sent the feedback message Perform matching, bypass the operator's link, and realize the delivery of feedback messages.
  • the message sent by the second terminal 502 is received by at least one first terminal 501, and the feedback message is returned to the server 503; at least one second terminal 502 sends a message to the first terminal 501, and from The server 503 obtains the feedback message returned by the first terminal 501; the server 503 generates a message of the second terminal 502 when receiving the message sent by the second terminal 502 to the first terminal 501.
  • the second identification code and the first identification code corresponding to the first terminal 501 and establishing an association relationship between each of the first identification codes and the corresponding second identification code, and receiving the first identification code
  • the terminal 501 returns the feedback message
  • the second identification code associated with the target first identification code is obtained to obtain the target second identification code, and the feedback message is sent to the second terminal 502 corresponding to the target second identification code.
  • the technical effect further solves the technical problem that it is difficult for the sender of the short message to obtain the reply message of the user when the operator does not support uplink communication in the short message service.
  • the device includes:
  • the first receiving unit 601 is configured to receive a feedback message returned by the first terminal, and obtain an identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal to a message sent by the second terminal.
  • the matching unit 602 is configured to match the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, where the first identification code is used to identify the first terminal.
  • the first determining unit 603 is configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify the second terminal.
  • the first sending unit 604 is configured to send the feedback message to the second terminal corresponding to the target second identification code.
  • first receiving unit 601, matching unit 602, first determining unit 603, and first sending unit 604 correspond to step S301, step S302, step S303, and step S304 in Embodiment 1, two
  • the examples and application scenarios implemented by the modules and corresponding steps are the same, but are not limited to the content disclosed in the first embodiment above.
  • the above modules can run in the computer terminal 10 provided in the first embodiment.
  • the first receiving unit 601 is used to receive the feedback message returned by the first terminal and obtain the identification code of the first terminal, wherein the feedback message is a message sent by the first terminal for the second terminal Feedback message; a matching unit 602, configured to match the identification code with multiple stored first identification codes to obtain a target first identification code that matches the identification code, where the first identification code is used to identify the first terminal; A determining unit 603, configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal; the first sending unit 604 is configured to Send the feedback message to the second terminal corresponding to the target second identification code.
  • the server assigns identification codes to the first terminal and the second terminal, realizes the matching of the first terminal and the second terminal by means of the identification code, and sends the feedback message of the first terminal to the matched second terminal, so that the first terminal
  • the purpose of sending the feedback message of the first terminal to the first terminal so as to realize the technical effect that the second terminal can also obtain the reply message of the first terminal when the communication manufacturer does not support uplink communication, and further solve the problem of short message service.
  • the SMS sender it is difficult for the SMS sender to obtain the user's reply message.
  • the first receiving unit 602 includes: a response module, configured to respond to a trigger instruction of the link in the message sent by the first terminal to the second terminal, and return the link to the first terminal
  • the corresponding static page wherein the static page includes at least the identification message of the second terminal and the information to be fed back by the first terminal
  • the receiving module is configured to receive a feedback message generated after editing the static page by the first terminal.
  • the device further includes: a second receiving unit, configured to receive a message sent by the second terminal to the first terminal, and obtain an identification code of the first terminal; a generating unit, For generating a second identification code corresponding to the second terminal and a first identification code corresponding to the first terminal, and establishing an association relationship between each first identification code and the corresponding second identification code; a storage unit for storing The first identification code, the second identification code and the association relationship.
  • the device further includes: a first obtaining unit, configured to obtain request information of the second terminal for the static page template; a first parsing unit, configured to parse the request, and determine the request information A target template requested by the information; a second acquiring unit, configured to acquire the target template from a plurality of stored static page templates, and return the target template to the second terminal.
  • the device further includes: a second determining unit, configured to determine a target third terminal from candidate third terminals; a second sending unit, configured to send the second terminal The message is sent to the gateway corresponding to the target third terminal, and the message is sent to the first terminal through the gateway.
  • the device further includes: a second parsing unit, configured to parse the verification code from the feedback message, and judge whether the verification code matches the identification code; In the case that the verification code matches the identification code of the first terminal, the identification code is matched with the stored first identification codes to obtain and identify Step of code matching the first identification code of the target.
  • a second parsing unit configured to parse the verification code from the feedback message, and judge whether the verification code matches the identification code; In the case that the verification code matches the identification code of the first terminal, the identification code is matched with the stored first identification codes to obtain and identify Step of code matching the first identification code of the target.
  • the first sending unit 604 includes: a determining module, configured to determine an application program interface corresponding to the target second identification code; a sending module, configured to call the application program interface, through the application The program interface sends the feedback message to the second terminal.
  • Embodiments of the present invention may provide a computer terminal, and the computer terminal may be any computer terminal device in a group of computer terminals.
  • the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
  • the foregoing computer terminal may be located in at least one network device among multiple network devices of the computer network.
  • the above-mentioned computer terminal can execute the program code of the following steps in the communication method: receiving the feedback message returned by the first terminal, and obtaining the identification code of the first terminal, wherein the feedback message is the first terminal's response to the second terminal Feedback message of the sent message; matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; A second identification code associated with the first identification code is obtained to obtain a target second identification code, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
  • FIG. 7 is a structural block diagram of a computer terminal according to an embodiment of the present invention.
  • the computer terminal 10 may include: one or more (only one is shown in the figure) processors, memory, and transmission means.
  • the memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the communication method and device in the embodiment of the present invention, and the processor executes various functional applications and modules by running the software programs and modules stored in the memory. Data processing, that is, realizing the above-mentioned communication method.
  • the memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory may further include a memory that is remotely located relative to the processor, and these remote memories may be connected to the terminal 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the processor can call the information and the application program stored in the memory through the transmission device to perform the following steps: receive the feedback message returned by the first terminal, and obtain the identification code of the first terminal, wherein the feedback message is the first terminal's response to the second terminal.
  • a feedback message of a message sent by the terminal matching the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining and The second identification code associated with the target first identification code is obtained to obtain the target second identification code, wherein the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
  • a communication method By receiving the feedback message returned by the first terminal, and obtaining Get the identification code of the first terminal, wherein the feedback message is the feedback message sent by the first terminal to the message sent by the second terminal; match the identification code with a plurality of stored first identification codes to obtain the target first identification code matching the identification code An identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal terminal; sending the feedback message to the second terminal corresponding to the target second identification code, distributing identification codes for the first terminal and the second terminal through the server, realizing the matching between the first terminal and the second terminal by means of the identification codes, and sending the second terminal
  • the feedback message of a terminal is sent to the matching second terminal, which achieves the purpose of sending the feedback message of the first terminal to the first terminal, thereby realizing that when the communication manufacturer does not support uplink communication, the second terminal can
  • the structure shown in FIG. 7 is only illustrative, and the computer terminal 10 can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment.
  • FIG. 7 does not limit the structure of the above-mentioned electronic device.
  • the computer terminal 10 may also include more or less components than those shown in FIG. 7 (eg, network interface, display device, etc.), or have a different configuration from that shown in FIG. 7 .
  • the embodiment of the invention also provides a storage medium.
  • the foregoing storage medium may be used to store program codes executed by the communication method provided in Embodiment 1 above.
  • the above-mentioned storage medium may be located in any computer terminal in the group of computer terminals in the computer network, or in any mobile terminal in the group of mobile terminals.
  • the disclosed technical content can be realized in other ways.
  • the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple networks on the unit. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention.
  • the aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed in the present invention are a communication method, system, and apparatus, a storage medium, and a processor. The method comprises: receiving a feedback message returned by a first terminal, and obtaining an identifier of the first terminal; matching the identifier with a plurality of stored first identification codes to obtain a target first identification code matching the identifier; determining a second identification code associated with the target first identification code to obtain a target second identification code; and sending the feedback message to a second terminal corresponding to the target second identification code. The present invention solves the technical problem that in short message service, a short message sender is difficult to obtain a reply message of a user if an operator does not support uplink communications.

Description

通信方法、***、装置、存储介质以及处理器Communication method, system, device, storage medium and processor
本申请要求于2022年02月15日提交中国专利局、申请号为202210139272.4、申请名称为“通信方法、***、装置、存储介质以及处理器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210139272.4 and the application title "communication method, system, device, storage medium and processor" submitted to the China Patent Office on February 15, 2022, the entire content of which is incorporated by reference incorporated in this application.
技术领域technical field
本发明涉及通信领域,具体而言,涉及一种通信方法、***、装置、存储介质以及处理器。The present invention relates to the communication field, in particular, to a communication method, system, device, storage medium and processor.
背景技术Background technique
短信服务是广大企业触达手机用户的一种通信能力,企业可以通过短信服务向多个国家/地区的手机终端发送消息,以更好的吸引用户。SMS service is a communication capability for enterprises to reach mobile phone users. Enterprises can send messages to mobile terminals in multiple countries/regions through SMS service to better attract users.
在短信服务中,上行短信指的是从手机终端向运营商发送的短信,上行短信存在两种形式,一种是用户主动给运营商发送短信,例如安全验证信息;另一种是企业给用户发送短信后,用户回复的短信,例如满意度调查、退订等信息。In the short message service, the uplink short message refers to the short message sent from the mobile terminal to the operator. There are two types of uplink short messages. One is that the user actively sends a short message to the operator, such as security verification information; the other is that the enterprise sends the user After sending a text message, the user will reply to the text message, such as satisfaction survey, unsubscribe and other information.
需要说明的是,由于上行通道普遍成本高、实施慢、覆盖国家少,各个国家/地区对上行短信的支持度存在着一定的差异。如果一个国家/地区的通信厂商支持使用运营商能力获取用户回复的消息,则支持上行短信功能,如果运营商不支持获取用户回复的消息,不支持上行短信功能。It should be noted that due to the generally high cost of uplink channels, slow implementation, and few countries covered, there are certain differences in the support for uplink SMS in various countries/regions. If the communication manufacturer in a country/region supports the use of the operator's ability to obtain the message replied by the user, the uplink SMS function is supported; if the operator does not support obtaining the message replied by the user, the uplink SMS function is not supported.
针对上述的问题,目前尚未提出有效的解决方案。For the above problems, no effective solution has been proposed yet.
发明内容Contents of the invention
本发明实施例提供了一种通信方法、***、装置、存储介质以及处理器,以至少解决在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。Embodiments of the present invention provide a communication method, system, device, storage medium, and processor to at least solve the problem that the SMS sender is difficult to obtain the user's reply message when the operator does not support uplink communication in the SMS service question.
根据本发明实施例的一个方面,提供了一种通信方法,包括:接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端。 According to an aspect of an embodiment of the present invention, a communication method is provided, including: receiving a feedback message returned by the first terminal, and obtaining an identification code of the first terminal, wherein the feedback message is sent by the first terminal to the second terminal Feedback message of the message; matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; A second identification code associated with the identification code is obtained to obtain a target second identification code, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
根据本发明实施例的另一方面,还提供了一种通信***,包括:至少一个第一终端,用于接收第二终端发送的消息,并将反馈消息返回至服务器;至少一个第二终端,用于向所述第一终端发送消息,并从所述服务器获取所述第一终端返回的所述反馈消息;服务器,用于在接收所述第二终端向所述第一终端发送的消息的情况下,生成所述第二终端的第二标识码以及所述第一终端对应的第一标识码,并建立每个所述第一标识码与对应的所述第二标识码之间的关联关系,还用于在接收所述第一终端返回的所述反馈消息时,将所述第一终端的识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,并将所述反馈消息发送至所述目标第二标识别码对应的所述第二终端。According to another aspect of the embodiments of the present invention, there is also provided a communication system, including: at least one first terminal, configured to receive a message sent by a second terminal, and return the feedback message to the server; at least one second terminal, is used to send a message to the first terminal, and obtain the feedback message returned by the first terminal from the server; the server is configured to receive the message sent by the second terminal to the first terminal In this case, generate the second identification code of the second terminal and the first identification code corresponding to the first terminal, and establish an association between each of the first identification codes and the corresponding second identification code The relationship is further used to match the identification code of the first terminal with the multiple stored first identification codes when receiving the feedback message returned by the first terminal, so as to obtain the target matching the identification code. first identification code, determining a second identification code associated with the target first identification code, obtaining a target second identification code, and sending the feedback message to the second identification code corresponding to the target second identification code Two terminals.
根据本发明实施例的另一方面,还提供了一种通信装置,包括:第一接受单元,用于接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;匹配单元,用于将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;第一确定单元,用于确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;第一发送单元,用于将反馈消息发送至目标第二标识别码对应的第二终端。According to another aspect of the embodiments of the present invention, there is also provided a communication device, including: a first receiving unit, configured to receive a feedback message returned by the first terminal, and obtain an identification code of the first terminal, wherein the feedback message is The feedback message of the first terminal for the message sent by the second terminal; the matching unit is configured to match the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, wherein the first The identification code is used to identify the first terminal; the first determining unit is configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal ; The first sending unit is configured to send the feedback message to the second terminal corresponding to the target second identification code.
根据本发明实施例的另一方面,还提供了一种存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述任意一种通信方法。According to another aspect of the embodiments of the present invention, there is also provided a storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above communication methods.
根据本发明实施例的另一方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行上述任意一种通信方法。According to another aspect of the embodiments of the present invention, a processor is also provided, and the processor is configured to run a program, wherein any one of the above communication methods is executed when the program is running.
在本发明实施例中,通过接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端,通过服务器为第一终端和第二终端分配识别码,借助识别码实现第一终端和第二终端的匹配,并将第一终端的反馈消息发送至匹配的第二终端,达到了将第一终端的反馈消息发送至第一终端的目的,从而实现了在通信厂商不支持上行通信的情况下,使得第二终端也可以获取第一终端的回复消息的技术效果,进而解决了在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。In the embodiment of the present invention, by receiving the feedback message returned by the first terminal and obtaining the identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal for the message sent by the second terminal; combining the identification code with the stored Multiple first identification codes are matched to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code, Obtaining the target second identification code, wherein the second identification code is used to identify the second terminal; sending the feedback message to the second terminal corresponding to the target second identification code, and assigning identification codes to the first terminal and the second terminal through the server , realize the matching between the first terminal and the second terminal by means of the identification code, and send the feedback message of the first terminal to the matched second terminal, so as to achieve the purpose of sending the feedback message of the first terminal to the first terminal, thereby realizing In the case that the communication manufacturer does not support uplink communication, the second terminal can also obtain the technical effect of the reply message of the first terminal, and then solve the problem that the sender of the short message A technical issue that makes it difficult to get a user's reply message.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中: The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的计算机终端的硬件结构框图;Fig. 1 is a block diagram of the hardware structure of a computer terminal according to an embodiment of the present invention;
图2是根据本发明实施例的可选的计算机终端的交互示意图;Fig. 2 is an interactive schematic diagram of an optional computer terminal according to an embodiment of the present invention;
图3是根据本发明实施例提供的通信方法的流程图;Fig. 3 is a flowchart of a communication method provided according to an embodiment of the present invention;
图4是根据本发明实施例提供的通信方法中静态页面的示意图;Fig. 4 is a schematic diagram of a static page in a communication method provided according to an embodiment of the present invention;
图5是根据本发明实施例提供的通信***的示意图;Fig. 5 is a schematic diagram of a communication system provided according to an embodiment of the present invention;
图6是根据本发明实施例提供的通信装置的示意图;Fig. 6 is a schematic diagram of a communication device provided according to an embodiment of the present invention;
图7是根据本发明实施例提供的可选的计算机终端的结构框图。Fig. 7 is a structural block diagram of an optional computer terminal provided according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
首先,在对本申请实施例进行描述的过程中出现的部分名词或术语适用于如下解释:First of all, some nouns or terms that appear during the description of the embodiments of the present application are applicable to the following explanations:
上行短信,是指发送给通信服务提供商的短信,用于定制某种服务,完成某种查询,或是办理某种业务等。Uplink short messages refer to short messages sent to communication service providers, which are used to customize a certain service, complete a certain inquiry, or handle a certain business.
落地页,也称着陆页,是在网络营销中,当***点击广告或者利用搜索引擎搜索后,打开给用户看的静态页面,该静态页面会显示和所点击广告或搜索结果链接相关的扩展内容。The landing page, also known as the landing page, is a static page opened to the user after a potential user clicks on an advertisement or uses a search engine to search. The static page will display an extension related to the clicked advertisement or search result link. content.
实施例1Example 1
根据本发明实施例,还提供了一种通信方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a communication method is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in The flowcharts show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装 置中执行。图1示出了一种用于实现通信方法的计算机终端(或移动设备)的硬件结构框图。如图1所示,计算机终端10(或移动设备10)可以包括一个或多个(图中采用102a、102b,……,102n来示出)处理器(处理器可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输模块106。除此以外,还可以包括:显示器、输入/输出接口(I/O接口)、通用串行总线(USB)端口(可以作为BUS总线的端口中的一个端口被包括)、网络接口、电源和/或相机。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided by Embodiment 1 of the present application can be performed on a mobile terminal, a computer terminal or a similar computing device Centered execution. Fig. 1 shows a block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a communication method. As shown in Figure 1, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processors (processors may include but not limited to microprocessors) MCU or a processing device such as a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it can also include: a display, an input/output interface (I/O interface), a universal serial bus (USB) port (which can be included as one of the ports of the BUS bus), a network interface, a power supply, and/or or camera. Those of ordinary skill in the art can understand that the structure shown in FIG. 1 is only a schematic diagram, and it does not limit the structure of the above-mentioned electronic device. For example, computer terminal 10 may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
应当注意到的是上述一个或多个处理器和/或其他数据处理电路在本文中通常可以被称为“数据处理电路”。该数据处理电路可以全部或部分的体现为软件、硬件、固件或其他任意组合。此外,数据处理电路可为单个独立的处理模块,或全部或部分的结合到计算机终端10(或移动设备)中的其他元件中的任意一个内。如本申请实施例中所涉及到的,该数据处理电路作为一种处理器控制(例如与接口连接的可变电阻终端路径的选择)。It should be noted that the one or more processors and/or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuit may be implemented in whole or in part as software, hardware, firmware or other arbitrary combinations. In addition, the data processing circuit can be a single independent processing module, or be fully or partially integrated into any of the other elements in the computer terminal 10 (or mobile device). As mentioned in the embodiment of the present application, the data processing circuit is used as a processor control (for example, the selection of the terminal path of the variable resistor connected to the interface).
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的通信方法对应的程序指令/数据存储装置,处理器通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的通信方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules of application software, such as the program instruction/data storage device corresponding to the communication method in the embodiment of the present invention, and the processor runs the software programs and modules stored in the memory 104 to execute various Functional application and data processing are to realize the communication method mentioned above. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory that is remotely located relative to the processor, and these remote memories may be connected to the computer terminal 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device 106 is used to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal 10 . In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.
显示器可以例如触摸屏式的液晶显示器(LCD),该液晶显示器可使得用户能够与计算机终端10(或移动设备)的用户界面进行交互。The display may be, for example, a touchscreen liquid crystal display (LCD), which may enable a user to interact with the user interface of the computer terminal 10 (or mobile device).
图1示出的硬件结构框图,不仅可以作为上述计算机终端10(或移动设备)的示例性框图,还可以作为上述服务器的示例性框图,一种可选实施例中,图2以框图示出了使用上述图1所示的计算机终端10(或移动设备)作为接收端的一种实施例。如图2所示,计算机终端10(或移动设备)可以经由数据网络连接或电子连接到一个或多个服务器108。一种可选实施例中,上述计算机终端10(或移动设备)可以是手机、PC机。数据网络连接可以是局域网连接、广域网连接、因特网连接,或其他类型的数据网络连接。计算机终 端10(或移动设备)可以执行以连接到由一个服务器(例如安全服务器)或一组服务器执行的网络服务110。网络服务110是基于网络的用户服务,诸如社交网络、云资源、电子邮件、在线支付或其他在线应用。The block diagram of the hardware structure shown in Fig. 1 can not only be used as an exemplary block diagram of the above-mentioned computer terminal 10 (or mobile device), but also can be used as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Fig. 2 is a block diagram An embodiment of using the computer terminal 10 (or mobile device) shown in FIG. 1 as the receiving end is shown. As shown in Figure 2, the computer terminal 10 (or mobile device) may be connected or electronically connected to one or more servers 108 via a data network. In an optional embodiment, the above-mentioned computer terminal 10 (or mobile device) may be a mobile phone or a PC. The data network connection may be a local area network connection, a wide area network connection, an Internet connection, or another type of data network connection. computer terminal A peer 10 (or mobile device) may execute to connect to a web service 110 executed by a server (eg, a security server) or a group of servers. Web service 110 is a web-based user service, such as social networking, cloud resources, email, online payment, or other online applications.
在上述运行环境下,本申请提供了如图3所示的通信方法。图3是根据本发明实施例的通信方法的流程图,本发明实施例的通信方法应用于服务器中,包括:Under the above operating environment, the present application provides a communication method as shown in FIG. 3 . FIG. 3 is a flow chart of a communication method according to an embodiment of the present invention. The communication method of the embodiment of the present invention is applied to a server, including:
S301,接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息。S301. Receive a feedback message returned by the first terminal, and acquire an identification code of the first terminal, where the feedback message is a feedback message sent by the first terminal to a message sent by the second terminal.
具体地,第二终端可以是发起短信消息的终端,例如,可以是发送业务短信消息的企业终端,第一终端可以是接收短信消息的终端,例如,可以是接收企业终端发送的业务短信消息的个人用户的手机,第一终端的识别码可以为用户的手机号码。Specifically, the second terminal may be a terminal that initiates a short message message, for example, it may be an enterprise terminal that sends a business short message message, and the first terminal may be a terminal that receives a short message message, for example, it may be a terminal that receives a business short message message sent by an enterprise terminal. For an individual user's mobile phone, the identification code of the first terminal may be the user's mobile phone number.
其中,一个第二终端可以向多个第一终端发起消息,而第一终端在接收到第二终端发送的消息之后,可以向第二终端发送反馈消息,例如,第二终端向第一终端发送满意度调查报告,第一终端的反馈消息可以为满意度结果,也可以为退订消息。Wherein, one second terminal can initiate a message to multiple first terminals, and the first terminal can send a feedback message to the second terminal after receiving the message sent by the second terminal, for example, the second terminal sends a message to the first terminal In the satisfaction survey report, the feedback message of the first terminal may be a satisfaction result or an unsubscribe message.
需要说明的是,第一终端向第二终端发送反馈消息时,先将反馈消息发送至服务器,服务器再将第一终端的反馈消息发送至对应的第二终端,服务器可以为云服务,由于每个第一终端关联有识别码,服务器在获取到第一终端发送的反馈消息的同时,获取第一终端的识别码。It should be noted that when the first terminal sends a feedback message to the second terminal, it first sends the feedback message to the server, and the server then sends the feedback message of the first terminal to the corresponding second terminal. The server can serve the cloud, because every Each first terminal is associated with an identification code, and the server obtains the identification code of the first terminal while obtaining the feedback message sent by the first terminal.
为了在接收第一终端返回的反馈消息时,确定将反馈消息发送至哪个第二终端,可选地,在本发明实施例的通信方法中,在接收第一终端返回的反馈消息之前,该方法还包括:接收第二终端向第一终端发送的消息,并获取第一终端的识别码;生成第二终端对应的第二标识码以及第一终端对应的第一标识码,并建立每个第一标识码与对应的第二标识码之间的关联关系;存储第一标识码、第二标识码以及关联关系。In order to determine which second terminal to send the feedback message to when receiving the feedback message returned by the first terminal, optionally, in the communication method in the embodiment of the present invention, before receiving the feedback message returned by the first terminal, the method It also includes: receiving a message sent by the second terminal to the first terminal, and obtaining the identification code of the first terminal; generating a second identification code corresponding to the second terminal and a first identification code corresponding to the first terminal, and establishing each An association relationship between an identification code and a corresponding second identification code; storing the first identification code, the second identification code and the association relationship.
可选地,在本发明实施例的通信方法中,在接收第二终端向第一终端发送的消息之后,该方法还包括:从候选第三终端中确定目标第三终端;将第二终端发出的消息发送至目标第三终端对应的网关,并通过网关将消息发送至第一终端。Optionally, in the communication method of the embodiment of the present invention, after receiving the message sent by the second terminal to the first terminal, the method further includes: determining the target third terminal from candidate third terminals; sending the second terminal The message is sent to the gateway corresponding to the target third terminal, and the message is sent to the first terminal through the gateway.
具体地,第三终端可以为运营商的基站,在第二终端向第一终端发送消息时,是将消息提交至服务器,服务器再根据***的智能调度***匹配到最合适的运营商下发,最终发送到运营商网关,运营商发给第一终端。Specifically, the third terminal may be the base station of the operator. When the second terminal sends a message to the first terminal, it submits the message to the server, and the server then matches the most suitable operator according to the intelligent scheduling system of the system. Finally, it is sent to the operator's gateway, and the operator sends it to the first terminal.
需要说明的是,在企业终端向个人用户终端发送短信消息,个人用户终端回复消息的情况下,企业终端和个人用户终端之间不支持互相识别,对于有上行回复的第一终端,如果这个国家运营商不支持上行回复,那么第一终端的持有用户就没办法退订或者回复其他内容。 It should be noted that, when an enterprise terminal sends a short message message to an individual user terminal, and the individual user terminal replies to the message, the enterprise terminal and the individual user terminal do not support mutual identification. For the first terminal that has an uplink reply, if the country The operator does not support uplink reply, so the user holding the first terminal cannot unsubscribe or reply to other content.
因而,在服务器接收到第二终端向第一终端发送的消息的情况下,为第二终端生成唯一的第二标识码,同时为第二终端送达消息的第一终端生成第一标识码,也即为第一终端生成识别码对应的第一标识码,并建立起第二标识码和第一标识码之间的关联消息,从而在接收第一终端的反馈消息时,通过第一标识码与第二标识码之间的关联关系确定第一终端对应的第二终端。Therefore, when the server receives the message sent by the second terminal to the first terminal, it generates a unique second identification code for the second terminal, and at the same time generates a first identification code for the first terminal to which the second terminal delivers the message, That is, the first identification code corresponding to the identification code is generated for the first terminal, and the association message between the second identification code and the first identification code is established, so that when receiving the feedback message from the first terminal, the first identification code The association relationship with the second identification code determines the second terminal corresponding to the first terminal.
具体地,在服务器为第二终端生成唯一的第二标识码时,可以在接收到第二终端向第一终端发送的消息时,为第二终端实时申请一个第二标识码,也可以提前申请一批第二标识码,并存储在数据池中,在接收到第二终端向第一终端发送的消息时,将数据池中的一个第二标识分配给第二终端。Specifically, when the server generates a unique second identification code for the second terminal, it can apply for a second identification code for the second terminal in real time when receiving the message sent by the second terminal to the first terminal, or apply for a second identification code in advance. A batch of second identification codes is stored in the data pool, and when a message sent by the second terminal to the first terminal is received, a second identification in the data pool is allocated to the second terminal.
在服务器为第二终端送达消息的第一终端生成第一标识码时,可以随机生成3-6位的扩展码,并将该扩展码作为第一终端的第一标识码,也即,第一终端的识别码对应的第一标识码。When the server generates the first identification code for the first terminal of the message delivered by the second terminal, it can randomly generate a 3-6-digit extension code, and use the extension code as the first identification code of the first terminal, that is, the first identification code of the first terminal. A first identification code corresponding to the identification code of a terminal.
此外,还可以将第一终端的第一标识码与对应第二终端的第二标识码进行组合,得到定制码,该定制码是第一终端的识别码对应的唯一号码,该定制码中包含了第一标识码与对应的第二标识码之间的关联关系。In addition, it is also possible to combine the first identification code of the first terminal with the second identification code corresponding to the second terminal to obtain a customized code. The customized code is a unique number corresponding to the identification code of the first terminal. The customized code includes The association relationship between the first identification code and the corresponding second identification code is defined.
通过本实施例,在一个地区/国家的运营商不支持直接通过互联网链路获取上线回复消息,可以在服务器中先将第一终端的识别码和第一终端的第一标识码进行匹配,再将第一终端的第一标识码和第二终端的第二标识码进行匹配,实现第一终端和第二终端的匹配,从而将第一终端的反馈消息和待送达反馈消息的第二终端进行匹配,绕过运营商的链路,实现反馈消息的送达。Through this embodiment, the operator in a region/country does not support obtaining the online reply message directly through the Internet link, the identification code of the first terminal can be first matched with the first identification code of the first terminal in the server, and then Match the first identification code of the first terminal with the second identification code of the second terminal to realize the matching between the first terminal and the second terminal, so that the feedback message of the first terminal and the second terminal to be delivered the feedback message Perform matching, bypass the operator's link, and realize the delivery of feedback messages.
S302,将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端。S302. Match the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification codes, where the first identification code is used to identify the first terminal.
具体地,服务器在接收第二终端向第一终端发送的消息的情况下,也即在接收第一终端返回的反馈消息,并获取第一终端的识别码之前,已经生成第二终端的第二标识码以及第一终端对应的第一标识码,服务器中存储有多个第一标识码,服务器在接收第一终端返回的反馈消息,并获取第一终端的识别码之后,可以对存储的多个第一标识码进行遍历,从中获取第一终端的识别码对应的第一标识码。Specifically, when the server receives the message sent by the second terminal to the first terminal, that is, before receiving the feedback message returned by the first terminal and obtaining the identification code of the first terminal, the server has already generated the second terminal ID of the second terminal. The identification code and the first identification code corresponding to the first terminal. There are multiple first identification codes stored in the server. After the server receives the feedback message returned by the first terminal and obtains the identification code of the first terminal, it can The first identification codes are traversed to obtain the first identification code corresponding to the identification code of the first terminal.
S303,确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端。S303. Determine a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify the second terminal.
具体地,服务器在生成第二终端的第二标识码以及第一终端对应的第一标识码的同时,还建立了每个第一标识码与对应的第二标识码之间的关联关系,在获取第一终端的识别码对应的第一标识码,可以根据关联关系获取第一标识码关联的第二标识码,也即目标第二标识码,从而获取第一终端对应的第二终端。 Specifically, while generating the second identification code of the second terminal and the first identification code corresponding to the first terminal, the server also establishes an association relationship between each first identification code and the corresponding second identification code. Obtain the first identification code corresponding to the identification code of the first terminal, and obtain the second identification code associated with the first identification code according to the association relationship, that is, the target second identification code, so as to obtain the second terminal corresponding to the first terminal.
例如,在生成第二终端的第二标识码以及第一终端对应的第一标识码之后,将第一终端的第一标识码与对应第二终端的第二标识码进行组合,得到第一终端的定制码,由于该定制码中包含了第一标识码与对应的第二标识码之间的关联关系,在获取第一终端的识别码对应的第一标识码后,即可定位至第一终端对应的定制码,从而从定制码中获取第二终端的第二标识码。For example, after the second identification code of the second terminal and the first identification code corresponding to the first terminal are generated, the first identification code of the first terminal is combined with the second identification code corresponding to the second terminal to obtain the first identification code of the first terminal custom code, because the custom code contains the association between the first identification code and the corresponding second identification code, after obtaining the first identification code corresponding to the identification code of the first terminal, you can locate the first The customized code corresponding to the terminal, so as to obtain the second identification code of the second terminal from the customized code.
S304,将反馈消息发送至目标第二标识别码对应的第二终端。S304. Send the feedback message to the second terminal corresponding to the second identification code of the target.
可选地,在本发明实施例的通信方法中,将反馈消息发送至目标第二标识别码对应的第二终端包括:确定目标第二标识码对应的应用程序接口;调用应用程序接口,通过应用程序接口将反馈消息发送至第二终端。Optionally, in the communication method in the embodiment of the present invention, sending the feedback message to the second terminal corresponding to the target second identification code includes: determining the application program interface corresponding to the target second identification code; calling the application program interface, through The application program interface sends the feedback message to the second terminal.
具体地,服务器设置有对个应用程序接口,每个应用程序接口和第二标识码对应,第二终端可以调用第二标识码对应的应用程序接口,从而获取已送达消息的第一终端的反馈消息,从而在不经过运营商链路的情况下,获取到第一终端的反馈消息,避免了一个地区/国家的运营商不支持直接通过互联网链路获取上线回复消息的情况下,第二终端难以获取第一终端的反馈消息的问题。Specifically, the server is provided with a pair of application program interfaces, each application program interface corresponds to the second identification code, and the second terminal can call the application program interface corresponding to the second identification code, so as to obtain the information of the first terminal that has delivered the message. Feedback message, so that the feedback message of the first terminal can be obtained without going through the link of the operator, avoiding the situation that the operator in a region/country does not support obtaining the online reply message directly through the Internet link, the second A problem that it is difficult for the terminal to obtain the feedback message of the first terminal.
在本发明实施例中,通过接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端。通过服务器为第一终端和第二终端分配识别码,借助识别码实现第一终端和第二终端的匹配,并将第一终端的反馈消息发送至匹配的第二终端,达到了将第一终端的反馈消息发送至第一终端的目的,从而实现了在通信厂商不支持上行通信的情况下,使得第二终端也可以获取第一终端的回复消息的技术效果,进而解决了在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。In the embodiment of the present invention, by receiving the feedback message returned by the first terminal and obtaining the identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal for the message sent by the second terminal; combining the identification code with the stored Multiple first identification codes are matched to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code, The target second identification code is obtained, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code. The server assigns identification codes to the first terminal and the second terminal, realizes the matching of the first terminal and the second terminal by means of the identification code, and sends the feedback message of the first terminal to the matched second terminal, so that the first terminal The purpose of sending the feedback message of the first terminal to the first terminal, so as to realize the technical effect that the second terminal can also obtain the reply message of the first terminal when the communication manufacturer does not support uplink communication, and further solve the problem of short message service. When the operator does not support uplink communication, it is difficult for the SMS sender to obtain the user's reply message.
为了通过消息送达更多的内容,第一终端对第二终端发出的消息中可以包含链接,可选地,在本发明实施例的通信方法中,接收第一终端返回的反馈消息包括:响应第一终端对第二终端发出的消息中的链接的触发指令,向第一终端返回链接对应的静态页面,其中,静态页面中至少包含第二终端的标识消息以及第一终端的待反馈信息;接收第一终端对静态页面进行编辑后生成的反馈消息。In order to deliver more content through messages, the message sent by the first terminal to the second terminal may contain a link. Optionally, in the communication method in the embodiment of the present invention, receiving the feedback message returned by the first terminal includes: responding The first terminal returns a static page corresponding to the link to the first terminal for the trigger instruction of the link in the message sent by the second terminal, wherein the static page includes at least an identification message of the second terminal and information to be fed back by the first terminal; A feedback message generated after the first terminal edits the static page is received.
具体地,第二终端对第一终端发出的消息可以为短信,消息中的链接可以为长链接转换为的短链接,以节省发送短信的字数。第一终端的持有对象点击接收到的短信中的端链接后,跳转到服务器,通过服务器解析短链接,得到短链接对应的长链接,跳转到长链接对应的静态页面,并将静态页面返回至第一终端,静态页面中可以包含待回复的内容,还 可以包含第二终端的所属对象的标识信息。Specifically, the message sent by the second terminal to the first terminal may be a short message, and the link in the message may be a short link converted from a long link, so as to save the number of characters in sending a short message. After the owner of the first terminal clicks the terminal link in the received message, it jumps to the server, parses the short link through the server, obtains the long link corresponding to the short link, jumps to the static page corresponding to the long link, and saves the static page The page is returned to the first terminal, and the static page may contain content to be replied, or The identification information of the object to which the second terminal belongs may be included.
进一步的,第一终端的持有对象点在查看静态页面后,可以对静态页面中的内容进行编辑,以完成信息的反馈,例如,在静态页面中待回复的内容为满意度调查内容时,用户可以点击满意度评分对应的控件,从而生成反馈消息,为了避免多次接收到第二终端发送的消息,用户还可以点击“退订”对应的控件,从而实现消息的退订。Further, after viewing the static page, the holding object point of the first terminal can edit the content in the static page to complete the information feedback. For example, when the content to be replied in the static page is the satisfaction survey content, The user can click the control corresponding to the satisfaction score to generate a feedback message. In order to avoid receiving messages sent by the second terminal multiple times, the user can also click the control corresponding to "unsubscribe" to realize the unsubscription of the message.
为了降低第二终端的所属对象制作静态页面的成本,可选地,在本发明实施例的通信方法中,在接收第二终端向第一终端发送的消息之前,该方法还包括:获取第二终端针对静态页面模板的请求信息;解析请求,确定请求信息所请求的目标模板;从存储的多个静态页面模板中获取目标模板,并将目标模板返回至第二终端。In order to reduce the cost of making a static page for the object of the second terminal, optionally, in the communication method of the embodiment of the present invention, before receiving the message sent by the second terminal to the first terminal, the method further includes: obtaining the second The terminal requests information for the static page template; parses the request, determines the target template requested by the request information; obtains the target template from the stored static page templates, and returns the target template to the second terminal.
具体地,服务器可以向客户提供静态页面模板,客户可以选择不同风格的静态页面,并后台为选择的静态页面设置自身的标识,提高自身的辨识度,从而在送达用户查看静态页面后,可以获知静态页面的发送方,以更好的与用户进行信息交互,静态页面模板中还可以进行语言的选择,从支持客户将静态页面发送多个不同的国家或地区。Specifically, the server can provide the client with a static page template, and the client can choose static pages of different styles, and set its own logo for the selected static page in the background to improve its own recognition, so that after the static page is served to the user to view, it can Know the sender of the static page to better interact with users. Language selection can also be made in the static page template, from supporting customers to send static pages to multiple different countries or regions.
通过本实施例,服务器提供静态页面模板,并支持客户对静态页面的修改,降低了客户自己开发静态页面的成本,从而降低了客户终端接入服务器的成本,提升了接入的便捷度和效率。Through this embodiment, the server provides a static page template and supports the modification of the static page by the client, which reduces the cost of the client's own development of the static page, thereby reducing the cost of client terminal access to the server, and improving the convenience and efficiency of access .
为了进一步提高第一终端和第二终端的匹配的准确度,可选地,在本发明实施例的通信方法中,在将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码之前,该方法还包括:从反馈消息中解析验证码,并判断验证码和识别码是否匹配;在验证码和第一终端的识别码匹配的情况下,执行将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码的步骤。In order to further improve the accuracy of the matching between the first terminal and the second terminal, optionally, in the communication method in the embodiment of the present invention, after matching the identification code with the stored first identification codes, the matching identification code is obtained Before matching the target first identification code, the method also includes: parsing the verification code from the feedback message, and judging whether the verification code matches the identification code; if the verification code matches the identification code of the first terminal, performing the identification The code is matched with the multiple stored first identification codes to obtain a target first identification code matching the identification code.
具体地,静态页面中还可以包含输入验证码的输入栏,提示用户输入验证码,如图4所示,是根据本发明实施例提供的通信方法中静态页面的示意图,预设验证码可以为第二终端的识别码的后两位,例如,手机号的后两位,在用户输入验证码并反馈消息的情况下,服务器可以对验证码进行验证,判断验证码和识别码是否匹配,在匹配的情况下,说明反馈消息的终端与接收消息的终端是一致的,可以将反馈消息反馈至第二终端,在不匹配的情况下,存在反馈消息的终端与接收消息的终端不一致的情况下,服务器可以丢弃反馈消息,从而避免了将错误反馈消息送达第二终端的问题。Specifically, the static page may also include an input field for inputting a verification code, prompting the user to input the verification code, as shown in FIG. 4 , which is a schematic diagram of a static page in the communication method provided according to an embodiment of the present invention, and the preset verification code may be The last two digits of the identification code of the second terminal, for example, the last two digits of the mobile phone number, when the user enters the verification code and returns a message, the server can verify the verification code to determine whether the verification code and the identification code match. In the case of a match, it means that the terminal of the feedback message is consistent with the terminal receiving the message, and the feedback message can be fed back to the second terminal. In the case of a mismatch, the terminal of the feedback message is inconsistent with the terminal receiving the message , the server can discard the feedback message, thereby avoiding the problem of sending the wrong feedback message to the second terminal.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。 It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的通信方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the communication method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
实施例2Example 2
根据本发明实施例,还提供了一种通信***,如图5所示,该***包括:According to an embodiment of the present invention, a communication system is also provided, as shown in FIG. 5, the system includes:
至少一个第一终端501,用于接收第二终端502发送的消息,并将反馈消息返回至服务器503。At least one first terminal 501 is configured to receive the message sent by the second terminal 502 and return the feedback message to the server 503 .
至少一个第二终端502,用于向所述第一终端501发送消息,并从所述服务器503获取所述第一终端501返回的所述反馈消息。At least one second terminal 502 is configured to send a message to the first terminal 501 and acquire the feedback message returned by the first terminal 501 from the server 503 .
具体地,第二终端502可以是发起短信消息的终端,例如,可以是发送业务短信消息的企业终端,第一终端501可以是接收短信消息的终端,例如,可以是接收企业终端发送的业务短信消息的个人用户的手机,第一终端501的识别码可以为用户的手机号码。Specifically, the second terminal 502 can be a terminal that initiates a short message message, for example, it can be an enterprise terminal that sends a business short message message, and the first terminal 501 can be a terminal that receives a short message message, for example, it can be a business short message message sent by an enterprise terminal. For the mobile phone of the individual user of the message, the identification code of the first terminal 501 may be the user's mobile phone number.
其中,一个第二终端502可以向多个第一终端501发起消息,而第一终端501在接收到第二终端502发送的消息之后,可以向第二终端502发送反馈消息,例如,第二终端502向第一终端501发送满意度调查报告,第一终端501的反馈消息可以为满意度结果,也可以为退订消息。Wherein, one second terminal 502 may initiate a message to multiple first terminals 501, and the first terminal 501 may send a feedback message to the second terminal 502 after receiving the message sent by the second terminal 502, for example, the second terminal 502 Send a satisfaction survey report to the first terminal 501, and the feedback message from the first terminal 501 may be a satisfaction result or an unsubscribe message.
需要说明的是,第二终端502向第一终端501发送消息时,先将消息发送至服务器503,再通过服务器503将消息发送至第一终端501,第一终端501向第二终端502发送反馈消息时,先将反馈消息发送至服务器503,服务器503再将第一终端501的反馈消息发送至对应的第二终端502。It should be noted that when the second terminal 502 sends a message to the first terminal 501, it first sends the message to the server 503, and then sends the message to the first terminal 501 through the server 503, and the first terminal 501 sends a feedback to the second terminal 502 When sending a message, the feedback message is first sent to the server 503, and the server 503 then sends the feedback message of the first terminal 501 to the corresponding second terminal 502.
服务器503,用于在接收所述第二终端502向所述第一终端501发送的消息的情况下,生成所述第二终端502的第二标识码以及所述第一终端501对应的第一标识码,并建立每个所述第一标识码与对应的所述第二标识码之间的关联关系,还用于在接收所述第一终端501返回的所述反馈消息时,将所述第一终端501的识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,并将所述反馈消息发送至所述目标第二标识别码对应的所述第二终端502。The server 503 is configured to generate the second identification code of the second terminal 502 and the first identification code corresponding to the first terminal 501 when receiving the message sent by the second terminal 502 to the first terminal 501. identification codes, and establish an association relationship between each of the first identification codes and the corresponding second identification codes, and is also used to, when receiving the feedback message returned by the first terminal 501, link the Matching the identification code of the first terminal 501 with the multiple stored first identification codes to obtain a target first identification code matching the identification code, and determining a second identification code associated with the target first identification code, The target second identification code is obtained, and the feedback message is sent to the second terminal 502 corresponding to the target second identification code.
需要说明的是,在企业终端向个人用户终端发送短信消息,个人用户终端回复消息的情况下,企业终端和个人用户终端之间不支持互相识别,对于有上行回复的第一终端501, 如果这个国家运营商不支持上行回复,那么第一终端501的持有用户就没办法退订或者回复其他内容。It should be noted that, when an enterprise terminal sends a short message message to an individual user terminal, and the individual user terminal replies to the message, the enterprise terminal and the individual user terminal do not support mutual identification. For the first terminal 501 that has an uplink reply, If the operator in this country does not support uplink reply, then the user holding the first terminal 501 has no way to unsubscribe or reply to other content.
因而,在服务器503接收到第二终端502向第一终端501发送的消息的情况下,为第二终端502生成唯一的第二标识码,同时为第二终端502送达消息的第一终端501生成第一标识码,也即为第一终端501生成识别码对应的第一标识码,并建立起第二标识码和第一标识码之间的关联消息,从而在接收第一终端501的反馈消息时,通过第一标识码与第二标识码之间的关联关系确定第一终端501对应的第二终端502,从而将第一终端501的反馈消息和待送达反馈消息的第二终端502进行匹配,绕过运营商的链路,实现反馈消息的送达。Therefore, when the server 503 receives the message sent by the second terminal 502 to the first terminal 501, it generates a unique second identification code for the second terminal 502, and at the same time sends the message to the first terminal 501 for the second terminal 502. Generate the first identification code, that is, generate the first identification code corresponding to the identification code for the first terminal 501, and establish an association message between the second identification code and the first identification code, so that after receiving the feedback from the first terminal 501 When sending a message, the second terminal 502 corresponding to the first terminal 501 is determined through the association relationship between the first identification code and the second identification code, so that the feedback message of the first terminal 501 and the second terminal 502 to be sent the feedback message Perform matching, bypass the operator's link, and realize the delivery of feedback messages.
在本发明实施例中,通过至少一个第一终端501接收第二终端502发送的消息,并将反馈消息返回至服务器503;至少一个第二终端502向所述第一终端501发送消息,并从所述服务器503获取所述第一终端501返回的所述反馈消息;服务器503在接收所述第二终端502向所述第一终端501发送的消息的情况下,生成所述第二终端502的第二标识码以及所述第一终端501对应的第一标识码,并建立每个所述第一标识码与对应的所述第二标识码之间的关联关系,还在接收所述第一终端501返回的所述反馈消息时,将所述第一终端501的识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,并将所述反馈消息发送至所述目标第二标识别码对应的所述第二终端502。通过服务器503为第一终端501和第二终端502分配识别码,借助识别码实现第一终端501和第二终端502的匹配,并将第一终端501的反馈消息发送至匹配的第二终端502,达到了将第一终端501的反馈消息发送至第一终端501的目的,从而实现了在通信厂商不支持上行通信的情况下,使得第二终端502也可以获取第一终端501的回复消息的技术效果,进而解决了在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。In the embodiment of the present invention, the message sent by the second terminal 502 is received by at least one first terminal 501, and the feedback message is returned to the server 503; at least one second terminal 502 sends a message to the first terminal 501, and from The server 503 obtains the feedback message returned by the first terminal 501; the server 503 generates a message of the second terminal 502 when receiving the message sent by the second terminal 502 to the first terminal 501. The second identification code and the first identification code corresponding to the first terminal 501, and establishing an association relationship between each of the first identification codes and the corresponding second identification code, and receiving the first identification code When the terminal 501 returns the feedback message, match the identification code of the first terminal 501 with the multiple stored first identification codes to obtain a target first identification code that matches the identification code, and determine the target first identification code that matches the identification code. The second identification code associated with the target first identification code is obtained to obtain the target second identification code, and the feedback message is sent to the second terminal 502 corresponding to the target second identification code. Assign identification codes to the first terminal 501 and the second terminal 502 through the server 503, realize the matching of the first terminal 501 and the second terminal 502 by means of the identification codes, and send the feedback message of the first terminal 501 to the matched second terminal 502 , the purpose of sending the feedback message of the first terminal 501 to the first terminal 501 is achieved, so that the second terminal 502 can also obtain the reply message of the first terminal 501 when the communication manufacturer does not support uplink communication The technical effect further solves the technical problem that it is difficult for the sender of the short message to obtain the reply message of the user when the operator does not support uplink communication in the short message service.
实施例3Example 3
根据本发明实施例,还提供了一种用于实施上述通信方法的装置,如图6所示,该装置包括:According to an embodiment of the present invention, a device for implementing the above communication method is also provided. As shown in FIG. 6, the device includes:
第一接收单元601,用于接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息。The first receiving unit 601 is configured to receive a feedback message returned by the first terminal, and obtain an identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal to a message sent by the second terminal.
匹配单元602,用于将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端。The matching unit 602 is configured to match the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, where the first identification code is used to identify the first terminal.
第一确定单元603,用于确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端。The first determining unit 603 is configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify the second terminal.
第一发送单元604,用于将反馈消息发送至目标第二标识别码对应的第二终端。 The first sending unit 604 is configured to send the feedback message to the second terminal corresponding to the target second identification code.
此处需要说明的是,上述第一接收单元601,匹配单元602,第一确定单元603,第一发送单元604对应于实施例1中的步骤S301、步骤S302、步骤S303、步骤S304,两个模块与对应的步骤所实现的实例和应用场景相同,但不限于上述实施例一所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在实施例一提供的计算机终端10中。It should be noted here that the above-mentioned first receiving unit 601, matching unit 602, first determining unit 603, and first sending unit 604 correspond to step S301, step S302, step S303, and step S304 in Embodiment 1, two The examples and application scenarios implemented by the modules and corresponding steps are the same, but are not limited to the content disclosed in the first embodiment above. It should be noted that, as a part of the device, the above modules can run in the computer terminal 10 provided in the first embodiment.
在本发明实施例中,通过第一接收单元601,用于接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;匹配单元602,用于将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;第一确定单元603,用于确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;第一发送单元604,用于将反馈消息发送至目标第二标识别码对应的第二终端。通过服务器为第一终端和第二终端分配识别码,借助识别码实现第一终端和第二终端的匹配,并将第一终端的反馈消息发送至匹配的第二终端,达到了将第一终端的反馈消息发送至第一终端的目的,从而实现了在通信厂商不支持上行通信的情况下,使得第二终端也可以获取第一终端的回复消息的技术效果,进而解决了在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。In the embodiment of the present invention, the first receiving unit 601 is used to receive the feedback message returned by the first terminal and obtain the identification code of the first terminal, wherein the feedback message is a message sent by the first terminal for the second terminal Feedback message; a matching unit 602, configured to match the identification code with multiple stored first identification codes to obtain a target first identification code that matches the identification code, where the first identification code is used to identify the first terminal; A determining unit 603, configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal; the first sending unit 604 is configured to Send the feedback message to the second terminal corresponding to the target second identification code. The server assigns identification codes to the first terminal and the second terminal, realizes the matching of the first terminal and the second terminal by means of the identification code, and sends the feedback message of the first terminal to the matched second terminal, so that the first terminal The purpose of sending the feedback message of the first terminal to the first terminal, so as to realize the technical effect that the second terminal can also obtain the reply message of the first terminal when the communication manufacturer does not support uplink communication, and further solve the problem of short message service. When the operator does not support uplink communication, it is difficult for the SMS sender to obtain the user's reply message.
可选地,在本发明实施例的通信装置中,第一接收单元602包括:响应模块,用于响应第一终端对第二终端发出的消息中的链接的触发指令,向第一终端返回链接对应的静态页面,其中,静态页面中至少包含第二终端的标识消息以及第一终端的待反馈信息;接收模块,用于接收第一终端对静态页面进行编辑后生成的反馈消息。Optionally, in the communication device of the embodiment of the present invention, the first receiving unit 602 includes: a response module, configured to respond to a trigger instruction of the link in the message sent by the first terminal to the second terminal, and return the link to the first terminal The corresponding static page, wherein the static page includes at least the identification message of the second terminal and the information to be fed back by the first terminal; the receiving module is configured to receive a feedback message generated after editing the static page by the first terminal.
可选地,在本发明实施例的通信装置中,该装置还包括:第二接收单元,用于接收第二终端向第一终端发送的消息,并获取第一终端的识别码;生成单元,用于生成第二终端对应的第二标识码以及第一终端对应的第一标识码,并建立每个第一标识码与对应的第二标识码之间的关联关系;存储单元,用于存储第一标识码、第二标识码以及关联关系。Optionally, in the communication device in the embodiment of the present invention, the device further includes: a second receiving unit, configured to receive a message sent by the second terminal to the first terminal, and obtain an identification code of the first terminal; a generating unit, For generating a second identification code corresponding to the second terminal and a first identification code corresponding to the first terminal, and establishing an association relationship between each first identification code and the corresponding second identification code; a storage unit for storing The first identification code, the second identification code and the association relationship.
可选地,在本发明实施例的通信装置中,该装置还包括:第一获取单元,用于获取第二终端针对静态页面模板的请求信息;第一解析单元,用于解析请求,确定请求信息所请求的目标模板;第二获取单元,用于从存储的多个静态页面模板中获取目标模板,并将目标模板返回至第二终端。Optionally, in the communication device in the embodiment of the present invention, the device further includes: a first obtaining unit, configured to obtain request information of the second terminal for the static page template; a first parsing unit, configured to parse the request, and determine the request information A target template requested by the information; a second acquiring unit, configured to acquire the target template from a plurality of stored static page templates, and return the target template to the second terminal.
可选地,在本发明实施例的通信装置中,该装置还包括:第二确定单元,用于从候选第三终端中确定目标第三终端;第二发送单元,用于将第二终端发出的消息发送至目标第三终端对应的网关,并通过网关将消息发送至第一终端。Optionally, in the communication device in the embodiment of the present invention, the device further includes: a second determining unit, configured to determine a target third terminal from candidate third terminals; a second sending unit, configured to send the second terminal The message is sent to the gateway corresponding to the target third terminal, and the message is sent to the first terminal through the gateway.
可选地,在本发明实施例的通信装置中,该装置还包括:第二解析单元,用于从反馈消息中解析验证码,并判断验证码和识别码是否匹配;执行单元,用于在验证码和第一终端的识别码匹配的情况下,执行将识别码与存储的多个第一标识码进行匹配,得到与识别 码匹配的目标第一标识码的步骤。Optionally, in the communication device in the embodiment of the present invention, the device further includes: a second parsing unit, configured to parse the verification code from the feedback message, and judge whether the verification code matches the identification code; In the case that the verification code matches the identification code of the first terminal, the identification code is matched with the stored first identification codes to obtain and identify Step of code matching the first identification code of the target.
可选地,在本发明实施例的通信装置中,第一发送单元604包括:确定模块,用于确定目标第二标识码对应的应用程序接口;发送模块,用于调用应用程序接口,通过应用程序接口将反馈消息发送至第二终端。Optionally, in the communication device in the embodiment of the present invention, the first sending unit 604 includes: a determining module, configured to determine an application program interface corresponding to the target second identification code; a sending module, configured to call the application program interface, through the application The program interface sends the feedback message to the second terminal.
实施例4Example 4
本发明的实施例可以提供一种计算机终端,该计算机终端可以是计算机终端群中的任意一个计算机终端设备。可选地,在本实施例中,上述计算机终端也可以替换为移动终端等终端设备。Embodiments of the present invention may provide a computer terminal, and the computer terminal may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.
可选地,在本实施例中,上述计算机终端可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the foregoing computer terminal may be located in at least one network device among multiple network devices of the computer network.
在本实施例中,上述计算机终端可以执行通信方法中以下步骤的程序代码:接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端。In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the communication method: receiving the feedback message returned by the first terminal, and obtaining the identification code of the first terminal, wherein the feedback message is the first terminal's response to the second terminal Feedback message of the sent message; matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; A second identification code associated with the first identification code is obtained to obtain a target second identification code, where the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
可选地,图7是根据本发明实施例的一种计算机终端的结构框图。如图7所示,该计算机终端10可以包括:一个或多个(图中仅示出一个)处理器、存储器、以及传输装置。Optionally, FIG. 7 is a structural block diagram of a computer terminal according to an embodiment of the present invention. As shown in FIG. 7 , the computer terminal 10 may include: one or more (only one is shown in the figure) processors, memory, and transmission means.
其中,存储器可用于存储软件程序以及模块,如本发明实施例中的通信方法和装置对应的程序指令/模块,处理器通过运行存储在存储器内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的通信方法。存储器可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器可进一步包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Among them, the memory can be used to store software programs and modules, such as the program instructions/modules corresponding to the communication method and device in the embodiment of the present invention, and the processor executes various functional applications and modules by running the software programs and modules stored in the memory. Data processing, that is, realizing the above-mentioned communication method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory that is remotely located relative to the processor, and these remote memories may be connected to the terminal 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
处理器可以通过传输装置调用存储器存储的信息及应用程序,以执行下述步骤:接收第一终端返回的反馈消息,并获取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端。The processor can call the information and the application program stored in the memory through the transmission device to perform the following steps: receive the feedback message returned by the first terminal, and obtain the identification code of the first terminal, wherein the feedback message is the first terminal's response to the second terminal. A feedback message of a message sent by the terminal; matching the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal; determining and The second identification code associated with the target first identification code is obtained to obtain the target second identification code, wherein the second identification code is used to identify the second terminal; and the feedback message is sent to the second terminal corresponding to the target second identification code.
采用本发明实施例,提供了一种通信方法。通过接收第一终端返回的反馈消息,并获 取第一终端的识别码,其中,反馈消息是第一终端针对第二终端发出的消息的反馈消息;将识别码与存储的多个第一标识码进行匹配,得到与识别码匹配的目标第一标识码,其中,第一标识码用于标识第一终端;确定与目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,第二标识码用于标识第二终端;将反馈消息发送至目标第二标识别码对应的第二终端,通过服务器为第一终端和第二终端分配识别码,借助识别码实现第一终端和第二终端的匹配,并将第一终端的反馈消息发送至匹配的第二终端,达到了将第一终端的反馈消息发送至第一终端的目的,从而实现了在通信厂商不支持上行通信的情况下,使得第二终端也可以获取第一终端的回复消息的技术效果,进而解决了在短信服务中,运营商不支持上行通信的情况下,短信发送方难以获取用户的回复消息的技术问题。By adopting the embodiment of the present invention, a communication method is provided. By receiving the feedback message returned by the first terminal, and obtaining Get the identification code of the first terminal, wherein the feedback message is the feedback message sent by the first terminal to the message sent by the second terminal; match the identification code with a plurality of stored first identification codes to obtain the target first identification code matching the identification code An identification code, wherein the first identification code is used to identify the first terminal; determining a second identification code associated with the target first identification code to obtain a target second identification code, wherein the second identification code is used to identify the second terminal terminal; sending the feedback message to the second terminal corresponding to the target second identification code, distributing identification codes for the first terminal and the second terminal through the server, realizing the matching between the first terminal and the second terminal by means of the identification codes, and sending the second terminal The feedback message of a terminal is sent to the matching second terminal, which achieves the purpose of sending the feedback message of the first terminal to the first terminal, thereby realizing that when the communication manufacturer does not support uplink communication, the second terminal can also The technical effect of obtaining the reply message of the first terminal further solves the technical problem that it is difficult for the sender of the short message to obtain the reply message of the user when the operator does not support uplink communication in the short message service.
本领域普通技术人员可以理解,图7所示的结构仅为示意,计算机终端10也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图7其并不对上述电子装置的结构造成限定。例如,计算机终端10还可包括比图7中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图7所示不同的配置。Those of ordinary skill in the art can understand that the structure shown in FIG. 7 is only illustrative, and the computer terminal 10 can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, an applause computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 7 does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may also include more or less components than those shown in FIG. 7 (eg, network interface, display device, etc.), or have a different configuration from that shown in FIG. 7 .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be Including: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以用于保存上述实施例一所提供的通信方法所执行的程序代码。The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the foregoing storage medium may be used to store program codes executed by the communication method provided in Embodiment 1 above.
可选地,在本实施例中,上述存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,或者位于移动终端群中的任意一个移动终端中。Optionally, in this embodiment, the above-mentioned storage medium may be located in any computer terminal in the group of computer terminals in the computer network, or in any mobile terminal in the group of mobile terminals.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络 单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple networks on the unit. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disc, etc., which can store program codes. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (11)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    接收第一终端返回的反馈消息,并获取所述第一终端的识别码,其中,所述反馈消息是所述第一终端针对第二终端发出的消息的反馈消息;receiving a feedback message returned by the first terminal, and acquiring an identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal to a message sent by the second terminal;
    将所述识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,其中,所述第一标识码用于标识第一终端;matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code, where the first identification code is used to identify the first terminal;
    确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,所述第二标识码用于标识第二终端;determining a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify a second terminal;
    将所述反馈消息发送至所述目标第二标识别码对应的第二终端。Send the feedback message to the second terminal corresponding to the target second identification code.
  2. 根据权利要求1所述的通信方法,其特征在于,接收第一终端返回的反馈消息包括:The communication method according to claim 1, wherein receiving the feedback message returned by the first terminal comprises:
    响应所述第一终端对第二终端发出的消息中的链接的触发指令,向所述第一终端返回所述链接对应的静态页面,其中,所述静态页面中至少包含所述第二终端的标识消息以及所述第一终端的待反馈信息;Responding to the first terminal triggering the link in the message sent by the second terminal, returning to the first terminal a static page corresponding to the link, wherein the static page includes at least the second terminal’s an identification message and information to be fed back by the first terminal;
    接收所述第一终端对所述静态页面进行编辑后生成的所述反馈消息。receiving the feedback message generated after the first terminal edits the static page.
  3. 根据权利要求2所述的通信方法,其特征在于,在接收第一终端返回的反馈消息之前,所述方法还包括:The communication method according to claim 2, wherein before receiving the feedback message returned by the first terminal, the method further comprises:
    接收所述第二终端向所述第一终端发送的消息,并获取所述第一终端的识别码;receiving a message sent by the second terminal to the first terminal, and obtaining an identification code of the first terminal;
    生成所述第二终端对应的第二标识码以及所述第一终端对应的所述第一标识码,并建立每个所述第一标识码与对应的所述第二标识码之间的关联关系;generating a second identification code corresponding to the second terminal and the first identification code corresponding to the first terminal, and establishing an association between each of the first identification codes and the corresponding second identification code relation;
    存储所述第一标识码、所述第二标识码以及所述关联关系。storing the first identification code, the second identification code and the association relationship.
  4. 根据权利要求3所述的通信方法,其特征在于,在接收所述第二终端向所述第一终端发送的消息之前,所述方法还包括:The communication method according to claim 3, wherein before receiving the message sent by the second terminal to the first terminal, the method further comprises:
    获取所述第二终端针对静态页面模板的请求信息;Obtaining the request information of the second terminal for the static page template;
    解析所述请求,确定所述请求信息所请求的目标模板;Parse the request, and determine the target template requested by the request information;
    从存储的多个静态页面模板中获取所述目标模板,并将所述目标模板返回至所述第二终端。The target template is obtained from a plurality of stored static page templates, and the target template is returned to the second terminal.
  5. 根据权利要求2所述的通信方法,其特征在于,在接收所述第二终端向所述第一终端发送的消息之后,所述方法还包括:The communication method according to claim 2, characterized in that, after receiving the message sent by the second terminal to the first terminal, the method further comprises:
    从候选第三终端中确定目标第三终端; determining a target third terminal from candidate third terminals;
    将所述第二终端发出的消息发送至所述目标第三终端对应的网关,并通过所述网关将所述消息发送至所述第一终端。Sending the message sent by the second terminal to the gateway corresponding to the target third terminal, and sending the message to the first terminal through the gateway.
  6. 根据权利要求1所述的通信方法,其特征在于,在将所述识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码之前,所述方法还包括:The communication method according to claim 1, characterized in that, before matching the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, the method Also includes:
    从所述反馈消息中解析验证码,并判断所述验证码和所述识别码是否匹配;parsing the verification code from the feedback message, and judging whether the verification code matches the identification code;
    在所述验证码和所述第一终端的识别码匹配的情况下,执行将所述识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码的步骤。If the verification code matches the identification code of the first terminal, matching the identification code with multiple stored first identification codes to obtain a target first identification code matching the identification code A step of.
  7. 根据权利要求1所述的通信方法,其特征在于,将所述反馈消息发送至所述目标第二标识别码对应的第二终端包括:The communication method according to claim 1, wherein sending the feedback message to the second terminal corresponding to the target second identification code comprises:
    确定所述目标第二标识码对应的应用程序接口;Determine the application program interface corresponding to the target second identification code;
    调用所述应用程序接口,通过所述应用程序接口将所述反馈消息发送至所述第二终端。calling the application program interface, and sending the feedback message to the second terminal through the application program interface.
  8. 一种通信***,其特征在于,包括:A communication system, characterized in that it includes:
    至少一个第一终端,用于接收第二终端发送的消息,并将反馈消息返回至服务器;at least one first terminal, configured to receive the message sent by the second terminal, and return the feedback message to the server;
    至少一个第二终端,用于向所述第一终端发送消息,并从所述服务器获取所述第一终端返回的所述反馈消息;at least one second terminal, configured to send a message to the first terminal, and obtain the feedback message returned by the first terminal from the server;
    服务器,用于在接收所述第二终端向所述第一终端发送的消息的情况下,生成所述第二终端的第二标识码以及所述第一终端对应的第一标识码,并建立每个所述第一标识码与对应的所述第二标识码之间的关联关系,还用于在接收所述第一终端返回的所述反馈消息时,将所述第一终端的识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,并将所述反馈消息发送至所述目标第二标识别码对应的所述第二终端。The server is configured to generate the second identification code of the second terminal and the first identification code corresponding to the first terminal when receiving the message sent by the second terminal to the first terminal, and establish The association relationship between each of the first identification codes and the corresponding second identification codes is also used to convert the identification code of the first terminal when receiving the feedback message returned by the first terminal to Matching with the multiple stored first identification codes to obtain a target first identification code matching the identification code, determining a second identification code associated with the target first identification code to obtain a target second identification code, and sending the feedback message to the second terminal corresponding to the target second identification code.
  9. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    第一接受单元,用于接收第一终端返回的反馈消息,并获取所述第一终端的识别码,其中,所述反馈消息是所述第一终端针对第二终端发出的消息的反馈消息;The first receiving unit is configured to receive a feedback message returned by the first terminal, and obtain the identification code of the first terminal, wherein the feedback message is a feedback message sent by the first terminal for a message sent by the second terminal;
    匹配单元,用于将所述识别码与存储的多个第一标识码进行匹配,得到与所述识别码匹配的目标第一标识码,其中,所述第一标识码用于标识第一终端;A matching unit, configured to match the identification code with a plurality of stored first identification codes to obtain a target first identification code matching the identification code, wherein the first identification code is used to identify the first terminal ;
    第一确定单元,用于确定与所述目标第一标识码所关联的第二标识码,得到目标第二标识码,其中,所述第二标识码用于标识第二终端; A first determining unit, configured to determine a second identification code associated with the target first identification code to obtain a target second identification code, where the second identification code is used to identify the second terminal;
    第一发送单元,用于将所述反馈消息发送至所述目标第二标识别码对应的第二终端。The first sending unit is configured to send the feedback message to the second terminal corresponding to the target second identification code.
  10. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至7中任意一项所述的通信方法。A storage medium, characterized in that the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the communication method according to any one of claims 1 to 7.
  11. 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至7中任意一项所述的通信方法。 A processor, wherein the processor is used to run a program, wherein the communication method according to any one of claims 1 to 7 is executed when the program runs.
PCT/CN2023/074215 2022-02-15 2023-02-02 Communication method, system, and apparatus, storage medium, and processor WO2023155685A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210139272.4 2022-02-15
CN202210139272.4A CN114466322B (en) 2022-02-15 2022-02-15 Communication method, system, device, storage medium and processor

Publications (1)

Publication Number Publication Date
WO2023155685A1 true WO2023155685A1 (en) 2023-08-24

Family

ID=81414382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/074215 WO2023155685A1 (en) 2022-02-15 2023-02-02 Communication method, system, and apparatus, storage medium, and processor

Country Status (2)

Country Link
CN (1) CN114466322B (en)
WO (1) WO2023155685A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466322B (en) * 2022-02-15 2024-01-23 阿里巴巴(中国)有限公司 Communication method, system, device, storage medium and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083685A1 (en) * 2010-12-24 2012-06-28 中兴通讯股份有限公司 Method and system for improving use efficiency of mapping and routing table
WO2015060950A1 (en) * 2013-10-25 2015-04-30 Alibaba Group Holding Limited Method and system for authenticating service
CN106603415A (en) * 2016-12-16 2017-04-26 成都西加云杉科技有限公司 Data processing method and device
CN113595911A (en) * 2021-09-28 2021-11-02 深圳艾灵网络有限公司 Data forwarding method and device, electronic equipment and storage medium
CN114039919A (en) * 2021-11-08 2022-02-11 杭州网易云音乐科技有限公司 Traffic scheduling method, medium, device and computing equipment
CN114466322A (en) * 2022-02-15 2022-05-10 阿里巴巴(中国)有限公司 Communication method, system, device, storage medium and processor

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640858B (en) * 2008-08-01 2014-12-10 鸿富锦精密工业(深圳)有限公司 Mobile communication device and method with information feedback function
US8849854B2 (en) * 2011-01-27 2014-09-30 Intuit Inc. Method and system for providing detailed information in an interactive manner in a short message service (SMS) environment
US8694032B1 (en) * 2012-01-27 2014-04-08 West Corporation System and method for identifying SMS messages from multiple originators using a shared shortcode
US8806209B2 (en) * 2012-12-22 2014-08-12 Wigwag, Llc Provisioning of electronic devices
US10686618B2 (en) * 2017-08-13 2020-06-16 Carbyne Ltd. Method for streaming real-time data from a user device to a dispatch unit terminal
CN107801165B (en) * 2017-10-31 2020-02-18 平安科技(深圳)有限公司 Business short message pushing method and device, computer equipment and storage medium
CN112738893B (en) * 2018-09-21 2022-04-12 华为技术有限公司 Method, related device, storage medium and system for transmitting capability information of user terminal
CN109348438B (en) * 2018-12-03 2021-08-03 北京容联易通信息技术有限公司 Customer identification method and device in short message communication process
CN110392054B (en) * 2019-07-23 2022-02-25 网易(杭州)网络有限公司 Login verification method, device, system, equipment and readable storage medium
CN110856126B (en) * 2019-10-24 2021-09-14 深圳市梦网科技发展有限公司 Information reporting and receiving method, terminal equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083685A1 (en) * 2010-12-24 2012-06-28 中兴通讯股份有限公司 Method and system for improving use efficiency of mapping and routing table
WO2015060950A1 (en) * 2013-10-25 2015-04-30 Alibaba Group Holding Limited Method and system for authenticating service
CN106603415A (en) * 2016-12-16 2017-04-26 成都西加云杉科技有限公司 Data processing method and device
CN113595911A (en) * 2021-09-28 2021-11-02 深圳艾灵网络有限公司 Data forwarding method and device, electronic equipment and storage medium
CN114039919A (en) * 2021-11-08 2022-02-11 杭州网易云音乐科技有限公司 Traffic scheduling method, medium, device and computing equipment
CN114466322A (en) * 2022-02-15 2022-05-10 阿里巴巴(中国)有限公司 Communication method, system, device, storage medium and processor

Also Published As

Publication number Publication date
CN114466322B (en) 2024-01-23
CN114466322A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
US10423377B2 (en) Method of sharing cloud printer in a cloud print system, cloud server, and cloud print system
US7319882B2 (en) Messaging system involving wireless communications and methods therefor
WO2019232825A1 (en) Information customization transmission method, device, computer device and storage medium
US20170288942A1 (en) Portal for Provisioning Autonomous Software Agents
US20170288943A1 (en) Supplying Context Data to a Servicing Entity
WO2019114417A1 (en) Information transmission method and device
JP2009527036A (en) Method and system for performing instant messaging
CN109151514A (en) Method, storage medium, equipment and the system of purchase commodity are realized in direct broadcasting room
CN105391622A (en) Method and system for sharing resources in instant messaging or social networking application
CN113079078B (en) Operation method and device of message server
WO2023155685A1 (en) Communication method, system, and apparatus, storage medium, and processor
WO2018103412A1 (en) Group chat method and system, and server and mobile terminal
CN106060075A (en) Method for realizing webpage anonymous chat
TWI621078B (en) Business object verification method and device
CN110300046B (en) Business consultation control method, terminal and server
CN105335883A (en) Order processing method and device
CN105871785B (en) Service processing method, device and system
CN114697282B (en) Message processing method and system, storage medium and electronic device
CN103685421B (en) Across data submission system, the device and method of data source
CN102045274B (en) Method and communication system for realizing information interaction based on instant messaging
CN104184771A (en) Call record calling method and device
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
WO2023088011A1 (en) Method and apparatus for transmitting interaction information, and storage medium and electronic apparatus
CN109150696B (en) Information processing method, server, client, and computer-readable storage medium
WO2019047153A1 (en) Data processing method, system, user equipment, and server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23755689

Country of ref document: EP

Kind code of ref document: A1