CN115695092A - Internet vehicle data processing method and device and electronic equipment - Google Patents

Internet vehicle data processing method and device and electronic equipment Download PDF

Info

Publication number
CN115695092A
CN115695092A CN202211351300.5A CN202211351300A CN115695092A CN 115695092 A CN115695092 A CN 115695092A CN 202211351300 A CN202211351300 A CN 202211351300A CN 115695092 A CN115695092 A CN 115695092A
Authority
CN
China
Prior art keywords
module
information
vehicle
cloud gateway
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211351300.5A
Other languages
Chinese (zh)
Other versions
CN115695092B (en
Inventor
向月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202211351300.5A priority Critical patent/CN115695092B/en
Priority claimed from CN202211351300.5A external-priority patent/CN115695092B/en
Publication of CN115695092A publication Critical patent/CN115695092A/en
Application granted granted Critical
Publication of CN115695092B publication Critical patent/CN115695092B/en

Links

Images

Abstract

The invention provides a method and a device for processing internet connection data and electronic equipment, wherein the method for processing the internet connection data comprises the following steps: the forwarding recording instruction module acquires a remote control instruction, and requests the vehicle type adapting module to query the corresponding cloud gateway version id according to the vehicle id and cache the version id; the forwarding recording instruction module acquires the product version id and the connection information from the basic function module based on the cloud gateway version id and forwards the product version id and the connection information to the operation module; and after the operation module receives the remote control instruction, the object model information corresponding to the next vehicle is acquired from the management background module based on the acquired product version id, the object model information is analyzed and stored in a local cache, the request parameter is verified based on the cached object model information, and the request parameter is forwarded to the gateway module to wait for issuing. The technical scheme of the embodiment of the application can promote the processing efficiency of the internet connection data.

Description

Internet vehicle data processing method and device and electronic equipment
Technical Field
The application relates to the technical field of internet automobile data processing, in particular to a method and device for processing internet automobile data and electronic equipment.
Background
As the number and degree of car intelligence increases, the number of cars accessing car service providers increases, and challenges are faced with the increasing number that result in reduced processing efficiency.
Chinese patent publication No. CN106197457a discloses a technology entitled "a vehicle network-based mass data processing apparatus", which describes setting different terminal processes by classifying information generated by a vehicle into a plurality of categories, and which describes only solving the problem of the hardware level and lacks optimization of the software level.
Chinese patent document No. CN109391660a discloses a technology named "data processing method, apparatus and storage medium in car networking system", which describes a method of collecting vehicle information by hardware devices, and then filtering abnormal traffic of illegal users and invalid requests by using a three-dimensional modeling method to control data amount to process data.
In the prior art, the internet connection data is generally processed in the following way: the APP is used for sending a remote control instruction to the forwarding recording instruction module; the forwarding recording instruction module acquires the product id of the instruction from the management background module according to the transmitted instruction and forwards the product id to the forwarding module; after receiving the remote control instruction, the forwarding module acquires an equipment product id from the management background module through the equipment tuid, acquires a complete object model according to the product id, acquires parameters of a corresponding method through the service id and the method id, acquires corresponding cluster and topic information through the equipment tuid, then forwards the information to the gateway module for issuing, simultaneously stores caches of corresponding vehicles and services and methods thereof, and forwards the information to the gateway module for waiting for issuing after verification.
In the prior art, a module needs to initiate three http requests to respectively obtain instruction verification information, cluster information and topic information during single message processing and operation, the network consumes a lot of time, and the configuration of the instruction information of a vehicle is difficult.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present application provide a method and an apparatus for processing internet protocol vehicle data, an electronic device, a computer scale storage medium, and a computer program product, so as to improve processing efficiency of internet protocol vehicle data.
Additional features and advantages of the application will be set forth in the detailed description which follows, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method for processing internet connection data, including:
acquiring a remote control instruction, wherein the remote control instruction comprises identity information of a vehicle to be controlled;
inquiring cloud gateway version information corresponding to the identity information of the vehicle to be controlled based on the identity information of the vehicle to be controlled;
obtaining product version information and connection information according to the cloud gateway version information, and forwarding the product version information and the connection information to a runtime module so that the runtime module obtains object model information according to the product version information and caches the object model information to the local;
and verifying the request parameters of the remote control instruction according to the local object model information, wherein the verification is realized by forwarding the request parameters to the gateway module to execute data transmission.
In the technical solution provided in the embodiment of the present application, querying the cloud gateway version information corresponding to the identity information of the vehicle to be controlled based on the identity information of the vehicle to be controlled includes:
the forwarding record instruction module judges whether the cloud gateway version information exists in the cache or not, and if the cloud gateway version information exists in the cache, the cloud gateway version information is directly returned;
if the cloud gateway version information does not exist in the cache, the forwarding and recording instruction module calls an interface to acquire the cloud gateway version information from the vehicle model adapting module;
the vehicle type adaptation module returns cloud gateway version information;
the forwarding and recording instruction module caches identity information of the vehicle to be controlled and version information of a corresponding cloud gateway;
and the forwarding recording instruction module returns the cloud gateway version information.
In the technical solution provided in the embodiment of the present application, obtaining product version information and connection information according to the cloud gateway version information includes:
the forwarding record instruction module judges whether a cloud gateway route exists in a local cache or not, and if the cloud gateway route exists, the cloud gateway route information is directly returned;
if the cloud gateway routing information does not exist, the forwarding recording instruction module calls an interface to acquire the cloud gateway routing information from the basic function module based on the cloud gateway version information;
the basic function module returns cloud gateway routing information;
the forwarding and recording instruction module caches the cloud gateway routing information, wherein the caching time is t1;
and the forwarding record instruction module returns the cloud gateway routing information.
In the technical solution provided in the embodiment of the present application, obtaining the product version information and the connection information according to the cloud gateway version information further includes:
the forwarding record instruction module acquires identity information, a service name and a method name of a vehicle to be controlled;
the forwarding recording instruction module calls an interface to acquire an activated product set from the basic function module based on the identity information of the vehicle to be controlled;
the basic function module queries a product set;
the basic function module returns a product set;
the forwarding recording instruction module acquires cloud gateway version information according to the identity information of the vehicle to be controlled;
the forwarding recording instruction module acquires the cloud gateway routing information according to the cloud gateway version information;
the forwarding record instruction module judges whether the product type is a cloud gateway direct sub-device;
if the product type is judged to be the gateway direct connection sub-equipment, searching products with the same part number in the vehicle equipment set according to the part number, and enabling the product version information to be as follows: splicing product type @ product version information;
and the forwarding recording instruction module returns product version information and connection information.
In the technical solution provided in the embodiment of the present application, forwarding the product version information and the connection information to a runtime module, so that the runtime module obtains object model information according to the product version information and caches the object model information to the local, includes:
judging whether the local cache has object model information or not;
if the object model information exists in the local cache, the operation module directly returns the object model information;
if the object model information does not exist in the local cache, the operation module calls an interface to acquire the object model information from the management background module based on the product version information;
the management background management module returns the object model information;
the runtime module caches object model information;
the runtime module returns the object model information.
In the technical solution provided in the embodiments of the present application,
when the object model is released or off-shelf in the management background module, calling an interface to update the cache, wherein the updated key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld };
when the cloud virtual gateway is released or off-shelf in the management background module, calling an interface to perform cache updating, wherein the updated key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld };
in the technical solution provided in the embodiments of the present application,
and when the basic function module receives a request of inquiring the product version id by the forwarding record instruction module, inquiring a local cache, wherein the time of not acquiring the data is t2, the time of acquiring the data is t3, and the time of redis cache is t4.
In the technical solutions provided in the embodiments of the present application,
when the vehicle model adapting module receives the relation between the vehicle id and the cloud gateway version id inquired by the forwarding record instruction module, inquiring a local cache, wherein the time for not acquiring data is t5, the time for acquiring data cache is t6, the time for redis cache is t7, and the update key is as follows: VOT: CAR: CLOUD: GW: VERSION: ID: { hold }.
In the technical solution provided in the embodiments of the present application,
when the forwarding record instruction module receives the remote control instruction, inquiring the local cache, calling a basic function module interface for acquiring data to inquire and updating the local cache, wherein the time for acquiring data is t8, the time for acquiring data cache is t9, and the updating key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld }.
In the technical solution provided in the embodiments of the present application,
when the operation module receives the remote control instruction, the operation module inquires a local cache, calls the management background module interface for obtaining data and updates the local cache, wherein the time when data is not obtained is t10, the time when data is obtained is t11, and the update key is VOT: RTM: p: MODEL: { productVersionld }.
According to an aspect of an embodiment of the present application, there is provided an internet protocol data processing apparatus, including:
the basic function module is used for providing basic service for the management background;
the management background module is used for providing product modeling and configuration connection;
the forwarding and recording instruction module is used for forwarding instructions and recording logs;
the vehicle type adaptation module is used for acquiring the relation between the groups, the vehicle types and the cloud gateway according to the vehicle id;
the runtime module is used for carrying out parameter verification, conversion and dynamic forwarding on the object model;
and the gateway module is used for product access authentication and message receiving and issuing.
According to an aspect of an embodiment of the present application, there is provided an electronic apparatus including:
one or more processors;
a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the electronic device to implement the internet surfing data processing method as described above.
According to an aspect of embodiments of the present application, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the above-described internet connection data processing method.
According to an aspect of an embodiment of the present application, there is provided a computer program product including a computer program, which when executed by a processor, implements the internet protocol data processing method described above.
In the technical scheme provided by some embodiments of the application, by designing a concept of a cloud gateway, the version of a product is associated with the cloud gateway, the cloud gateway is associated with a vehicle type vehicle system, namely, the relationship between equipment and the cloud gateway can be established, the relationship between the equipment and the product can be established, the information of the vehicle is modeled, the equipment on the vehicle is virtualized into a product, the equipment can be various types of equipment on the vehicle, such as gateway equipment, direct connection equipment and the like, and the functions of the equipment are refined into services and methods on the product, wherein the services are a set of methods, the methods are refined into operations such as opening an air conditioner, and through the modeling, all the equipment and the functions are not abstracted any more, so that the management and the maintenance are very easy. The vehicle id, vehicle grouping and vehicle series coding are carried out on the vehicle id, cloud gateway version id information is maintained in a vehicle type adapting module, a forwarding and recording instruction module requests the vehicle type adapting module to acquire cloud gateway version id information of a corresponding vehicle, corresponding product version id information is acquired by a request basic function module and forwarded to an operation module, the operation module directly acquires corresponding object model information and carries out a local cache mode, the frequency of http request of the operation module to the basic function module is reduced, the quantity of cache by adding the vehicle id, a service name and a method name before the operation module is greatly reduced, and the processing efficiency of internet vehicle data is greatly improved. In addition, in the technical solutions provided in some embodiments of the present application, after the object model is designed based on the above object models, new devices and functions only need to newly create their corresponding object models or functions, bind their corresponding connection information, and the cloud gateway can complete configuration, thereby greatly saving design time, and meanwhile, due to the reasonable design of the cache, the number of interactions between the module and other modules during operation is also greatly reduced, which is reduced to 20% compared with the time consumption of single data processing and reduced by 99% in the number of caches.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 is a diagram illustrating a general architecture of internet protocol data processing according to an exemplary embodiment of the present application;
FIG. 2 is a schematic view of an object model design shown in an exemplary embodiment of the present application;
fig. 3 is a flow chart illustrating obtaining a cloud gateway id according to an exemplary embodiment of the present application;
fig. 4 is a flow chart illustrating obtaining a cloud gateway route according to an exemplary embodiment of the present application;
FIG. 5 is a flow diagram illustrating obtaining device connection information and a tuid according to an exemplary embodiment of the present application;
FIG. 6 is a flow diagram illustrating obtaining device model information according to an exemplary embodiment of the present application;
FIG. 7 is a schematic diagram of a base cache design according to an exemplary embodiment of the present application;
FIG. 8 is a diagram illustrating an adapter cache design in accordance with an illustrative embodiment of the present application;
fig. 9 is a schematic view of a vrtm cache design shown in an exemplary embodiment of the present application;
fig. 10 is a schematic diagram of an rtm cache design shown in an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. the functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or from processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and other operations/steps may be combined or partially combined, so that the actual execution order may be changed according to the actual situation.
It should be noted that the object model is an abstraction of physical objects in the physical world, and is a digital model for the digital world after being digitally described. The object model is a language that can be understood using a computer to tell what the product is, what can be done, and what information can be provided.
The invention optimizes the full amount of data in the system design level and the cache design level, thereby greatly improving the data processing efficiency.
Fig. 1 is a diagram illustrating a general architecture of internet connection data processing according to an exemplary embodiment of the present application.
Referring to fig. 1, a simplified architecture based on the internet of vehicles and taking message delivery as an example is mainly divided into: a basic function module (base module for short) for providing basic service for a management background and the like; the management background module (admin module for short) is used for providing equipment modeling, configuration connection and the like; the forwarding and recording instruction module (vrtm module for short) is used for forwarding instructions, recording logs and the like; the vehicle type adaptation module (adapter module for short) is used for acquiring the grouping of the vehicle types according to the vehicle id, and the relationship between the vehicle type and the cloud gateway; the runtime module (rtm module for short) is used for carrying out functions such as parameter verification, conversion, dynamic forwarding and the like on the object model; and the gateway module (gw module for short) is used for equipment access authentication, message receiving and issuing and the like.
Based on the above modules, the user sends a vehicle remote control command through the app once, and the traditional information flow process states as follows:
first, the user sends a remote control command once by app, reaching vrtm.
Secondly, the vrtm module obtains the product id of the instruction from the admin according to the execution of the transmission and forwards the product id to rtm.
Thirdly, after receiving the remote control instruction, the rtm module acquires an equipment product id from admin through the equipment tuid, acquires a complete object model according to the product id, acquires parameters of a corresponding method through the service id and the method id, acquires parameters of the corresponding method through the service id and the method id, acquires corresponding cluster and topic information according to the equipment tuid, then forwards the cluster and topic information to the gw module for issuing, simultaneously stores caches of the corresponding vehicle and the service and method thereof, and forwards the cluster and topic information to the gw for issuing after checking.
Optimizing the single message processing of money, rtm needs to initiate three http requests to respectively obtain instruction verification information, cluster information and topic information, the network consumes a lot of time, and the instruction information configuration of vehicles is difficult.
In the invention, by designing the cloud gateway, the version of the product is associated with the cloud gateway, the cloud gateway is associated with the vehicle type and the vehicle series, namely, the cloud gateway and the product can be associated through equipment, and the relationship among the three can be established. The information of the vehicle is modeled, the devices on the vehicle are virtualized into one product, the devices can be various devices on the vehicle, such as gateway devices, direct connection devices and the like, the functions of the devices are refined into services and methods on the product, the services are a set of methods, the methods are refined into operations such as opening air conditioners, and through the modeling, all the devices and the functions are not abstracted any more, and the management and the maintenance are very easy. And then by grouping the vehicle id and the vehicle thereof and encoding the vehicle type and the vehicle series, the cloud gateway version id information is maintained at the adapter, the adapter is requested by vrtm to obtain the cloud gateway version id information of the corresponding vehicle, the corresponding product version id is obtained by the base request and forwarded to the rtm, the rtm directly obtains the corresponding object model information and performs a local cache mode, the frequency of requesting base by rtm module http is reduced, the number of caches performed by vehicle id + service name + method name before rtm is greatly reduced, and the efficiency of data processing is greatly improved.
The invention adopts a two-level cache mechanism, namely a local cache and a redis cache, wherein the local cache time Wie: the data is not acquired for 1 minute, the data is acquired for 5-10 minutes in cache, and the redis cache time is 1 hour.
The invention provides a method for processing internet vehicle data, which comprises the following steps:
and the forwarding recording instruction module acquires a remote control instruction, and requests the vehicle type adaptation module to query the corresponding cloud gateway version id according to the vehicle id to perform caching. The user sends a remote control instruction by the APP to reach vrtm. And after receiving the remote control instruction, the Vrtm queries the corresponding cloud gateway version id according to the vehicle id request adapter and caches the version id.
And the forwarding recording instruction module acquires the product version id and the connection information from the basic function module based on the cloud gateway version id and forwards the product version id and the connection information to the runtime module. And acquiring connection information from the base by the cloud gateway version id, and finally forwarding the acquired product version id and the connection information to rtm.
And after the operation module receives the remote control instruction, the object model information corresponding to the next vehicle is acquired from the management background module based on the acquired product version id, the object model information is analyzed and stored in a local cache, the request parameter is verified based on the cached object model information, and the request parameter is forwarded to the gateway module to wait for issuing. After receiving the remote control instruction, the Rtm acquires the object model information corresponding to the next vehicle from admin according to the acquired product version id, analyzes the object model information into a form of using sk + m as key and value as value, stores the key and value into a local cache, sets the timeout time for 5-10 minutes, verifies the acquired object model information and the request parameter, and forwards the information to gw for issuing immediately.
FIG. 2 is a schematic diagram of an object model design shown in an exemplary embodiment of the present application.
Referring to fig. 2, after the runtime module receives the remote control instruction, the runtime module obtains the object model information corresponding to the next vehicle from the management background module based on the obtained product version id, and analyzes and stores the object model information into a local cache, and verifies the request parameter based on the cached object model information, by forwarding the request parameter to the gateway module to wait for issuing, where an example of the object model parameter is {
Figure BDA0003919102340000091
Figure BDA0003919102340000101
Figure BDA0003919102340000111
Figure BDA0003919102340000121
Fig. 3 is a flowchart illustrating obtaining a cloud gateway id according to an exemplary embodiment of the present application.
Referring to fig. 3, the vehicle id requesting a model adaptation module to query a corresponding cloud gateway version id includes: the forwarding record instruction module judges whether the cloud gateway version id exists in the cache or not, and if yes, the cloud gateway version id is directly returned in the moment; if the cloud gateway version id does not exist in the cache, the forwarding recording instruction module calls an interface to acquire the cloud gateway version id from the vehicle type adapting module; the vehicle type adaptation module returns the cloud gateway version id; the forwarding recording instruction module caches the vehicle id and the corresponding cloud gateway version id thereof; and the forwarding record instruction module returns the cloud gateway version id.
Fig. 4 is a flowchart illustrating obtaining a cloud gateway route according to an exemplary embodiment of the present application.
Referring to fig. 4, the step of acquiring, by the forwarding record instruction module, the product version id and the connection information from the basic function module based on the cloud gateway version id includes: the forwarding record instruction module judges whether a cloud gateway route exists in a local cache or not, and if the cloud gateway route exists, the cloud gateway route information is directly returned; if the cloud gateway routing information does not exist, the forwarding recording instruction module calls an interface to acquire the cloud gateway routing information from the basic function module based on the gateway version id; the basic function module returns cloud gateway routing information; the forwarding recording instruction module caches the cloud gateway routing information for one minute; and the forwarding recording instruction module returns the cloud gateway routing information.
Fig. 5 is a flow chart illustrating obtaining device connection information and a tuid according to an exemplary embodiment of the present application.
Referring to fig. 5, the forwarding record instruction module obtains the product version id and the connection information from the basic function module based on the cloud gateway version id, and further includes: the forwarding record instruction module acquires a vehicle id, a service name and a method name; the forwarding recording instruction module calls an interface to acquire an activated product set from the basic function module based on the vehicle id; the basic function module queries a product set; the basic function module returns a product set; the forwarding recording instruction module acquires a cloud gateway version id according to the vehicle id; the forwarding recording instruction module acquires cloud gateway routing information according to the cloud gateway version id; the forwarding record instruction module judges whether the product type is a cloud gateway direct sub-device; if the product type is judged to be the gateway direct connection sub-equipment, searching products with the same part number in the vehicle equipment set according to the part number, and enabling the product version id to be as follows: splicing the product type @ product version id; and the forwarding recording instruction module returns the product version id and the connection information.
Fig. 6 is a flowchart illustrating obtaining device model information according to an exemplary embodiment of the present application.
Referring to fig. 6, after the runtime module receives the remote control instruction, the object model information corresponding to the secondary vehicle is acquired from the management background module based on the acquired product version id, and the method includes: judging whether the local cache has object model information or not; if the object model information exists in the local cache, the operation module directly returns the object model information; if the object model information does not exist in the local cache, the operation module calls an interface to acquire the object model information from the management background module based on the product version id; the management background management module returns object model information; the module caches object model information during running, when data is not acquired, caching is carried out for 1 minute, when data is acquired, caching is carried out for 5-10 minutes, and the specific time can be adjusted according to performance test; the runtime module returns object model information.
Fig. 7 is a schematic diagram of a base cache design according to an exemplary embodiment of the present application.
Basic module cache design referring to fig. 6, the cache update strategy: and when the user releases the equipment model or puts down the equipment model in the vot-admin, calling an interface to update the cache. The updated key is: VOT is VRTM: CLOD: GW: ROUTE: { gwVersionId };
and when the user releases the cloud virtual gateway or off shelf in the vot-admin, calling an interface to update the cache. The updated key is: VOT, VRTM, CLOID, GW, gwVersionId;
when a request of vrtm for inquiring the product version id is received, the local cache is inquired, the data is not acquired for 1 minute, the data cache is acquired for 5-10 minutes, and the redis cache time is 1 hour.
Fig. 8 is a schematic diagram illustrating an adapter cache design according to an exemplary embodiment of the present application.
Adapter cache design referring to fig. 8, the cache update strategy: when the relation between the vrtm query vehicle ID and the CLOUD gateway VERSION ID is received, a local cache is queried, the data is not obtained for 1 minute, the data cache is obtained for 5-10 minutes, the redis cache time is 1 hour, and the update key is VOT, CAR, CLOUD, GW, VERSION, ID, and { carId }.
Fig. 9 is a schematic view of a vrtm cache design shown in an exemplary embodiment of the present application.
Referring to fig. 9, the cache design of the forwarding record instruction module includes: when a remote control instruction of equipment such as app is received, inquiring a local cache, calling base interface inquiry and updating the local cache when data is not acquired, acquiring the data cache for 5-10 minutes when the data is not acquired for 1 minute, and updating the key: VOT VRTM CLOUD GW ROUTE: { gwVersionId }.
Fig. 10 is a schematic diagram of an rtm cache design shown in an exemplary embodiment of the present application.
Runtime module cache design referring to fig. 10, the cache update strategy: when a remote control instruction sent by vrtm is received, inquiring a local cache, calling base interface inquiry and updating the local cache when data is not acquired, wherein the data is not acquired for 1 minute, the data cache is acquired for 5-10 minutes, and the updating key is as follows: VOT, RTM, P, MODEL, productVersionId.
Another aspect of the present application also provides an internet protocol vehicle data processing device, the device includes: the basic function module is used for providing basic service for the management background; the management background module is used for providing product modeling and configuration connection;
the forwarding and recording instruction module is used for forwarding instructions and recording logs; the vehicle type adaptation module is used for acquiring the relation between the groups, the vehicle types and the cloud gateway according to the vehicle id; the runtime module is used for carrying out parameter verification, conversion and dynamic forwarding on the object model; and the gateway module is used for product access authentication and message receiving and issuing.
Another aspect of the present application also provides an electronic device, including: one or more processors;
the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment is enabled to realize the internet protocol data processing method.
Another aspect of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of a computer, causes the computer to execute the above-mentioned internet connection data processing method. Note that the computer-readable storage medium shown in the embodiments of the present application may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist alone without being assembled into the electronic device.
Another aspect of the present application also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the internet protocol data processing method described above. The computer program product includes computer instructions, the computer instructions are stored in a computer readable storage medium, a processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the internet connection data processing method provided in the above embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It should be understood that the above-mentioned embodiments are merely preferred illustrative examples of the present application, and are not intended to limit the embodiments of the present application, and that various changes and modifications may be easily made by those skilled in the art based on the main concept and spirit of the present application, so that the scope of the present application shall be defined by the appended claims.

Claims (14)

1. A method for processing Internet vehicle data is characterized by comprising the following steps:
acquiring a remote control instruction, wherein the remote control instruction comprises identity information of a vehicle to be controlled;
inquiring cloud gateway version information corresponding to the identity information of the vehicle to be controlled based on the identity information of the vehicle to be controlled;
obtaining product version information and connection information according to the cloud gateway version information, and forwarding the product version information and the connection information to a runtime module so that the runtime module obtains object model information according to the product version information and caches the object model information to the local;
and verifying the request parameters of the remote control instruction according to the local object model information, wherein the verification is realized by forwarding the request parameters to the gateway module to execute data transmission.
2. The internet vehicle data processing method of claim 1, wherein querying the cloud gateway version information corresponding to the identity information of the vehicle to be controlled based on the identity information of the vehicle to be controlled comprises:
the forwarding record instruction module judges whether the cloud gateway version information exists in the cache or not, and if the cloud gateway version information exists in the cache, the cloud gateway version information is directly returned;
if the cloud gateway version information does not exist in the cache, the forwarding and recording instruction module calls an interface to acquire the cloud gateway version information from the vehicle type adapting module;
the vehicle type adaptation module returns cloud gateway version information;
the forwarding recording instruction module caches the identity information of the vehicle to be controlled and the version information of the corresponding cloud gateway;
and the forwarding recording instruction module returns the cloud gateway version information.
3. The internet vehicle data processing method of claim 1, wherein obtaining product version information and connection information according to the cloud gateway version information comprises:
the forwarding record instruction module judges whether a cloud gateway route exists in a local cache or not, and if the cloud gateway route exists, the cloud gateway route information is directly returned;
if the cloud gateway routing information does not exist, the forwarding recording instruction module calls an interface to acquire the cloud gateway routing information from the basic function module based on the cloud gateway version information;
the basic function module returns cloud gateway routing information;
the forwarding and recording instruction module caches the cloud gateway routing information, wherein the caching time is t1;
and the forwarding recording instruction module returns the cloud gateway routing information.
4. The internet vehicle data processing method of claim 3, wherein product version information and connection information are obtained according to the cloud gateway version information, and further comprising:
the forwarding record instruction module acquires identity information, a service name and a method name of a vehicle to be controlled;
the forwarding recording instruction module calls an interface to acquire an activated product set from the basic function module based on the identity information of the vehicle to be controlled;
the basic function module queries a product set;
the basic function module returns a product set;
the forwarding recording instruction module acquires cloud gateway version information according to the identity information of the vehicle to be controlled;
the forwarding record instruction module acquires the cloud gateway routing information according to the cloud gateway version information;
the forwarding record instruction module judges whether the product type is a cloud gateway direct sub-device;
if the product type is judged to be the gateway direct connection sub-equipment, searching products with the same part number in the vehicle equipment set according to the part number, and enabling the product version information to be as follows: splicing product type @ product version information;
and the forwarding recording instruction module returns product version information and connection information.
5. The internet vehicle data processing method of claim 1, wherein forwarding the product version information and the connection information to a runtime module so that the runtime module obtains object model information according to the product version information and caches the object model information to a local area comprises:
judging whether the local cache has object model information or not;
if the object model information exists in the local cache, the operation module directly returns the object model information;
if the object model information does not exist in the local cache, the operation module calls an interface to acquire the object model information from the management background module based on the product version information;
the management background management module returns the object model information;
the runtime module caches object model information;
the runtime module returns the object model information.
6. The Internet vehicle data processing method of claim 5,
when the object model is released or off-shelf in the management background module, calling an interface to update the cache, wherein the updated key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld };
when the cloud virtual gateway is released or off-shelf in the management background module, calling an interface to perform cache updating, wherein the updated key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld };
7. the Internet vehicle data processing method of claim 3,
and when the basic function module receives a request of inquiring the product version id by the forwarding record instruction module, inquiring a local cache, wherein the time of not acquiring the data is t2, the time of acquiring the data is t3, and the time of redis cache is t4.
8. The method for processing Internet vehicle data according to claim 2,
when the vehicle model adapting module receives the relation between the vehicle id and the cloud gateway version id inquired by the forwarding record instruction module, inquiring a local cache, wherein the time for not acquiring data is t5, the time for acquiring data cache is t6, the time for redis cache is t7, and the update key is as follows: VOT: CAR: CLOUD: GW: VERSION: ID: { hold }.
9. The Internet vehicle data processing method of claim 4,
when the forwarding record instruction module receives the remote control instruction, inquiring the local cache, calling a basic function module interface for acquiring data to inquire and updating the local cache, wherein the time for acquiring data is t8, the time for acquiring data cache is t9, and the updating key is as follows: VOT: VRTM: CLOUD: GW: ROUTE: { gwVersionld }.
10. The Internet vehicle data processing method of claim 5,
when the operation module receives the remote control instruction, the operation module inquires a local cache, calls the management background module interface for obtaining data and updates the local cache, wherein the time when data is not obtained is t10, the time when data is obtained is t11, and the update key is VOT: RTM: p: MODEL: { productVersionld }.
11. An internet connection data processing device, characterized in that the device comprises:
the basic function module is used for providing basic service for the management background;
the management background module is used for providing product modeling and configuration connection;
the forwarding and recording instruction module is used for forwarding instructions and recording logs;
the vehicle type adaptation module is used for acquiring the relation between the groups, the vehicle types and the cloud gateway according to the vehicle id;
the runtime module is used for carrying out parameter verification, conversion and dynamic forwarding on the object model;
and the gateway module is used for product access authentication and message receiving and issuing.
12. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs, which when executed by the one or more processors, cause the electronic device to implement the networked vehicle data processing method according to any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the internet connection data processing method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program, characterized in that the computer program realizes the internet protocol data processing method of any one of claims 1 to 10 when executed by a processor.
CN202211351300.5A 2022-10-31 Internet-of-things data processing method and device and electronic equipment CN115695092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211351300.5A CN115695092B (en) 2022-10-31 Internet-of-things data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211351300.5A CN115695092B (en) 2022-10-31 Internet-of-things data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115695092A true CN115695092A (en) 2023-02-03
CN115695092B CN115695092B (en) 2024-05-03

