CN114205465A - Communication method, cloud device, terminal device, electronic device, and storage medium - Google Patents

Communication method, cloud device, terminal device, electronic device, and storage medium Download PDF

Info

Publication number
CN114205465A
CN114205465A CN202111177144.0A CN202111177144A CN114205465A CN 114205465 A CN114205465 A CN 114205465A CN 202111177144 A CN202111177144 A CN 202111177144A CN 114205465 A CN114205465 A CN 114205465A
Authority
CN
China
Prior art keywords
target
transit
numbers
user
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111177144.0A
Other languages
Chinese (zh)
Inventor
王磊
曹晶
林蓉晖
解敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuzhou Online E Commerce Beijing Co ltd
Original Assignee
Wuzhou Online E Commerce Beijing 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 Wuzhou Online E Commerce Beijing Co ltd filed Critical Wuzhou Online E Commerce Beijing Co ltd
Priority to CN202111177144.0A priority Critical patent/CN114205465A/en
Publication of CN114205465A publication Critical patent/CN114205465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/487Arrangements for providing information services, e.g. recorded voice services or time announcements
    • H04M3/493Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a communication method, a cloud device, a terminal device, electronic equipment and a storage medium. An embodiment of the method comprises: receiving a directory enquiry request which comprises a calling number and a target transit number; determining a target geographical area based on the calling number and/or the target transit number; and selecting the real communication number of the target user in the target geographic area from the real communication numbers bound by the target transit numbers, and returning the selected real communication number. The embodiment can reduce the cost while protecting the privacy of the user.

Description

Communication method, cloud device, terminal device, electronic device, and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a communication method, a cloud device, a terminal device, electronic equipment and a storage medium.
Background
With the development of social civilization, privacy protection is more and more emphasized by the public. In the field of communications, protection of user privacy is typically achieved by the AXN mode. Wherein, a is the real communication number of the user, X is the transit number (also called as the trumpet or the privacy number), and N is any number. In AXN mode, any number can be ported to an a number by dialing an X number.
In the prior art, each transfer number can only be bound with one real communication number, and the same transfer number cannot be reused, so that a large number of transfer numbers need to be rented and maintained, and the cost is high.
Disclosure of Invention
The embodiment of the application provides a communication method, a cloud device, a terminal device, an electronic device and a computer readable medium, so that the renting amount and the maintenance amount of a privacy number are reduced, and the cost is reduced.
In a first aspect, an embodiment of the present application provides a communication method, including: receiving a directory enquiry request, wherein the directory enquiry request comprises a calling number and a target transit number; determining a target geographical area based on the calling number and/or the target transit number; and selecting the real communication number of the target user in the target geographic area from the real communication numbers bound by the target transit number, and returning the selected real communication number.
In a second aspect, an embodiment of the present application provides a cloud device, including: the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is configured to receive a directory enquiry request which comprises a calling number and a target transit number; a determining unit configured to determine a target geographical area based on the calling number and/or the target transit number; and the selecting unit is configured to select the real communication numbers of the target users in the target geographic area from the real communication numbers bound by the target transit numbers, and return the selected real communication numbers.
In a third aspect, an embodiment of the present application further provides a terminal apparatus, where the apparatus includes: the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is configured to send a directory enquiry request which comprises a calling number and a target transit number; a receiving unit configured to receive a real communication number of a target user bound to the target transit number and located in a target geographic area, the target geographic area being determined based on the calling number and/or the target transit number.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform a communication method as described in one or more of the embodiments of the present application.
In a fifth aspect, this application further provides one or more machine-readable media having executable code stored thereon, which when executed, causes a processor to perform a communication method as described in one or more of the embodiments of the application.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, the target geographical area is determined through the calling number and/or the target transit number carried in the directory inquiry request, then the real communication numbers of the target users in the target geographical area are selected from the real communication numbers bound by the target transit number, and the real communication numbers are returned, so that the target users to be forwarded can be accurately determined through determining the target geographical area under the condition that the same transit number and the real communication numbers of a plurality of users in different geographical areas have a binding relationship. Therefore, the same transfer number can be reused across geographic areas at the same time, the number of transfer numbers required to be rented and maintained is greatly reduced, and the cost is reduced.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1A is a schematic diagram of an application scenario of the communication method of the present application;
FIG. 1B is a flow chart of one embodiment of a communication method of the present application;
FIG. 2 is a flow chart of yet another embodiment of a communication method of the present application;
fig. 3 is a schematic structural diagram of an embodiment of a cloud device according to the present application;
fig. 4 is a schematic structural diagram of an embodiment of a terminal apparatus of the present application;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The embodiment of the application can be applied to communication scenes, such as communication scenes between distributors (such as couriers, meal deliverers and the like) and users in logistics distribution links of express delivery, takeaway meal delivery and the like, communication scenes between various intermediaries and the users and the like. In these communication scenarios, to protect user privacy, communication via the AXN mode may be employed. Wherein, a is the real communication number of the user, X is the transit number (also called as the small number or the privacy number), and N is any communication number (such as the communication numbers of couriers, meal delivery staff, intermediaries, etc.). Any communication number can be switched to the a number by dialing the X number.
In the AXN mode, multiplexing of the X number is difficult. For example, assume a case where two sets of binding relationships exist at the same time as follows: a. the1XN and A2And (4) XN. When a B-number (one of N-numbers) calls an X-number, it is not possible to specify the specific transfer to A1Number is also A2Therefore, the same X-number cannot bind a plurality of a-numbers at the same time. Since the transit numbers in the AXN cannot be multiplexed, a large number of number resources are required to support the communication requirement when the AXN mode is adopted in the actual application, and high cost is required. In addition, although the relay number can be extended by the extension number, for example, the relay number is extended to 13700001234-0001, 13700001234-0002, etc., to realize the multiplexing of the relay number, this method requires the user to dial the relay number first and then the extension number when requesting communication,it is inconvenient to operate and still requires maintenance of a large number of extension numbers.
The method and the device have the advantages that the geographical area where the user is located serves as the parameter for reusing the transfer numbers, so that the same transfer number can be reused in different geographical areas, the number of the transfer numbers which need to be rented and maintained can be greatly reduced, and cost is reduced. Meanwhile, when the calling party dials the transfer number, the target geographic area can be automatically identified so as to lock the target user, the calling party does not need to input the extension number, and the damage to the communication experience of the user is avoided.
Please refer to fig. 1A. Fig. 1A is a schematic view of an application scenario of the communication method of the present application, where the scenario is an express delivery scenario. In this scenario, the execution subject of the communication method may be a number management server. The number management server can be used for storing and managing communication numbers and transit numbers. The number management server may be communicatively coupled to the base communication server to receive and respond to directory enquiries sent by the base communication server. The base communication server may be a server of a communication carrier, which may make a call to a communication number according to a communication request.
The number management server can record the real communication number of the user in each city and the transfer number bound by the real communication number. The same transit number can be bound with the real communication numbers of users in different geographic areas (such as a direct district city, a grade city, and the like), and the same transit number can only bind the real communication number of one user in each geographic area. As shown in fig. 1A, a transit number managed by the number management server is "1167 x", which may simultaneously bind a real communication number "135 x.
The number management server may also record the communication numbers of couriers located in various cities. As shown in fig. 1A, the communication numbers of courier 1 and courier 2 located in the state of hangzhou, the communication numbers of courier 3 and courier 4 located in the fun, and the like may be recorded.
In the scenario illustrated in fig. 1A, the base communication server may send a directory inquiry request carrying a calling number (e.g., "151 x" of courier 1 located in the state) and a destination transit number (e.g., "1167 x" above) to the number management server. After receiving the directory number request sent by the base communication server, the number management server may determine that the target geographic area is hangzhou based on the calling number (e.g., the communication number "151" of courier 1 located in hangzhou) and the target transit number (e.g., the aforementioned "1167"). The actual number of the destination subscriber in the state (i.e., the actual number of recipient a "135 x") may then be selected from the actual number of the destination subscriber bound by the destination intermediary number (e.g., the actual number of recipient a "135 x", the actual number of recipient B "138 x", etc.) in the state, and returned to the base communications server.
Therefore, the target user to be forwarded can be accurately judged by determining the target geographic area under the condition that the same forwarding number and the real communication numbers of a plurality of users located in different geographic areas have the binding relationship. The same transfer number is supported to be reused across geographic areas at the same time, so that the number of transfer numbers required to be rented and maintained is greatly reduced, and the cost is reduced. In addition, when the calling party dials the transfer number, the target geographic area can be automatically identified so as to lock the target user, the calling party does not need to input the extension number, and the damage to the communication experience of the user is avoided.
Please continue to refer to fig. 1B. Fig. 1B is a flowchart of an embodiment of a communication method of the present application. The specific treatment process comprises the following steps:
step 101, receiving a directory enquiry request, wherein the directory enquiry request comprises a calling number and a target transit number.
In the present embodiment, the execution subject of the communication method (such as the number management server shown in fig. 1A) may receive the directory inquiry request. The directory enquiry request may be sent by another server (such as the base communication server shown in fig. 1A) upon receipt of the communication request.
The directory number request may include, but is not limited to, a calling number and a target transit number. The directory enquiry request can be used for requesting enquiry of the real communication number bound by the target transit number. The communication request is used for requesting the calling number to establish communication with the target transit number.
Taking the express delivery scene as an example, when the communication number of a certain courier is "151 × × and the communication number of a certain recipient (i.e., the privacy number)" 1167 × is dialed by a calling device (e.g., a mobile terminal such as a mobile phone), the calling device sends a communication request with the relay number "1167 ×" to the base communication server. At this time, the communication number "151" of the courier may be a calling number, and the relay number "1167" of the recipient may be a target relay number. After receiving the communication request, the base communication server may send a directory query carrying the calling number "151" and the destination transfer number "1167" to the execution agent.
And 102, determining a target geographical area based on the calling number and/or the target transit number.
In this embodiment, the executing body may determine the target geographic area based on the geographic area corresponding to the calling number, may determine the target geographic area based on the target relay number when the target relay number has geographic area information, and may also determine the target geographic area by combining the calling number and the target relay number at the same time. The geographic region herein may refer to a direct municipality, a prefecture city, etc.
In some optional implementation manners of this embodiment, a large number of communication numbers may be recorded in the execution main body, and a geographical area corresponding to each communication number is noted. If the target transfer number is a mobile phone number, the execution body may determine whether a record of the calling number exists in the local database. If the calling number is inquired, the remark geographic area of the calling number can be further inquired, and the remark geographic area is determined as the target geographic area. It should be noted that, if the destination transit number is a landline number, the destination geographic area may also be determined in the same manner, which is not limited herein.
Taking the field of express delivery as an example, the execution main body can be maintained with a number pool. The number pool can store a large number of communication numbers of couriers, and is annotated with a geographical area corresponding to each communication number. The executing agent may query a remarked geographic area of the calling number and determine the remarked geographic area as the target geographic area. And if the remarked geographic area of the calling number is Hangzhou, the target geographic area is Hangzhou. It should be noted that, in addition to the communication number of the courier, the number pool may also store the real communication number of the recipient, and note the geographical area corresponding to each real communication number, and may also record the transit number bound by the real communication number.
In some optional implementations of this embodiment, when the target transit number is a fixed-line number, since the fixed-line number usually includes an area code, the executing entity may determine the target geographic area only according to the target transit number. Specifically, the geographic area corresponding to the area code in the target transit number may be queried, and the geographic area may be determined as the target geographic area. For example, if the area code in the destination transit number is 010, the destination geographic area is beijing. If the area code in the target transit number is 028, the target geographic area is the success.
In some optional implementation manners of this embodiment, the executing body may further query the real communication numbers bound to the target transit number, and determine the geographic area remarked by each queried real communication number. If the at least two real communication numbers are inquired to be bound with the target transit number, the remark geographic area of the calling number can be inquired, and therefore the remark geographic area of the calling number is determined to be the target geographic area.
And 103, selecting the real communication number of the target user in the target geographical area from the real communication numbers bound by the target transit numbers, and returning the selected real communication number.
In this embodiment, the same transit number may be bound to real communication numbers of users located in different geographic areas (e.g., a direct municipality, a grade municipality, etc.), so that the same transit number may be bound to one or more real communication numbers. Compared with the mode that each transit number can be bound with one real communication number in the prior art, the binding mode in the embodiment of the application can support the same transit number to be reused across geographic areas, the number of the transit numbers needing to be rented and maintained is greatly reduced, and therefore cost is reduced.
In addition, in the present embodiment, the same transit number can only bind the real communication number of one user in each geographic area, that is, the real communication numbers of two users in the same geographic area do not bind the same transit number. Thereby ensuring normal communication with the user's real communication number. Meanwhile, the calling user does not need to input the extension number, and the damage to the communication experience of the user is avoided.
In this embodiment, after querying the target geographic area, the executing entity may query the real communication number bound to the target transit number. Each inquired real communication number can correspond to a user in a geographic area, and the execution main body can take the user in the target geographic area as a target user to acquire the real communication number of the target user. Here, the target user is a called user who requests communication from the calling user. For example, the calling user is a courier, and the target transit number binds a real communication number of a recipient Zhao located in Beijing, a real communication number of a recipient King located in Chengdu, a real communication number of a recipient Sunzo located in Hangzhou, and a real communication number of a recipient Zhao located in Jiaxing. If the target geographic area is Hangzhou, the target user is a receiver located in Hangzhou, and the real communication number of the bound receiver can be obtained.
After acquiring the real communication number of the target user, the execution main body may return the real communication number to the basic communication server. Therefore, the basic communication server can be switched to the real communication number, so that the communication between the calling user and the target user is realized.
In some optional implementations of this embodiment, the target transit number and the original communication number of the target user are bound in advance through the following sub-steps:
and a substep S11 of querying a target geographic area in which the target user is located.
Here, the target geographical area where the target user is located may be queried in a variety of ways.
By way of example, the target geographic area in which the target user is located may be queried by way of location.
As yet another example, the logistics order information of the target user may be obtained first; and then, determining a target geographical area where the target user is located based on the addressee in the logistics order information.
And a substep S12, taking the transfer numbers which are not bound with any user in the target geographic area as candidate transfer numbers, and selecting the target transfer numbers from the candidate transfer numbers.
Here, the target geographical area where the target user is located may be queried in a variety of ways.
As an example, one transit number may be randomly selected from the candidate transit numbers as the target transit number.
As yet another example, the duration of the unbinding state of each candidate transit number may be acquired first. The duration of the unbinding state is the duration of the last unbinding of the candidate transit number from the last time. Taking an express delivery scene as an example, for a certain transit number, if a certain real communication number with a binding relationship is not dialed through the transit number for a certain time (for example, one month), the transit number and the real communication number can be unbound. Then, the candidate transit numbers can be sorted according to the duration of the unbinding state. And finally, selecting target transit numbers (such as transit numbers with the maximum duration in the unbinding state) from the candidate transit numbers based on the sorting result. Therefore, the transit number which is not bound with the real communication number for a long time can be preferentially used, so that the transit number is prevented from being forwarded to a wrong user when a calling user (such as a courier) dials the transit number.
As still another example, the execution agent may determine the target logistics company based on the logistics order information of the target user. And then, for each candidate transfer number, taking the user corresponding to the real communication number which is bound by the candidate transfer number for the last time as a historical user, and determining the historical logistics company corresponding to the candidate transfer number based on historical logistics order information of the historical user. And finally, sorting the candidate transfer numbers of the historical logistics companies, which are different from the target logistics companies, according to the duration of the unbinding state, so as to select the target transfer number (such as the transfer number with the maximum duration of the unbinding state) based on the sorting result. Therefore, the selected target transit number is different from the corresponding logistics company when being bound last time, and troubles to calling users (such as couriers) and target users can be avoided to the greatest extent.
And a substep S13 of binding the target transit number with the real communication number of the target user. Here, the binding can be a process of establishing a corresponding relationship. The binding between the target transit number and the real communication number of the target user can be performed in a key value peer-to-peer manner, which is not specifically limited herein.
The method provided by the embodiment of the application determines the target geographical area through the calling number and/or the target transit number carried in the directory inquiry request, then selects the real communication numbers of the target users in the target geographical area from the real communication numbers bound by the target transit number, and returns the real communication numbers, so that the target users to be forwarded can be accurately determined by determining the target geographical area under the condition that the same transit number and the real communication numbers of a plurality of users in different geographical areas have a binding relationship. Therefore, the same transfer number can be reused across geographic areas at the same time, the number of transfer numbers required to be rented and maintained is greatly reduced, and the cost is reduced.
With continued reference to fig. 2, a flow chart of one embodiment of a communication method of the present application is shown. The flow of the communication method comprises the following steps:
step 201, receiving a directory enquiry request, wherein the directory enquiry request comprises a calling number and a target transit number.
In the present embodiment, the execution subject of the communication method (such as the number management server shown in fig. 1A) may receive the directory inquiry request. The directory enquiry request may be sent by another server (such as the base communication server shown in fig. 1A) upon receipt of the communication request. The directory number request may include, but is not limited to, a calling number and a target transit number.
Step 202, determining a target geographical area based on the calling number and/or the target transit number.
In this embodiment, the executing entity may determine the target geographic area based on the calling number and/or the target transit number carried in the directory assistance request.
In some optional implementations of this embodiment, the executing entity may determine the target geographic area according to the calling number. Specifically, the execution main body may record a large number of calling numbers, and may be annotated with a geographical area corresponding to each calling number. If the target transit number is a mobile phone number, the execution subject can inquire the remark geographic area of the calling number and determine the remark geographic area as the target geographic area. It should be noted that, if the destination transit number is a landline number, the destination geographic area may also be determined in the same manner, which is not limited herein.
In some optional implementation manners of this embodiment, when the target transfer number is a landline number, the executing entity may determine the target geographic area only according to the target transfer number. Specifically, the area code is usually included in the base number. The executing agent may determine the target geographical area based on the area code in the target transfer number.
In some optional implementation manners of this embodiment, the executing body may further query the real communication numbers bound to the target transit number, and determine the geographic area remarked by each queried real communication number. If the at least two real communication numbers are inquired to be bound with the target transit number, the remark geographic area of the calling number can be inquired, and therefore the remark geographic area of the calling number is determined to be the target geographic area.
And 203, selecting the real communication number of the target user in the target geographical area from the real communication numbers bound by the target transit numbers, and returning the selected real communication number.
In this embodiment, the same transit number may be bound to real communication numbers of users located in different geographic areas (e.g., a direct municipality, a grade municipality, etc.), so that the same transit number may be bound to one or more real communication numbers. Compared with the mode that each transit number can be bound with one real communication number in the prior art, the binding mode in the embodiment of the application can support the same transit number to be reused across geographic areas, the number of the transit numbers needing to be rented and maintained is greatly reduced, and therefore cost is reduced. In addition, in the present embodiment, the same transit number can only bind the real communication number of one user in each geographic area, that is, the real communication numbers of two users in the same geographic area do not bind the same transit number. Thereby ensuring normal communication with the user's real communication number. Meanwhile, the calling user does not need to input the extension number, and the damage to the communication experience of the user is avoided.
In some optional implementation manners of this embodiment, the target transit number and the original communication number of the target user are bound in advance through the following steps: first, a target geographical area where a target user is located is queried. And then, taking the transfer numbers which are not bound with any user in the target geographic area as candidate transfer numbers, and selecting the target transfer numbers from the candidate transfer numbers. And finally, binding the target transfer number with the real communication number of the target user.
In some optional implementations of this embodiment, the target geographic area where the target user is located may be queried by the following steps: firstly, acquiring logistics order information of a target user; and then, determining a target geographical area where the target user is located based on the addressee in the logistics order information.
In some optional implementations of this embodiment, the target geographic area where the target user is located may be queried by the following steps: first, the duration of the unbinding state of each candidate transit number is acquired. The duration of the unbinding state is the duration of the last unbinding of the candidate transit number from the last time. Then, the candidate transit numbers can be sorted according to the duration of the unbinding state. And finally, selecting target transit numbers (such as transit numbers with the maximum duration in the unbinding state) from the candidate transit numbers based on the sorting result. Therefore, the transit number which is not bound with the real communication number for a long time can be preferentially used, so that the transit number is prevented from being forwarded to a wrong user when a calling user (such as a courier) dials the transit number.
In some optional implementations of this embodiment, the target geographic area where the target user is located may be queried by the following steps: first, a target logistics company is determined based on logistics order information of a target user. And then, for each candidate transfer number, taking the user corresponding to the real communication number which is bound by the candidate transfer number for the last time as a historical user, and determining the historical logistics company corresponding to the candidate transfer number based on historical logistics order information of the historical user. And finally, sorting the candidate transfer numbers of the historical logistics companies, which are different from the target logistics companies, according to the duration of the unbinding state, so as to select the target transfer number (such as the transfer number with the maximum duration of the unbinding state) based on the sorting result. Therefore, the selected target transit number is different from the corresponding logistics company when being bound last time, and troubles to calling users (such as couriers) and target users can be avoided to the greatest extent.
And step 204, in response to that the target geographic area is not determined, returning a logistics list number acquisition instruction to acquire the target logistics list number.
In this embodiment, taking the field of express delivery as an example, if the target geographic area is not queried, the execution subject may return a logistics list number obtaining instruction to obtain the target logistics list number.
As an example, when the target transfer number is a mobile phone number and the execution subject does not record the remarked geographic area of the calling number, the execution subject may return a logistics list number acquisition instruction to the basic communication server. After receiving the delivery order number acquisition instruction, the basic communication server can output a prompt voice of 'no-found city, please input 4-digit after delivery order number' to the calling device (i.e. the communication device used by the calling user, such as a mobile phone used by a courier). After the courier inputs the express bill number according to the prompt voice, the basic communication server can transmit the content input by the courier to the execution main body.
Step 205, inquiring the target logistics order corresponding to the target logistics order number.
In this embodiment, the executing entity may query the target logistics order corresponding to the target logistics order number. If the target logistics order is not inquired based on the target logistics order number, the executive body can send the logistics order number acquisition instruction to the basic communication server again so that the logistics order number acquisition instruction can output prompt voice again, and if the order number cannot be inquired, the prompt voice is required to confirm that 4 bits are behind the correct express order number, or the prompt voice is required to confirm that the number does not exist or exceeds the contact time, the prompt voice is required to confirm the number, and the like. The process may be repeated a predetermined number of times (e.g., 3 times) to allow number lookup if the caller has entered an error.
And step 206, acquiring the real communication number of the target user from the target logistics order, and returning the acquired real communication number.
In this embodiment, the executing entity may obtain the real communication number of the target user from the target logistics order, and return the obtained real communication number.
Further, the executing body may determine a target geographic area where a target user (i.e., a called user, such as a recipient) is located based on a recipient address in the target logistics order, and make a remark on the calling number by using the target geographic area as a remark geographic area of the calling number, so as to implement real-time update of the number pool.
According to the method provided by the embodiment of the application, when the target geographic area is not determined based on the calling number and/or the target transit number, the target user and the real communication number of the target user can be determined through the logistics order number, so that the cost required by renting and maintaining the transit number is reduced, and the success rate of obtaining the real communication number is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
With further reference to fig. 3, based on the above embodiments, the present application provides an embodiment of a cloud device.
As shown in fig. 3, the cloud device 300 of the present embodiment includes: a receiving unit 301 configured to receive a directory enquiry request, where the directory enquiry request includes a calling number and a target transit number; a determining unit 302 configured to determine a target geographic area based on the calling number and/or the target transit number; an selecting unit 303, configured to select, from the real communication numbers bound to the target transit number, a real communication number of a target user located in the target geographic area, and return the selected real communication number.
In some optional implementation manners of this embodiment, the target transit number and the original communication number of the target user are bound through the following steps: inquiring the target geographic area where the target user is located; taking transfer numbers which are not bound with any user in the target geographic area as candidate transfer numbers, and selecting the target transfer numbers from the candidate transfer numbers; and binding the target transfer number with the real communication number of the target user.
In some optional implementation manners of this embodiment, the querying the target geographic area where the target user is located includes: acquiring logistics order information of the target user; and determining the target geographical area where the target user is located based on the recipient address in the logistics order information.
In some optional implementation manners of this embodiment, the selecting the target transit number from the candidate transit numbers includes: acquiring the duration of the unbinding state of each candidate transfer number; sorting the candidate transfer numbers according to the duration of the unbinding state; and selecting the target transfer number from the candidate transfer numbers based on the sorting result.
In some optional implementation manners of this embodiment, the selecting the target transit number from the candidate transit numbers includes: determining a target logistics company based on the logistics order information; for each candidate transfer number, taking a user corresponding to the real communication number which is bound by the candidate transfer number for the last time as a historical user, and determining a historical logistics company corresponding to the candidate transfer number based on historical logistics order information of the historical user; and sorting the candidate transfer numbers of the historical logistics companies, which are different from the target logistics companies, according to the duration of the unbinding state, and selecting the target transfer numbers based on the sorting result.
In some optional implementations of this embodiment, the determining unit 302 is further configured to: responding to the target transit number as a mobile phone number, inquiring a remark geographical area of the calling number, and determining the remark geographical area as a target geographical area; and determining a target geographical area based on the area code of the target transfer number in response to the target transfer number being the landline number.
In some optional implementations of this embodiment, the apparatus further includes: the acquisition unit is configured to respond to the situation that the target geographic area is not determined, and return a logistics list number acquisition instruction to acquire a target logistics list number; the query unit is configured to query a target logistics order corresponding to the target logistics order number; and the return unit is configured to acquire the real communication number of the target user from the target logistics order and return the acquired real communication number.
The device provided by the embodiment of the application determines the target geographical area through the calling number and/or the target transit number carried in the directory inquiry request, then selects the real communication numbers of the target users in the target geographical area from the real communication numbers bound by the target transit number, and returns the real communication numbers, so that the target users to be forwarded can be accurately determined by determining the target geographical area under the condition that the same transit number and the real communication numbers of a plurality of users in different geographical areas have a binding relationship. Therefore, the same transfer number can be reused across geographic areas, the number of transfer numbers required to be rented and maintained is greatly reduced, and the cost is reduced.
With further reference to fig. 4, on the basis of the above-mentioned embodiment, the present application provides an embodiment of a terminal device, which can be applied to various electronic devices with a telephone communication function. The electronic device may include, but is not limited to, a cell phone, a landline phone, a wearable device, and the like.
As shown in fig. 4, the terminal apparatus 400 of the present embodiment includes: a sending unit 401 configured to send a directory enquiry request, where the directory enquiry request includes a calling number and a target transit number; a receiving unit 402, configured to receive a real communication number of a target user bound to the target transit number and located in a target geographic area, where the target geographic area is determined based on the calling number and/or the target transit number.
In this embodiment, the directory inquiry request may be sent to the cloud device. After receiving the directory enquiry request, the cloud device may first determine a target geographic area based on the calling number and/or the target transit number, and then select a real communication number of a target user located in the target geographic area from real communication numbers bound to the target transit number, so as to return the selected real communication number to the terminal device.
In the method provided by the above embodiment of the application, the terminal device sends the directory number inquiry request carrying the calling number and the target transit number, and can acquire the real communication number of the target user bound by the target transit number and located in the target geographical area under the condition that the same transit number has a binding relationship with the real communication numbers of a plurality of users located in different geographical areas, thereby supporting the reuse of the same transit number across geographical areas, greatly reducing the number of transit numbers required to be rented and maintained, and reducing the cost.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the present application, the electronic device includes various types of devices such as a terminal device and a server (cluster).
Embodiments of the present application may be implemented as an apparatus, which may include electronic devices such as a terminal device, a server (cluster), etc., using any suitable hardware, firmware, software, or any combination thereof, to perform a desired configuration. Fig. 5 schematically illustrates an example apparatus 500 that may be used to implement various embodiments described herein.
For one embodiment, fig. 5 illustrates an exemplary apparatus 500 having one or more processors 502, a control module (chipset) 504 coupled to at least one of the processor(s) 502, a memory 506 coupled to the control module 504, a non-volatile memory (NVM)/storage 508 coupled to the control module 504, one or more input/output devices 510 coupled to the control module 504, and a network interface 512 coupled to the control module 504.
The processor 502 may include one or more single-core or multi-core processors, and the processor 502 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 500 can be used as a terminal device, a server (cluster), or the like in the embodiments of the present application.
In some embodiments, apparatus 500 may include one or more computer-readable media (e.g., memory 506 or NVM/storage 508) having instructions 514 and one or more processors 502 in combination with the one or more computer-readable media and configured to execute instructions 514 to implement modules to perform the actions described in this disclosure.
For one embodiment, control module 504 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 502 and/or any suitable device or component in communication with control module 504.
Control module 504 may include a memory controller module to provide an interface to memory 506. The memory controller module may be a hardware module, a software module, and/or a firmware module.
The memory 506 may be used, for example, to load and store data and/or instructions 514 for the apparatus 500. For one embodiment, memory 506 may comprise any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 506 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, control module 504 may include one or more input/output controllers to provide an interface to NVM/storage 508 and input/output device(s) 510.
For example, NVM/storage 508 may be used to store data and/or instructions 514. NVM/storage 508 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 508 may include storage resources that are physically part of the device on which apparatus 500 is installed, or it may be accessible by the device and need not be part of the device. For example, NVM/storage 508 may be accessed over a network via input/output device(s) 510.
Input/output device(s) 510 may provide an interface for apparatus 500 to communicate with any other suitable device, input/output devices 510 may include communication components, audio components, sensor components, and so forth. The network interface 512 may provide an interface for the apparatus 500 to communicate over one or more networks, and the apparatus 500 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as access to a communication standard-based wireless network, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 502 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the control module 504. For one embodiment, at least one of the processor(s) 502 may be packaged together with logic for one or more controller(s) of the control module 504 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 502 may be integrated on the same die with logic for one or more controller(s) of the control module 504. For one embodiment, at least one of the processor(s) 502 may be integrated on the same die with logic for one or more controller(s) of the control module 504 to form a system on chip (SoC).
In various embodiments, the apparatus 500 may be, but is not limited to: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, the apparatus 500 may have more or fewer components and/or different architectures. For example, in some embodiments, device 500 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The device can adopt a main control chip as a processor or a control module, sensor data, position information and the like are stored in a memory or an NVM/storage device, a sensor group can be used as an input/output device, and a communication interface can comprise a network interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The communication method, the cloud device, the terminal device, the electronic device and the storage medium provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation manner of the application, and the description of the embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A method of communication, the method comprising:
receiving a directory enquiry request, wherein the directory enquiry request comprises a calling number and a target transit number;
determining a target geographical area based on the calling number and/or the target transit number;
and selecting the real communication number of the target user in the target geographic area from the real communication numbers bound by the target transit number, and returning the selected real communication number.
2. The method of claim 1, wherein the target transit number is bound to the original communication number of the target user by:
inquiring the target geographic area where the target user is located;
taking transfer numbers which are not bound with any user in the target geographic area as candidate transfer numbers, and selecting the target transfer numbers from the candidate transfer numbers;
and binding the target transfer number with the real communication number of the target user.
3. The method of claim 2, wherein said querying the target geographic area in which the target user is located comprises:
acquiring logistics order information of the target user;
and determining the target geographical area where the target user is located based on the recipient address in the logistics order information.
4. The method of claim 3, wherein the selecting the target transit number from the candidate transit numbers comprises:
acquiring the duration of the unbinding state of each candidate transfer number;
sorting the candidate transfer numbers according to the duration of the unbinding state;
and selecting the target transfer number from the candidate transfer numbers based on the sorting result.
5. The method of claim 3, wherein the selecting the target transit number from the candidate transit numbers comprises:
determining a target logistics company based on the logistics order information;
for each candidate transfer number, taking a user corresponding to the real communication number which is bound by the candidate transfer number for the last time as a historical user, and determining a historical logistics company corresponding to the candidate transfer number based on historical logistics order information of the historical user;
and sorting the candidate transfer numbers of the historical logistics companies, which are different from the target logistics companies, according to the duration of the unbinding state, and selecting the target transfer numbers based on the sorting result.
6. The method of claim 1, wherein the determining a target geographical area based on the calling number and/or the target transit number comprises:
if the target transit number is a mobile phone number, inquiring a remark geographical area of the calling number, and determining the remark geographical area as a target geographical area;
and if the target transfer number is the landline number, determining a target geographical area based on the area code of the target transfer number.
7. The method of claim 1, further comprising:
in response to that the target geographic area is not determined, returning a logistics list number acquisition instruction to acquire a target logistics list number;
inquiring a target logistics order corresponding to the target logistics order number;
and acquiring the real communication number of the target user from the target logistics order, and returning the acquired real communication number.
8. A cloud-based device, the device comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is configured to receive a directory enquiry request which comprises a calling number and a target transit number;
a determining unit configured to determine a target geographical area based on the calling number and/or the target transit number;
and the selecting unit is configured to select the real communication numbers of the target users in the target geographic area from the real communication numbers bound by the target transit numbers, and return the selected real communication numbers.
9. A terminal apparatus, characterized in that the apparatus comprises:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is configured to send a directory enquiry request which comprises a calling number and a target transit number;
a receiving unit configured to receive a real communication number of a target user bound to the target transit number and located in a target geographic area, the target geographic area being determined based on the calling number and/or the target transit number.
10. An electronic device, comprising:
a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform the method of one or more of claims 1-7.
11. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform the method of one or more of claims 1-7.
CN202111177144.0A 2021-10-09 2021-10-09 Communication method, cloud device, terminal device, electronic device, and storage medium Pending CN114205465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111177144.0A CN114205465A (en) 2021-10-09 2021-10-09 Communication method, cloud device, terminal device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111177144.0A CN114205465A (en) 2021-10-09 2021-10-09 Communication method, cloud device, terminal device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN114205465A true CN114205465A (en) 2022-03-18

