CN110166633B - Communication method, communication device, readable storage medium and electronic equipment - Google Patents

Communication method, communication device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN110166633B
CN110166633B CN201910420823.2A CN201910420823A CN110166633B CN 110166633 B CN110166633 B CN 110166633B CN 201910420823 A CN201910420823 A CN 201910420823A CN 110166633 B CN110166633 B CN 110166633B
Authority
CN
China
Prior art keywords
communication identifier
virtual communication
identifier
virtual
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910420823.2A
Other languages
Chinese (zh)
Other versions
CN110166633A (en
Inventor
禹睿之
王洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lazas Network Technology Shanghai Co Ltd
Original Assignee
Lazas Network Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lazas Network Technology Shanghai Co Ltd filed Critical Lazas Network Technology Shanghai Co Ltd
Priority to CN201910420823.2A priority Critical patent/CN110166633B/en
Publication of CN110166633A publication Critical patent/CN110166633A/en
Application granted granted Critical
Publication of CN110166633B publication Critical patent/CN110166633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/229Wire identification arrangements; Number assignment determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42008Systems for anonymous communication between parties, e.g. by use of disposal contact identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a communication method, a communication device, a readable storage medium and electronic equipment. The embodiment of the invention receives a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; detecting the valid period of the order corresponding to the order identifier according to the order identifier; detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period; responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and sending the second virtual communication identification. By the method, the user can be timely contacted under the condition that the virtual communication identification resources are not occupied, the virtual communication identification resources are saved, and the use experience of the user is improved.

Description

Communication method, communication device, readable storage medium and electronic equipment
Technical Field
The invention relates to the field of data processing, in particular to a communication method, a communication device, a readable storage medium and electronic equipment.
Background
With the popularization of the internet and the dependence of people on the internet, the security problem of the internet is increasingly highlighted, and as events such as property loss, security accidents and the like caused by personal information leakage are increased, the protection of the privacy of users is a problem which needs to be paid special attention at present. In the take-out industry, in order to protect the privacy of users, when the transportation capacity is used for delivering food to the users, the virtual communication identification of the users is displayed to the transportation capacity, the transportation capacity is used for dialing the virtual communication identification of the users to contact the users, but sometimes the virtual communication identification displayed to the transportation capacity cannot be used, so that the transportation capacity cannot contact the users, the problem that the food cannot be delivered is caused, and the use experience of the users is influenced.
In the prior art, in order to solve the above problems, when a system or a server allocates virtual communication identifiers for a user, two virtual communication identifiers are allocated for the user at the same time, when the capacity dials one of the virtual communication identifiers, the fault cannot be dialed, and the user cannot be connected, another standby virtual communication identifier can be dialed, so that the probability of contacting the user is increased, the user can be sent with food in time, the use experience of the user is improved, but when the two virtual communication identifiers are allocated for the user at the same time, the virtual communication identifier resources can be occupied, and especially when the number of users is large, the occupied virtual communication identifier resources can be more.
In summary, how to timely contact the user and send a meal to the user without occupying virtual communication identifier resources is a problem that needs to be solved at present.
Disclosure of Invention
In view of this, embodiments of the present invention provide a communication method, an apparatus, a readable storage medium, and an electronic device, which can contact a user in time without occupying virtual communication identifier resources, save the virtual communication identifier resources, and improve the user experience of the user.
In a first aspect, an embodiment of the present invention provides a communication method, where the method includes: receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period; responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and sending the second virtual communication identification.
Preferably, the detecting the availability of the first virtual communication identifier specifically includes: detecting service availability of a communication identifier providing device of the first virtual communication identifier; detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
Preferably, after detecting the service availability of the communication identifier providing device of the first virtual communication identifier, the method further includes: and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
Preferably, the acquiring a second virtual communication identifier in response to the unavailability of the first virtual communication identifier specifically includes: sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request; and receiving the second virtual communication identifier sent by the communication identifier providing equipment.
Preferably, the receiving the first obtaining request specifically includes: and receiving the first acquisition request sent by the communication terminal through the short message text.
Preferably, the receiving the first obtaining request specifically further includes: and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
Preferably, the sending the second virtual communication identifier specifically includes: and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
Preferably, the sending the second virtual communication identifier specifically further includes: and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
Preferably, after the sending the second virtual communication identifier, the method further includes: and after the set time, removing the corresponding relation between the first virtual communication identifier and the real communication identifier and between the second virtual communication identifier and the real communication identifier.
In a second aspect, an embodiment of the present invention provides a communication apparatus, including: the receiving unit is used for receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; the detecting unit is used for detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; the detecting unit is further configured to detect availability of the first virtual communication identifier in response to that the order corresponding to the order identifier is within an effective period; the processing unit is used for responding to the unavailability of the first virtual communication identifier and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; a sending unit, configured to send the second virtual communication identifier.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium on which computer program instructions are stored, which when executed by a processor implement the method according to the first aspect or any one of the possibilities of the first aspect.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer program instructions, where the one or more computer program instructions are executed by the processor to implement the following steps: receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period; responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and sending the second virtual communication identification.
Preferably, the detecting the availability of the first virtual communication identifier, the processor specifically executes the following steps: detecting service availability of a communication identifier providing device of the first virtual communication identifier; detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
Preferably, after detecting the service availability of the communication identifier providing device of the first virtual communication identifier, the processor further performs the following steps: and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
Preferably, the second virtual communication identifier is acquired in response to the first virtual communication identifier not being available, and the processor specifically executes the following steps: sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request; and receiving the second virtual communication identifier sent by the communication identifier providing equipment.
Preferably, the receiving the first obtaining request, the processor specifically executes the following steps: and receiving the first acquisition request sent by the communication terminal through the short message text.
Preferably, the receiving a first obtaining request, the processor further performs the following steps: and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
Preferably, the second virtual communication identifier is sent, and the processor specifically executes the following steps: and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
Preferably, the second virtual communication identifier is sent, and the processor specifically executes the following steps: and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
Preferably, after the sending of the second virtual communication identifier, the processor further performs the following steps: and after the set time, removing the corresponding relation between the first virtual communication identifier and the real communication identifier and between the second virtual communication identifier and the real communication identifier.
The method comprises the steps of firstly receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; then detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; then, in response to that the order corresponding to the order identification is in the valid period, the availability of the first virtual communication identification is detected; then responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and finally, sending the second virtual communication identifier. According to the method, when the transport capacity can not be connected with the user through the first virtual communication identifier, the first acquisition request is sent, after the server or the system receives the first acquisition request, the server or the system can determine that the order identifier corresponds to the first virtual communication identifier according to the order identifier, judge that the first virtual communication identifier is unavailable, acquire the second virtual communication identifier, send the second virtual communication identifier through the server or the system, and the transport capacity can be connected with the user through the second virtual communication identifier, so that the virtual communication identifier resources are saved, the user can be timely connected, and the use experience of the user is improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a schematic illustration of a prior art communication terminal interface display;
fig. 2 is a flow chart of a communication method according to a first embodiment of the present invention;
fig. 3 is a schematic view of an interface display of the communication terminal according to the first embodiment of the present invention;
fig. 4 is a schematic view of a communication terminal interface display according to the first embodiment of the present invention;
fig. 5 is a flow chart of a communication method according to a second embodiment of the present invention;
fig. 6 is a flow chart of a communication method according to a third embodiment of the present invention;
FIG. 7 is a diagram of an application scenario of the fourth embodiment of the present invention;
fig. 8 is a flow chart of a communication method according to a fifth embodiment of the present invention;
fig. 9 is a schematic diagram of a communication device according to a sixth embodiment of the present invention;
fig. 10 is a schematic view of an electronic apparatus of a seventh embodiment of the present invention.
Detailed Description
The present disclosure is described below based on examples, but the present disclosure is not limited to only these examples. In the following detailed description of the present disclosure, certain specific details are set forth. It will be apparent to those skilled in the art that the present disclosure may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present disclosure.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
With the development of society, the privacy disclosure incidents emerge endlessly, and people pay more and more attention to the problem of privacy protection. However, in the take-away industry, when the capacity is that the user sends a meal, the user must be contacted through a telephone, so that the telephone of the user can be acquired by a lot of capacities, in order to protect the privacy of the user, the take-away platform usually informs the capacity of the user of a virtual number corresponding to the real number of the user, and the capacity of the user is contacted according to the virtual number, wherein the virtual number may be called a virtual communication identifier, and the real number may be called a real communication identifier.
In the above scenario, the capacity may be a rider. When the capacity contacts the user, the capacity is specifically determined by the following two ways: in the first mode, the takeaway platform prints the virtual number of the user on the delivery receipt, and the capacity contacts the user through the virtual number on the delivery receipt. And secondly, the takeaway platform sends the virtual number of the user to the capacity through the application program, and the capacity contacts the user through the virtual number on the application program. If the virtual number displayed to the transportation capacity through the two modes can not be used, the transportation capacity cannot contact the user, the problem that the food cannot be delivered is caused, and the use experience of the user is influenced. In order to solve the above problems, when a system or a server allocates virtual communication identifiers to a user, two virtual communication identifiers are allocated to the user at the same time, when the capacity dials one of the virtual communication identifiers, which fails to dial and is not connected to the user, another standby virtual communication identifier can be dialed, for example, in a second formula, an interface schematic diagram of a communication terminal of the capacity is shown in fig. 1, wherein the upper part of the interface is a distribution map of an order 1, the lower part of the interface is order information of the order 1 and two virtual communication identifiers, which are respectively a virtual communication identifier 1:12634783 and a virtual communication identifier 2:90843123, the capacity can firstly contact the user through the virtual communication identifier 1, if the virtual communication identifier 1 cannot dial, the user is continuously contacted by using the virtual communication identifier 2, the probability of contacting the user is increased, and the user is timely sent a meal, the user experience is improved, but the virtual communication identifier resources can be occupied by simultaneously allocating two virtual communication identifiers for one user, and especially when the number of users is large, the occupied virtual communication identifier resources can be more. Therefore, how to timely contact the user and send a meal to the user without occupying virtual communication identification resources is a problem to be solved at present.
Fig. 2 is a flow chart of a communication method according to a first embodiment of the present invention. As shown in fig. 2, the method specifically includes the following steps:
step S200, receiving a first obtaining request, wherein the first obtaining request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification.
Specifically, the received first obtaining request may be obtained through the following two cases:
in case one, the first acquisition request is sent by the communication terminal through a short message text.
For example, the following steps are carried out: assuming that when the order 1 is delivered, the takeout platform prints the first virtual number of the user of the order 1 on the delivery receipt, the capacity cannot be used through the first virtual number on the delivery receipt, the capacity sends the order identifier of the order 1, such as the order number, to an uplink port number on the delivery receipt in a short message text form, where the uplink port number may also be referred to as an escape number, and the server or the system may receive the short message text sent through the uplink port number.
And in the second case, the first acquisition request is sent by the communication terminal through an instruction of an application program.
For example, the following steps are carried out: assuming that when the order 2 is delivered, the delivery takeout platform sends the virtual number of the user of the order 2 to the capacity through the application program, the capacity fails to contact the user through the virtual number on the application program, and the application program may actively send an instruction of the first acquisition request, or after the capacity fails to contact the user through the virtual number on the application program, a rectangular frame may be displayed on an interface of the capacity communication terminal, for example, a text in the rectangular frame is "dial again", and when the capacity triggers the rectangular frame of "dial again", the application program sends the instruction of the first acquisition request, and an interface schematic diagram of the capacity communication terminal corresponding to the above situation is shown in fig. 3. The upper part of the interface is a distribution map of order 2, and the lower part of the interface is order 2 order information, a virtual communication identifier 12634783 and a rectangle of "dial again".
Step S201, detecting a validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period.
In the embodiment of the invention, the order distribution has certain timeliness, for example, the distribution is completed within 2 hours, and the order is invalid after 2 hours, so that the validity period of the order is detected, the invalid order can be filtered, and the processing efficiency is improved.
In a specific embodiment, it is assumed that the validity period is 24 hours, that is, it is detected whether the order corresponding to the order identifier is an order within 24 hours before the time when the server or the system receives the first acquisition request, for example, when the time when the first acquisition request is received is 2019, 4, 29, 08, it is determined whether the order corresponding to the order identifier carried in the first acquisition request is an order within the time period from 2019, 4, 28, 08 to 2019, 4, 29, 08. In the embodiment of the present invention, the validity period may also be other time periods, for example, 6 hours, 8 hours, etc., and the validity period is not limited in the present invention and is determined according to the actual situation.
Step S202, responding to the order corresponding to the order identification in the valid period, and detecting the availability of the first virtual communication identification.
Specifically, if it is determined that the order corresponding to the order identifier is within the validity period, it is required to first detect whether the first virtual communication identifier corresponding to the order identifier is available, because the first virtual communication identifier may be a temporary fault, or the first acquisition request is erroneously sent by capacity, and when it is detected that the first virtual communication identifier is available, the server or the system does not perform processing, thereby avoiding resource waste.
Step S203, in response to that the first virtual communication identifier is not available, acquiring a second virtual communication identifier, where the second virtual communication identifier corresponds to the real communication identifier.
In a specific embodiment, in response to that the first virtual communication identifier is not available, sending a second obtaining request, where the second obtaining request is used to obtain a second virtual communication identifier generated by the communication identifier providing device based on the second obtaining request, and the second virtual communication identifier corresponds to a real communication identifier corresponding to the first virtual communication identifier; the communication identifier providing device generates a second virtual communication identifier after receiving the second obtaining request, the communication identifier providing device sends the second virtual communication identifier, and the server receives the second virtual communication identifier sent by the communication identifier providing device, wherein the communication identifier providing device can be a provider for improving communication services, the communication identifier providing device is used for generating virtual communication identifiers for real communication identifiers, and optionally, each real communication identifier can correspond to a plurality of virtual communication identifiers. The communication identifier providing equipment generates a virtual communication identifier corresponding to the real communication identifier in real time according to the second acquisition request, so that the resources of the virtual communication identifier can be saved. For example, the real communication identifier is 13900110011, and the virtual communication identifier generated by the communication identifier providing apparatus may be 12348765, 87651234, etc.
And step S204, sending the second virtual communication identifier.
In the implementation of the present invention, corresponding to the two cases in step S200, when sending the second virtual communication identifier, the following two specific ways are also included:
and in the first mode, the second virtual communication identifier is sent to the communication terminal through a feedback short message text.
Specifically, the server sends the second virtual communication identifier to the communication terminal in a form of feeding back a short message text
And secondly, sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
Specifically, the feedback instruction carries the second virtual communication identifier, and the second virtual communication identifier is sent to the communication terminal through the feedback instruction, for example, the second virtual communication identifier carried in the feedback instruction is "95162841", the virtual communication identifier in fig. 3 is updated to "12634783" as "95162841", and specifically, an interface schematic diagram of the communication terminal with capacity is shown in fig. 4. The upper part of the interface is a distribution map of the order 2, and the lower part of the interface is the order information of the order 2 and the updated virtual communication identifier 95162841.
Fig. 5 is a flow chart of a communication method according to a second embodiment of the present invention. As shown in fig. 5, specifically, the step S202 specifically includes:
step S2021, detecting service availability of the communication identifier providing device of the first virtual communication identifier.
In one embodiment, the virtual communication identifier can be generated for the real communication identifier only when the service of the communication identifier providing device can be used normally, and therefore, it is necessary to preferentially determine whether the service of the communication identifier providing device is available.
Step S2022, detecting a communication identifier availability of the first virtual communication identifier in response to the service availability of the communication identifier providing apparatus.
Specifically, if the service of the communication identifier providing device is available, it is preferred to detect whether the first virtual communication identifier is available, because the first virtual communication identifier may be a temporary failure, or the first acquisition request is sent by mistake, and when it is detected that the first virtual communication identifier is available, the server or the system does not process the first virtual communication identifier, thereby avoiding resource waste.
Optionally, after the step S2021, the method further includes:
step S2023, in response to that the service of the communication identifier providing apparatus is unavailable, sending a real communication identifier corresponding to the first virtual communication identifier.
In a specific embodiment, since the service of the communication identifier providing device is unavailable, that is, the virtual communication identifier cannot be used to contact the user, but the user cannot be contacted to send a meal to the user, which may affect the user experience, in this particular case, the real communication identifier needs to be sent to the communication terminal, so that the user is contacted by the transportation capability through the real communication identifier.
Optionally, if the user sets in advance that the real communication identifier is not used, in this case, the server also prohibits sending the real communication identifier to the communication terminal of the capacity.
In a possible embodiment, when the capacity cannot contact the user by adopting any of the above embodiments, the service has no responsibility to cancel the order, and the capacity does not need to take responsibility.
Fig. 6 is a flow chart of a communication method according to a third embodiment of the present invention. As shown in fig. 6, after step S204, the method further includes:
step S205, after the time is set, removing the correspondence between the first virtual communication identifier and the real communication identifier, and the second virtual communication identifier and the real communication identifier.
In a specific embodiment, assuming that the set time is 24 hours, when the correspondence between the first virtual communication identifier and the real communication identifier or when the correspondence between the second virtual communication identifier and the real communication identifier starts to be timed at the generation time of the correspondence, after 24 hours, the correspondence between the first virtual communication identifier and the second virtual communication identifier and the real communication identifier is released, the first virtual communication identifier and the second virtual communication identifier are reused, and specifically, at different time periods, the unified virtual communication identifier may correspond to a plurality of real communication identifiers, and virtual communication identifier resources are fully utilized. For example, the virtual communication identifier "12365478" and the real communication identifier "13840004000" are in a corresponding relationship between 24/8/4/2019 and 25/8/4/2019, and after 8/4/25/2019, the virtual communication identifier "12365478" is released and can be in a corresponding relationship with a new real communication identifier "13960004000". In the embodiment of the present invention, the set time may be 2 hours, 4 hours, and the like, and the set time is not limited in the present invention and is specifically determined according to an actual situation.
Fig. 7 is an application scenario diagram of a fourth embodiment of the present invention, including a capacity communication terminal, a server, and a communication identifier providing device, where the server may also be referred to as a system, and the communication identifier providing device is a provider for improving communication services, where the capacity communication terminal, the server, and the communication identifier providing device may be 1 or more. The method comprises the steps of firstly receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; then detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; then, in response to that the order corresponding to the order identification is in the valid period, the availability of the first virtual communication identification is detected; then responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and finally, sending the second virtual communication identifier. According to the method, when the transport capacity can not be connected with the user through the first virtual communication identifier, the first acquisition request is sent, after the server or the system receives the first acquisition request, the server or the system can determine that the order identifier corresponds to the first virtual communication identifier according to the order identifier, judge that the first virtual communication identifier is unavailable, acquire the second virtual communication identifier, send the second virtual communication identifier through the server or the system, and the transport capacity can be connected with the user through the second virtual communication identifier, so that the virtual communication identifier resources are saved, the user can be timely connected, and the use experience of the user is improved.
In a specific embodiment, as an application scenario shown in fig. 7, taking 1 of the capacity communication terminal, the server, and the communication identifier providing device as an example, a flowchart of a communication method according to a fifth embodiment of the present invention is shown in fig. 8:
step S800, the capacity communication terminal sends a first acquisition request.
Step S801, the server receives the first acquisition request.
Specifically, the first obtaining request carries an order identifier, the order identifier corresponds to a first virtual communication identifier, and the first virtual communication identifier corresponds to a real communication identifier.
And S802, the server detects the valid period of the order corresponding to the order identifier according to the order identifier.
Step S803, the server detects that the order corresponding to the order identifier is in the valid period, and detects service availability of the communication identifier providing device of the first virtual communication identifier.
Step S804, the server detects that the service of the communication identifier providing device is available, and detects the communication identifier availability of the first virtual communication identifier.
Step S805, the server detects that the first virtual communication identifier is not available, and sends a second acquisition request to the communication identifier providing device.
Specifically, the second obtaining request is used to obtain a second virtual communication identifier
Step S806, the communication identifier providing apparatus receives the second obtaining request.
Step S807, the communication identifier providing device determines, according to the second acquisition request, a second virtual communication identifier corresponding to the real communication identifier.
Step S808, the communication identifier providing device sends the second virtual communication identifier.
Step S809, the server receives the second virtual communication identifier.
Step S810, the server sends the second virtual communication identifier.
Step S811, the capacity communication terminal receives the second virtual communication identifier.
In the embodiment of the invention, the new virtual communication identifier is provided for the capacity to contact the user through the steps.
Fig. 9 is a diagram of a communication device according to a sixth embodiment of the present invention. As shown in fig. 9, the apparatus of the present embodiment includes a receiving unit 91, a detecting unit 92, a processing unit 93, and a transmitting unit 94.
The receiving unit 91 is configured to receive a first acquisition request, where the first acquisition request carries an order identifier, the order identifier corresponds to a first virtual communication identifier, and the first virtual communication identifier corresponds to a real communication identifier; the detecting unit 92 is configured to detect a validity period of the order corresponding to the order identifier according to the order identifier, where the validity period is a set time period; the detecting unit 92 is further configured to detect, in response to that the order corresponding to the order identifier is within an effective period, availability of the first virtual communication identifier; a processing unit 93, configured to, in response to that the first virtual communication identifier is not available, obtain a second virtual communication identifier, where the second virtual communication identifier corresponds to the real communication identifier; a sending unit 94, configured to send the second virtual communication identifier.
Further, the detecting unit 92 is specifically configured to: detecting service availability of a communication identifier providing device of the first virtual communication identifier; detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
Further, after detecting the service availability of the communication identifier providing device of the first virtual communication identifier, the sending unit 94 is further specifically configured to: and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
Further, the processing unit 93 is specifically configured to: sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request; the receiving unit 91 is further configured to receive a second virtual communication identifier sent by the communication identifier providing apparatus.
Further, the receiving unit 91 is specifically configured to: and receiving the first acquisition request sent by the communication terminal through the short message text.
Further, the receiving unit 91 is further specifically configured to: and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
Further, the sending unit 94 is specifically configured to: and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
Further, the sending unit 94 is further specifically configured to: and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
Further, the device further comprises a removing unit, configured to remove, after a set time, a correspondence between the first virtual communication identifier and the real communication identifier and the second virtual communication identifier.
Fig. 10 is a schematic view of an electronic apparatus of a seventh embodiment of the present invention. In this embodiment, the electronic device is a server. It should be understood that other electronic devices, such as raspberry pies, are also possible. As shown in fig. 10, the electronic device: includes at least one processor 1001; and memory 1002 communicatively coupled to the at least one processor 1001; and a communication component 1003 communicatively coupled with the scanning device, the communication component 1003 receiving and transmitting data under the control of the processor 1001; the memory 1002 stores instructions executable by the at least one processor 1001, and the instructions are executed by the at least one processor 1001 to implement: receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification; detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period; detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period; responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier; and sending the second virtual communication identification.
Further, the detecting whether the first virtual communication identifier is available, where the processor specifically executes the following steps: detecting service availability of a communication identifier providing device of the first virtual communication identifier; detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
Further, after detecting the service availability of the communication identifier providing device of the first virtual communication identifier, the processor further performs the following steps: and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
Further, the processor specifically executes the following steps to acquire a second virtual communication identifier in response to the first virtual communication identifier not being available: sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request; and receiving the second virtual communication identifier sent by the communication identifier providing equipment.
Further, when receiving the first obtaining request, the processor specifically executes the following steps: and receiving the first acquisition request sent by the communication terminal through the short message text.
Further, the receiving the first obtaining request, the processor further performs the following steps: and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
Further, the second virtual communication identifier is sent, and the processor specifically executes the following steps: and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
Further, the second virtual communication identifier is sent, and the processor specifically executes the following steps: and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
Further, after sending the second virtual communication identifier, the processor further performs the following steps: and after the set time, removing the corresponding relation between the first virtual communication identifier and the real communication identifier and between the second virtual communication identifier and the real communication identifier.
Specifically, the electronic device includes: one or more processors 1001 and a memory 1002, with one processor 1001 being an example in fig. 10. The processor 1001 and the memory 1002 may be connected by a bus or by other means, and fig. 10 illustrates the case where the processor and the memory are connected by a bus. Memory 1002, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 1001 executes various functional applications of the device and data processing by executing nonvolatile software programs, instructions, and modules stored in the memory 1002, that is, implements the above-described communication method.
The memory 1002 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory 1002 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 1002 may optionally include memory located remotely from the processor 1001, which may be connected to an external device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 1002 and, when executed by the one or more processors 1001, perform the communication method in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, has corresponding functional modules and beneficial effects of the execution method, and can refer to the method provided by the embodiment of the application without detailed technical details in the embodiment.
An eighth embodiment of the invention is directed to a non-volatile storage medium storing a computer-readable program for causing a computer to perform some or all of the method embodiments described above.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific embodiments for practicing the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (20)

1. A method of communication, the method comprising:
receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification;
detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period;
detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period;
responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier;
sending the second virtual communication identifier;
wherein the communication identifier is a telephone number.
2. The method according to claim 1, wherein the detecting the availability of the first virtual communication identifier specifically comprises:
detecting service availability of a communication identifier providing device of the first virtual communication identifier;
detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
3. The method of claim 2, wherein after detecting the service availability of the communication identity providing device of the first virtual communication identity, the method further comprises:
and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
4. The method of claim 1, wherein the obtaining a second virtual communication identifier in response to the first virtual communication identifier being unavailable comprises:
sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request;
and receiving the second virtual communication identifier sent by the communication identifier providing equipment.
5. The method of claim 1, wherein the receiving the first acquisition request specifically comprises:
and receiving the first acquisition request sent by the communication terminal through the short message text.
6. The method of claim 1, wherein receiving the first acquisition request further comprises:
and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
7. The method of claim 5, wherein sending the second virtual communication identifier specifically comprises:
and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
8. The method of claim 6, wherein sending the second virtual communication identifier further comprises:
and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
9. The method of claim 1, wherein after said transmitting said second virtual communication identification, the method further comprises:
and after the set time, removing the corresponding relation between the first virtual communication identifier and the real communication identifier and between the second virtual communication identifier and the real communication identifier.
10. A communications apparatus, comprising:
the receiving unit is used for receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification;
the detecting unit is used for detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period;
the detecting unit is further configured to detect availability of the first virtual communication identifier in response to that the order corresponding to the order identifier is within an effective period;
the processing unit is used for responding to the unavailability of the first virtual communication identifier and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier;
a sending unit, configured to send the second virtual communication identifier;
wherein the communication identifier is a telephone number.
11. A computer-readable storage medium on which computer program instructions are stored, which, when executed by a processor, implement the method of any one of claims 1-9.
12. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to perform the steps of:
receiving a first acquisition request, wherein the first acquisition request carries an order identification, the order identification corresponds to a first virtual communication identification, and the first virtual communication identification corresponds to a real communication identification;
detecting the validity period of the order corresponding to the order identifier according to the order identifier, wherein the validity period is a set time period;
detecting the availability of the first virtual communication identifier in response to the fact that the order corresponding to the order identifier is in the valid period;
responding to the unavailability of the first virtual communication identifier, and acquiring a second virtual communication identifier, wherein the second virtual communication identifier corresponds to the real communication identifier;
sending the second virtual communication identifier;
wherein the communication identifier is a telephone number.
13. The electronic device of claim 12, wherein said detecting the availability of the first virtual communication identifier, the processor is further configured to:
detecting service availability of a communication identifier providing device of the first virtual communication identifier;
detecting a communication identity availability of the first virtual communication identity in response to a service of the communication identity providing device being available.
14. The electronic device of claim 13, wherein after detecting the service availability of the communication identity providing device of the first virtual communication identity, the processor further performs the steps of:
and responding to the unavailability of the service of the communication identifier providing equipment, and sending a real communication identifier corresponding to the first virtual communication identifier.
15. The electronic device of claim 12, wherein the processor is further configured to obtain a second virtual communication identifier in response to the first virtual communication identifier not being available, and to perform the following steps:
sending a second acquisition request in response to the first virtual communication identifier not being available, wherein the second acquisition request is used for acquiring a second virtual communication identifier generated by the communication identifier providing equipment based on the second acquisition request;
and receiving the second virtual communication identifier sent by the communication identifier providing equipment.
16. The electronic device of claim 12, wherein, upon receiving the first acquisition request, the processor is further configured to:
and receiving the first acquisition request sent by the communication terminal through the short message text.
17. The electronic device of claim 12, wherein the receiving a first acquisition request, the processor further performs the steps of:
and receiving the first acquisition request sent by the communication terminal through an instruction of an application program.
18. The electronic device of claim 16, wherein the second virtual communication identification is sent, and wherein the processor is further configured to:
and sending the second virtual communication identifier to the communication terminal through a feedback short message text.
19. The electronic device of claim 17, wherein the second virtual communication identification is sent, and wherein the processor is further configured to:
and sending the second virtual communication identifier to an application program of the communication terminal through a feedback instruction.
20. The electronic device of claim 12, wherein after said sending said second virtual communication identification, said processor further performs the steps of:
and after the set time, removing the corresponding relation between the first virtual communication identifier and the real communication identifier and between the second virtual communication identifier and the real communication identifier.
CN201910420823.2A 2019-05-20 2019-05-20 Communication method, communication device, readable storage medium and electronic equipment Active CN110166633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910420823.2A CN110166633B (en) 2019-05-20 2019-05-20 Communication method, communication device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420823.2A CN110166633B (en) 2019-05-20 2019-05-20 Communication method, communication device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110166633A CN110166633A (en) 2019-08-23
CN110166633B true CN110166633B (en) 2021-01-26

Family

ID=67631441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420823.2A Active CN110166633B (en) 2019-05-20 2019-05-20 Communication method, communication device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110166633B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143111B (en) * 2021-12-08 2024-07-12 北京中电普华信息技术有限公司 Communication management method and related device in distribution network rush repair process

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986846A (en) * 2014-05-16 2014-08-13 中国联合网络通信集团有限公司 Method and system for protecting phone numbers of online shopping users
CN106157079A (en) * 2015-04-13 2016-11-23 阿里巴巴集团控股有限公司 The exchange method of order data and server
CN108734344A (en) * 2018-05-07 2018-11-02 拉扎斯网络科技(上海)有限公司 Order distribution prediction method, device, equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005500713A (en) * 2001-04-03 2005-01-06 ポリキューブ カンパニー,リミテッド Virtual telephone number service method and system
US9220000B1 (en) * 2013-05-03 2015-12-22 Sprint Communications Company L.P. Temporary device numbers for text messaging
CN104093136B (en) * 2014-07-21 2017-11-10 中国电信股份有限公司 Obtain method and system, the virtual number service platform of virtual-number
CN108696864B (en) * 2017-04-06 2021-04-23 北京嘀嘀无限科技发展有限公司 Virtual number request and transmission method, device and storage medium
CN107333013B (en) * 2017-06-30 2020-08-25 北京金山安全软件有限公司 Session establishing method, device, electronic equipment and storage medium
CN109242005A (en) * 2018-08-22 2019-01-18 北京三快在线科技有限公司 The recognition methods and device of information of vehicles, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986846A (en) * 2014-05-16 2014-08-13 中国联合网络通信集团有限公司 Method and system for protecting phone numbers of online shopping users
CN106157079A (en) * 2015-04-13 2016-11-23 阿里巴巴集团控股有限公司 The exchange method of order data and server
CN108734344A (en) * 2018-05-07 2018-11-02 拉扎斯网络科技(上海)有限公司 Order distribution prediction method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110166633A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN108712485B (en) Resource subscription method and device for Internet of things equipment
EP3509270A1 (en) Data backup method and device, storage medium and electronic apparatus
CN107769932B (en) Charging method, device and system
CN110730472B (en) Communication certificate state detection method and server
CN113067859B (en) Communication method and device based on cloud mobile phone
CN109348434B (en) Scene information sending method, sending device and terminal equipment
CN108390786B (en) Business operation and maintenance method and device and electronic equipment
CN103677988A (en) Multi-process communication method and system for software system
CN105165035B (en) Have both the multimedia message transmission of text message transmission
CN110166633B (en) Communication method, communication device, readable storage medium and electronic equipment
CN102065371A (en) Method and device for processing system messages of component carriers to be acquired
CN107341059A (en) A kind of wechat public number concurrent message treatment mechanism
CN101800928A (en) Group positioning method, device and system
CN108241616B (en) Message pushing method and device
CN102841843A (en) Method and device for judging compatibility
CN115412609B (en) Service processing method, device, server and storage medium
CN110908881B (en) Buried point data transmitting method and device, electronic equipment and computer readable storage medium
KR20110018022A (en) Communication service method suing temporary identification number, method of providing service using the same, and system for the same
CN107766232B (en) Plug-in management method and device
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN109348053B (en) Telephone number mark processing method, server, terminal device and computer readable storage medium
CN114302351A (en) Short message service processing method and device, computer equipment and storage medium
CN113993124A (en) Number portability method, number portability device, communication terminal, and storage medium
CN106230878A (en) A kind of equipment service calling method based on AllJoyn framework and device
CN112989323A (en) Process detection method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant