Communication method, communication device and electronic equipment

By adding the unique identifier and location information of the calling device to the call signaling, the problem that the called device cannot obtain the location information of the calling device is solved, the location information is effectively transmitted and updated, and the efficiency of emergency rescue and takeout delivery is improved. efficiency.

CN114866507BActive Publication Date: 2024-09-27YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210663721.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-13
Publication Date
2024-09-27
Estimated Expiration
2042-06-13

AI Technical Summary

Technical Problem

The existing calling device cannot meet the requirement of the called device to know the location information of the calling device.

Method used

When the calling device receives the instruction to initiate a call request, it adds the address header field to the invite signaling, including the unique identification of the calling device, and sends the signaling to the SIP server, so that the SIP server communicates with the calling device based on the pre-stored unique identification. The mapping relationship of the preset location information of the calling device, adding the preset location information to the invite signaling, and sending it to the called device. At the same time, the calling device obtains the current location information and adds it to the signaling, and the SIP server decides whether to modify the location information to update the location information of the called device.

Benefits of technology

This enables the called device to obtain the location information of the calling device, satisfies the called device's need to know the location of the calling device, and improves the efficiency of services such as emergency rescue and takeout delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114866507B
    Figure CN114866507B
Patent Text Reader

Abstract

The embodiments of the present application disclose a calling method, a calling device and an electronic device. The calling method is applied to a calling device, and includes: when receiving an instruction to initiate a call request, adding an address header field in an invite signaling, the address header field including a unique identifier of the calling device; sending an invite signaling to a SIP server, so that the SIP server adds preset location information to the invite signaling according to the address header field, and sends the invite signaling to the called device. The calling method provided in the embodiments of the present application adds an address header field including a unique identifier of the calling device in the invite signaling sent by the calling device to the SIP server, so that the SIP server can add the preset location information to the invite signaling and then send it to the called device, thereby enabling the called device to obtain the location information of the calling device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication, and in particular to a communication method, a communication device and an electronic device. Background Art

[0002] In some usage scenarios, the called device needs to know the location information of the calling device in a timely manner. For example, the user of the calling device encounters an emergency and makes an emergency call through the calling device; the recipient of the emergency call, that is, the user of the called device, needs to know the location information of the calling device so as to provide rescue in a timely manner. For another example, the user of the calling device needs to order a meal and calls the merchant through the calling device; the user of the called device needs to know the location information of the calling device so as to provide food delivery service.

[0003] However, the existing calling device cannot meet the requirement of the called device to know the location information of the calling device. Summary of the invention

[0004] In view of this, the purpose of the embodiments of the present application is to provide a calling method, a calling device and an electronic device, which can solve the problem that the existing calling device cannot meet the demand of the called device to understand the location information of the calling device.

[0005] In order to solve the above technical problems, this application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a call method, which is applied to a calling device, and the method includes:

[0007] When receiving a call initiation request instruction, adding an address header field in the invite signaling, wherein the address header field includes a unique identifier of the calling device;

[0008] The invite signaling is sent to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device.

[0009] According to a specific embodiment disclosed in the present application, the method further includes:

[0010] Obtaining current location information of the calling device;

[0011] The current location information is added to the invite signaling, and an indication header field is added to the invite signaling, wherein the indication header field is used to indicate whether the SIP server is allowed to modify the current location information.

[0012] According to a specific implementation manner disclosed in the present application, the calling device includes a volte phone, and obtaining the current location information of the calling device includes:

[0013] The current location information of the calling device is obtained through a satellite positioning module.

[0014] According to a specific implementation manner disclosed in the present application, the calling device includes a SIP phone, and obtaining the current location information of the calling device includes:

[0015] The location information pre-stored in the calling device is obtained as the current location information of the calling device.

[0016] According to a specific implementation manner disclosed in the present application, adding the current location information in the invite signaling includes:

[0017] Add the current location information in the SDP body of the invite signaling, or

[0018] A location header field is added to the invite signaling, wherein the location header field includes the current location information.

[0019] In a second aspect, an embodiment of the present application provides a call method, which is applied to a SIP server, wherein the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device, and the method includes:

[0020] Receiving an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device;

[0021] Parsing the invite signaling to obtain the unique identifier of the calling device carried in the address header field, and obtaining the preset location information of the calling device based on the mapping relationship;

[0022] After the preset location information is added to the invite signaling, the invite signaling is sent to the called device.

[0023] According to a specific implementation manner disclosed in the present application, the invite signaling further includes the current location information of the calling device and an indication header field, wherein the indication header field is used to indicate whether the SIP server is allowed to modify the current location information;

[0024] The method further comprises:

[0025] Parsing the invite signaling to obtain the indication header field;

[0026] If the indication header field indicates that the SIP server is allowed to modify the current location information, comparing the preset location information with the current location information;

[0027] If the preset location information is inconsistent with the current location information, the preset location information and the unique identifier are packaged and added to the invite signaling, and then the invite signaling is sent to the called device.

[0028] In a third aspect, an embodiment of the present application provides a communication device, which is applied to a calling device, and the device includes:

[0029] A first adding module is used to add an address header field in the invite signaling when receiving a call initiation request instruction, wherein the address header field includes a unique identifier of the calling device;

[0030] The first sending module is used to send the invite signaling to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device.

[0031] In a fourth aspect, an embodiment of the present application provides a call device, which is applied to a SIP server, wherein the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device, and the device includes:

[0032] A receiving module, configured to receive an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device;

[0033] A first parsing module, configured to parse the invite signaling to obtain a unique identifier of a calling device carried in the address header field, and obtain preset location information of the calling device based on the mapping relationship;

[0034] The second sending module is used to add the preset location information to the invite signaling and then send the invite signaling to the called device.

[0035] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect or the second aspect are implemented.

[0036] The calling method, calling device and electronic device provided by the above-mentioned embodiments of the present application add an address header field in the invite signaling sent by the calling device to the SIP server, and the address header field includes the unique identifier of the calling device. In this way, the SIP server can add the preset location information corresponding to the address header field to the invite signaling based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and then send it to the called device, thereby realizing that the called device obtains the location information of the calling device. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

[0038] Figure 1 A flowchart of a calling method provided by an embodiment of the present application is shown;

[0039] Figure 2 A flowchart of another calling method provided by an embodiment of the present application is shown;

[0040] Figure 3 A schematic diagram of the structure of a communication device provided in an embodiment of the present application is shown;

[0041] Figure 4 A schematic diagram of the structure of another communication device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0043] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0044] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0045] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0046] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

[0047] Example 1

[0048] See also Figure 1 , which is a flow chart of a calling method provided in an embodiment of the present application, such as Figure 1 As shown, the method is applied to a calling device and includes the following steps:

[0049] Step 110: When a call initiation request instruction is received, an address header field is added to the invite signaling, wherein the address header field includes a unique identifier of the calling device.

[0050] Specifically, the calling device usually sends an invite signaling to the called device, and then after the called device responds with a status code, such as 180 or 200OK, a call is established between the calling device and the called device. Status code 180 indicates ringing, and status code 200OK indicates that the called party has answered the call. The invite signaling usually contains the session type and some parameters necessary to establish a call. The session type can include voice, multimedia video used for network conferencing, and game sessions.

[0051] The process of the calling device receiving the call request instruction may include: when the user needs to make a call, the user enters the number to be called by clicking the number key, and then clicks the dial key, and the call request instruction is generated based on the user's click operation, thereby triggering the call to the number. It can be understood that the above process is only an exemplary description, and this application does not limit the specific process.

[0052] In the embodiment of the present application, the specific position of the address header field is not limited, and the position of the header field does not affect the call, and it only needs to be added in the invite signaling.

[0053] Step 120: Send the invite signaling to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device.

[0054] Specifically, since the invite signaling includes an address header field, the SIP server that receives the invite signaling can obtain the preset location information corresponding to the address header field based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and then add the preset location information to the invite signaling, and send the invite signaling including the preset location information to the called device, thereby enabling the called device to obtain the location information of the calling device. It should be noted here that the unique identifier includes but is not limited to the MAC address of the phone, and the type of unique identifier does not limit the protection scope of the present invention. In addition, the mapping relationship of the preset location information of the calling device adopts a location information mapping table in this preferred embodiment. The location information mapping table is a data correspondence table that identifies the location information of the phone and the IP address of the phone. The location information mapping table supports subsequent query, uninstallation, modification and other operational functions.

