A method, apparatus, electronic device, and storage medium for virtual number allocation

By pre-assigning virtual numbers to the response party's communication numbers and establishing a binding relationship after the order is established, the problem of low utilization of virtual numbers is solved, and the efficient use of virtual numbers is achieved.

CN115412638BActive Publication Date: 2025-07-01ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211072004.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2025-07-01
Estimated Expiration
2042-09-02

AI Technical Summary

Technical Problem

In the prior art, the utilization rate of virtual numbers is low, resulting in resource shortage.

Method used

By pre-assigning a virtual number to the response party's communication number, and establishing a binding relationship based on the responder's communication number, virtual number and requesting party's communication number after the order is established, the responder and the requesting party under the same order communicate through the virtual number.

Benefits of technology

Increases the usage of virtual numbers, allowing the same virtual number to be reused at the same time as the response and requesting party's communication numbers are different.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115412638B_ABST
    Figure CN115412638B_ABST
Patent Text Reader

Abstract

The present invention provides a virtual number allocation method, apparatus, electronic device and storage medium. The method includes: obtaining the order requirements of an off-site requester; pre-allocating a virtual number for the communication number of the responder and feeding back the virtual number to the service platform where the requester is located; after an order relationship is established between the responder and the requester, obtaining the communication number of the corresponding requester; based on the communication number of the responder, the virtual number and the communication number of the requester, establishing a binding relationship for the responder, the virtual number and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of call privacy protection, and particularly to a method, device, electronic device and storage medium for allocating virtual numbers. Background Art

[0002] A virtual mobile phone number is not the real mobile phone number of the local device, but has the characteristics of an ordinary telephone number, and is often used in car-hailing and food delivery platforms to protect the number privacy of users. For example, when we call a driver or a restaurant, what the driver and the restaurant see is not your real mobile phone number, but a virtual number.

[0003] In order to make better use of resources, different enterprises can cooperate. For example, a car-hailing platform and a navigation platform establish a cooperative relationship. However, in this online cooperative relationship, during the order grabbing stage before the order is established, the car-hailing platform needs to provide the virtual number X bound to the driver's number to the navigation platform. Since each driver's number occupies a virtual number, that is, the number of virtual numbers to be set corresponds to the number of driver's numbers, resulting in low utilization rate of virtual numbers and tight resources. Summary of the Invention

[0004] In view of the above disadvantages of the prior art, the present invention provides a method, device, electronic device and storage medium for allocating virtual numbers to improve the problem of low utilization rate of virtual numbers in the existing virtual allocation method.

[0005] To achieve the above and other related purposes, the present invention provides a method for allocating virtual numbers, including:

[0006] Obtain the order requirements of the off-site requester;

[0007] Pre-allocate a virtual number for the communication number of the responder and feedback the virtual number to the service platform where the requester is located;

[0008] After an order relationship is established between the responder and the requester, obtain the communication number of the corresponding requester;

[0009] Based on the communication number of the responder, the virtual number and the communication number of the requester, establish a binding relationship for the responder, the virtual number and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number.

[0010] In an embodiment of the present invention, the steps of pre-assigning virtual numbers to the communication numbers of the responders include: obtaining the communication numbers of a plurality of responders, obtaining the pre-assignment status of a plurality of virtual numbers, where the pre-assignment status includes a pre-assignment idle status and a pre-assignment occupied status; pre-assigning a virtual number in the pre-assignment idle status to the communication number of each responder, and the communication number of the responder corresponds one-to-one with the corresponding virtual number.

[0011] In an embodiment of the present invention, after the step of pre-assigning a virtual number in the pre-assignment idle status to the communication number of each responder, the method further includes: changing the pre-assignment status of the virtual number in the pre-assignment to the pre-assignment occupied status.

[0012] In an embodiment of the present invention, after the step of establishing a binding relationship among the responder, the virtual number, and the requester under the same order, the method further includes: changing the pre-assignment status of the virtual number in the binding to the pre-assignment idle status.

[0013] In an embodiment of the present invention, the virtual number further includes a binding status, where the binding status includes a binding occupied status and a binding idle status; after the step of establishing a binding relationship among the responder, the virtual number, and the requester under the same order, the method further includes: changing the binding status of the virtual number in the binding to the binding occupied status.

[0014] In an embodiment of the present invention, the method further includes the steps of: obtaining an in-station order request; after the responder responds to the in-station order request, obtaining the communication number of the requester corresponding to the in-station order, the communication number of the responder, and binding the corresponding virtual number, so that the requester and the responder communicate through the corresponding virtual number.

[0015] On the other hand, the present invention also provides a virtual number allocation device, including:

[0016] An obtaining unit, configured to obtain the order requirements of the requester;

[0017] An allocation unit, configured to pre-assign virtual numbers to the communication numbers of the responders and feedback the virtual numbers to the service platform where the requester is located;

[0018] A binding unit, after an order relationship is established between the responder and the requester, obtaining the communication number of the corresponding requester; based on the communication number of the responder, the virtual number, and the communication number of the requester, establishing a binding relationship among the responder, the virtual number, and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number.

[0019] In an embodiment of the present invention, the allocation unit includes a pre-assigned number pool, and the virtual numbers are stored in the pre-assigned number pool.

[0020] In an embodiment of the present invention, the distribution unit includes a pre-distribution interface, a first designated binding interface, and a second designated binding interface.

[0021] On the other hand, the present invention also provides an electronic device, which includes:

[0022] One or more processors;

[0023] A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the virtual number allocation method described above.

[0024] On the other hand, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor of a computer, causes the computer to execute the virtual number allocation method described above.

[0025] In the virtual number allocation method of the present invention, a virtual number is pre-allocated to the communication number of the responder to realize the feedback of the virtual number, and a binding relationship is established based on the communication number of the responder, the virtual number, and the communication number of the requester after the order is established, so that the requester and the responder can communicate through the virtual number. And because the binding is performed based on the communication number of the responder, the virtual number, and the communication number of the requester, when the communication numbers of the responder and the requester are different, the same virtual number can be reused, thus greatly improving the utilization rate of the virtual number. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0027] Figure 1 It is a flowchart of the virtual number allocation method described in the present invention;

[0028] Figure 2 It is a structural block diagram of the virtual number allocation device described in the present invention.

[0029] Description of Element Numbers

[0030] 100, acquisition unit; 200, distribution unit; 300, binding unit. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0031] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other. It should also be understood that the terms used in the embodiments of the present invention are for describing specific embodiments, rather than limiting the protection scope of the present invention. The test methods without specific conditions noted in the following embodiments are generally in accordance with conventional conditions or the conditions recommended by each manufacturer.

[0032] It should be noted that the terms such as "upper", "lower", "left", "right", "middle" and "one" cited in this specification are only for the convenience of clear description and are not used to limit the scope of implementation of the present invention. The change or adjustment of their relative relationship, without substantial change in the technical content, should also be regarded as the scope of implementation of the present invention.

[0033] Please refer to Figure 1 , the present invention provides a virtual number allocation method, including an off-site order docking step, and the off-site order docking step includes:

[0034] Obtain the order requirements of the off-site requester; the off-site refers to other service platforms or enterprises outside the own platform. The in-site refers to the own platform.

[0035] Pre-allocate a virtual number X for the communication number A of the responder, and feedback the virtual number X to the service platform where the requester is located; the above pre-allocation only temporarily matches the communication number A of the responder with the virtual number X to meet the requirement of submitting a virtual number during the order grabbing process by other service platforms. However, it should be noted that the pre-allocation is not binding, and it is impossible to call the responder through the virtual number during the pre-allocation stage.

[0036] In an embodiment of the present invention, the step of pre-allocating a virtual number for the communication number of the responder includes: obtaining the communication numbers of several responders, obtaining the pre-allocation status of several virtual numbers, and the pre-allocation status includes a pre-allocation idle state and a pre-allocation occupied state; allocate a virtual number in the pre-allocation idle state for the communication number of each responder, and the communication number of the responder corresponds to the corresponding virtual number one by one.

[0037] The step of pre-assigning a virtual number in the pre-assigned idle state to the communication number of each said responder includes: detecting whether the number of virtual numbers to be pre-assigned within the current time period reaches the usage limit of the bound occupancy state. If so, no pre-assignment of this virtual number is performed at the current time; if not, the virtual number to be pre-assigned is pre-assigned to the communication number of the responder. In this step, the pre-assignment state of the virtual number to be pre-assigned is the pre-assigned idle state. Although the same virtual number can be bound to multiple different requesters and responders simultaneously, in order to ensure the normal progress of communication and prevent the occurrence of cross-channeling, the operator sets an upper limit on the number of simultaneous uses for the same virtual number. Once this upper limit is exceeded, this virtual number will not be pre-assigned to the communication number of the responder during this time period.

[0038] Generally speaking, the own platform needs to feedback the communication numbers of as many responders as possible to other platforms. For example, if the own platform is the Caocao Car-hailing platform, the responders are drivers, and the requesters are passengers, the off-site platforms can be Gaode, Meituan, Huazhu, etc. In order to increase the success rate of order competition, the Caocao Car-hailing platform pushes the virtual numbers corresponding to as many driver numbers that meet the composite conditions as possible to Gaode, Meituan, Huazhu, etc. After the driver master successfully grabs an order, an order relationship is established between the driver and the passenger. The Caocao platform can obtain the communication number of the passenger in the order relationship. It should be noted that at this time, the communication number of the passenger may be a virtual number provided by the other platform (the platform where the passenger belongs).