Family

ID=80646159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111177144.0A Pending CN114205465A (en) 2021-10-09 2021-10-09 Communication method, cloud device, terminal device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN114205465A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160156784A1 (en) * 2013-07-14 2016-06-02 Ethrix Ltd. Dynamic telephone number allocation management
CN109426935A (en) * 2017-08-29 2019-03-05 菜鸟智能物流控股有限公司 Communication information distribution method and device, communication method and device, equipment and medium
CN110233942A (en) * 2019-05-23 2019-09-13 中国平安人寿保险股份有限公司 The virtual unofficial biography method, apparatus of cell-phone number, equipment and storage medium
CN111953851A (en) * 2020-07-27 2020-11-17 北京小米松果电子有限公司 Communication method, communication device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160156784A1 (en) * 2013-07-14 2016-06-02 Ethrix Ltd. Dynamic telephone number allocation management
CN109426935A (en) * 2017-08-29 2019-03-05 菜鸟智能物流控股有限公司 Communication information distribution method and device, communication method and device, equipment and medium
CN110233942A (en) * 2019-05-23 2019-09-13 中国平安人寿保险股份有限公司 The virtual unofficial biography method, apparatus of cell-phone number, equipment and storage medium
CN111953851A (en) * 2020-07-27 2020-11-17 北京小米松果电子有限公司 Communication method, communication device, and storage medium

