Method and equipment for positioning and matching area code of fixed telephone based on mobile terminal

文档序号:196508 发布日期:2021-11-02 浏览:16次 中文

阅读说明:本技术 基于移动终端定位匹配固定电话区号的方法及设备 (Method and equipment for positioning and matching area code of fixed telephone based on mobile terminal ) 是由 徐彬 于 2021-08-06 设计创作,主要内容包括:本申请涉及一种基于移动终端定位匹配固定电话区号的方法及设备,方法包括:接收快递员移动终端发送的拨号请求,拨号请求中包括收件人电话信息。基于快递员移动终端的定位模块获取快递员移动终端的当前位置,查询快递员移动终端的当前位置对应的区号信息,根据区号信息和收件人电话信息生成完整的收件人电话号码。本申请中,能根据快递员移动终端发送的拨号请求,自动生成完整的收件人固定电话号码信息,使得业务员能直接和收件人联系,减少快递员手动操作,为高效快递送达提供保障。(The application relates to a method and equipment for positioning and matching a fixed telephone area code based on a mobile terminal, wherein the method comprises the following steps: and receiving a dialing request sent by the mobile terminal of the courier, wherein the dialing request comprises the telephone information of a receiver. The method comprises the steps that a positioning module based on a courier mobile terminal obtains the current position of the courier mobile terminal, area code information corresponding to the current position of the courier mobile terminal is inquired, and a complete addressee telephone number is generated according to the area code information and the addressee telephone information. According to the method and the system, complete recipient fixed telephone number information can be automatically generated according to the dialing request sent by the mobile terminal of the courier, so that a salesman can directly contact with the recipient, manual operation of the courier is reduced, and a guarantee is provided for efficient express delivery.)

1. A method for matching a fixed telephone area code based on mobile terminal positioning is characterized by comprising the following steps:

receiving a dialing request sent by a courier mobile terminal; the dialing request comprises the telephone information of a receiver;

acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal;

inquiring area code information corresponding to the current position of the courier mobile terminal;

and generating a complete phone number of the receiver according to the area code information and the phone information of the receiver.

2. The method of claim 1, further comprising:

and carrying out network dialing on the receiver based on the complete receiver telephone number.

3. The method of claim 1, wherein before the obtaining of the current location of the courier mobile terminal by the location module based on the courier mobile terminal, the method further comprises:

judging whether the telephone information of the receiver contains the area code information corresponding to the receiver;

and if the area code information corresponding to the receiver is not contained, acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal.

4. The method of claim 3, further comprising:

and if the area code information corresponding to the receiver is contained, directly carrying out network dialing on the receiver based on the telephone number of the receiver contained in the telephone information of the receiver.

5. The method of claim 1, further comprising:

and changing the telephone information of the receiver, and adding the area code information into the telephone information of the receiver and storing the telephone information.

6. An apparatus for matching area codes of fixed telephones based on mobile terminal location, comprising:

a processor and a memory;

the processor and the memory are connected through a communication bus:

the processor is used for calling and executing the program stored in the memory;

the memory for storing a program for performing at least a method of matching area codes of a fixed telephone based on mobile terminal location according to any one of claims 1 to 5.

Technical Field

The application relates to the technical field of express delivery, in particular to a method and equipment for positioning and matching a fixed telephone area code based on a mobile terminal.

Background

In the express package delivery process, a courier needs to contact with a receiver by telephone, and some receivers only fill in a fixed number and do not fill in an area code when filling in personal information, so that the courier cannot get through the fixed telephone of the receiver because the courier does not have the area code information when contacting the receiver by a network telephone. The courier needs to manually inquire the area code information of the current area, and then manually combine the area code with the telephone number of the receiver to dial, so that the process is complicated, time-consuming and labor-consuming.

Disclosure of Invention

In order to overcome the problem that the call of a receiver who does not fill in an area code is time-consuming and labor-consuming in the related art at least to a certain extent, the application provides a method and equipment for positioning and matching the area code of a fixed telephone based on a mobile terminal

The scheme of the application is as follows:

according to a first aspect of embodiments of the present application, there is provided a method for matching a fixed telephone area code based on mobile terminal location, including:

receiving a dialing request sent by a courier mobile terminal; the dialing request comprises the telephone information of a receiver;

acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal;

inquiring area code information corresponding to the current position of the courier mobile terminal;

and generating a complete phone number of the receiver according to the area code information and the phone information of the receiver.

Preferably, in an implementation manner of the present application, the method further includes:

and carrying out network dialing on the receiver based on the complete receiver telephone number.

Preferably, in an implementation manner of the present application, before the obtaining, by the positioning module based on the courier mobile terminal, the current location of the courier mobile terminal, the method further includes:

judging whether the telephone information of the receiver contains the area code information corresponding to the receiver;

and if the area code information corresponding to the receiver is not contained, acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal.

Preferably, in an implementable manner of the present application, the method further comprises:

and if the area code information corresponding to the receiver is contained, directly carrying out network dialing on the receiver based on the telephone number of the receiver contained in the telephone information of the receiver.

Preferably, in an implementable manner of the present application, the method further comprises:

and changing the telephone information of the receiver, and adding the area code information into the telephone information of the receiver and storing the telephone information.