[0039] In an embodiment of the present invention, after the step of pre-assigning a virtual number in the pre-assigned idle state to the communication number of each said responder, it further includes: changing the pre-assignment state of the virtual number in the pre-assignment to the pre-assigned occupancy state. When the virtual number is in the pre-assigned occupancy state, it will no longer be assigned to the communication number of the responder.

[0040] The process between initiating an order request and establishing an order is called the order matching process. Successful matching means the order is successfully established, and failed matching means the order establishment fails. After an order relationship is established between the responder and the requester, obtain the communication number of the corresponding requester. Establishing an order relationship means that an order relationship is determined between the two, that is, the order relationship is established. The communication number of the requester can be a real communication number or a virtual number corresponding to the real number. When the order matching fails, that is, the order establishment between the responder and the requester fails, the pre-assignment state of the corresponding virtual number is changed to the pre-assigned idle state.

[0041] Based on the communication number A of the responder, the virtual number X and the communication number B of the requester, a binding relationship is established for the responder, the virtual number and the requester under the same order through the operator, so that the responder and the requester under the same order can communicate through the corresponding virtual number. Therefore, the present invention realizes the AX mode by using the virtual number binding of the AXB mode through the pre-allocation mechanism. The AXB mode refers to the binding of the communication number A of the responder, the virtual number X and the communication number B of the requester, and the AX mode refers to the matching relationship between the communication number A of the responder and the virtual number X.

[0042] After the step of establishing a binding relationship among the responder, the virtual number and the requester under the same order, the step further includes: changing the pre-allocated state of the virtual number in the binding process to a pre-allocated idle state. Once the virtual number is bound, its pre-allocated occupied state will be released, that is, its pre-allocated state is changed from an occupied state to an idle state. When the virtual number is in the pre-allocated idle state, it can be pre-allocated to the communication number of the responder, so that the same virtual number can be bound to multiple groups of requesters and responders, thereby improving the utilization rate of the virtual number. Each group of requesters and responders may include one requester and one responder. The virtual number also includes a binding state, and the binding state includes a binding occupied state and a binding idle state; after the step of establishing a binding relationship among the responder, the virtual number and the requester under the same order, the step further includes: changing the binding state of the virtual number in the binding process to a binding state.

[0043] When an order is completed, the binding relationship between the responder, the virtual number and the requester is released, and the binding state of the corresponding virtual number is changed to the binding idle state.

[0044] The method also includes an in-station order receiving step: obtaining an in-station order request; after the responder responds to the in-station order request, obtaining the communication number of the requester and the communication number of the responder corresponding to the in-station order, binding the communication number of the requester, the communication number of the responder and the corresponding virtual number, and changing the binding state of the corresponding virtual number to a binding occupied state, so that the requester and the responder communicate through the corresponding virtual number. It should be noted that the in-station docking step and the off-station order docking step are independent of each other, that is, the in-station docking step and the off-station order docking step can be performed simultaneously and independently of each other. However, the in-station docking step and the off-station order docking step share the virtual number in the pre-allocated virtual number pool, and when counting whether a certain virtual number to be pre-allocated has reached the binding upper limit, the binding states generated in the in-station order receiving step and the off-station order docking step are counted together.

[0045] See also Figure 2, on the other hand, the present invention also provides a virtual number allocation device, including: an acquisition unit 100, an allocation unit 200, and a binding unit 300; wherein, the acquisition unit 100 is used to acquire the order requirements of the requester; the allocation unit 200 pre-allocates a virtual number for the communication number of the responder and feeds back the virtual number to the service platform where the requester is located; after an order relationship is established between the responder and the requester, the binding unit 300 acquires the communication number of the corresponding requester; based on the communication number of the responder, the virtual number, and the communication number of the requester, a binding relationship is established for the responder, the virtual number, and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number.

[0046] In an embodiment of the present invention, the allocation unit includes a pre-allocation number pool (not shown), and the virtual numbers are stored in the pre-allocation number pool. The management authorities of the pre-allocation number pool include: addition, deletion, replacement, etc., and enterprises manage the virtual numbers in the pre-allocation number pool through the management authorities. The allocation unit includes a pre-allocation interface (not shown), a first specified binding interface (not shown), and a second specified binding interface (not shown). The pre-allocation interface is used to pre-allocate virtual numbers that meet the conditions and are in the pre-allocation idle state to the communication numbers of the responders. The first specified binding interface is used to specify the communication numbers of the requesters, the communication numbers of the responders, and the corresponding virtual numbers involved in the in-station orders. The second specified binding interface is used to specify the communication numbers of the requesters, the communication numbers of the responders, and the corresponding pre-allocated virtual numbers involved in the out-of-station orders.