Family

ID=

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347683A1 (en) * 2006-12-29 2015-12-03 Prodea Systems, Inc. Multi-services application gateway and system employing the same
CN106444584A (en) * 2016-11-10 2017-02-22 中车青岛四方机车车辆股份有限公司 Monitoring system for rail vehicle
CN109302347A (en) * 2017-07-25 2019-02-01 比亚迪股份有限公司 Train gateway forwards tactics configuring method and device
CN110347604A (en) * 2019-07-11 2019-10-18 中国工商银行股份有限公司 Programming interface test method and equipment, electronic equipment and readable storage medium storing program for executing
CN110888662A (en) * 2019-08-09 2020-03-17 中国第一汽车股份有限公司 Vehicle remote silent upgrading method and device, vehicle and storage medium
CN110928561A (en) * 2019-08-09 2020-03-27 中国第一汽车股份有限公司 Vehicle controller software version management method and device, vehicle and storage medium
CN110943750A (en) * 2019-12-05 2020-03-31 中车大连电力牵引研发中心有限公司 Train remote wireless communication device and method
US20200294401A1 (en) * 2017-09-04 2020-09-17 Nng Software Developing And Commercial Llc. A Method and Apparatus for Collecting and Using Sensor Data from a Vehicle
CN112181449A (en) * 2019-07-03 2021-01-05 广州汽车集团股份有限公司 Vehicle-mounted software upgrading method, device, system and storage medium
CN113489788A (en) * 2021-07-06 2021-10-08 广州华多网络科技有限公司 Data routing control method, data analysis processing method, data routing control device, data analysis processing device and data analysis processing medium
CN115242417A (en) * 2021-06-03 2022-10-25 广州汽车集团股份有限公司 Vehicle-mounted function control method, system and device and vehicle

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347683A1 (en) * 2006-12-29 2015-12-03 Prodea Systems, Inc. Multi-services application gateway and system employing the same
CN106444584A (en) * 2016-11-10 2017-02-22 中车青岛四方机车车辆股份有限公司 Monitoring system for rail vehicle
CN109302347A (en) * 2017-07-25 2019-02-01 比亚迪股份有限公司 Train gateway forwards tactics configuring method and device
US20200294401A1 (en) * 2017-09-04 2020-09-17 Nng Software Developing And Commercial Llc. A Method and Apparatus for Collecting and Using Sensor Data from a Vehicle
CN112181449A (en) * 2019-07-03 2021-01-05 广州汽车集团股份有限公司 Vehicle-mounted software upgrading method, device, system and storage medium
CN110347604A (en) * 2019-07-11 2019-10-18 中国工商银行股份有限公司 Programming interface test method and equipment, electronic equipment and readable storage medium storing program for executing
CN110888662A (en) * 2019-08-09 2020-03-17 中国第一汽车股份有限公司 Vehicle remote silent upgrading method and device, vehicle and storage medium
CN110928561A (en) * 2019-08-09 2020-03-27 中国第一汽车股份有限公司 Vehicle controller software version management method and device, vehicle and storage medium
CN110943750A (en) * 2019-12-05 2020-03-31 中车大连电力牵引研发中心有限公司 Train remote wireless communication device and method
CN115242417A (en) * 2021-06-03 2022-10-25 广州汽车集团股份有限公司 Vehicle-mounted function control method, system and device and vehicle
CN113489788A (en) * 2021-07-06 2021-10-08 广州华多网络科技有限公司 Data routing control method, data analysis processing method, data routing control device, data analysis processing device and data analysis processing medium

