CN110691102A - Information sharing method, electronic equipment and server - Google Patents

Information sharing method, electronic equipment and server Download PDF

Info

Publication number
CN110691102A
CN110691102A CN201911040473.3A CN201911040473A CN110691102A CN 110691102 A CN110691102 A CN 110691102A CN 201911040473 A CN201911040473 A CN 201911040473A CN 110691102 A CN110691102 A CN 110691102A
Authority
CN
China
Prior art keywords
electronic device
information
electronic equipment
server
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911040473.3A
Other languages
Chinese (zh)
Inventor
贾晨
毛源泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911040473.3A priority Critical patent/CN110691102A/en
Publication of CN110691102A publication Critical patent/CN110691102A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The embodiment of the invention provides an information sharing method, electronic equipment and a server. The method is applied to a first electronic device and comprises the following steps: receiving a first sharing operation; responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a first session initial protocol signaling in a preset data format, and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state. The embodiment of the invention solves the problem that in the prior art, in some special call scenes, the acquisition of the positioning information of the called party equipment has certain difficulty.

Description

Information sharing method, electronic equipment and server
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to an information sharing method, an electronic device, and a server.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. Various functions of the electronic equipment are gradually improved, various intelligent services can be provided, and great convenience is brought to users.
Currently, in the using process of the electronic device, the way of sharing the location information is implemented by a third party application, for example, some communication applications or map applications; and sharing the position information by utilizing the mobile network through a third-party application program. If the electronic equipment needs to share the positioning information in the call process, the current call interface is usually required to be quitted, and then the third-party application is started for positioning; and if the user is in a video call, exiting the call interface easily causes exiting the video interface.
In some special call scenarios, such as emergency call, the network may request the electronic device to provide location information; in the prior art, in this scenario, an electronic device may actively provide location information thereof to a network through an Assisted Global Positioning System (AGPS) function. However, the AGPS provides the location assistance information, and after receiving the location assistance information, the network needs to perform further data processing to obtain the coarse location information, and cannot obtain the accurate location information. In an emergency call scene, if the user quits the call interface again to call a third-party application program for positioning, the operation is obviously complicated; in addition, if the electronic device is turned off or in a flight mode, the other user cannot dial the user number, and if the called user is in an emergency scene, the called user cannot be contacted, which may cause serious consequences.
Therefore, in the prior art, in some special call scenarios, it is difficult to obtain the location information of the called party device.
Disclosure of Invention
Embodiments of the present invention provide an information sharing method, an electronic device, and a server, so as to solve the problem in the prior art that it is difficult to obtain positioning information of an electronic device in some special call scenarios.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information sharing method, where the method is applied to a first electronic device, and the method includes:
receiving a first sharing operation;
responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment;
carrying the shared information in a first session initial protocol signaling in a preset data format, and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
In a second aspect, an embodiment of the present invention provides an information sharing method, where the method is applied to a server, and the method includes:
receiving a second sharing operation sent by the first electronic equipment or sent by the second electronic equipment; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
responding to the second sharing operation, and acquiring sharing information of the first electronic equipment; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information;
and carrying the shared information in a second session initiation protocol signaling in a preset data format, and sending the second session initiation protocol signaling to the second electronic equipment.
In a third aspect, an embodiment of the present invention provides an information sharing method, where the method is applied to a second electronic device, and the method includes:
receiving a second session initiation protocol signaling sent by a server, and acquiring shared information of the first electronic equipment carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic equipment is electronic equipment which is communicated with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment;
and displaying the shared information on a call interface or a calling interface of the second electronic equipment.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes:
a first receiving module, configured to receive a first sharing operation;
the information acquisition module is used for responding to the first sharing operation and acquiring the sharing information of the first electronic equipment; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment;
the first signaling sending module is used for carrying the shared information in a first session initial protocol signaling in a preset data format and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
In a fifth aspect, an embodiment of the present invention further provides a server, where the server includes:
the second receiving module is used for receiving a second sharing operation sent by the first electronic equipment or the second electronic equipment; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
an operation response module, configured to respond to the second sharing operation and obtain sharing information of the first electronic device; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information;
and the second signaling sending module is used for carrying the shared information in a second session initiation protocol signaling in a preset data format and sending the second session initiation protocol signaling to the second electronic equipment.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes:
the signaling receiving module is used for receiving a second session initiation protocol signaling sent by the server and acquiring shared information of the first electronic equipment carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic equipment is electronic equipment which is communicated with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment;
and the information display module is used for displaying the shared information on a call interface or a calling interface of the second electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the information sharing method when executing the computer program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps in the information sharing method described above.
In an embodiment of the present invention, a first sharing operation is received; responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a first session initial protocol signaling in a preset data format, so that the first electronic equipment does not need to quit a call interface when sharing the information; sending the first session initial protocol signaling to a server so that the server forwards the shared information to the second electronic equipment, so that the first electronic equipment can actively send the shared information to the second electronic equipment through the server in a special session scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating an information sharing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of an information sharing method according to an embodiment of the present invention;
fig. 3 is a third flowchart of an information sharing method according to an embodiment of the present invention;
FIG. 4 shows a flow chart of a first example of an embodiment of the invention;
FIG. 5 shows a schematic diagram of a first example of embodiment of the invention;
FIG. 6 shows a flow chart of a second example of embodiment of the invention;
FIG. 7 shows a schematic diagram of a third example of embodiment of the invention;
FIG. 8 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 9 is a second block diagram of an electronic device according to an embodiment of the invention;
fig. 10 is a third block diagram of an electronic device according to an embodiment of the invention;
fig. 11 is a fourth block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, an embodiment of the present invention provides an information sharing method, where the method includes:
in step 101, a first electronic device receives a first sharing operation.
The first sharing operation is to share the shared information of the first electronic device at the first electronic device, for example, the first electronic device is in a call process or in a called ring state; the call type includes a voice call and/or a video call, and the call may be a Circuit Switched (CS) domain call, a Packet Switched (PS) domain call, and/or an IP Multimedia Subsystem (IMS) domain call.
Step 102, the first electronic device responds to the first sharing operation to acquire sharing information of the first electronic device; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment.
Acquiring sharing information of the first electronic equipment in response to the first sharing operation; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment.
The emergency contact information can be used for contacting the emergency contact when the opposite terminal cannot dial the call of the first electronic equipment, and the emergency contact information can comprise the name and/or the contact way of the emergency contact; the emergency contact information may be preset by a user of the first electronic device.
The position information is acquired by a positioning module (such as a GPS positioning module) of the first electronic device, and the positioning module has high positioning precision and can comprise information such as longitude and latitude, cities, blocks, roads and the like; if the first sharing operation is the operation of the first electronic equipment in the conversation process, the position information is obtained by the positioning module in real time; if the first sharing operation is an operation in which the first electronic device is in a called ring state, the location information is preset by the first electronic device, for example, when the first electronic device is to be powered off or enters a flight mode, for example, in a scenario where the first electronic device is running low in battery power or in a scenario where the first electronic device is actively powered off, the flight mode is an offline mode, and the user may upload the location information in advance.
In addition, the shared information may further include other content, and the other content may be set by a user of the first electronic device, or default content may be set by a system of the first electronic device.
103, the first electronic device carries the shared information in a first session initial protocol signaling in a preset data format, and sends the first session initial protocol signaling to a server, so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
The first electronic device is in communication connection with the server and sends the shared information to the server, carries the shared information in a first Session Initiation Protocol (SIP) signaling in a preset data format and sends the first SIP signaling to the server; specifically, the SIP protocol is a text-based application layer signaling control protocol, session content is not defined, only how to manage a conference is defined, and flexible expandability is achieved; in addition, the session initiation protocol signaling is transmitted after being encrypted, and the network can allocate a proprietary wireless resource to transmit the session initiation protocol signaling, so that the personal information of the user is ensured not to be leaked, and the success rate of information transmission is higher; based on the expansibility of the first electronic equipment, adding the shared information into the first session initial protocol signaling in a preset data format without exiting the call interface by the first electronic equipment; optionally, a shared information button may be provided in the call interface.
Further, the second electronic device is an electronic device which makes a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state; that is to say, the embodiment of the present invention includes two application scenarios, specifically as follows:
the first scenario is that the first electronic device can be used as a calling electronic device or a called electronic device during a call between the first electronic device and the second electronic device; at this time, the first electronic device may send the shared information to the second electronic device based on the first sharing operation actively triggered by the user or the first sharing operation triggered by the second electronic device forwarded by the server. Therefore, in a normal call state, the first electronic equipment can actively share information with the second electronic equipment without quitting a call interface; in a special call state, such as an emergency call scenario, the first electronic device may actively report the location information and the emergency contact information.
When the server detects that the first electronic equipment is in the preset state, the server actively sends the shared information to the second electronic equipment, so that the second electronic equipment can conveniently acquire the position information and the emergency contact information of the first electronic equipment; in this way, in a special call scenario, the second electronic device may obtain the shared information through the server so as to contact the user of the first electronic device.
Optionally, in an embodiment of the present invention, the preset data format is an extensible markup Language (XML) format.
In addition, in order to prevent the privacy of the user from being leaked, the second electronic device is an electronic device preset by the user of the first electronic device, for example, the first electronic device may preset a list of the second electronic device.
Optionally, in this embodiment of the present invention, the receiving the first sharing operation includes:
the first electronic equipment receives a first sharing operation triggered by a user;
or
And when detecting that the user dials the preset number, the first electronic equipment confirms that the first sharing operation is received.
If the first electronic device is in the process of communication, a user can actively trigger a first sharing operation; if the user dials an emergency number, such as a fire alarm, emergency call, etc., the first sharing operation may be automatically triggered by the first electronic device.
In the above embodiments of the present invention, a first sharing operation is received; responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a first session initial protocol signaling in a preset data format, so that the first electronic equipment does not need to quit a call interface when sharing the information; sending the first session initial protocol signaling to a server so that the server forwards the shared information to the second electronic equipment, so that the first electronic equipment can actively send the shared information to the second electronic equipment through the server in a special session scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a second electronic equipment user searches the first electronic equipment, and the emergency contact information has significance in a special scene; the embodiment of the invention solves the problem that in the prior art, in some special call scenes, the acquisition of the positioning information of the called party equipment has certain difficulty.
Referring to fig. 2, an embodiment of the present invention further provides an information sharing method, where the method includes:
step 201, a server receives a second sharing operation sent by a first electronic device or a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
The second sharing operation is used for sharing the sharing information of the first electronic device, and may be transmitted by the first electronic device or the second electronic device. For example, when the first electronic device is in a call process, the second sharing operation may be sent by the first electronic device or the second electronic device; if the first electronic device is in the called ring state, the second sharing operation may be sent by the second electronic device.
Further, the second electronic device is an electronic device that makes a call with the first electronic device at the current moment, or an electronic device that calls the first electronic device when the first electronic device is in a preset state.
The call type includes a voice call and/or a video call, and the call may be a CS domain call, a PS domain call, and/or an IMS domain call.
Step 202, the server responds to the second sharing operation to acquire the sharing information of the first electronic device; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information.
The server responds to the second sharing operation to acquire the sharing information of the first electronic equipment; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the moment of uploading the shared information; the emergency contact information can be used for contacting the emergency contact when the opposite terminal cannot dial the call of the first electronic equipment, and the emergency contact information can comprise the name and/or the contact way of the emergency contact; the emergency contact information may be preset by a user of the first electronic device. The position information is acquired by a positioning module (such as a GPS positioning module) of the first electronic device, and the positioning module has high positioning precision and can comprise information such as longitude and latitude, cities, blocks, roads and the like; if the first sharing operation is the operation of the first electronic equipment in the conversation process, the position information is obtained by the positioning module in real time; if the first sharing operation is an operation in which the first electronic device is in a called ring state, the location information is preset by the first electronic device, for example, when the first electronic device is to be powered off or enters a flight mode, the user may upload the location information in advance.
The first electronic device and the second electronic device are respectively in communication connection with the server, the first electronic device sends the shared information to the server, and the first electronic device carries the shared information in a first session initial protocol signaling in a preset data format and sends the first session initial protocol signaling to the server; specifically, the SIP protocol is a text-based application layer signaling control protocol, session content is not defined, only how to manage a conference is defined, and flexible expandability is achieved; in addition, the session initiation protocol signaling is transmitted after being encrypted, and the network can allocate a proprietary wireless resource to transmit the session initiation protocol signaling, so that the personal information of the user is ensured not to be leaked, and the success rate of information transmission is higher.
Optionally, in this embodiment of the present invention, the preset data format is an XML format.
Step 203, the server carries the shared information in a second session initiation protocol signaling in the preset data format, and sends the second session initiation protocol signaling to the second electronic device.
After receiving the first session initial protocol signaling, the server acquires shared information in the first session initial protocol signaling; and carrying the shared information in a second session initiation protocol signaling in the preset data format, and sending the second session initiation protocol signaling to the second electronic equipment.
The embodiment of the invention comprises two application scenes, specifically as follows:
the first scenario is that the first electronic device can be used as a calling electronic device or a called electronic device during a call between the first electronic device and the second electronic device; at this time, the server may receive a second sharing operation sent by the first electronic device, or a second sharing operation triggered by the second electronic device; the server then sends the shared information to the second electronic device.
When the server detects that the first electronic equipment is in the preset state, the server actively sends the shared information to the second electronic equipment, so that the second electronic equipment can conveniently acquire the position information and the emergency contact information of the first electronic equipment; in this way, in a special call scenario, the second electronic device may obtain the shared information through the server so as to contact the user of the first electronic device.
Optionally, in the foregoing embodiment of the present invention, the server, in response to the second sharing operation, acquires shared information of the first electronic device, where the shared information includes a first case:
the first condition is as follows: and if the second sharing operation is that the first electronic equipment sends the sharing information in the process of the first electronic equipment communicating with the second electronic equipment, the server receives the sharing information sent by the first electronic equipment in real time.
If the first electronic device is in the process of communication and actively triggers the second sharing operation, the server receives the sharing information sent by the first electronic device in real time.
Case two: if the second sharing operation is a call request of the second electronic device calling the first electronic device, the server sends the call request to the first electronic device;
and if the response of the first electronic equipment to the call request is not received within a preset time threshold, acquiring the shared information which is uploaded to the server in advance by the first electronic equipment.
If the second electronic equipment calls the first electronic equipment through the server, the server sends a call request to the first electronic equipment; if the first electronic device does not respond after time out, namely the response of the first electronic device to the call request is not received within a preset time threshold, and the shared information which is uploaded to the server in advance by the first electronic device is obtained.
In the above embodiment of the present invention, a second sharing operation sent by the first electronic device or sent by the second electronic device is received; responding to the second sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a second session initiation protocol signaling in a preset data format, and sending the second session initiation protocol signaling to the second electronic equipment, so that the server can send the shared information to the second electronic equipment in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a second electronic equipment user searches the first electronic equipment, and the emergency contact information has significance in a special scene; the embodiment of the invention solves the problem that in the prior art, in some special call scenes, the acquisition of the positioning information of the called party equipment has certain difficulty.
Referring to fig. 3, an embodiment of the present invention provides an information sharing method, where the method includes:
step 301, a second electronic device receives a second session initiation protocol signaling sent by a server, and acquires shared information of a first electronic device carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic device is an electronic device which communicates with the second electronic device at the current moment, or an electronic device which is called by the second electronic device at the current moment.
The first electronic equipment is electronic equipment which communicates with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment; the server sends the sharing information of the first electronic equipment to the second electronic equipment in the process that the second electronic equipment is in conversation with the first electronic equipment or the process that the second electronic equipment calls the first electronic equipment.
If the second electronic equipment is in the process of communicating with the first electronic equipment, the shared information is sent to a server by the first electronic equipment in real time and is sent to the second electronic equipment by the server in real time;
and if the second electronic equipment is in the process of calling the first electronic equipment, uploading the shared information to the server for the first electronic equipment in advance.
The emergency contact information can be used for contacting the emergency contact when the opposite terminal cannot dial the call of the first electronic equipment, and the emergency contact information can comprise the name and/or the contact way of the emergency contact; the emergency contact information may be preset by a user of the first electronic device. The position information is acquired by a positioning module (such as a GPS positioning module) of the first electronic device, and the positioning module has high positioning accuracy and may include information such as longitude and latitude, city, block, and road.
The server carries the shared information in a second session initial protocol signaling in a preset data format and sends the second session initial protocol signaling to the server; specifically, the SIP protocol is a text-based application layer signaling control protocol, session content is not defined, only how to manage a conference is defined, and flexible expandability is achieved; in addition, the session initiation protocol signaling is transmitted after being encrypted, and the network can allocate a proprietary wireless resource to transmit the session initiation protocol signaling, so that the personal information of the user is ensured not to be leaked, and the success rate of information transmission is higher.
Optionally, in this embodiment of the present invention, the preset data format is an XML format.
Step 302, displaying the shared information on a call interface or a call interface of the second electronic device.
After receiving the shared information, the second electronic device displays the shared information on a call interface or a calling interface, so that a user of the second electronic device can conveniently know the shared information, and thus, in a normal call state, the first electronic device and the second electronic device can share the information without quitting the call interface; in the special call state, the second electronic device can acquire the shared information through the server so as to be in contact with the user of the first electronic device.
In the above embodiment of the present invention, a second session initiation protocol signaling sent by a server is received, and shared information of a first electronic device carried in a preset data format in the second session initiation protocol signaling is obtained; displaying the shared information on a call interface or a calling interface of the second electronic equipment, so that the server can send the shared information to the second electronic equipment in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a second electronic equipment user searches the first electronic equipment, and the emergency contact information has significance in a special scene; the embodiment of the invention solves the problem that in the prior art, in some special call scenes, the acquisition of the positioning information of the called party equipment has certain difficulty.
As a first example, referring to fig. 4 to 5, the main processes of an information sharing method are shown;
referring to fig. 4, the first electronic device mainly performs the following processes:
step 401, a first sharing operation is received, where the first sharing operation is to click a location sharing button in a call interface.
Step 402, a communication module of a first electronic device obtains location information from a positioning module, where the location information includes longitude and latitude, city, and street information.
In step 403, the communication module writes the location information and the shared information such as the emergency contact into the first session initiation protocol signaling (e.g., in the form of an UPDATE message).
In step 404, the first electronic device sends an UPDATE message to the server.
As shown in fig. 5, the first electronic device UPDATEs session information during a call, and sends an UPDATE message carrying shared information to the server.
After receiving the UPDATE message, the server replies a 200OK message for confirmation.
The server extracts the location information and the emergency contact information in the xml format from the UPDATE message and sends the location information and the emergency contact information to the second electronic device, and the second electronic device displays the acquired location information and the emergency contact information to the user in a call interface.
As a second example, referring to fig. 6, in an emergency call scenario, the first electronic device mainly performs the following processes:
601, the first electronic equipment dials an IMS emergency call;
step 602, the communication module acquires information such as position information and emergency contact from the positioning module; the location information includes longitude and latitude, city, street information.
In step 603, the communication module writes the location information and the shared information such as the emergency contact into a first session initiation protocol signaling (e.g., in the form of an INVITE message), and sends the first session initiation protocol signaling to the server.
In step 604, the first electronic device sends the INVITE message to the server.
After receiving the INVITE message, the server replies a 200OK message for confirmation, and extracts the position information.
As a third example, referring to fig. 7, when the first electronic device is in a power-off or offline mode, the first electronic device presets location information and related information such as an emergency contact, and when another user dials a number, a related information prompt or a call is performed.
The method mainly comprises the following steps:
in step 701, the first electronic device uploads the shared information to a server in advance.
Specifically, when the first electronic device is low in power or in a shutdown or offline mode of a user, the first electronic device presets own location information (or common location information) and emergency contact information in the electronic device setting; when the electronic equipment is low in electric quantity or the user is about to shut down or the offline mode is about to start, the electronic equipment prompts the user whether to set the information such as the position information of the contact person or the number of the emergency contact person or not, or the user actively sets the information, and at the moment, the user of the first electronic equipment can set the position information and the information of the emergency contact person in the electronic equipment.
In addition, after the user uploads the location information and the emergency contact information, the server stores the information into an account database of the server according to the user account (such as a number).
Step 702, when the server detects that the second electronic device calls the first electronic device and the first electronic device does not answer after time out, the server obtains the sharing information uploaded by the first electronic device in advance.
Step 703, the server sends the shared information to the second electronic device;
when the server receives an incoming call signaling of the second electronic equipment and finds that the first electronic equipment cannot be contacted, the server can take out information preset by the first electronic equipment from a server account database and issue the information to an incoming call user, and if the incoming call user is an IMS incoming call, the user preset information can be carried in an SIP message and issued to the incoming call user; if the call comes from the operator network (2/3/4G), the server sends the information to the calling user in the related CS/NAS signaling.
And 704, the second electronic equipment receives the shared information sent by the server and displays the shared information on a call interface or a calling interface.
In the above example, the first electronic device carries the shared information in a first session initial protocol signaling in a preset data format and sends the shared information to the server; the server carries the shared information in a second session initial protocol signaling in a preset data format and sends the shared information to the second electronic equipment, so that the first electronic equipment can actively send the shared information to the second electronic equipment through the server in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
With the above description of the information sharing method provided by the embodiment of the present invention, an electronic device provided by the embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 8, an embodiment of the present invention further provides an electronic device 800, where the electronic device 800 is a first electronic device 800, and the electronic device 800 includes:
a first receiving module 801, configured to receive a first sharing operation;
an information obtaining module 802, configured to obtain shared information of the first electronic device 800 in response to the first sharing operation; wherein the shared information at least includes emergency contact information and location information of the first electronic device 800 at the current moment;
a first signaling sending module 803, configured to carry the shared information in a first session initial protocol signaling in a preset data format, and send the first session initial protocol signaling to a server, so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device that makes a call with the first electronic device 800 at the current moment, or an electronic device that calls the first electronic device 800 when the first electronic device 800 is in a preset state.
Optionally, in this embodiment of the present invention, the first receiving module 801 includes:
the first receiving submodule is used for receiving a first sharing operation triggered by a user;
or
And the second receiving submodule is used for confirming that the first sharing operation is received when the fact that the user dials the preset number is detected.
Optionally, in this embodiment of the present invention, the second electronic device is an electronic device preset by the user of the first electronic device 800.
In the above embodiments of the present invention, the first receiving module 801 receives the first sharing operation; the information obtaining module 802 obtains the shared information of the first electronic device 800 in response to the first sharing operation; the first signaling sending module 803 carries the shared information in a first session initiation protocol signaling in a preset data format, and sends the first session initiation protocol signaling to the server, and the first electronic device 800 does not need to quit the call interface when sharing the information; the server forwards the shared information to the second electronic device, so that the first electronic device 800 can actively send the shared information to the second electronic device through the server in a special call scene; the position information is acquired by the positioning module of the first electronic device 800, so that the precision is high; the emergency contact information may enable the first electronic device 800 to be in a power-off or offline mode, and the second electronic device user searches for the first electronic device 800, where the emergency contact information is significant in a special scenario.
Referring to fig. 9, an embodiment of the present invention further provides a server 900, where the server 900 includes:
a second receiving module 901, configured to receive a second sharing operation sent by the first electronic device or sent by the second electronic device; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
an operation response module 902, configured to, in response to the second sharing operation, obtain sharing information of the first electronic device; the shared information is carried in a first session initial protocol signaling by the first electronic device in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server 900 in advance; the shared information at least comprises position information and emergency contact information;
a second signaling sending module 903, configured to carry the shared information in a second session initiation protocol signaling in a preset data format, and send the second session initiation protocol signaling to the second electronic device.
Optionally, in this embodiment of the present invention, the operation response module 902 includes:
the first response submodule is used for receiving the sharing information sent by the first electronic equipment in real time if the second sharing operation is that the first electronic equipment sends the sharing information in the process of communicating with the second electronic equipment by the first electronic equipment;
or
A second response submodule, configured to send a call request to the first electronic device if the second sharing operation is a call request for the second electronic device to call the first electronic device;
if the response of the first electronic device to the call request is not received within a preset time threshold, acquiring shared information which is uploaded to the server 900 by the first electronic device in advance.
In the above embodiment of the present invention, the second receiving module 901 receives a second sharing operation sent by the first electronic device or sent by the second electronic device; the operation response module 902 responds to the second sharing operation to acquire the sharing information of the first electronic device; the second signaling sending module 903 carries the shared information in a second session initiation protocol signaling in a preset data format, and sends the second session initiation protocol signaling to the second electronic device, so that the server 900 can send the shared information to the second electronic device in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
Referring to fig. 10, an embodiment of the present invention further provides an electronic device 1000, where the electronic device 1000 is a second electronic device, and the electronic device 1000 includes:
a signaling receiving module 1001, configured to receive a second session initiation protocol signaling sent by a server, and acquire shared information of a first electronic device, where the shared information is carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic device is an electronic device which communicates with the second electronic device 1000 at the current time, or an electronic device which is called by the second electronic device 1000 at the current time;
an information display module 1002, configured to display the shared information on a call interface or a call interface of the second electronic device 1000.
In the above embodiment of the present invention, the signaling receiving module 1001 receives a second session initiation protocol signaling sent by a server, and obtains shared information of a first electronic device carried in a preset data format in the second session initiation protocol signaling; the information display module 1002 displays the shared information on a call interface or a call interface of the second electronic device 1000, so that in a special call scene, the server can send the shared information to the second electronic device 1000; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information may enable the first electronic device to be in a shutdown or offline mode, and the user of the second electronic device 1000 searches for the first electronic device, where the emergency contact information is significant in a special scenario.
FIG. 11 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The radio frequency unit 1101 is configured to receive a first sharing operation;
a processor 1110, configured to obtain shared information of the first electronic device in response to the first sharing operation; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment;
carrying the shared information in a first session initial protocol signaling in a preset data format, and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
In an embodiment of the present invention, a first sharing operation is received; responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a first session initial protocol signaling in a preset data format, so that the first electronic equipment does not need to quit a call interface when sharing the information; sending the first session initial protocol signaling to a server so that the server forwards the shared information to the second electronic equipment, so that the first electronic equipment can actively send the shared information to the second electronic equipment through the server in a special session scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
Or
A radio frequency unit 1101 configured to receive a first sharing operation; receiving a second sharing operation sent by the first electronic equipment or sent by the second electronic equipment; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
a processor 1110, configured to obtain shared information of the first electronic device in response to the second sharing operation; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information;
and carrying the shared information in a second session initiation protocol signaling in a preset data format, and sending the second session initiation protocol signaling to the second electronic equipment.
In the above embodiment of the present invention, a second sharing operation sent by the first electronic device or sent by the second electronic device is received; responding to the second sharing operation, and acquiring sharing information of the first electronic equipment; carrying the shared information in a second session initiation protocol signaling in a preset data format, and sending the second session initiation protocol signaling to the second electronic equipment, so that the server can send the shared information to the second electronic equipment in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
Or the radio frequency unit 1101, configured to receive a second session initiation protocol signaling sent by the server;
the processor 1110 is configured to obtain shared information of the first electronic device, where the shared information is carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic equipment is electronic equipment which is communicated with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment;
and displaying the shared information on a call interface or a calling interface of the second electronic equipment.
In the above embodiment of the present invention, a second session initiation protocol signaling sent by a server is received, and shared information of a first electronic device carried in a preset data format in the second session initiation protocol signaling is obtained; displaying the shared information on a call interface or a calling interface of the second electronic equipment, so that the server can send the shared information to the second electronic equipment in a special call scene; the position information is acquired by a positioning module of the first electronic equipment, and the precision is high; the emergency contact information can enable the first electronic equipment to be in a shutdown or offline mode, a user of the second electronic equipment searches for the first electronic equipment, and the emergency contact information has significance in special scenes.
It should be noted that, in this embodiment, the electronic device 1100 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1102, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the electronic device 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device, such as a camera, in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
The electronic device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or the backlight when the electronic device 1100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the electronic apparatus. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the electronic device, and the embodiment is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the electronic apparatus 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within electronic device 1100 or may be used to transmit data between electronic device 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the electronic device. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The electronic device 1100 may further include a power supply 1111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 1100 includes some functional modules that are not shown, and thus are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and is executable on the processor 1110, and when the computer program is executed by the processor 1110, the processes of the information sharing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. An information sharing method applied to a first electronic device, the method comprising:
receiving a first sharing operation;
responding to the first sharing operation, and acquiring sharing information of the first electronic equipment; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment;
carrying the shared information in a first session initial protocol signaling in a preset data format, and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
2. The information sharing method according to claim 1, wherein the receiving the first sharing operation includes:
receiving a first sharing operation triggered by a user;
or
And confirming that the first sharing operation is received when the condition that the user dials the preset number is detected.
3. The information sharing method according to claim 1, wherein the second electronic device is an electronic device preset by the user of the first electronic device.
4. An information sharing method applied to a server is characterized by comprising the following steps:
receiving a second sharing operation sent by the first electronic equipment or sent by the second electronic equipment; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
responding to the second sharing operation, and acquiring sharing information of the first electronic equipment; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information;
and carrying the shared information in a second session initiation protocol signaling in a preset data format, and sending the second session initiation protocol signaling to the second electronic equipment.
5. The information sharing method according to claim 4, wherein the obtaining the shared information of the first electronic device in response to the second sharing operation includes:
if the second sharing operation is that the first electronic equipment sends the sharing information in the process of the first electronic equipment communicating with the second electronic equipment, the sharing information sent by the first electronic equipment in real time is received;
or
If the second sharing operation is a call request of the second electronic device calling the first electronic device, sending the call request to the first electronic device;
and if the response of the first electronic equipment to the call request is not received within a preset time threshold, acquiring the shared information which is uploaded to the server in advance by the first electronic equipment.
6. An information sharing method applied to a second electronic device, the method comprising:
receiving a second session initiation protocol signaling sent by a server, and acquiring shared information of the first electronic equipment carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic equipment is electronic equipment which is communicated with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment;
and displaying the shared information on a call interface or a calling interface of the second electronic equipment.
7. An electronic device, the electronic device being a first electronic device, the electronic device comprising:
a first receiving module, configured to receive a first sharing operation;
the information acquisition module is used for responding to the first sharing operation and acquiring the sharing information of the first electronic equipment; the shared information at least comprises emergency contact information and position information of the first electronic equipment at the current moment;
the first signaling sending module is used for carrying the shared information in a first session initial protocol signaling in a preset data format and sending the first session initial protocol signaling to a server so that the server forwards the shared information to a second electronic device; the second electronic device is an electronic device which communicates with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state.
8. The electronic device of claim 7, wherein the first receiving module comprises:
the first receiving submodule is used for receiving a first sharing operation triggered by a user;
or
And the second receiving submodule is used for confirming that the first sharing operation is received when the fact that the user dials the preset number is detected.
9. The electronic device of claim 7, wherein the second electronic device is a predetermined electronic device by a user of the first electronic device.
10. A server, characterized in that the server comprises:
the second receiving module is used for receiving a second sharing operation sent by the first electronic equipment or the second electronic equipment; the second electronic device is an electronic device which carries out a call with the first electronic device at the current moment, or an electronic device which calls the first electronic device when the first electronic device is in a preset state;
an operation response module, configured to respond to the second sharing operation and obtain sharing information of the first electronic device; the shared information is carried in a first session initial protocol signaling by the first electronic equipment in a preset data format, and the first session initial protocol signaling is sent in real time or sent to the server in advance; the shared information at least comprises position information and emergency contact information;
and the second signaling sending module is used for carrying the shared information in a second session initiation protocol signaling in a preset data format and sending the second session initiation protocol signaling to the second electronic equipment.
11. An electronic device, the electronic device being a second electronic device, the electronic device comprising:
the signaling receiving module is used for receiving a second session initiation protocol signaling sent by the server and acquiring shared information of the first electronic equipment carried in a preset data format in the second session initiation protocol signaling; the sharing information is sent to the server by the first electronic equipment in real time or uploaded to the server in advance by the first electronic equipment; the shared information at least comprises position information and emergency contact information; the first electronic equipment is electronic equipment which is communicated with the second electronic equipment at the current moment, or electronic equipment which is called by the second electronic equipment at the current moment;
and the information display module is used for displaying the shared information on a call interface or a calling interface of the second electronic equipment.
CN201911040473.3A 2019-10-29 2019-10-29 Information sharing method, electronic equipment and server Pending CN110691102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911040473.3A CN110691102A (en) 2019-10-29 2019-10-29 Information sharing method, electronic equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911040473.3A CN110691102A (en) 2019-10-29 2019-10-29 Information sharing method, electronic equipment and server