[0047] The binding unit includes a binding interface (not shown), and the binding interface is used to bind the specified communication numbers of the requesters, the communication numbers of the responders, and the corresponding virtual numbers.

[0048] On the other hand, the present invention also provides an electronic device, and the electronic device includes:

[0049] One or more processors;

[0050] A storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the virtual number allocation method described above.

[0051] On the other hand, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor of a computer, the computer executes the virtual number allocation method described above.

[0052] The virtual number allocation method of the present invention realizes the feedback of virtual numbers by pre - allocating virtual numbers to the communication numbers of the responder, and establishes a binding relationship based on the communication number of the responder, the virtual number, and the communication number of the requester after the order is established, so that the requester and the responder can communicate through the virtual number. And because the binding is carried out through the communication number of the responder, the virtual number, and the communication number of the requester, when the communication numbers of the responder and the requester are different, the same virtual number can be reused, thus greatly improving the utilization rate of the virtual number. Therefore, the present invention effectively overcomes some practical problems in the prior art and thus has high utilization value and practical significance.

[0053] The above - mentioned embodiments merely illustrate the principles and effects of the present invention, rather than limiting the present invention. Any person familiar with this technology can modify or change the above - mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes completed by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed by the present invention should still be covered by the claims of the present invention.

Claims

1. A virtual number allocation method, characterized in that, including: Obtaining the order requirements of off-site requesters; Pre-assigning a virtual number to the communication number of the responder, and feeding back the virtual number to the service platform where the requester is located; After an order relationship is established between the responder and the requester, obtaining the communication number of the corresponding requester; Based on the communication number of the responder, the virtual number, and the communication number of the requester, establishing a binding relationship among the responder, the virtual number, and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number; wherein, establishing the order relationship means that the order relationship has been determined between the responder and the requester.

2. The virtual number allocation method according to claim 1, characterized in that, The steps of pre-assigning a virtual number to the communication number of the responder include: obtaining the communication numbers of several responders, obtaining the pre-assignment status of several virtual numbers, and the pre-assignment status includes pre-assignment idle status and pre-assignment occupied status; pre-assigning a virtual number in the pre-assignment idle status to the communication number of each responder, and the communication number of the responder corresponds one-to-one to the corresponding virtual number.

3. The virtual number allocation method according to claim 2, wherein After the step of pre-assigning a virtual number in the pre-assignment idle status to the communication number of each responder, it further includes: changing the pre-assignment status of the virtual number in the pre-assignment to the pre-assignment occupied status.

4. The virtual number allocation method according to claim 2 or 3, characterized in that After the step of establishing a binding relationship among the responder, the virtual number, and the requester under the same order, it further includes: changing the pre-assignment status of the virtual number in the binding to the pre-assignment idle status.

5. The virtual number allocation method according to claim 2 or 3, characterized in that The virtual number further includes a binding status, and the binding status includes a binding occupied status and a binding idle status; After the step of establishing a binding relationship among the responder, the virtual number, and the requester under the same order, it further includes: changing the binding status of the virtual number in the binding to the binding occupied status.

6. The virtual number allocation method according to claim 1, wherein It further includes the steps of: obtaining an in-site order request; after the responder responds to the in-site order request, obtaining the communication number of the requester corresponding to the in-site order, the communication number of the responder, and binding the corresponding virtual number, so that the requester and the responder communicate through the corresponding virtual number.

7. A virtual number allocation device, characterized in that, including: An obtaining unit, configured to obtain the order requirements of the requester; An allocation unit, configured to pre-assign a virtual number to the communication number of the responder, and feed back the virtual number to the service platform where the requester is located; A binding unit, configured to obtain the communication number of the corresponding requester after an order relationship is established between the responder and the requester; Based on the communication number of the responder, the virtual number, and the communication number of the requester, establishing a binding relationship among the responder, the virtual number, and the requester under the same order, so as to enable the responder and the requester under the same order to communicate through the corresponding virtual number; wherein, establishing the order relationship means that the order relationship has been determined between the responder and the requester.

8. The virtual number allocation device according to claim 7, characterized in that The allocation unit includes a pre-assigned number pool, and the virtual number is stored in the pre-assigned number pool.

9. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enabling the electronic device to implement the virtual number allocation method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, A computer program is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the virtual number allocation method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Virtual number-based communication method, system, server and storage medium

    CN109257509A