Disclosure of Invention
In view of the above, the present invention has been developed to provide a method, system, and apparatus for interconnecting vehicle-mounted devices that overcome or at least partially address the above-identified problems.
According to a first aspect of the invention, the invention provides a method for interconnecting vehicle-mounted equipment, which is applied to the vehicle-mounted equipment and comprises the following steps:
registering in a cloud server;
the vehicle-mounted equipment logs in to the cloud server, so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and a server address of a transfer server;
based on the server address, sending the authorization information to the transfer server so that the vehicle-mounted equipment is authenticated in the transfer server;
and after the authentication is successful, establishing communication connection with the transfer server so as to communicate with other vehicle-mounted equipment through the transfer server.
Preferably, the registering in the cloud server includes:
and uploading the unique equipment identification information and the equipment name of the vehicle-mounted equipment to the cloud server so that the cloud server stores the unique equipment identification information and the equipment name.
Preferably, the signing in to the cloud server so that the cloud server updates the working state of the vehicle-mounted device to an online state, and acquires authorization information returned by the cloud server and a server address of a relay server includes:
sending the unique equipment identification information and the geographical position information of the vehicle-mounted equipment to the cloud server, wherein after receiving the unique equipment identification information and the geographical position information, the cloud server updates the working state of the vehicle-mounted equipment to an online state, and sends the authorization information and the server address of the transfer server to the vehicle-mounted equipment;
and receiving the authorization information sent by the cloud server and the server address of the transit server.
Preferably, after the communication connection is established with the transit server, the method further includes:
and determining the connection state of the communication connection at a preset frequency, and reestablishing the communication connection between the transfer server and the vehicle-mounted equipment after the disconnection times of the connection state exceed a preset disconnection threshold value.
Preferably, after the communication connection is established with the transit server, the method further includes:
acquiring all on-line vehicle-mounted equipment currently in an on-line state from the cloud server;
determining target vehicle-mounted equipment to be connected from all on-line vehicle-mounted equipment;
acquiring unique equipment identification information of the target vehicle-mounted equipment from the cloud server;
packaging the unique equipment identification information of the target vehicle-mounted equipment, the unique equipment identification information of the vehicle-mounted equipment and the information to be transmitted into target transmission information;
and sending the target transmission information to the transfer server through an information transmission channel between the vehicle-mounted equipment and the transfer server so that the transfer server forwards the information to be transmitted to the target vehicle-mounted equipment based on the target transmission information, and after the target vehicle-mounted equipment receives the information to be transmitted, forwarding a feedback result of the target vehicle-mounted equipment to the vehicle-mounted equipment.
Preferably, the information transmission channel includes an instruction transmission channel and an audio-video transmission channel, and when there exists first target transmission information based on the instruction information and second target transmission information based on the audio-video information, the method further includes:
the first target transmission information is sent to the transfer server through the instruction transmission channel, and then the second target transmission information is sent to the transfer server through the audio and video transmission channel.
According to a second aspect of the present invention, the present invention provides an interconnection system for vehicle-mounted devices, including a vehicle-mounted device, a cloud server, and a relay server;
the vehicle-mounted equipment is used for registering in the cloud server;
the vehicle-mounted equipment is also used for signing in to the cloud server so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and the server address of the transit server;
the vehicle-mounted equipment is also used for sending the authorization information to the transfer server based on the server address so as to enable the vehicle-mounted equipment to authenticate in the transfer server;
and the vehicle-mounted equipment is also used for establishing communication connection with the transfer server after authentication is successful so as to communicate with other vehicle-mounted equipment through the transfer server.
According to a third aspect of the present invention, the present invention provides an apparatus for interconnecting vehicle-mounted devices, which is applied to the vehicle-mounted devices, and the apparatus includes:
the registration module is used for registering in the cloud server;
the check-in module is used for checking in to the cloud server so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and a server address of a transit server;
the authentication module is used for sending the authorization information to the transfer server based on the server address so as to authenticate the vehicle-mounted equipment in the transfer server;
and the connection module is used for establishing communication connection with the transfer server after the authentication is successful so as to communicate with other vehicle-mounted equipment through the transfer server.
According to a fourth aspect of the invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the method steps according to the first aspect as set forth above.
According to a fifth aspect of the present invention, there is provided a computer device comprising a memory including a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method steps as described in the first aspect when executing the program.
According to the method, the system and the device for interconnecting the vehicle-mounted devices, the vehicle-mounted devices are registered in the cloud server at first. And then, the vehicle-mounted equipment signs in to the cloud server so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and the server address of the transfer server. Then, the in-vehicle device transmits authorization information to the relay server based on the server address, so that the in-vehicle device is authenticated in the relay server. And finally, after the authentication is successful, the vehicle-mounted equipment establishes communication connection with the transfer server so as to communicate with other vehicle-mounted equipment through the transfer server, thereby realizing interconnection among a plurality of vehicle-mounted equipment and realizing the control of one vehicle-mounted equipment on the other vehicle-mounted equipment.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The first embodiment of the invention provides a method for interconnecting vehicle-mounted equipment, which is applied to the vehicle-mounted equipment, and the vehicle-mounted equipment is arranged in a vehicle. The vehicle-mounted equipment can interact with the cloud server, the transfer server and other vehicle-mounted equipment. The other vehicle-mounted devices are not limited to the other vehicle-mounted devices in the vehicle where the vehicle-mounted device is currently located, and include the vehicle-mounted devices in other vehicles.
For example, if the vehicle-mounted device of the execution subject is a first vehicle-mounted device in a first vehicle, the first vehicle further includes a second vehicle-mounted device, the second vehicle exists in addition to the first vehicle, and the second vehicle includes a third vehicle-mounted device and a fourth vehicle-mounted device, then the other vehicle-mounted device in the embodiment of the present invention may be the second vehicle-mounted device, the third vehicle-mounted device, or the fourth vehicle-mounted device.
Referring to fig. 1, the method for interconnecting vehicle-mounted devices of the present invention includes the steps of:
step 101: and registering in the cloud server.
Specifically, the in-vehicle device first needs to be registered in the cloud server. The specific process of registration comprises: and uploading the unique equipment identification information and the equipment name of the vehicle-mounted equipment to a cloud server so that the cloud server stores the unique equipment identification information and the equipment name.
The unique identification information of the equipment is information for uniquely identifying the vehicle-mounted equipment, and the unique identification information of the equipment can be realized by the unique identification code of the equipment. The device name may be a name that the user names the device. The unique equipment identification information facilitates distinguishing different vehicle-mounted equipment among the electronic equipment, and the equipment name facilitates distinguishing different vehicle-mounted equipment by a user. Both the device unique identification information and the device name correspond to the vehicle-mounted device one to one, that is, different vehicle-mounted devices have different device unique identification information and different device names.
Further, after the unique device identification information and the device name are uploaded to the cloud server, the cloud server stores the unique device identification information and the device name, and therefore the registration process of the vehicle-mounted device is completed. After the vehicle-mounted equipment is successfully registered, the cloud server can manage all the vehicle-mounted equipment which is successfully registered. In the invention, all the interconnected vehicle-mounted devices need to successfully complete the registration process in the cloud server.
After step 101 is completed, step 102 is performed: and signing in to the cloud server so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and the server address of the transfer server.
Specifically, before interconnection is achieved, the vehicle-mounted device needs to check in the cloud server. The specific process of signing comprises the following steps: and sending the unique equipment identification information and the geographical position information of the vehicle-mounted equipment to a cloud server, wherein after receiving the unique equipment identification information and the geographical position information, the cloud server updates the working state of the vehicle-mounted equipment to an online state, and sends authorization information and a server address of a transfer server to the vehicle-mounted equipment. And the vehicle-mounted equipment receives the authorization information sent by the cloud server and the server address of the transfer server. The method comprises the steps that geographic position information is used for representing the current geographic position of the vehicle-mounted equipment, and after the vehicle-mounted equipment sends the geographic position information to the cloud server, the cloud server can know the current position of the vehicle-mounted equipment.
It should be noted that the server address of the transfer server is prestored in the cloud server, so that after the vehicle-mounted device signs in, the cloud server can send the server address of the transfer server to the vehicle-mounted device. One implementation of authorization information is an authorization code. After the vehicle-mounted device signs in, the cloud server generates an authorization password based on a preset password generation mode, and sends the authorization password to the vehicle-mounted device, wherein the authorization password is used for verifying the identity of the vehicle-mounted device.
Further, in the invention, the vehicle-mounted device can sign in to the cloud server at a preset sign-in frequency, for example, once a minute, so that the cloud server can update the working state of the vehicle-mounted device in real time, and when the number of times that the vehicle-mounted device is not signed in continuously exceeds the preset number of times, the cloud server adjusts the working state of the vehicle-mounted device to be in an offline state. By the method, the geographic position of the vehicle-mounted equipment can be updated in real time, and the working state can be updated in real time.
After step 102 is completed, step 103 is performed: and sending authorization information to the transfer server based on the server address so that the vehicle-mounted equipment is authenticated in the transfer server.
Specifically, the vehicle-mounted device can send the authorization password to the transfer server through the server address, the transfer server authenticates the authorization password after receiving the authorization password, and the authentication process is the process of verifying the authorization password. In the invention, a password verification mode corresponding to a preset password generation mode in the cloud server is prestored in the transit server. If the authorization code is successfully verified, the authentication is successful, otherwise, the authentication is failed.
Then, step 104 is executed: and after the authentication is successful, establishing communication connection with the transfer server so as to communicate with other vehicle-mounted equipment through the transfer server.
Specifically, if the authentication of the in-vehicle device is successful at the transit server, the in-vehicle device establishes a communication connection with the transit server. Since the communication connection exists between the in-vehicle device and the relay server, the in-vehicle device and the relay server can communicate with each other. When a plurality of vehicle-mounted devices exist, if each vehicle-mounted device is in communication connection with the transfer server, information transfer is performed through the transfer server, indirect communication can be performed among the plurality of vehicle-mounted devices, and therefore interconnection is achieved, namely the current vehicle-mounted devices can communicate with other vehicle-mounted devices through the transfer server.
The specific process of establishing the communication connection comprises the following steps: a socket length connection is established with the transit server. Socket long connections are socket long connections. After the socket long connection is established, the transfer server stores the unique device identification information of each vehicle-mounted device and the socket connection.
Further, in order to improve the stability of the connection between the relay server and the in-vehicle device, in the present invention, the connection state of the communication connection between the in-vehicle device and the relay server is determined at a preset frequency, and after the number of times of disconnection of the connection state exceeds a preset disconnection threshold, the communication connection is reestablished between the relay server and the in-vehicle device. The preset frequency and the preset disconnection threshold may be set according to actual needs, for example, the preset frequency may be set to determine the connection state of the communication connection every 30 seconds, and the preset disconnection threshold may be set to 5 times, so that the connection state of the communication connection between the in-vehicle device and the relay server is determined every 30 seconds, and if the connection state is that the number of times of disconnection exceeds 5 times, the communication connection is established again between the in-vehicle device and the relay server. Thus, the stability of the connection between the relay server and the in-vehicle device can be improved by reestablishing the communication connection.
Further, after the vehicle-mounted device establishes communication connection with the relay server, an information transmission channel is formed between the vehicle-mounted device and the relay server. Thus, after establishing the communication connection with the transit server, the method further includes:
acquiring all on-line vehicle-mounted equipment currently in an on-line state from a cloud server;
determining target vehicle-mounted equipment to be connected from all on-line vehicle-mounted equipment;
acquiring unique equipment identification information of target vehicle-mounted equipment from a cloud server;
packaging the unique equipment identification information of the target vehicle-mounted equipment, the unique equipment identification information of the vehicle-mounted equipment and the information to be transmitted into target transmission information;
and sending the target transmission information to the transfer server through an information transmission channel between the vehicle-mounted equipment and the transfer server so that the transfer server forwards the information to be transmitted to the target vehicle-mounted equipment based on the target transmission information, and after the target vehicle-mounted equipment receives the information to be transmitted, forwarding a feedback result of the target vehicle-mounted equipment to the vehicle-mounted equipment.
Specifically, first, a current vehicle-mounted device (i.e., a vehicle-mounted device serving as an execution subject) acquires all on-line vehicle-mounted devices from a cloud server, where the on-line vehicle-mounted devices are vehicle-mounted devices currently on line in the cloud server, and information acquired by the current vehicle-mounted device may be device names and/or device unique identification information of the on-line vehicle-mounted devices. And then, determining target vehicle-mounted equipment from the on-line vehicle-mounted equipment based on the selection operation of the user on the current vehicle-mounted equipment, wherein the target vehicle-mounted equipment is the vehicle-mounted equipment to be connected. And then, the current vehicle-mounted equipment acquires the equipment unique identification information of the target vehicle-mounted equipment from the cloud server. And then, packaging the unique equipment identification information, the unique equipment identification information of the target vehicle-mounted equipment and the information to be transmitted into target transmission information by the current vehicle-mounted equipment. And then the target transmission information is sent to the transfer server through the information transmission channel. After receiving the target transmission information, the transfer server analyzes the target transmission information to obtain the unique equipment identification information of the vehicle-mounted equipment, the unique equipment identification information of the target vehicle-mounted equipment and the information to be transmitted. And then, the transfer server sends the information to be transmitted to the target vehicle-mounted equipment based on the equipment unique identification information of the target vehicle-mounted equipment. The target vehicle-mounted device generates a feedback result after receiving the information to be transmitted, for example, if the information to be transmitted is a control instruction, the target vehicle-mounted device generates an execution result after receiving and executing the control instruction, and the execution result is the feedback result. Of course, the information to be transmitted may also be audio-video information, so that the feedback result is a result corresponding to the execution of the audio-video information. After the target vehicle-mounted equipment generates the feedback result, the feedback result is returned to the transfer server, and then the transfer server sends the feedback result to the current vehicle-mounted equipment.
Further, in the present invention, the information transmission channel between the in-vehicle device and the relay server includes two channels, which are an instruction transmission channel and an audio-video transmission channel. The priority of the instruction transmission channel is higher than that of the audio and video transmission channel. The information to be transmitted may be instruction information, such as a control instruction, and the information to be transmitted may also be audio/video information. If the information to be transmitted is the instruction information, the vehicle-mounted device packages the device unique identification information of the target vehicle-mounted device, the device unique identification information of the vehicle-mounted device and the instruction information into first target transmission information, wherein the first target transmission information is target transmission information based on the instruction information. If the information to be transmitted is audio and video information, the vehicle-mounted equipment packages the equipment unique identification information of the target vehicle-mounted equipment, the equipment unique identification information of the vehicle-mounted equipment and the audio and video information into second target transmission information, and the second target transmission information is target transmission information based on the audio and video information. Therefore, when the vehicle-mounted equipment transmits the first target transmission information and the second target transmission information, the first target transmission information is firstly sent to the transfer server through the instruction transmission channel, and then the second target transmission information is sent to the transfer server through the audio and video transmission channel, so that the control instruction can be guaranteed to have the highest execution priority.
It should be noted that, in the present invention, the control instruction may be an instruction for controlling the vehicle-mounted device, and the type of the control instruction is not limited in the present invention, for example, if the current vehicle-mounted device is a vehicle machine and the target vehicle-mounted device is a car recorder, the control instruction may be an instruction for watching real-time audio/video live broadcast of the car recorder, an instruction for viewing a playback video file, an instruction for sending an instruction to modify a setting of the car recorder, and the like.
It should be noted that, in the present invention, the current vehicle-mounted device establishes a communication connection with the relay server through the cellular traffic, and at this time, other vehicle-mounted devices may establish a communication connection with the current vehicle-mounted device through the WIFI hotspot, so that the other vehicle-mounted devices do not consume their own cellular traffic.
The communication connection can be established through the WIFI network, so that the interconnection between the vehicle-mounted devices can be realized without depending on a cellular network, and the communication flow of the devices is not consumed.
In the invention, the vehicle-mounted equipment is registered in the cloud server at first. And then, the vehicle-mounted equipment signs in to the cloud server so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and the server address of the transfer server. Then, the in-vehicle device transmits authorization information to the relay server based on the server address, so that the in-vehicle device is authenticated in the relay server. And finally, after the authentication is successful, the vehicle-mounted equipment establishes communication connection with the transfer server so as to communicate with other vehicle-mounted equipment through the transfer server, thereby realizing interconnection among a plurality of vehicle-mounted equipment and enabling a user to realize control over another vehicle-mounted equipment through one vehicle-mounted equipment.
Based on the same inventive concept, a second embodiment of the present invention provides an interconnection system for vehicle-mounted devices, including a vehicle-mounted device, a cloud server, and a relay server, as shown in fig. 2.
The vehicle-mounted equipment is used for registering in the cloud server. The vehicle-mounted equipment is further used for signing in to the cloud server, so that the cloud server updates the working state of the vehicle-mounted equipment to be an online state, and acquires authorization information returned by the cloud server and the server address of the transfer server. The vehicle-mounted equipment is also used for sending authorization information to the transit server based on the server address so that the vehicle-mounted equipment can be authenticated in the transit server. The vehicle-mounted equipment is also used for establishing communication connection with the transfer server after the authentication is successful so as to communicate with other vehicle-mounted equipment through the transfer server.
It should be noted that the second embodiment is a system embodiment corresponding to the first embodiment, and in the first embodiment and the second embodiment, the same devices have the same functions, and since the first embodiment has already described each device in detail, the second embodiment will not be described again.
The following describes the operation of the in-vehicle device interconnection system in detail by way of example.
In an actual scenario, the first vehicle includes a first vehicle-mounted device and a second vehicle-mounted device, and the second vehicle includes a third vehicle-mounted device, and how to implement interconnection between the first vehicle-mounted device and the third vehicle-mounted device, so as to implement control of the third vehicle-mounted device by using the first vehicle-mounted device, specifically:
first, the first vehicle-mounted device registers in the cloud server, then signs in to the cloud server, and the cloud server updates the working state of the first vehicle-mounted device to be an online state. The first vehicle-mounted device acquires the authorization information and the server address of the transfer server from the cloud server, and sends the authorization information to the transfer server based on the server address. And the first vehicle-mounted equipment authenticates at the transfer server based on the authorization information, and after the authentication is successful, the first vehicle-mounted equipment establishes communication connection with the transfer server. Based on the same working principle, the second vehicle-mounted equipment and the third vehicle-mounted equipment are all in communication connection with the transfer server, so that the first vehicle-mounted equipment, the second vehicle-mounted equipment and the third vehicle-mounted equipment can be in data communication with the transfer server.
And then, the first vehicle-mounted device acquires the vehicle-mounted devices which are currently in the online state from the cloud server, namely the first vehicle-mounted device, the second vehicle-mounted device and the third vehicle-mounted device. If the user wants to control the third vehicle-mounted device on the first vehicle-mounted device side, the third vehicle-mounted device is clicked on the first vehicle-mounted device, and the third vehicle-mounted device is determined as the target vehicle-mounted device. Then, the first vehicle-mounted device acquires the device unique identification information of the third vehicle-mounted device from the cloud server, and encapsulates the device unique identification information of the third vehicle-mounted device, the device unique identification information of the first vehicle-mounted device and the control instruction into target transmission information, such as { "src _ device _ services _ no": "AAAAA", "dst _ device _ services _ no": bbbb "and" cmd ": list _ all" }, wherein AAAAA is the device unique identification information of the first vehicle-mounted device, BBBBBB is the device unique identification information of the third vehicle-mounted device, and list _ all is the control instruction. And the first vehicle-mounted equipment sends the target transmission information to the transfer server. After receiving the target transmission information, the transfer server analyzes the target transmission information to analyze the unique equipment identification information of the third vehicle-mounted equipment, the unique equipment identification information of the first vehicle-mounted equipment and the control instruction. And then, the transfer server sends the control instruction to the third vehicle-mounted equipment based on the equipment unique identification information of the third vehicle-mounted equipment, the third vehicle-mounted equipment generates a feedback result after executing the control instruction and returns the feedback result to the transfer server, and the transfer server sends the feedback result to the first vehicle-mounted equipment based on the equipment unique identification information of the first vehicle-mounted equipment. Therefore, through the process, the interconnection of the first vehicle-mounted device, the second vehicle-mounted device and the third vehicle-mounted device is realized, and the third vehicle-mounted device is controlled by the first vehicle-mounted device.
It should be noted that, in the present invention, the transfer server distinguishes different vehicle-mounted devices through the device unique identification information.
Based on the same inventive concept, a third embodiment of the present invention further provides an apparatus for interconnecting vehicle-mounted devices, which is applied to the vehicle-mounted devices, and as shown in fig. 3, the apparatus includes:
the registration module 201 is configured to register in a cloud server.
The check-in module 202 is configured to check in to the cloud server, so that the cloud server updates the working state of the vehicle-mounted device to an online state, and obtains authorization information returned by the cloud server and a server address of a relay server.
And the authentication module 203 is configured to send the authorization information to the transit server based on the server address, so that the vehicle-mounted device authenticates in the transit server.
And the connection module 204 is configured to establish a communication connection with the transit server after the authentication is successful, so as to communicate with other vehicle-mounted devices through the transit server.
Preferably, the registration module 201 is specifically configured to:
and uploading the unique equipment identification information and the equipment name of the vehicle-mounted equipment to the cloud server so that the cloud server stores the unique equipment identification information and the equipment name.
Preferably, the check-in module includes:
the information sending unit is used for sending the unique equipment identification information and the geographical position information of the vehicle-mounted equipment to the cloud server, wherein the cloud server updates the working state of the vehicle-mounted equipment to be an online state after receiving the unique equipment identification information and the geographical position information, and sends the authorization information and the server address of the transfer server to the vehicle-mounted equipment;
and the information receiving unit is used for receiving the authorization information sent by the cloud server and the server address of the transit server.
Preferably, the apparatus further comprises:
and the reconnection module is used for determining the connection state of the communication connection at a preset frequency, and reestablishing the communication connection between the transfer server and the vehicle-mounted equipment after the disconnection times of the connection state exceed a preset disconnection threshold value.
Preferably, the apparatus further comprises:
the first acquisition unit is used for acquiring all on-line vehicle-mounted equipment in an on-line state from the cloud server;
the determining unit is used for determining target vehicle-mounted equipment to be connected from all the on-line vehicle-mounted equipment;
the second acquisition unit is used for acquiring the unique equipment identification information of the target vehicle-mounted equipment from the cloud server;
the packaging unit is used for packaging the unique equipment identification information of the target vehicle-mounted equipment, the unique equipment identification information of the vehicle-mounted equipment and the information to be transmitted into target transmission information;
and the sending unit is used for sending the target transmission information to the transfer server through an information transmission channel between the vehicle-mounted equipment and the transfer server so that the transfer server forwards the information to be transmitted to the target vehicle-mounted equipment based on the target transmission information, and forwards a feedback result of the target vehicle-mounted equipment to the vehicle-mounted equipment after the target vehicle-mounted equipment receives the information to be transmitted.
Preferably, the information transmission channel includes an instruction transmission channel and an audio-video transmission channel, and when there exists first target transmission information based on the instruction information and second target transmission information based on the audio-video information, the apparatus further includes:
and the sequence sending module is used for sending the first target transmission information to the transfer server through the instruction transmission channel and sending the second target transmission information to the transfer server through the audio and video transmission channel.
Based on the same inventive concept, a computer-readable storage medium is further provided in the fourth embodiment of the present invention, on which a computer program is stored, which when executed by a processor implements the method steps described in the first embodiment.
Based on the same inventive concept, a fifth embodiment of the present invention further provides a computer apparatus, as shown in fig. 3, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal digital assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the computer device as the mobile phone as an example:
fig. 4 is a block diagram illustrating a partial structure associated with a computer device provided by an embodiment of the present invention. Referring to fig. 4, the computer apparatus includes: a memory 301 and a processor 302. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 4 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The following describes the components of the computer device in detail with reference to fig. 4:
the memory 301 may be used to store software programs and modules, and the processor 302 executes various functional applications and data processing by operating the software programs and modules stored in the memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.), and the like. Further, the memory 301 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 302 is a control center of the computer device, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 301 and calling data stored in the memory 301. Alternatively, processor 302 may include one or more processing units; preferably, the processor 302 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
In this embodiment of the present invention, the processor 302 included in the computer device may have the functions corresponding to any of the method steps in the foregoing first embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.