Method for optimizing work number binding through mixed binding mode
By adopting a hybrid binding method in the work number binding technology, combining databases and modules on the customer side and operator side, the resource utilization and processing efficiency of work number binding is optimized, and the problems of waste of resources and poor user experience in the existing technology are solved.
Patent Information
- Application Number
- CN202411755721.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-22
AI Technical Summary
The existing work number binding technology has problems of wasted resources and poor user experience in actual deployment, especially when drivers and passengers cannot find each other in time, the internal binding efficiency is low and the external binding delay is large.
The hybrid binding method is adopted. The customer side sets the external binding module and the binding relational database one, and the operator side sets the internal binding module and the binding relational database two, and the internal binding priority is higher than the external binding. The initial binding relationship is obtained through outbound binding and saved to the local database. Subsequent calls are directly queryed and processed using inbound binding.
When the work number call does not occur, reduce the waste of resources on the operator's server; when the call occurs, optimize processing efficiency and delay through internal fetching to improve the user experience.
Smart Images

Figure CN119865546A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of work number binding, and in particular relates to a method for optimizing work number binding through a mixed binding mode. Background Art
[0002] The work number is used to protect the privacy of the caller and the called party by hiding their real phone numbers during the service process. It is usually used for services such as taxi-hailing and express delivery that require hidden numbers.
[0003] Take taxi services as an example. Figure 1 As shown, the working number service principle is as follows: the customer (telephone number B) calls the driver (telephone number A) through the taxi-hailing software for service; the taxi-hailing software allocates a number X that the taxi-hailing software pre-purchases from the operator in the background, thereby forming a binding relationship AXB, which is written into the binding relationship database; then X is notified to the customer and the driver, that is, the customer and the driver can only see number X, but not the other party's real number; if the customer dials number X with number B, the working number server receives it and finds that the called number X is the working number, finds the binding relationship of AXB, converts the call from B to X to X calling number A, and sends it to customer A; the driver uses the same method to change the number when calling the customer.
[0004] When the work number service is actually deployed, the current market commonly uses internal binding or external binding to bind the work number. Figure 2 As shown, when binding internally, the binding relationship database exists within the operator, and the client server writes the relationship and validity period of AXB through the internal binding module before the call; when querying the AXB binding relationship, it is a local database query; the internal binding module is responsible for deleting the binding relationship in the database after the validity period. Figure 3 As shown, when external binding is performed, the binding relationship database exists on the client side. When calling, the client-side server is accessed through the HTTP or RPC interface, and then the remote database is accessed. The data returned usually only contains the AXB relationship, not including the validity period. The external binding module on the client side is responsible for deleting the binding relationship in the database after the validity period.
[0005] In summary, the internal binding method has a slow writing process before calling, but a fast query time during calling, while the external binding method does not need to be written before calling, but the query time during calling is slow. In actual scenarios, most drivers and passengers can find each other smoothly, and there is no actual call during binding. In this case, if the internal binding is actually a waste of resources, the external binding is more appropriate. However, in a small number of scenarios, the two cannot find each other smoothly, and they will talk multiple times. In this case, the internal binding is efficient, while the external binding has a large delay and a poor user experience. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a method for optimizing work number binding through a mixed binding method in view of the deficiencies of the above-mentioned prior art.
[0007] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:
[0008] A method for optimizing work number binding by hybrid binding mode, the method comprising:
[0009] A client server, an external binding module and a binding relationship database 1 are set on the client side to implement external binding in a hybrid binding mode; a work number server, a binding relationship database 2 and an internal binding module are set on the operator side to implement internal binding in a hybrid binding mode, and the internal binding has a higher priority than the external binding.
[0010] To optimize the above technical solutions, the specific measures taken also include:
[0011] The above-mentioned client server is used to generate AXB binding relationship and expiration time according to business logic, and write them into binding relationship database 1 through external binding module; the external binding module is used to write and read binding relationship database 1 according to the request of client server and work number server; the binding relationship database 1 is used to store and access AXB binding relationship and expiration time.
[0012] The above-mentioned work number server is used to query and process signaling and obtain the AXB binding relationship from the corresponding database through the internal binding module or the external binding module; the internal binding module is used to receive the request of the work number server and read and write data in the binding relationship database 2; the binding relationship database 2 is used to store the AXB binding relationship and expiration time obtained by external binding when the user makes the first call into the local database, so as to facilitate binding relationship queries in the local database during subsequent calls.
[0013] The request from the work number server received by the above-mentioned internal binding module includes:
[0014] A write request is used to write the binding relationship and expiration time into the second binding relationship database, i.e., the local database, after the work number server obtains the binding relationship and expiration time through the external binding module;
[0015] Read request, used by the work number server to preferentially read the AXB binding relationship in the local database.
[0016] The above-mentioned internal binding module is also used to delete the AXB binding relationship from the binding relationship database 2 after it expires. The deletion method is: if the binding relationship database 2 supports automatic deletion upon expiration, it is automatically deleted according to the written expiration time; if the binding relationship database 2 does not support automatic deletion upon expiration, it is deleted regularly.
[0017] The first external binding process of the above mixed binding method is as follows:
[0018] Caller A calls the service through the client server. The service selects the called party B and assigns the binding relationship of AXB, and feeds the binding relationship back to caller A and called party B. The client server stores the binding relationship in the binding relationship database 1 through the external binding module.
[0019] Caller A dials number X, and the call service is sent to the operator's work number server;
[0020] The work number server queries the data in the binding relationship database 2 through the internal binding module. No binding relationship is found. The work number server obtains the binding relationship and expiration time of AXB in the binding relationship database 1 through the external binding module. The external binding module feeds back the obtained binding relationship and expiration time of AXB to the work number server. The work number server saves the binding relationship and expiration time to the binding relationship database 2 through the internal binding module. The work number server converts A calling X to X calling B.
[0021] The above-mentioned hybrid binding method internal binding process is: caller A dials number X again, and the call service is sent to the work number server; the work number server obtains the binding relationship of AXB stored in the binding relationship database 2 through the internal binding module, and converts A calling X into X calling B according to the binding relationship.
[0022] The present invention has the following beneficial effects:
[0023] The present invention proposes a hybrid binding mode for the first time. When a work number call does not occur, the operator server does not need to receive external binding relationship writes, does not write to the local database, does not waste resources, does not require storage, and saves a lot of resources. When a work number call occurs, the first call obtains the binding relationship through an external binding method, and then saves it to the local database. Subsequent calls only use an internal binding method to read the contents of the local database. The processing efficiency and delay are greatly optimized compared to external binding. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a schematic diagram of the work number;
[0025] Figure 2 This is a schematic diagram of internal binding;
[0026] Figure 3This is a schematic diagram of external binding;
[0027] Figure 4 This is a schematic diagram of the mixed binding of the present invention;
[0028] Figure 5 This is a flow chart of the first external binding in the mixed binding mode of the present invention;
[0029] Figure 6 This is a flow chart of internal binding in the hybrid binding mode of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0031] Although the steps in the present invention are arranged with numbers, they are not used to limit the order of the steps. Unless the order of the steps is clearly stated or the execution of a certain step requires other steps as a basis, the relative order of the steps can be adjusted. It is understood that the term "and / or" used in this article involves and covers any and all possible combinations of one or more of the associated listed items.
[0032] like Figure 4 As shown, a method for optimizing work number binding by hybrid binding mode includes:
[0033] A client server, an external binding module and a binding relationship database 1 are set on the client side to implement external binding in a hybrid binding mode; a work number server, a binding relationship database 2 and an internal binding module are set on the operator side to implement internal binding in a hybrid binding mode, and the internal binding has a higher priority than the external binding.
[0034] In the embodiment, when mixed binding is performed, the operator needs to support both internal binding and external binding, and internal binding has a higher priority.
[0035] Operator-side module:
[0036] Work number server: responsible for querying and processing signaling, and obtaining AXB binding relationships through internal binding modules and external binding modules;
[0037] Binding relationship database 2: The user obtains the AXB binding relationship and expiration time for the first time, and stores it locally after adjusting the expiration time; subsequent calls can be queried in the local database, so there is no need to perform external binding.
[0038] Internal binding module: responsible for receiving requests from the work number server;
[0039] Write request: After the work number server obtains the binding relationship through the external binding module, the binding relationship is written into the operator's internal binding relationship database;
[0040] Read request: The work number server will first read the AXB binding relationship of the local database;
[0041] Expiration: Responsible for deleting the AXB binding relationship after it expires. For databases that support automatic deletion upon expiration, such as Mongodb, you only need to write the expiration time; for those that do not support it, regular deletion is required.
[0042] Client side module:
[0043] Client server: Generates AXB binding relationship and expiration time according to business logic, and writes them into the binding relationship database through the external binding module;
[0044] Binding relationship database 1: access AXB binding relationships and expiration times;
[0045] External binding module:
[0046] Internally handles writing of client-server binding relationships;
[0047] Process operator-side requests externally and read the database;
[0048] At the same time, for databases that support automatic deletion of expired data, such as Mongodb, you only need to write the expiration time; for those that do not support it, you need to delete it regularly.
[0049] In the embodiment, the first external binding process of the mixed binding method is as follows:
[0050] Caller A calls the service through the client server. The service selects the called party B and assigns the binding relationship of AXB, and feeds the binding relationship back to caller A and called party B. The client server stores the binding relationship in the binding relationship database 1 through the external binding module.
[0051] Caller A dials number X, and the call service is sent to the operator's work number server;
[0052] The work number server queries the data in the binding relationship database 2 through the internal binding module. No binding relationship is found. The work number server obtains the binding relationship and expiration time of AXB in the binding relationship database 1 through the external binding module. The external binding module feeds back the obtained binding relationship and expiration time of AXB to the work number server. The work number server saves the binding relationship and expiration time to the binding relationship database 2 through the internal binding module. The work number server converts A calling X to X calling B.
[0053] like Figure 5As shown, taking the taxi app as an example (the actual working number is not limited to this, and can be used in all hidden number scenarios), the first external binding process in the mixed binding mode is as follows:
[0054] 1. Passenger A calls the transportation service through the client server. The transportation service selects driver B and assigns the binding relationship of AXB, and returns the binding relationship to passenger A and driver B.
[0055] 2. The client server stores the binding relationship in the client database through the client binding module;
[0056] 3. Passenger A dials number X, which is sent to the operator's work number server;
[0057] 4. The work number server attempts to obtain data from the binding relationship database through the internal binding module, but fails to query;
[0058] 5. The work number server obtains the binding data on the user side through the external binding module;
[0059] 6. The external binding module responds to the work number server with the AXB binding relationship and expiration time;
[0060] 7. The work number server saves the binding relationship and expiration time to the binding relationship database through the internal binding module;
[0061] 8. The work number server converts A calling X into X calling B.
[0062] In the embodiment, the internal binding process of the hybrid binding method is as follows: caller A dials number X again, and the call service is sent to the work number server; the work number server obtains the binding relationship of AXB stored in the binding relationship database 2 through the internal binding module, and converts A calling X into X calling B according to the binding relationship.
[0063] like Figure 6 As shown in the figure, the binding process in the mixed binding mode is as follows:
[0064] 1. Passenger A dials number X again, which is sent to the operator's work number server;
[0065] 2. The work number server obtains the data AXB in the binding relationship database through the internal binding module;
[0066] 3. The work number server converts A calling X into X calling B based on the binding relationship.
[0067] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0068] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A method for optimizing work number binding by hybrid binding, characterized in that: The method comprises: A client server, an external binding module and a binding relationship database 1 are set on the client side to implement external binding in a hybrid binding mode; a work number server, a binding relationship database 2 and an internal binding module are set on the operator side to implement internal binding in a hybrid binding mode, and the internal binding has a higher priority than the external binding.
2. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The client server is used to generate an AXB binding relationship and expiration time according to the business logic, and write it into a binding relationship database 1 through an external binding module; the external binding module is used to write and read the binding relationship database 1 according to the requests of the client server and the work number server; the binding relationship database 1 is used to store and access the AXB binding relationship and expiration time.
3. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The work number server is used to query and process signaling and obtain the AXB binding relationship from the corresponding database through the internal binding module or the external binding module; the internal binding module is used to receive the request of the work number server and read and write data to the binding relationship database 2; the binding relationship database 2 is used to store the AXB binding relationship and expiration time obtained by external binding when the user makes the first call into the local database, so as to facilitate binding relationship queries in the local database during subsequent calls.
4. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The request of the work number server received by the internal binding module includes: A write request is used to write the binding relationship and expiration time into the second binding relationship database, i.e., the local database, after the work number server obtains the binding relationship and expiration time through the external binding module; Read request, used by the work number server to preferentially read the AXB binding relationship in the local database.
5. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The internal binding module is also used to delete the AXB binding relationship from the binding relationship database 2 after it expires. The deletion method is: if the binding relationship database 2 supports automatic deletion upon expiration, it is automatically deleted according to the written expiration time; if the binding relationship database 2 does not support automatic deletion upon expiration, it is deleted regularly.
6. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The first external binding process of the mixed binding method is as follows: Caller A calls the service through the client server. The service selects the called party B and assigns the binding relationship of AXB, and feeds the binding relationship back to caller A and called party B. The client server stores the binding relationship in the binding relationship database 1 through the external binding module. Caller A dials number X, and the call service is sent to the operator's work number server; The work number server queries the data in the binding relationship database 2 through the internal binding module, but fails to find the binding relationship. The work number server obtains the binding relationship and expiration time of AXB in the binding relationship database 1 through the external binding module. The external binding module feeds back the obtained binding relationship and expiration time of AXB to the work number server; the work number server saves the binding relationship and expiration time to the binding relationship database 2 through the internal binding module; the work number server converts A calling X into X calling B.
7. A method for optimizing work number binding by hybrid binding method according to claim 1, characterized in that: The internal binding process of the hybrid binding method is as follows: caller A dials number X again, and the call service is sent to the work number server; the work number server obtains the binding relationship of AXB stored in the binding relationship database 2 through the internal binding module, and converts A calling X into X calling B according to the binding relationship.