Similar Documents

Publication Publication Date Title
CN109635550B (en) Permission verification method, gateway and system for cluster data
WO2021135255A1 (en) Message queue-based method for managing row and column permissions, and related device
CN110049503B (en) Method and equipment for acquiring data
CN110519379A (en) Request processing method and equipment based on micro services
CN110134738A (en) Distributed memory system resource predictor method, device
WO2011023122A1 (en) Method, device and system for routing service
CN106679095A (en) Internet access method and device and intelligent air conditioner system
CN112306811A (en) PHP micro-service control method, system, terminal and medium
KR20210130989A (en) api gateway accelerator system and methods
CN103095785A (en) Remote procedure call method and system, client and server
CN112925551A (en) Object upgrading method, device, equipment and storage medium
CN115695092B (en) Internet-of-things data processing method and device and electronic equipment
WO2024022277A1 (en) Map update data downloading method and apparatus, device, and readable medium
CN115695092A (en) Internet vehicle data processing method and device and electronic equipment
CN113553206B (en) Data event execution method and device, electronic equipment and computer readable medium
CN114003374B (en) Node scheduling method and device based on cloud platform, electronic equipment and storage medium
CN109547552B (en) API request processing method and device, storage medium and electronic equipment
CN110309365B (en) Openstack data query method and device based on Mybatis
CN101741889A (en) Method, system and service for centralized management of network services
CN111343172A (en) Network access authority dynamic processing method and device
CN117135156B (en) Edge cluster nano-tube method, system, computer readable storage medium and electronic equipment based on publish/subscribe message protocol
CN117032764B (en) Vehicle OTA task scheduling method based on MQTT protocol
CN113630342B (en) Forwarding table management method, system and device of virtual switch
WO2023051057A1 (en) Chip upgrading method and device
CN111432378B (en) Service information management platform and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination