Disclosure of Invention
The embodiment of the invention provides a team traveling method and related equipment, which can realize team traveling and traveling communication.
In a first aspect, an embodiment of the present invention provides a team traveling method, including:
Setting a team travel program in a first vehicle machine device of a vehicle of a group creator;
responding to the group creation operation of the group creator, and sending a group creation request to a server, wherein the group creation request comprises a first account identifier of the first vehicle equipment;
receiving creation request response information returned by the server in response to the group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to the first account identifier, a group identifier and a corresponding IM group identifier, and the IM group identifier is used for IM group communication;
Logging in an IM according to the first IM account identifier, and adding a corresponding IM group according to the IM group identifier;
and sending the group identification to a group responder so that a second vehicle device of the vehicle of the group responder joins the IM group according to the group identification.
In a second aspect, an embodiment of the present invention provides a team traveling method, including:
setting the team travel program in a second vehicle device of the vehicles of the group responders;
Responding to the group joining operation of the group building respondent, and sending a group joining request to a server, wherein the group joining request comprises a second account identifier of the second vehicle equipment and a group identifier of an IM group requested to be joined;
Receiving joining request response information returned by the server in response to the joining group request, wherein the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
Logging in IM according to the second IM account identifier, and adding a corresponding IM group according to the IM group identifier.
In a third aspect, an embodiment of the present invention provides a team traveling method, including:
Receiving a group creation request generated in response to a group creator's creation of a group operation, the group creation request including a first account identification of a first machine device of a vehicle of the group creator;
Acquiring creation request response information according to the group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to the first account identifier, an allocated group identifier and an IM group identifier corresponding to the first account identifier, wherein the IM group identifier is used for IM group communication, and the corresponding relation between the first account identifier and the first IM account identifier and the corresponding relation between the group identifier and the IM group identifier are stored;
Transmitting the creation request response information to the first vehicle equipment so that the first vehicle equipment joins in a corresponding IM group according to the first IM account identifier and the IM group identifier;
receiving a group joining request generated in response to a group joining operation of a clustered responder, the group joining request including the group identification and a second account identification of a second vehicle device of a vehicle of the clustered responder;
Acquiring joining request response information according to the joining group request, wherein the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication and stores the corresponding relation between the second account identifier and the second IM account identifier;
and sending the joining request response information to the second vehicle equipment so that the second vehicle equipment joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
In a fourth aspect, an embodiment of the present invention provides a team traveling device, including:
A first setting module for setting a team travel program in a first vehicle device of a vehicle of a group creator;
A first request module, configured to respond to a group creation operation of the group creator, and send a group creation request to a server, where the group creation request includes a first account identifier of the first vehicle device;
The first receiving module is used for receiving creation request response information returned by the server responding to the group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to the first account identifier, a group identifier and a corresponding IM group identifier, and the IM group identifier is used for IM group communication;
The first login module is used for logging in the IM according to the first IM account identifier and adding a corresponding IM group according to the IM group identifier;
And the first sending module is used for sending the group identification to a group responder so that a second vehicle device of the vehicle of the group responder can join the IM group according to the group identification.
In a fifth aspect, an embodiment of the present invention provides a team traveling device, including:
A second setting module for setting the team travel program in a second vehicle device of the vehicle of the group respondent;
A second request module, configured to send a group joining request to a server, where the group joining request includes a second account identifier of the second vehicle device and a group identifier of an IM group that requests joining;
The second receiving module is used for receiving joining request response information returned by the server responding to the joining group request, the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
And the second login module is used for logging in the IM according to the second IM account identifier and adding a corresponding IM group according to the IM group identifier.
In a sixth aspect, an embodiment of the present invention provides a team traveling device, including:
A third receiving module, configured to receive a group creation request of a group creator, where the group creation request includes a first account identifier of a first vehicle device of a vehicle of the group creator;
The first acquisition module is used for acquiring creation request response information according to the group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to the first account identifier, an allocated group identifier and an IM group identifier corresponding to the first account identifier, the IM group identifier is used for IM group communication, and the corresponding relation between the first account identifier and the first IM account identifier and the corresponding relation between the group identifier and the IM group identifier are stored;
The second sending module is used for sending the creation request response information to the group creator so that the first vehicle equipment joins a corresponding IM group according to the first IM account identifier and the IM group identifier;
a fourth receiving module, configured to receive a group joining request sent by a clustered responder, where the group joining request includes the group identifier and a second account identifier of a second machine device of a vehicle of the clustered responder;
The second acquisition module is used for acquiring joining request response information according to the joining group request, wherein the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, the IM group identifier is used for IM group communication, and the corresponding relation between the second account identifier and the second IM account identifier is stored;
and the third sending module is used for sending the joining request response information to the clustering respondent so that the second vehicle equipment joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
In the embodiment of the invention, a team travel program is arranged in a first vehicle device of a vehicle of a group creator, and the team travel program is arranged in a second vehicle device of a vehicle of a group responder; responding to the group creation operation of a group creator, sending a group creation request to a server, wherein the request comprises a first account identifier of first vehicle equipment, the server responds to the request to generate creation request response information, the information comprises a first IM account identifier corresponding to the first account identifier of the first vehicle equipment, the group identifier and the corresponding IM group identifier, and the first vehicle equipment logs in an IM according to the first IM account identifier and joins in a corresponding IM group according to the IM group identifier; the group creator sends the group identification to the group-building responders through the first vehicle equipment, the server receives a group-joining request generated in response to the group-joining operation of the group-building responders, the request comprises the second account identification of the second vehicle equipment and the group identification; the server generates joining request response information according to the request, wherein the information comprises a second IM account identifier corresponding to a second account identifier of the second vehicle equipment, an IM group identifier corresponding to the group identifier, and the second vehicle equipment logs in the IM according to the second IM account identifier and joins in the corresponding IM group according to the IM group identifier. By using the method, a plurality of vehicles can be formed to travel, and the personnel in the IM group can communicate with each other in text, voice and the like, so that the communication requirement of the formed travel is met. Particularly, the team travel program fuses the IM communication function, so that maintenance workload of the team travel program can be effectively reduced.
In a seventh aspect, an embodiment of the present invention provides a team traveling method, including:
Setting a team travel program in a first vehicle machine device of a vehicle of a group creator;
Responding to the group creation operation of the group creator, and sending a group creation request to the server, wherein the group creation request comprises a first IM account identifier corresponding to a first account identifier of the first vehicle equipment;
receiving creation request response information returned by the server in response to the group creation request, wherein the creation request response information comprises group identifications and IM group identifications corresponding to the group identifications, and the IM group identifications are used for IM group communication;
Logging in an IM according to the first IM account identifier, and adding a corresponding IM group according to the IM group identifier;
and sending the group identification to a group responder so that a second vehicle device of the vehicle of the group responder joins the IM group according to the group identification.
Optionally, before sending the group creation request to the server, the method further comprises:
transmitting a first initialization request to a server, wherein the first initialization request comprises a first account identifier of the first vehicle equipment, so that the server responds to the first initialization request to generate a first IM account identifier corresponding to the first account identifier;
and receiving the first IM account identification sent by the server.
Optionally, the method further comprises:
Establishing a program interface connection with a navigation algorithm program on the first vehicle device to obtain first vehicle data of vehicles of the group creator;
when the triggering operation of the group creator is responded or a preset triggering condition is met, generating a group text message according to the first vehicle data according to a preset message format;
And sending the group text message to the IM group, so that group members decode according to a decoding mode corresponding to the preset message format to obtain the first vehicle data, and outputting the first vehicle data in a preset output mode.
Optionally, the first vehicle data includes at least one of vehicle state data, vehicle posture data, vehicle position data, trip destination data, road book data, and road condition data.
In an eighth aspect, an embodiment of the present invention provides a team traveling method, including:
setting the team travel program in a second vehicle device of the vehicles of the group responders;
Responding to the group joining operation of the group building respondent, and sending a group joining request to the server, wherein the group joining request comprises a group identifier of an IM group requested to be joined and a second IM account identifier corresponding to the account identifier of the second vehicle device;
receiving joining request response information returned by the server in response to the joining group request, wherein the joining request response information comprises an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
Logging in IM according to the second IM account identifier, and adding a corresponding IM group according to the IM group identifier.
Optionally, before sending the group joining request to the server, the method further comprises:
Sending a second initialization request to a server, wherein the second initialization request comprises a second account identifier of the second vehicle equipment, so that the server responds to the second initialization request to generate a second IM account identifier corresponding to the second account identifier;
and receiving the second IM account identification sent by the server.
Optionally, the method further comprises:
Establishing a programmatic interface connection with a navigational algorithm routing on the second vehicle device to obtain second vehicle data of the vehicles of the coloning respondent;
When the triggering operation of the colonisation respondent is responded or a preset triggering condition is met, generating a group text message according to the second vehicle data according to a preset message format;
And sending the group text message to the IM group, so that group members decode according to a decoding mode corresponding to the preset message format to obtain the second vehicle data, and outputting the second vehicle data in a preset output mode.
Optionally, the second vehicle data includes at least one of vehicle state data, vehicle posture data, vehicle position data, travel destination data, road book data, and road condition data.
In a ninth aspect, an embodiment of the present invention provides a team traveling method, including:
Receiving a group creation request generated in response to a group creator's creation of a group operation, the group creation request including a first IM account identification corresponding to a first account identification of a first machine device of a vehicle of the group creator;
acquiring creation request response information according to the group creation request, wherein the creation request response information comprises an allocated group identifier and an IM group identifier corresponding to the group identifier, wherein the IM group identifier is used for IM group communication, and the corresponding relation between the group identifier and the IM group identifier is stored;
Transmitting the creation request response information to the first vehicle equipment so that the first vehicle equipment joins in a corresponding IM group according to the first IM account identifier and the IM group identifier;
Receiving a group joining request generated in response to a group joining operation of a clustered responder, the group joining request including the group identification and a second IM account identification corresponding to a second account identification of a second machine device of a vehicle of the clustered responder;
acquiring joining request response information according to the joining group request, wherein the joining request response information comprises an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
and sending the joining request response information to the second vehicle equipment so that the second vehicle equipment joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
In a tenth aspect, an embodiment of the present invention provides a team traveling apparatus, including:
a third setting module for setting the team travel program in a first vehicle device of the vehicle of the group creator;
A third request module, configured to respond to a group creation operation of the group creator, and send a group creation request to the server, where the group creation request includes a first IM account identifier corresponding to a first account identifier of the first vehicle device;
A fifth receiving module, configured to receive creation request response information returned by the server in response to the group creation request, where the creation request response information includes a group identifier and an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication;
The third login module is used for logging in the IM according to the first IM account identifier and adding a corresponding IM group according to the IM group identifier;
And the fourth sending module is used for sending the group identification to a group responder so that a second vehicle device of the vehicle of the group responder can join the IM group according to the group identification.
In an eleventh aspect, an embodiment of the present invention provides a team traveling apparatus, including:
A fourth setting module for setting the team travel program in a second vehicle device of the vehicle of the group respondent;
A fourth request module, configured to respond to a group joining operation of the group-building responder, and send a group joining request to the server, where the group joining request includes a group identifier of an IM group that is requested to join and a second IM account identifier corresponding to the account identifier of the second vehicle device;
A seventh receiving module, configured to receive join request response information returned by the server in response to the join group request, where the join request response information includes an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication;
and the fourth login module is used for logging in the IM according to the second IM account identifier and adding a corresponding IM group according to the IM group identifier.
In a twelfth aspect, an embodiment of the present invention provides a team traveling apparatus, including:
a ninth receiving module, configured to receive a group creation request generated in response to a group creation operation of a group creator, where the group creation request includes a first IM account identifier corresponding to a first account identifier of a first vehicle device of a vehicle of the group creator;
The third acquisition module is used for acquiring creation request response information according to the group creation request, wherein the creation request response information comprises an allocated group identifier and an IM group identifier corresponding to the group identifier, the IM group identifier is used for IM group communication, and the corresponding relation between the group identifier and the IM group identifier is stored;
A fifth sending module, configured to send the creation request response information to the first vehicle device, so that the first vehicle device joins a corresponding IM group according to the first IM account identifier and the IM group identifier;
A tenth receiving module configured to receive a group joining request generated in response to a group joining operation of a clustered responder, the group joining request including the group identification and a second IM account identification corresponding to a second account identification of a second machine device of a vehicle of the clustered responder;
A fourth obtaining module, configured to obtain, according to the group joining request, joining request response information, where the joining request response information includes an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication;
and a sixth sending module, configured to send the joining request response information to the second vehicle device, so that the second vehicle device joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
In the embodiment of the invention, a team travel program is arranged in a first vehicle device of a vehicle of a group creator, and the team travel program is arranged in a second vehicle device of a vehicle of a group responder; responding to the group creation operation of a group creator, sending a group creation request to a server, wherein the request comprises a first IM account identifier corresponding to a first account identifier of first vehicle equipment, the server responds to the request to generate creation request response information, the information comprises an allocated group identifier and a corresponding IM group identifier, and the first vehicle equipment logs in an IM according to the first IM account identifier and joins in a corresponding IM group according to the IM group identifier; the group creator sends the group identifier to the group-building responder through the first vehicle device, and the server receives a group-joining request generated in response to the group-joining operation of the group-building responder, wherein the request comprises a second IM account identifier corresponding to the second account identifier of the second vehicle device and the group identifier; the server generates joining request response information according to the request, wherein the information comprises an IM group identifier corresponding to the group identifier, and the second vehicle equipment logs in the IM according to the second IM account identifier and joins in the corresponding IM group according to the IM group identifier. By using the method, a plurality of vehicles can be formed to travel, and the personnel in the IM group can communicate with each other in text, voice and the like, so that the communication requirement of the formed travel is met. Particularly, the team travel program fuses the IM communication function, so that maintenance workload of the team travel program can be effectively reduced.
In a thirteenth aspect, an embodiment of the present invention provides a team traveling apparatus, including: a processor and a memory;
The processor is connected to a memory, wherein the memory is configured to store program code, and the processor is configured to invoke the program code to perform the team trip method of any one of the first aspect, the second aspect, the third aspect, the seventh aspect, the eighth aspect, and the ninth aspect.
In a fourteenth aspect, embodiments of the present invention provide a computer storage medium storing a computer program, the computer program comprising program instructions,
The program instructions, when executed by a processor, perform the team trip method of any one of the first, second, third, seventh, eighth, ninth aspects.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the invention may be combined with other embodiments.
In the prior art, a self-driving travel is sometimes required to be accompanied by travel, a plurality of users are added into the same team, the users are grouped together to go to the same destination from different places, and the users need to communicate with teammates in the driving process or simply chat. In order to solve the problem, the embodiment of the invention provides a team traveling method which can realize team traveling and communication among team members.
Instant messaging (INSTANT MESSAGING) is the most popular communication mode on the Internet at present, and various instant messaging software is layered endlessly; service providers also offer an increasing variety of communication service functions. Such as internet protocol (netbook) communication software, messenger Instant Messaging (IM), ring message (ring message), cloud fusion software, leancloud, cloud communication and the like. IM is a real-time communication system that allows two or more people to communicate text messages, files, voice, and video in real-time using a network. Typical IM software has basic IM functionality (group announcements, group voice messages, group text messages, group picture messages, group video messages, system notifications, etc.).
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a team traveling method provided by an embodiment of the present invention, and the embodiment of the present invention provides a team traveling program, which is an independent program including an IM communication component, and in general, the team traveling program may be installed in a vehicle device. In addition, the team travel program performs data exchange synchronization with navigation calculation routes in the vehicle machine equipment in a program interface mode, and calls related capacity, for example, vehicle data such as vehicle state data, attitude data, position data, destination data, road book data, road condition data and the like can be obtained. After the team travel program is utilized to establish the IM group, based on the IM communication component, the basic IM function can be used for realizing data synchronization, such as road book synchronization, navigation announcement, voice intercom, multimedia synchronization, vehicle state synchronization and the like.
After the navigation calculation program and the team traveling program are installed on the vehicle equipment of the vehicle, the vehicle owner can use the team traveling program to carry out team formation, an IM group is established, and members in the group also use the vehicle equipment to complete team formation. Based on the vehicle equipment, the group members can communicate with each other in the IM group.
In particular, the vehicle in which the navigation algorithm and the team travel program are installed can directly control the input and output of the team travel program through an operation medium such as a steering wheel, voice, and the like.
It is noted that the team travel program may be a program that runs independently, that is, it may be a receiving end of information running on an intelligent terminal such as a mobile phone and a transmitting end of a part of a message (a base message of a non-vehicle message such as voice, text, etc.). Thus, the communication between the main vehicle with navigation route calculation program and the vehicle owner without navigation route calculation program is compatible. For example, the following scenarios: the vehicles with the whole set of navigation route calculation program and the team traveling program can be teamed with the vehicles without the navigation route calculation program, and the vehicles without the navigation route calculation program can be provided with the team traveling program through a mobile phone, so that the synchronization of partial messages is realized. The team travel program running independently can also appear in the form of android programs, applets, weChat public signal interfaces and the like.
Example 1
Referring to fig. 1 and fig. 2, fig. 2 is a schematic flow chart of a team traveling method according to an embodiment of the present invention; the team traveling method comprises the following steps:
step 201, receiving a group creation request generated in response to a group creation operation of a group creator, the group creation request including a first account identification of a first machine device of a vehicle of the group creator;
Specifically, after the group travel program is installed on the first vehicle device (e.g., vehicle device a) of the vehicle of the group creator, the group creator may generate a group creation request by clicking a create group button on the first vehicle device, and the first vehicle device sends the group creation request to the group travel server through the group API. The group creation request includes a first account identification of the first vehicle device, which is a uniquely identifiable character string of the first vehicle device, which may be, for example, a vehicle code, which may be composed of letters, numbers, special characters, etc.
Step 202, obtaining creation request response information according to a group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to a first account identifier, an allocated group identifier and a corresponding IM group identifier, wherein the IM group identifier is used for IM group communication, and the correspondence between the first account identifier and the first IM account identifier and the correspondence between the group identifier and the IM group identifier are stored;
Specifically, the team trip server acquires corresponding creation request response information according to the group creation request. The method comprises the steps of determining a first IM account identifier corresponding to the first account identifier according to the first account identifier, and distributing a group identifier and an IM group identifier corresponding to the group identifier to a group creation request. The group identifier may be a string of letters, numbers, etc., e.g., the group identifier is a 6-digit number. IM group identification is used to identify different IM groups, and as such, IM group identification may be a string of letters, numbers, special characters, etc. The team trip server will store the correspondence of the first account identification and the first IM account identification, as well as the correspondence of the group identification and the IM group identification.
Specifically, referring to fig. 1, the team trip server instructs the IM communication server to create an IM account number for IM communication through the IM cloud API to establish an association relationship between the first account identifier and the first IM account identifier.
After receiving the group creation request, the team travel server establishes a random group identifier (which can be understood as a team code, visible and shareable), and simultaneously calls the IM cloud API to create an IM account and an IM group chat room, and obtains a first IM account identifier and an IM group identifier (the IM group identifier is invisible and not shareable).
Step 203, the creation request response information is sent to the first vehicle device, so that the first vehicle device joins the corresponding IM group according to the first IM account identifier and the IM group identifier;
Specifically, the team trip server sends the creation request response information obtained in step 203 to the first vehicle device, so that the first vehicle device can join the corresponding IM group according to the first IM account identifier and the IM group identifier. In particular, when a group is out, the group creator can share (verbally tell or share in a link mode) the group identification to other vehicle owners to invite the vehicle owners to join the IM group corresponding to the group identification, so as to realize the group out based on the IM group, and the information exchange in the way, etc. The invitee may also be referred to as a group responder if it agrees to join the group.
Generally, when no other member is added to the IM group (i.e., when the IM group is only one person of the creator, the other member is not temporarily added), the IM group is not displayed at the creator end, and when the number of members of the IM group reaches a preset number (e.g., 3, 4, etc.), the IM group is displayed at the creator end.
Step 204, receiving a group joining request generated in response to a group joining operation of the group-building respondent, the group joining request including a group identification, and a second account identification of a second vehicle device of the vehicle of the group-building respondent;
Specifically, the second vehicle device (e.g., vehicle device B) also installs a group travel program, and when the group responder wants to join the IM group corresponding to the received group identifier, a "join group" button may be clicked on the interface of the group travel program of the second vehicle device to send a join group request to the group travel server, where the join group request includes the group identifier received by the group responder, and the second account identifier of the second vehicle device, and likewise, the second account identifier is a unique identifiable character string of the second vehicle device, for example, may be a vehicle code, which may be composed of letters, numbers, special characters, and so on.
Step 205, obtaining joining request response information according to the joining group request, wherein the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, the IM group identifier is used for IM group communication, and the correspondence between the second account identifier and the second IM account identifier is stored;
Specifically, the team trip server obtains corresponding joining request response information according to the joining group request, wherein the corresponding second IM account identifier is determined according to the second account identifier, the corresponding IM group identifier is determined according to the group identifier, and the corresponding relation between the second account identifier and the second IM account identifier is stored. The second IM account identifier is the same as the first IM account identifier in the acquiring process, and will not be described again. Because the team trip server stores the corresponding relation between the group identification and the IM group identification, the corresponding IM group identification can be determined according to the group identification.
And step 206, transmitting the joining request response information to the second vehicle device, so that the second vehicle device joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
Specifically, the team trip server sends the join request response information obtained in step 205 to the second vehicle device, so that the second vehicle device can join the corresponding IM group using the second IM account identifier and the IM group identifier. The number of members of the IM group is at least two, i.e. at least including the group creator and one group responder. Referring to fig. 1, members of an IM group chat with team travel programs on respective vehicle devices (e.g., vehicle device a, vehicle device B).
By using the method, a plurality of vehicles can be formed to travel, and the personnel in the IM group can communicate with each other in text, voice and the like, so that the communication requirement of the formed travel is met. Particularly, the team travel program fuses the IM communication function, so that maintenance workload of the team travel program can be effectively reduced.
It is noted that, with the above method, the team travel server only needs to maintain the corresponding relationship between the account identifier of the vehicle device and the IM account identifier, the corresponding relationship between the group identifier and the IM group identifier, and the related attribute data (such as team name, head portrait, destination, road book id, creation time, team member vehicle list) of the team. And the data synchronization is realized by the third party instant messaging IM, the development workload is greatly reduced, and the rich and various functions can be realized by only butting IM communication components in a team program. And convenience and rapid configuration delivery of projects are increased, and expansibility of the aftermarket is supported.
It is specifically noted that the group creator may also act as a group responder to another IM group, and likewise, the group responder may also act as a group creator to create another IM group.
In one possible embodiment, referring to fig. 1 and 3, fig. 3 is a flowchart of a method for synchronizing data of an IM group according to an embodiment of the present invention; in an IM group, the method for realizing data synchronization comprises the following steps:
Step 301, establishing a program interface connection with a navigation algorithm program on a first vehicle device to acquire first vehicle data of vehicles of a group creator;
Specifically, the program interface refers to data exchange and capability provision between programs, such as an intent/service mode between application programs under an android platform. After the navigation computation path program and the team travel program establish program interface connection, vehicle data which can be provided by the navigation computation path program can be obtained. Taking the vehicle device a as an example, the vehicle data obtained at this time is first vehicle data of the group creator, where the first vehicle data includes at least one of vehicle state data, vehicle posture data, vehicle position data, travel destination data, road book data, and road condition data.
Step 302, when the triggering operation of the group creator is responded or a preset triggering condition is met, generating a group text message according to a preset message format by the first vehicle data;
specifically, the team traveling program may generate the group text message from the first vehicle data according to a preset message format in response to a trigger operation of the group creator. Or when a certain preset trigger condition is met, automatically triggering the first vehicle data to generate a group text message according to a preset message format by the team trip program.
The triggering operation may be a clicking operation or a voice operation of the group creator. The preset triggering condition may be that when the team traveling program detects that a certain condition is met, the team traveling program automatically triggers to generate a group text message, for example, when the team traveling program detects that a state of a vehicle corresponding to the vehicle-to-machine device changes (for example, a collision occurs), the team traveling program automatically triggers to generate a notification message (i.e., the group text message) and sends the notification message to the IM group. And the preset message format includes a message type tag and a message body (i.e., the content of the message). The message type flag is used to distinguish between different types of messages, e.g., a message used to update a navigation destination, the message type is labeled "map_guide", and the message body at this time is a new navigation destination. The message type is labeled "MAP_LOC" for sharing the vehicle location, and the message body at this time is the real-time location of the vehicle.
Step 303, sending the group text message to the IM group, so that the group member decodes according to the decoding mode corresponding to the preset message format to obtain the first vehicle data, and outputs the first vehicle data in the preset output mode.
Specifically, the team trip program sends the group text message to the IM communication server by using the IM communication component, and then the IM communication server sends the group text message to other members in the IM group according to the IM group identifier of the IM group where the group creator is located, and after receiving the group text message, the team trip program of the other members decodes according to a decoding mode corresponding to the preset message format to obtain the first vehicle data, and outputs the first vehicle data to the members by using the preset output method. The team traveling program presets a decoding mode corresponding to a preset message format, and similarly, for different types of group text messages, the team traveling program can set to output in different output modes, for example, when updating the navigation destination, the navigation destination is displayed on a map in a map link mode.
For example, the vehicle device of the group creator is the vehicle device a, the vehicle devices of other members in the IM group are the vehicle device B, and then the vehicle device a sends the group text message to the vehicle device B through the IM communication component and the IM communication server, and after receiving the group text message, the team traveling program of the vehicle device B decodes according to the corresponding decoding mode, and outputs the first vehicle data obtained by decoding in the preset output mode.
Such as: when a group creator needs to update a navigation destination, a team travel program directly writes the content of destination information in the format of MAP_GUIDE+JSON into a group notice by clicking on a MAP to determine the latest navigation destination, and other teammates automatically decode the notice content and acquire the latest destination when receiving the update prompt of the notice.
For another example, the message format "map_loc+longitude and latitude" can be customized, the message in the customized format is sent to the IM group chat, after receiving the message, the group friends decode the message in the customized message format, take the current position, and display the current position on the MAP.
For another example: when the accident happens, the team travel program sends a self-defined message MAP_ CARSOS +accident position+accident details to the IM group chat, and other teammates remind teammates in a UI interface or voice broadcasting mode after receiving the message in the background to inform the teammates of the accident. Other teammates are notified automatically through team travel programs, so that automatic notification of events and automatic help seeking are achieved.
In one possible embodiment, at the end of the group respondent, similarly, IM group data synchronization may also be implemented, the synchronization method comprising:
establishing a program interface connection with a navigation algorithm route on a second vehicle device to obtain second vehicle data of vehicles of the colonising respondents;
When the trigger operation of the colonisation respondent is responded or a preset trigger condition is met, generating a group text message according to a preset message format by the second vehicle data;
and sending the group text message to the IM group so that group members decode according to a decoding mode corresponding to a preset message format to obtain second vehicle data, and outputting the second vehicle data in a preset output mode.
The second vehicle data comprises at least one of vehicle state data, vehicle posture data, vehicle position data, travel destination data, road book data and road condition data. The method for transmitting the group text message at the end of the group creator and the group responder are the same, and will not be described again.
In particular, the IM group supports synchronization of vehicle data such as road books in addition to synchronization of vehicle data such as the navigation destination, the real-time vehicle position, and the vehicle state. In addition, the message supporting synchronization in the IM group further includes: text messages, voice messages, audio-video intercom conversations and teammate offline messages (teammates possibly stop to a service area and the like), teammates are offline (go to the service area and the like), an IM communication server knows that an account is offline, then the team trip server is notified through an interface API, and the team presence server calls an IM cloud API to send a teammate offline custom message to the IM group chat at the cloud. Other teammates can know that the teammate is dropped.
On the basis of introducing the IM communication component, the embodiment of the invention can automatically synchronize various data in a customized format in a program, and synchronize the positioning position, the positioning state, the navigation state and the vehicle posture. To achieve a more humane, intelligent team scenario. The team travel program supports the custom expansion of various messages, and only the team travel program needs to be updated, so that the team travel program is more intelligent and timely.
Referring to fig. 1 and fig. 4, fig. 4 is a schematic flow chart of a team trip method according to an embodiment of the present invention, and an actual application flow is described:
When a user wants to use a team formation travel program, after the program is started, whether a team is formed or not is determined, and when the team is not formed, the team can be selectively created or added, and the description of the method can be referred to and is not repeated; and then entering a team travel program for initialization. When a team is formed, the team is directly obtained and enters a team forming program to initialize the team, wherein the IM group exists for a certain time, and the expiration time exists. Thus, acquiring a team refers to acquiring a team that has been created or joined when shutting down or reentering the team travel program. When the team travel program is initialized, logging in the IM according to the IM account identifier, and simultaneously, creating a data callback of the IM communication component and starting data synchronization. The data callback refers to a message callback of the monitoring IM communication component, and when various messages in the group chat are received, the callback is triggered, and a team travel program can be notified to respond to the team travel program.
Example two
Based on the team traveling method of the first embodiment, the embodiment of the present invention further provides a team traveling device, and referring to fig. 5, fig. 5 is a schematic structural diagram of the team traveling device provided by the embodiment of the present invention, where the device includes:
a third receiving module 501, configured to receive a group creation request of a group creator, where the group creation request includes a first account identifier of a first machine device of a vehicle of the group creator;
The first obtaining module 502 is configured to obtain creation request response information according to a group creation request, where the creation request response information includes a first IM account identifier corresponding to the first account identifier, an allocated group identifier, and an IM group identifier corresponding to the first IM account identifier, where the IM group identifier is used for IM group communication, and store a correspondence between the first account identifier and the first IM account identifier, and a correspondence between the group identifier and the IM group identifier;
a second sending module 503, configured to send the creation request response information to the group creator, so that the first vehicle device joins the corresponding IM group according to the first IM account identifier and the IM group identifier;
A fourth receiving module 504, configured to receive a group joining request sent by the clustered respondent, where the group joining request includes a group identifier and a second account identifier of a second vehicle device of the vehicle of the clustered respondent;
The second obtaining module 505 is configured to obtain, according to a group joining request, joining request response information, where the joining request response information includes a second IM account identifier corresponding to the second account identifier, and an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication, and store a correspondence between the second account identifier and the second IM account identifier;
The third sending module 506 is configured to send the joining request response information to the group responder, so that the second vehicle device joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the first embodiment, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example III
Based on the team trip method of the first embodiment, the embodiment of the invention further provides a team trip method, which comprises the following steps:
Setting a team travel program in a first vehicle machine device of a vehicle of a group creator;
responding to the group creation operation of a group creator, and sending a group creation request to a server, wherein the group creation request comprises a first account identifier of first vehicle equipment;
receiving creation request response information returned by a server in response to a group creation request, wherein the creation request response information comprises a first IM account identifier corresponding to a first account identifier, a group identifier and a corresponding IM group identifier, and the IM group identifier is used for IM group communication;
logging in an IM according to the first IM account identifier, and adding a corresponding IM group according to the IM group identifier;
the group identification is sent to the colonisation respondent so that a second vehicle device of the vehicle of the colonisation respondent joins the IM group according to the group identification.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm program on a first vehicle device to obtain first vehicle data of vehicles of a group creator;
When the triggering operation of the group creator is responded or a preset triggering condition is met, generating a group text message according to the first vehicle data according to a preset message format;
And sending the group text message to the IM group, so that the group member decodes according to a decoding mode corresponding to a preset message format to obtain first vehicle data, and outputs the first vehicle data in a preset output mode.
In one possible embodiment, the first vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
The specific description and the beneficial effects of the embodiments of the present invention may refer to the related description of the first embodiment, and will not be repeated.
Example IV
Based on the team traveling method described in the third embodiment, the embodiment of the present invention further provides a team traveling device, and referring to fig. 6, fig. 6 is a schematic structural diagram of the team traveling device provided in the embodiment of the present invention; the device comprises:
a first setting module 601 for setting a team travel program in a first vehicle device of a vehicle of a group creator;
a first request module 602, configured to send a group creation request to a server in response to a group creation operation of a group creator, where the group creation request includes a first account identifier of a first vehicle device;
The first receiving module 603 is configured to receive creation request response information returned by the server in response to the group creation request, where the creation request response information includes a first IM account identifier corresponding to the first account identifier, a group identifier, and an IM group identifier corresponding to the first account identifier, where the IM group identifier is used for IM group communication;
a first login module 604, configured to login to an IM according to a first IM account identifier, and join a corresponding IM group according to an IM group identifier;
the first sending module 605 is configured to send the group identifier to the group responder, so that the second vehicle device of the vehicle of the group responder joins the IM group according to the group identifier.
In one possible embodiment, the apparatus further comprises:
A fifth acquisition module for interfacing with the navigation algorithm program on the first vehicle device to acquire first vehicle data of the vehicles of the group creator;
The first generation module is used for responding to the triggering operation of the group creator or generating a group text message according to a preset message format when a preset triggering condition is met;
And the seventh sending module is used for sending the group text message to the IM group so as to enable the group members to decode according to a decoding mode corresponding to the preset message format to obtain first vehicle data, and outputting the first vehicle data in a preset output mode.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the third embodiment, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example five
Based on the team trip method of the first embodiment, the embodiment of the invention further provides a team trip method, which comprises the following steps:
setting the team travel program in a second vehicle device of the vehicles of the group responders;
Responding to the group joining operation of the group building respondent, and sending a group joining request to a server, wherein the group joining request comprises a second account identifier of a second vehicle device and a group identifier of an IM group requested to be joined;
Receiving joining request response information returned by the server in response to the joining group request, wherein the joining request response information comprises a second IM account identifier corresponding to the second account identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
Logging in the IM according to the second IM account identifier, and adding a corresponding IM group according to the IM group identifier.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm route on a second vehicle device to obtain second vehicle data of vehicles of the colonising respondents;
When the trigger operation of the colonisation respondent is responded or a preset trigger condition is met, generating a group text message according to a preset message format by the second vehicle data;
and sending the group text message to the IM group so that group members decode according to a decoding mode corresponding to a preset message format to obtain second vehicle data, and outputting the second vehicle data in a preset output mode.
In one possible embodiment, the second vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
The specific description and the beneficial effects of the embodiments of the present invention may refer to the related description of the first embodiment, and will not be repeated.
Example six
Based on the team traveling method described in the fifth embodiment, the embodiment of the present invention further provides a team traveling device, and referring to fig. 7, fig. 7 is a schematic structural diagram of the team traveling device provided in the embodiment of the present invention; the device comprises:
a second setting module 701 for setting the team travel program in a second vehicle device of the vehicle of the group respondent;
a second request module 702 configured to send a group joining request to the server, where the group joining request includes a second account identifier of the second vehicle device and a group identifier of the IM group to which joining is requested;
a second receiving module 703, configured to receive join request response information returned by the server in response to the join group request, where the join request response information includes a second IM account identifier corresponding to the second account identifier, and an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication;
the second login module 704 is configured to login to the IM according to the second IM account identifier, and join the corresponding IM group according to the IM group identifier.
In one possible embodiment, the apparatus further comprises:
A sixth acquisition module for interfacing with the navigation algorithm on the second vehicle device to acquire second vehicle data of the vehicles of the colonising respondents;
The second generation module is used for responding to the triggering operation of the colonisation respondent or generating a group text message according to a preset message format when a preset triggering condition is met;
And the eighth sending module is used for sending the group text message to the IM group so as to enable the group member to decode according to a decoding mode corresponding to the preset message format to obtain second vehicle data, and outputting the second vehicle data in a preset output mode.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the fourth embodiment, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example seven
Referring to fig. 8, fig. 8 is a schematic flow chart of a team traveling method according to an embodiment of the present invention; the embodiment of the invention also provides a team traveling method, which comprises the following steps:
Step 801, receiving a group creation request generated in response to a group creation operation of a group creator, the group creation request including a first IM account identification corresponding to a first account identification of a first machine device of a vehicle of the group creator;
specifically, unlike the first embodiment, the group creation request of the embodiment of the present invention includes a first IM account identification.
Step 802, acquiring creation request response information according to a group creation request, wherein the creation request response information comprises an allocated group identifier and an IM group identifier corresponding to the group identifier, the IM group identifier is used for IM group communication, and a corresponding relation between the group identifier and the IM group identifier is stored;
Specifically, the creation request response information at this time includes a group identifier and an IM group identifier corresponding thereto.
Step 803, the creation request response information is sent to the first vehicle device, so that the first vehicle device joins the corresponding IM group according to the first IM account identifier and the IM group identifier;
Step 804, receiving a group joining request generated in response to a group joining operation of the group-building respondent, the group joining request including a group identifier, and a second IM account identifier corresponding to a second account identifier of a second vehicle device of the group-building respondent's vehicle;
Step 805, obtaining joining request response information according to the joining group request, where the joining request response information includes IM group identifiers corresponding to the group identifiers, and the IM group identifiers are used for IM group communication;
Step 806, the joining request response information is sent to the second vehicle device, so that the second vehicle device joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
Similar to the method of the first embodiment, the description of the first embodiment may be referred to, and will not be repeated. By using the method, a plurality of vehicles can be formed to travel, and the personnel in the IM group can communicate with each other in text, voice and the like, so that the communication requirement of the formed travel is met. Particularly, the team travel program fuses the IM communication function, so that maintenance workload of the team travel program can be effectively reduced.
In a possible embodiment, unlike the team trip method provided in the first embodiment, the team trip method in the embodiment of the present invention needs to initialize a team program before requesting to establish a group and joining the group, and obtains the first IM account identifier and the second IM account identifier during the initialization. Specifically, before receiving the group creation request, the method further comprises:
Receiving a first initialization request sent by a group creator, wherein the first initialization request comprises a first account identifier of first vehicle equipment;
Specifically, the team travel server receives a first initialization request sent by the group creator, the request including a first account identification of the first vehicle device.
Generating a first IM account identifier corresponding to the first account identifier in response to the first initialization request;
Specifically, the team trip server determines a first IM account identifier for each first account identifier, and the determining method refers to the description of the first embodiment and is not repeated.
The first IM account identification is sent to the group creator.
Specifically, the team travel server sends the corresponding first IM account identification to the group creation.
In one possible embodiment, before receiving the join group request, the method further comprises:
Receiving a second initialization request sent by a colonisation responder, wherein the second initialization request comprises a second account identifier of second vehicle equipment;
Generating a second IM account identifier corresponding to the second account identifier in response to the second initialization request;
a second IM account identification is sent to the colonisation respondent.
Likewise, the colonisation respondents also pre-initialize to obtain the corresponding second IM account identification.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm program on a first vehicle device to obtain first vehicle data of vehicles of a group creator;
When the triggering operation of the group creator is responded or a preset triggering condition is met, generating a group text message according to the first vehicle data according to a preset message format;
And sending the group text message to the IM group, so that the group member decodes according to a decoding mode corresponding to a preset message format to obtain first vehicle data, and outputs the first vehicle data in a preset output mode.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm route on a second vehicle device to obtain second vehicle data of vehicles of the colonising respondents;
When the trigger operation of the colonisation respondent is responded or a preset trigger condition is met, generating a group text message according to a preset message format by the second vehicle data;
and sending the group text message to the IM group so that group members decode according to a decoding mode corresponding to a preset message format to obtain second vehicle data, and outputting the second vehicle data in a preset output mode.
Example eight
Based on the team traveling method described in the seventh embodiment, referring to fig. 9, fig. 9 is a schematic structural diagram of a team traveling device provided in the embodiment of the present invention; the embodiment of the invention also provides a team traveling device, which comprises:
A ninth receiving module 901, configured to receive a group creation request generated in response to a group creation operation of a group creator, where the group creation request includes a first IM account identifier corresponding to a first account identifier of a first vehicle device of a vehicle of the group creator;
A third obtaining module 902, configured to obtain, according to a group creation request, creation request response information, where the creation request response information includes an allocated group identifier and an IM group identifier corresponding to the group identifier, where the IM group identifier is used for IM group communication, and store a correspondence between the group identifier and the IM group identifier;
a fifth sending module 903, configured to send the creation request response information to the first vehicle device, so that the first vehicle device joins the corresponding IM group according to the first IM account identifier and the IM group identifier;
A tenth receiving module 904 configured to receive a group joining request generated in response to a group joining operation of the clustered respondent, the group joining request including a group identifier, and a second IM account identifier corresponding to a second account identifier of a second machine device of the vehicle of the clustered respondent;
A fourth obtaining module 905, configured to obtain, according to a group joining request, joining request response information, where the joining request response information includes an IM group identifier corresponding to a group identifier, where the IM group identifier is used for IM group communication;
A sixth sending module 906, configured to send the joining request response information to the second vehicle device, so that the second vehicle device joins the corresponding IM group according to the second IM account identifier and the IM group identifier.
In one possible embodiment, the apparatus further comprises:
An eleventh receiving module, configured to receive a first initialization request sent by the group creator, where the first initialization request includes a first account identifier of the first vehicle device;
The third generation module is used for responding to the first initialization request to generate a first IM account identifier corresponding to the first account identifier;
And the seventh sending module is used for sending the first IM account identification to the group creator.
In one possible embodiment, the apparatus further comprises:
A twelfth receiving module, configured to receive a second initialization request sent by the cluster responder, where the second initialization request includes a second account identifier of a second vehicle device;
A fourth generation module, configured to generate a second IM account identifier corresponding to the second account identifier in response to the second initialization request;
and the eighth sending module is used for sending the second IM account identification to the colonisation respondent.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the seventh embodiment, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example nine
Based on the seventh embodiment, the embodiment of the invention further provides a team traveling method, which comprises the following steps:
Setting a team travel program in a first vehicle machine device of a vehicle of a group creator;
Responding to a group creation operation of a group creator, and sending a group creation request to a server, wherein the group creation request comprises a first IM account identifier corresponding to a first account identifier of first vehicle equipment;
Receiving creation request response information returned by a server in response to a group creation request, wherein the creation request response information comprises a group identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
logging in an IM according to the first IM account identifier, and adding a corresponding IM group according to the IM group identifier;
the group identification is sent to the colonisation respondent so that a second vehicle device of the vehicle of the colonisation respondent joins the IM group according to the group identification.
In one possible embodiment, before sending the group creation request to the server, the method further comprises:
transmitting a first initialization request to a server, wherein the first initialization request comprises a first account identifier of first vehicle equipment, so that the server responds to the first initialization request to generate a first IM account identifier corresponding to the first account identifier;
And receiving the first IM account identification sent by the server.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm program on a first vehicle device to obtain first vehicle data of vehicles of a group creator;
When the triggering operation of the group creator is responded or a preset triggering condition is met, generating a group text message according to the first vehicle data according to a preset message format;
And sending the group text message to the IM group, so that the group member decodes according to a decoding mode corresponding to a preset message format to obtain first vehicle data, and outputs the first vehicle data in a preset output mode.
In one possible embodiment, the first vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
With respect to the specific description and advantageous effects of the embodiments of the present invention, reference may be made to the description of embodiment seven.
Examples ten
Based on the ninth embodiment, referring to fig. 10, fig. 10 is a schematic structural diagram of a team traveling device according to the embodiment of the present invention; the embodiment of the invention also provides a team traveling device, which comprises:
a third setting module 101 for setting the team travel program in a first vehicle device of the vehicle of the group creator;
A third request module 102, configured to respond to a group creation operation of a group creator, and send a group creation request to a server, where the group creation request includes a first IM account identifier corresponding to a first account identifier of a first vehicle device;
A fifth receiving module 103, configured to receive creation request response information returned by the server in response to the group creation request, where the creation request response information includes a group identifier and an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
A third login module 104, configured to login to the IM according to the first IM account identifier, and join a corresponding IM group according to the IM group identifier;
a fourth sending module 105, configured to send the group identifier to the group responder, so that the second vehicle device of the vehicle of the group responder joins the IM group according to the group identifier.
In one possible embodiment, the apparatus further comprises:
the first initialization module is used for sending a first initialization request to the server, wherein the first initialization request comprises a first account identifier of the first vehicle equipment, so that the server responds to the first initialization request to generate a first IM account identifier corresponding to the first account identifier;
And the sixth receiving module is used for receiving the first IM account identification sent by the server.
In one possible embodiment, the apparatus further comprises:
a seventh acquisition module for interfacing with the navigation algorithm program on the first vehicle device to acquire first vehicle data of the vehicles of the group creator;
A fifth generation module, configured to generate a group text message according to a preset message format from the first vehicle data when the trigger operation of the group creator is responded or the preset trigger condition is satisfied;
And the ninth sending module is used for sending the group text message to the IM group so as to enable the group members to decode according to a decoding mode corresponding to a preset message format to obtain first vehicle data, and outputting the first vehicle data in a preset output mode.
In one possible embodiment, the first vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the above-mentioned embodiment nine, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example eleven
Based on the seventh embodiment, the embodiment of the invention further provides a team traveling method, which comprises the following steps:
setting the team travel program in a second vehicle device of the vehicles of the group responders;
responding to the group joining operation of the group building respondent, and sending a group joining request to a server, wherein the group joining request comprises a group identifier of an IM group requested to be joined and a second IM account identifier corresponding to the account identifier of the second vehicle equipment;
Receiving joining request response information returned by the server in response to the joining group request, wherein the joining request response information comprises an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
Logging in the IM according to the second IM account identifier, and adding a corresponding IM group according to the IM group identifier.
In one possible embodiment, before sending the join group request to the server, the method further comprises:
Transmitting a second initialization request to the server, wherein the second initialization request comprises a second account identifier of the second vehicle equipment, so that the server responds to the second initialization request to generate a second IM account identifier corresponding to the second account identifier;
and receiving a second IM account identifier sent by the server.
In one possible embodiment, the method further comprises:
establishing a program interface connection with a navigation algorithm route on a second vehicle device to obtain second vehicle data of vehicles of the colonising respondents;
When the trigger operation of the colonisation respondent is responded or a preset trigger condition is met, generating a group text message according to a preset message format by the second vehicle data;
and sending the group text message to the IM group so that group members decode according to a decoding mode corresponding to a preset message format to obtain second vehicle data, and outputting the second vehicle data in a preset output mode.
In one possible embodiment, the second vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
With respect to the specific description and advantageous effects of the embodiments of the present invention, reference may be made to the description of embodiment seven.
Example twelve
Based on the eleventh embodiment, referring to fig. 11, fig. 11 is a schematic structural diagram of a team traveling device according to the embodiment of the present invention; the embodiment of the invention also provides a team traveling device, which comprises:
A fourth setting module 111 for setting the team travel program in a second vehicle device of the vehicle of the group respondent;
A fourth request module 112, configured to send a group joining request to the server in response to a group joining operation of the group-building respondent, where the group joining request includes a group identifier of the IM group requested to be joined and a second IM account identifier corresponding to the account identifier of the second vehicle device;
A seventh receiving module 113, configured to receive join request response information returned by the server in response to the join group request, where the join request response information includes an IM group identifier corresponding to the group identifier, and the IM group identifier is used for IM group communication;
the fourth login module 114 is configured to login to the IM according to the second IM account identifier, and join the corresponding IM group according to the IM group identifier.
In one possible embodiment, the apparatus further comprises:
The second initialization module is used for sending a second initialization request to the server, wherein the second initialization request comprises a second account identifier of the second vehicle equipment, so that the server responds to the second initialization request to generate a second IM account identifier corresponding to the second account identifier;
and the eighth receiving module is used for receiving the second IM account identification sent by the server.
In one possible embodiment, the apparatus further comprises:
an eighth acquisition module for interfacing with the navigation algorithm on the second vehicle device to acquire second vehicle data of the vehicles of the colonising respondents;
The sixth generation module is used for responding to the triggering operation of the colonisation respondent or generating a group text message according to a preset message format when a preset triggering condition is met;
And a tenth sending module, configured to send the group text message to the IM group, so that the group member decodes the group text message according to a decoding manner corresponding to the preset message format to obtain second vehicle data, and outputs the second vehicle data in a preset output manner.
In one possible embodiment, the second vehicle data includes at least one of vehicle state data, vehicle attitude data, vehicle position data, travel destination data, road book data, road condition data.
It should be noted that, for the specific functional implementation manner of the team traveling device, reference may be made to the description of the team traveling method in the above-mentioned embodiment eleven, and no further description is given here. Each unit or module in the team trip device can be respectively or completely combined into one or a plurality of other units or modules, or some unit(s) or module(s) can be further split into a plurality of units or modules with smaller functions to form the team trip device, which can realize the same operation without affecting the realization of the technical effects of the embodiment of the invention. The above units or modules are divided based on logic functions, and in practical applications, the functions of one unit (or module) may be implemented by a plurality of units (or modules), or the functions of a plurality of units (or modules) may be implemented by one unit (or module).
Example thirteen
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides team traveling equipment.
Fig. 12 is a schematic structural diagram of a team traveling device according to an embodiment of the present invention. As shown in fig. 12, the above-described team travel apparatus may be applied to the team travel device 120 according to any of the above-described embodiments, and the team travel device 120 may include: processor 121, network interface 124, and memory 125, and in addition, the team trip device 120 may further include: a user interface 123, and at least one communication bus 122. Wherein the communication bus 122 is used to enable connected communication between these components. The user interface 123 may include a Display screen (Display), a Keyboard (Keyboard), and the optional user interface 123 may further include a standard wired interface, a wireless interface, among others. The network interface 124 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 125 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 125 may also optionally be at least one storage device located remotely from the aforementioned processor 121. As shown in fig. 12, an operating system, a network communication module, a user interface module, and a device control application program may be included in the memory 125 as one type of computer storage medium.
In the team trip device 120 shown in fig. 12, the network interface 124 may provide network communication functions; while the user interface 123 is primarily an interface for providing input to a user; and the processor 121 may be configured to invoke the device control application stored in the memory 125 to implement the steps of the team trip method of any of the embodiments described above.
It should be understood that the team traveling apparatus 120 described in the embodiments of the present invention may perform the team traveling method described above, and may also perform the description of the team traveling device described above, which is not described herein. In addition, the description of the beneficial effects of the same method is omitted.
Furthermore, it should be noted here that: the embodiment of the invention also provides a computer storage medium, in which a computer program executed by the aforementioned team traveling device is stored, and the computer program includes program instructions, when executed by a processor, the program instructions can execute the description of the aforementioned team traveling method, and therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer storage medium according to the present invention, please refer to the description of the method embodiments of the present invention.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs to instruct related hardware, and the programs may be stored in a computer readable storage medium, which when executed may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.