[0055] The mac address is also called the physical address or hardware address. It is burned directly on the device by the device manufacturer. The mac address is usually represented by 12 hexadecimal numbers, such as: 00-16-EA-AE-3C-40 is a mac address, where the first 3 bytes, the hexadecimal number 00-16-EA, represent the number of the network hardware manufacturer, which is assigned by the IEEE (Institute of Electrical and Electronics Engineers), and the last 3 bytes, the hexadecimal number AE-3C-40, represent the serial number of a product (such as a network card) manufactured by the device manufacturer. Since the mac address is unique, just like an ID number, in the embodiment of the present application, the mac address is used as a unique identifier to represent the calling device, so that the acquired preset location information is also unique.

[0056] In an optional implementation manner, the method further includes:

[0057] Step 130: Obtain the current location information of the calling device;

[0058] Step 140: Add the current location information to the invite signaling, and add an indication header field to the invite signaling, wherein the indication header field is used to indicate whether the SIP server is allowed to modify the current location information.

[0059] Specifically, upon receiving the request, the calling device can also actively obtain its own current location information and add the current location information to the invite signaling, thereby allowing the SIP server to directly obtain the current location information of the calling device.

[0060] In addition, an indication header field is added to the invite signaling, and the indication header field is used to indicate whether the SIP server is allowed to modify the current location information.

[0061] In an optional implementation manner, the step 120 includes:

[0062] Add the current location information in the SDP body of the invite signaling, or

[0063] A location header field is added to the invite signaling, wherein the location header field includes the current location information.

[0064] Specifically, the embodiments of the present application provide two methods for adding current location information in the invite signaling. The invite signaling includes an SDP body, so the current location information can be added to the SDP body; or a location header field is added to the invite signaling, and the location header field includes the current location information.

[0065] It is understandable that the advantage of using a new additional header field to add the current location information is that it can ensure that the SDP (Session Description Protocol) interaction of the phone terminal call can keep the original session logic unchanged; the advantage of using the SDP body to carry the location information is that there is no signaling penetration problem on the server side, the server does not need to be developed in conjunction, and the compatibility is relatively strong.

[0066] Two methods for obtaining the current location information of the calling device according to different calling device types provided in the embodiments of the present application will be specifically introduced below.

[0067] In an optional implementation manner, the calling device includes a volte phone, and step 110 includes:

[0068] The current location information of the calling device is obtained through a satellite positioning module.

[0069] Specifically, a volte (Voice over Long-Term Evolution) phone is usually a mobile terminal, including a satellite positioning module. Therefore, the current location information of the calling device can be obtained through the satellite positioning module, thereby ensuring the accuracy of the current location information.

[0070] The satellite positioning module includes at least one of the Global Positioning System (GPS), GLONASS, Beidou, and Galileo. The current location information of the calling device can be determined by multiple satellite positioning modules to improve the accuracy of the current location information of the calling device. When the current location information of the calling device is determined by multiple satellite positioning modules, the average value of all the current location information can be directly taken, or different weights can be assigned to the current location information obtained by each different satellite positioning module.

[0071] In another optional implementation, the calling device includes a SIP phone, and step 110 includes:

[0072] The location information pre-stored in the calling device is obtained as the current location information of the calling device.

[0073] Specifically, a SIP (Session initialization Protocol) phone is a phone that supports the SIP protocol. It is connected using an Internet cable or a WIFI (Wireless Fidelity) signal, which means that it can be used as long as there is a network. It can also use the 4G (the 4th generation mobilecommunication technology) signal of a mobile phone to access SIP. SIP phones can also integrate video functions. If the operator supports it, two SIP phones with video functions can make video calls, or video access control and SIP phones can make video calls. SIP phones usually have their own location information pre-stored, so the location information can be directly used as the current location information of the SIP phone, avoiding re-acquisition and improving processing efficiency.

[0074] The calling method provided in the embodiment of the present application adds an address header field in the invite signaling sent by the calling device to the SIP server, and the address header field includes the unique identifier of the calling device. In this way, the SIP server can add the preset location information corresponding to the address header field to the invite signaling based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and then send it to the called device, thereby enabling the called device to obtain the location information of the calling device.

[0075] Example 2

[0076] Corresponding to the above embodiment 1, please refer to Figure 2 , which is a flow chart of another calling method provided in an embodiment of the present application, such as Figure 2 As shown, the method is applied to a SIP server, the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device, and the method comprises the following steps:

[0077] Step 210: Receive an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device.