According to a second aspect of the embodiments of the present application, there is provided an apparatus for matching an area code of a fixed phone based on mobile terminal location, including:

a processor and a memory;

the processor and the memory are connected through a communication bus:

the processor is used for calling and executing the program stored in the memory;

the memory is used for storing a program at least for executing the method for matching the area code of the fixed telephone based on the positioning of the mobile terminal.

The technical scheme provided by the application can comprise the following beneficial effects: the method for matching the area code of the fixed telephone based on the mobile terminal positioning comprises the following steps: and receiving a dialing request sent by the mobile terminal of the courier, wherein the dialing request comprises the telephone information of a receiver. The method comprises the steps that a positioning module based on a courier mobile terminal obtains the current position of the courier mobile terminal, area code information corresponding to the current position of the courier mobile terminal is inquired, and a complete addressee telephone number is generated according to the area code information and the addressee telephone information. According to the method and the system, complete recipient fixed telephone number information can be automatically generated according to the dialing request sent by the mobile terminal of the courier, so that a salesman can directly contact with the recipient, manual operation of the courier is reduced, and a guarantee is provided for efficient express delivery.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.

Fig. 1 is a flowchart illustrating a method for matching area codes of fixed phones based on mobile terminal location according to an embodiment of the present application;

fig. 2 is a schematic structural diagram of an apparatus for matching a fixed telephone area code based on mobile terminal location according to an embodiment of the present application.

Reference numerals: a processor-21; a memory-22.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

A method for matching area codes of fixed phones based on mobile terminal location, referring to fig. 1, includes:

s11: receiving a dialing request sent by a courier mobile terminal; the dialing request comprises the telephone information of a receiver;

s12: acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal;

s13: inquiring area code information corresponding to the current position of the courier mobile terminal;

s14: and generating a complete phone number of the receiver according to the area code information and the phone information of the receiver.

Further, the method further comprises:

and carrying out network dialing on the receiver based on the complete telephone number of the receiver.

The recipient telephone information generally includes the name, telephone number and other information of the recipient.

The area code information refers to telephone area numbers commonly used in administrative areas of major cities in the world, and the numbers are mainly used for domestic and international long distance telephone access. For example, international code 86 of mainland China, code 010 of Beijing, code 021 of Shanghai, etc. When using domestic long distance telephone, 0 is dialed before area code.

The method for matching the area code of the fixed telephone based on the mobile terminal positioning in the embodiment comprises the following steps: and receiving a dialing request sent by the mobile terminal of the courier, wherein the dialing request comprises the telephone information of a receiver. The method comprises the steps that a positioning module based on a courier mobile terminal obtains the current position of the courier mobile terminal, area code information corresponding to the current position of the courier mobile terminal is inquired, and a complete addressee telephone number is generated according to the area code information and the addressee telephone information. According to the method and the system, complete recipient fixed telephone number information can be automatically generated according to the dialing request sent by the mobile terminal of the courier, so that a salesman can directly contact with the recipient, manual operation of the courier is reduced, and a guarantee is provided for efficient express delivery.

In some embodiments, before the positioning module based on the courier mobile terminal obtains the current location of the courier mobile terminal, the method for matching the area code of the fixed telephone based on the mobile terminal positioning further includes:

judging whether the telephone information of the receiver contains the area code information corresponding to the receiver;

and if the area code information corresponding to the receiver is not contained, acquiring the current position of the courier mobile terminal based on a positioning module of the courier mobile terminal.

And if the telephone information of the receiver contains the area code information corresponding to the receiver, directly carrying out network dialing on the receiver based on the telephone number of the receiver contained in the telephone information of the receiver.

In this embodiment, before the positioning module based on the courier mobile terminal obtains the current position of the courier mobile terminal, it is further determined whether the recipient phone information includes the area code information corresponding to the recipient, and when the area code information corresponding to the recipient is not included, the positioning module based on the courier mobile terminal obtains the current position of the courier mobile terminal. And if the telephone information of the receiver contains the area code information corresponding to the receiver, directly carrying out network dialing on the receiver based on the telephone number of the receiver contained in the telephone information of the receiver. In the embodiment, different judgments are made according to whether the area code information corresponding to the receiver is contained in the receiver telephone information, so that the situation that the area code corresponding to the receiver is repeatedly obtained when the area code information is contained in the receiver telephone information is avoided.

The method for matching the area code of the fixed telephone based on the positioning of the mobile terminal in some embodiments further comprises:

and changing the telephone information of the receiver, and adding the area code information into the telephone information of the receiver and storing the telephone information.

In the embodiment, the area code information is added to the telephone information of the receiver and stored, so that the telephone information of the receiver is more complete, and the complete telephone information of the receiver can be directly obtained when the express of the receiver is subsequently dispatched.

An apparatus for matching area codes of fixed phones based on mobile terminal location, referring to fig. 2, comprises:

a processor 21 and a memory 22;

the processor 21 is connected to the memory 22 by a communication bus:

the processor 21 is configured to call and execute a program stored in the memory 22;

a memory 22 for storing a program for performing at least one method of matching area codes of fixed telephones based on mobile terminal location in any of the above embodiments.

It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.

It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种矿井车辆位置精准跟踪及智能调度系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类