Publications (1)

Publication Number Publication Date
CN110691102A true CN110691102A (en) 2020-01-14

Family

ID=69114689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911040473.3A Pending CN110691102A (en) 2019-10-29 2019-10-29 Information sharing method, electronic equipment and server

Country Status (1)

Country Link
CN (1) CN110691102A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312324A (en) * 2020-10-29 2021-02-02 维沃移动通信有限公司 Position information transmitting device and method
CN113098931A (en) * 2021-03-19 2021-07-09 芋头科技(杭州)有限公司 Information sharing method and multimedia session terminal
WO2022142492A1 (en) * 2020-12-31 2022-07-07 中兴通讯股份有限公司 Screen sharing method for mobile terminals, mobile terminal, and storage medium
CN115941839A (en) * 2022-02-21 2023-04-07 维沃移动通信有限公司 Processing method and processing device for emergency call

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167416A (en) * 2013-03-26 2013-06-19 天地(常州)自动化股份有限公司 Fusion method for positional information transfer and emergency dispatching communication under mine
CN103167153A (en) * 2012-09-25 2013-06-19 深圳市金立通信设备有限公司 System and method of displaying position of mobile phone on the line in real time
CN104581641A (en) * 2015-01-31 2015-04-29 哈尔滨理工大学 Cellphone-based earthquake rescuing network system
US9538352B2 (en) * 2007-11-30 2017-01-03 Telecommunication Systems, Inc. Ancillary data support in session initiation protocol (SIP) messaging
CN107135147A (en) * 2017-04-27 2017-09-05 北京小米移动软件有限公司 Method, device and the computer-readable recording medium of sharing position information
CN108966123A (en) * 2018-07-02 2018-12-07 中国联合网络通信集团有限公司 Position sharing method, system, first terminal equipment and second terminal equipment
CN109150799A (en) * 2017-06-16 2019-01-04 中国移动通信集团公司 A kind of method and device obtaining called location information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9538352B2 (en) * 2007-11-30 2017-01-03 Telecommunication Systems, Inc. Ancillary data support in session initiation protocol (SIP) messaging
CN103167153A (en) * 2012-09-25 2013-06-19 深圳市金立通信设备有限公司 System and method of displaying position of mobile phone on the line in real time
CN103167416A (en) * 2013-03-26 2013-06-19 天地(常州)自动化股份有限公司 Fusion method for positional information transfer and emergency dispatching communication under mine
CN104581641A (en) * 2015-01-31 2015-04-29 哈尔滨理工大学 Cellphone-based earthquake rescuing network system
CN107135147A (en) * 2017-04-27 2017-09-05 北京小米移动软件有限公司 Method, device and the computer-readable recording medium of sharing position information
CN109150799A (en) * 2017-06-16 2019-01-04 中国移动通信集团公司 A kind of method and device obtaining called location information
CN108966123A (en) * 2018-07-02 2018-12-07 中国联合网络通信集团有限公司 Position sharing method, system, first terminal equipment and second terminal equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312324A (en) * 2020-10-29 2021-02-02 维沃移动通信有限公司 Position information transmitting device and method
WO2022089484A1 (en) * 2020-10-29 2022-05-05 维沃移动通信有限公司 Location information sending apparatus and method
CN112312324B (en) * 2020-10-29 2023-09-19 维沃移动通信有限公司 Position information transmitting apparatus and method
WO2022142492A1 (en) * 2020-12-31 2022-07-07 中兴通讯股份有限公司 Screen sharing method for mobile terminals, mobile terminal, and storage medium
CN113098931A (en) * 2021-03-19 2021-07-09 芋头科技(杭州)有限公司 Information sharing method and multimedia session terminal
CN113098931B (en) * 2021-03-19 2022-01-28 芋头科技(杭州)有限公司 Information sharing method and multimedia session terminal
CN115941839A (en) * 2022-02-21 2023-04-07 维沃移动通信有限公司 Processing method and processing device for emergency call

Similar Documents

Publication Publication Date Title
CN110691102A (en) Information sharing method, electronic equipment and server
EP3691235A1 (en) Display method and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
WO2019206077A1 (en) Video call processing method and mobile terminal
CN107846516B (en) Call scene prompting method and mobile terminal
CN107888765B (en) Method for switching scene mode and mobile terminal
WO2019201271A1 (en) Call processing method and mobile terminal
CN110456395B (en) Positioning method and terminal equipment
CN108712555B (en) Method and device for sending alarm information
CN108551525B (en) State determination method of movement track and mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
WO2020133350A1 (en) Interface display method and control terminal
CN111107223B (en) Message processing method and electronic equipment
CN111125696A (en) Information prompting method and electronic equipment
CN111124569B (en) Application sharing method, electronic device and computer readable storage medium
CN110536236B (en) Communication method, terminal equipment and network equipment
CN109889756B (en) Video call method and terminal equipment
CN109005297B (en) Display method of navigation application and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN107734153B (en) Call control method, terminal and computer readable storage medium
CN110234068B (en) Positioning method and terminal equipment
CN111049510B (en) Touch key, control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200114

WD01 Invention patent application deemed withdrawn after publication