[0078] Specifically, the SIP server receives the invite signaling including the address header field sent by the calling device. Since the address header field includes the unique identifier of the calling device, it can be used in subsequent steps.

[0079] Step 220: Parse the invite signaling to obtain the unique identifier of the calling device carried in the address header field, and obtain the preset location information of the calling device based on the mapping relationship.

[0080] Specifically, since the unique identifier is unique, the preset location information obtained based on the mapping relationship is also unique.

[0081] Step 230: After adding the preset location information to the invite signaling, the invite signaling is sent to the called device.

[0082] Specifically, after the preset location information is added to the invite signaling, it is sent to the called device, thereby enabling the called device to obtain the location information of the calling device.

[0083] In an optional implementation manner, the invite signaling further includes the current location information of the calling device and an indication header field, where the indication header field is used to indicate whether the SIP server is allowed to modify the current location information;

[0084] The method further comprises:

[0085] Parsing the invite signaling to obtain the indication header field;

[0086] If the indication header field indicates that the SIP server is allowed to modify the current location information, comparing the preset location information with the current location information;

[0087] If the preset location information is inconsistent with the current location information, the preset location information and the unique identifier are packaged and added to the invite signaling, and then the invite signaling is sent to the called device.

[0088] Specifically, when the invite signaling further includes an indication header field and the current location information of the calling device, the invite signaling is parsed to obtain the indication header field.

[0089] If the indication header field indicates that the SIP server is allowed to modify the current location information, the preset location information is compared with the current location information. If the preset location information is inconsistent with the current location information, the preset location information and the unique identifier are packaged and added to the invite signaling, and then the invite signaling is sent to the called device. It is understandable that if the preset location information is inconsistent with the current location information, no processing is required.

[0090] It should be noted that, if the indication header field does not allow the SIP server to modify the current location information, the SIP server directly sends the invite signaling including the current location information to the called device.

[0091] In the call method provided in the embodiment of the present application, the SIP server can add the preset location information corresponding to the address header field to the invite signaling based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and then send it to the called device, thereby enabling the called device to obtain the location information of the calling device.

[0092] Example 3

[0093] Corresponding to the above method embodiment 1, see Figure 3 , is a schematic diagram of the structure of a communication device provided in an embodiment of the present application, such as Figure 3 As shown, the communication device 300 is applied to a calling device, and includes:

[0094] A first adding module 310 is configured to add an address header field in an invite signaling when receiving a call initiation request instruction, wherein the address header field includes a unique identifier of the calling device;

[0095] The first sending module 320 is used to send the invite signaling to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device.

[0096] Optionally, the communication device 300 further includes:

[0097] An acquisition module, used to acquire the current location information of the calling device;

[0098] The second adding module is used to add the current location information to the invite signaling, and to add an indication header field to the invite signaling, wherein the indication header field is used to indicate whether the SIP server is allowed to modify the current location information.

[0099] Optionally, the calling device includes a volte phone, and the acquisition module is specifically used to:

[0100] The current location information of the calling device is obtained through a satellite positioning module.

[0101] Optionally, the calling device includes a SIP phone, and the acquisition module is specifically used to:

[0102] The location information pre-stored in the calling device is obtained as the current location information of the calling device.

[0103] Optionally, the second adding module is specifically used for:

[0104] Add the current location information in the SDP body of the invite signaling, or

[0105] A location header field is added to the invite signaling, wherein the location header field includes the current location information.

[0106] The communication device provided in the embodiment of the present application can achieve Figure 1 The various processes of the calling method in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.

[0107] Example 4

[0108] Corresponding to the above method embodiment 2, see Figure 4 , is a schematic diagram of the structure of another communication device provided in an embodiment of the present application, such as Figure 4 As shown, the communication device 400 is applied to a SIP server, and the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device. The communication device 400 includes:

[0109] The receiving module 410 is configured to receive an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device;

[0110] A first parsing module 420 is configured to parse the invite signaling to obtain a unique identifier of the calling device carried in the address header field, and obtain preset location information of the calling device based on the mapping relationship;

[0111] The second sending module 430 is configured to add the preset location information to the invite signaling and then send the invite signaling to the called device.

[0112] Optionally, the invite signaling further includes the current location information of the calling device and an indication header field, where the indication header field is used to indicate whether the SIP server is allowed to modify the current location information; the communication device 400 further includes:

[0113] A second parsing module, configured to parse the invite signaling to obtain the indication header field;