Similar Documents

Publication Publication Date Title
US11729310B2 (en) Delivering additional information to receiving parties for text messaging based caller ID
US10219150B2 (en) Method, client terminal and server for establishing communication
US20160301664A1 (en) Method and server for securing communication number
CN111010527B (en) Method and related device for establishing video call through short message link
US9438712B1 (en) Assigning to a call a unique key associated with caller specific data for retrieving data from a database
CN102945239B (en) The search of location-based clearing house
CN101925158A (en) System and method for obtaining number detail
CN109426935B (en) Communication information distribution method and device, communication method and device, equipment and medium
KR20200081892A (en) System for managing electric business card and method therefor
US20140192969A1 (en) Optimized call handling for recycled telephone numbers
CN114205465A (en) Communication method, cloud device, terminal device, electronic device, and storage medium
CN102546984B (en) Method, device and system for realizing customer service telephone real names
CN108563514B (en) Method for accessing application configuration service, application and electronic equipment
CN110837499A (en) Data access processing method and device, electronic equipment and storage medium
US20070145110A1 (en) Method and carrier information system for transferring information to a target device
CN109274808B (en) Address book information management method and system, electronic equipment and storage medium
CN111988459B (en) Address book management method and device and computer storage medium
CN102868798B (en) Method and device for sector telephone number storage and incoming call identification
US20080114726A1 (en) Method to query cell phones for pictures of an event
US9544426B2 (en) Method for transmitting data related to a call
CN110891323A (en) Data processing method, device, equipment, system and storage medium
CN113746789B (en) Information processing method and device for call center, electronic equipment and medium
CN108307079B (en) Communication method, communication apparatus, and storage medium
CN110825796B (en) Data acquisition method, device and system
CN115866117A (en) Communication method, communication device and computer 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