[0114] a comparing module, configured to compare the preset location information with the current location information if the indication header field indicates that the SIP server is allowed to modify the current location information;

[0115] The third sending module is used for, if the preset location information is inconsistent with the current location information, packaging the preset location information and the unique identifier and adding them to the invite signaling, and then sending the invite signaling to the called device.

[0116] The communication device provided in the embodiment of the present application can achieve Figure 2 The various processes of the calling method in the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.

[0117] Optionally, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions, and when the program or instructions are executed by the processor, the various processes of the above-mentioned call method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0118] Optionally, an embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned call method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0119] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0120] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0122] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for making a call, characterized in that: Applied to a calling device, the calling device includes a volte phone and a SIP phone, the method includes: When receiving a call initiation request instruction, adding an address header field in the invite signaling, wherein the address header field includes a unique identifier of the calling device; Sending the invite signaling to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device; Obtaining current location information of the calling device; Add the current location information in the SDP body of the invite signaling, or add a location header field in the invite signaling and add an indication header field in the invite signaling, wherein the location header field includes the current location information, and the indication header field is used to indicate whether the SIP server is allowed to modify the current location information; Wherein, obtaining the current location information of the calling device includes: Acquiring the current location information of the calling device through multiple satellite positioning modules; Wherein, the obtaining the current location information of the calling device further includes: The location information pre-stored in the calling device is obtained as the current location information of the calling device.

2. A method for making a call, characterized in that: Applied to a SIP server, the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device, the method comprising: receiving an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device, the invite signaling also includes current location information of the calling device and an indication header field, the indication header field is used to indicate whether the SIP server is allowed to modify the current location information; Parsing the invite signaling to obtain the unique identifier of the calling device carried in the address header field, and obtaining the preset location information of the calling device based on the mapping relationship; After adding the preset location information to the invite signaling, the invite signaling is sent to the called device; Parsing the invite signaling to obtain the indication header field; If the indication header field indicates that the SIP server is allowed to modify the current location information, comparing the preset location information with the current location information; If the preset location information is inconsistent with the current location information, the preset location information and the unique identifier are packaged and added to the invite signaling, and then the invite signaling is sent to the called device.

3. A communication device, characterized in that: Applied to a calling device, the calling device includes a volte phone and a SIP phone, and the device includes: A first adding module is used to add an address header field in the invite signaling when receiving a call initiation request instruction, wherein the address header field includes a unique identifier of the calling device; A first sending module, configured to send the invite signaling to the SIP server, so that the SIP server adds the preset location information to the invite signaling according to the address header field and based on the mapping relationship between the pre-stored unique identifier and the preset location information of the calling device, and sends the invite signaling to the called device; An acquisition module, used to acquire the current location information of the calling device; a second adding module, configured to add the current location information to the SDP body of the invite signaling, or to add a location header field to the invite signaling, and to add an indication header field to the invite signaling, wherein the location header field includes the current location information, and the indication header field is used to indicate whether the SIP server is allowed to modify the current location information; The acquisition module is specifically used to acquire the current location information of the calling device through multiple satellite positioning modules; The acquisition module is further configured to acquire location information pre-stored in the calling device as the current location information of the calling device.

4. A communication device, characterized in that: Applied to a SIP server, the SIP server pre-stores a mapping relationship between a unique identifier and preset location information of a calling device, the device comprising: A receiving module, configured to receive an invite signaling including an address header field sent by a calling device, wherein the address header field includes a unique identifier of the calling device, and the invite signaling further includes current location information of the calling device and an indication header field, wherein the indication header field is used to indicate whether the SIP server is allowed to modify the current location information; A first parsing module, configured to parse the invite signaling to obtain a unique identifier of the calling device carried in the address header field, parse the invite signaling to obtain the address header field based on the mapping relationship, and obtain preset location information of the calling device according to the address header field; A second sending module, configured to add the preset location information to the invite signaling and then send the invite signaling to the called device; A second parsing module, configured to parse the invite signaling to obtain the indication header field; a comparing module, configured to compare the preset location information with the current location information if the indication header field indicates that the SIP server is allowed to modify the current location information; The third sending module is used for, if the preset location information is inconsistent with the current location information, packaging the preset location information and the unique identifier and adding them to the invite signaling, and then sending the invite signaling to the called device.

5. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the calling method as described in any one of claims 1 to 2 are implemented.