CN112363767A - Vehicle-mounted camera calling method and device - Google Patents

Vehicle-mounted camera calling method and device Download PDF

Info

Publication number
CN112363767A
CN112363767A CN202011256213.2A CN202011256213A CN112363767A CN 112363767 A CN112363767 A CN 112363767A CN 202011256213 A CN202011256213 A CN 202011256213A CN 112363767 A CN112363767 A CN 112363767A
Authority
CN
China
Prior art keywords
vehicle
target
identifier
application program
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011256213.2A
Other languages
Chinese (zh)
Inventor
王保磊
胡泽华
李向荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology 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 Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202011256213.2A priority Critical patent/CN112363767A/en
Publication of CN112363767A publication Critical patent/CN112363767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a vehicle-mounted camera calling method and device, which are used for obtaining a calling request sent by an application program, wherein the calling request comprises a formal equipment identifier; determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation; determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation; determining a target vehicle-mounted camera corresponding to the target actual equipment identifier; and establishing connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera. According to the embodiment of the invention, the vehicle-mounted system is actively adapted to the application program, so that the application program can randomly call one camera of the vehicle-mounted system.

Description

Vehicle-mounted camera calling method and device
Technical Field
The invention relates to the technical field of vehicle-mounted vehicles, in particular to a vehicle-mounted camera calling method and a vehicle-mounted camera calling device.
Background
At present, the platform can be adapted through an APP (Application), which can open one or two cameras on the device after development. However, with the development of vehicle intelligence, more and more vehicle-mounted cameras are mounted on the vehicle-mounted system, and the number of the vehicle-mounted cameras can reach more than ten.
In the prior art, there is one for each actual device and it cannot be changed at will. For example, when 4 actual devices need to be called, 4 IDs (Identity documents) are necessary, and the 4 IDs correspond to the actual devices one to one and cannot be modified. That is, real device 1 corresponds to ID0, real device 2 corresponds to D1, and so on; if the APP wants to call the real device 4, it must operate with ID 4. However, most of the existing APPs only have ID0 and ID1, ID0 represents a postcursor, ID1 represents a proactive, and no APP in the actual application market has ID 4. Because of the particularity of the vehicle-mounted system, the application market cannot be adapted to the vehicle-mounted system, so that most vehicle-mounted cameras on the vehicle cannot be opened through the current APP.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide an in-vehicle camera calling method and a corresponding in-vehicle camera calling apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for calling a vehicle-mounted camera, which is applied to a vehicle-mounted system, wherein the vehicle-mounted system includes a plurality of vehicle-mounted cameras, the vehicle-mounted system is connected with an application program, and the method includes:
acquiring a call request sent by the application program, wherein the call request comprises a formal equipment identifier;
determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation;
determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation;
determining a target vehicle-mounted camera corresponding to the target actual equipment identifier;
and establishing connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera.
Optionally, the first mapping relationship is generated as follows:
determining a target virtual equipment identifier from preset virtual equipment identifiers;
and establishing a first mapping relation between the formal equipment identification and the target virtual equipment identification.
Optionally, the application includes an application identifier, and the step of determining a target virtual device identifier from preset virtual device identifiers includes:
acquiring the application program identifier;
determining a first virtual device identifier according to the application program identifier;
and determining a target virtual equipment identifier matched with the first virtual equipment identifier from preset virtual equipment identifiers.
Optionally, the application is configured to receive a mapping request from a user, and the step of determining a target virtual device identifier from preset virtual device identifiers further includes:
receiving a mapping request forwarded by the application program, wherein the mapping request comprises a second virtual device identifier;
and determining a target virtual equipment identifier matched with the second virtual equipment identifier from preset virtual equipment identifiers.
Optionally, the second mapping relationship is generated as follows:
creating a virtual channel corresponding to the virtual equipment identifier;
determining a target virtual channel corresponding to the target virtual equipment identifier;
and establishing a second mapping relation between the target virtual equipment identifier and the target actual equipment identifier through the target virtual channel.
Optionally, the vehicle-mounted system has a database; the method further comprises the following steps:
recording the first mapping relation, and generating a first mapping table;
recording the second mapping relation to generate a second mapping table;
storing the first mapping table and the second mapping table to the database.
Optionally, the method further comprises:
receiving an operation instruction sent by the application program;
and controlling the target vehicle-mounted camera according to the operation instruction.
The embodiment of the invention also discloses a vehicle-mounted camera calling device, which is applied to a vehicle-mounted system, wherein the vehicle-mounted system comprises a plurality of vehicle-mounted cameras, the vehicle-mounted system is connected with an application program, and the device comprises:
the first acquisition module is used for acquiring a calling request sent by the application program, wherein the calling request comprises a formal equipment identifier;
the first mapping module is used for determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation;
the second mapping module is used for determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation;
the confirmation module is used for determining a target vehicle-mounted camera corresponding to the target actual equipment identifier;
and the calling module is used for establishing the connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera.
The embodiment of the invention also discloses a vehicle, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the vehicle to perform one or more methods as described above.
Embodiments of the invention also disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a call request sent by the application program is obtained, wherein the call request comprises a formal equipment identifier; determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation; determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation; determining a target vehicle-mounted camera corresponding to the target actual equipment identifier; and establishing connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera. The vehicle-mounted system is enabled to be actively adapted to the application program, and the application program can randomly call one camera of the vehicle-mounted system through the mapping relation.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for invoking a vehicle-mounted camera according to the present invention;
FIG. 2 is a schematic diagram of establishing a first mapping relationship according to the present invention;
FIG. 3 is a diagram illustrating a second mapping relationship according to the present invention;
FIG. 4 is an exemplary diagram of a vehicle camera invocation method embodiment of the present invention;
fig. 5 is a block diagram of an embodiment of an in-vehicle camera invoking device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart of steps of an embodiment of a method for controlling a vehicle-mounted camera according to the present invention is shown, where the method is applied to a vehicle-mounted system, where the vehicle-mounted system includes a plurality of vehicle-mounted cameras, and the vehicle-mounted system is connected with an application program.
The vehicle-mounted camera refers to a camera connected to a vehicle-mounted system of the vehicle; for example: the vehicle-mounted camera is arranged outside the vehicle for assisting a driver in safely driving the vehicle or realizing automatic driving, and the vehicle-mounted camera is arranged inside the vehicle for meeting entertainment requirements. The type and position of the camera can be selected by those skilled in the art according to the requirement, and the embodiment of the invention is not limited thereto.
The connection mode of the vehicle-mounted system and the application program includes but is not limited to: ethernet, Internet (Internet), Low Power Wide Area Network (LPWAN), mobile network (mobile network), satellite, and bluetooth.
The method may specifically comprise the steps of:
step 101, obtaining a call request sent by the application program, wherein the call request comprises a formal equipment identifier;
when the application program needs to call the vehicle-mounted camera in the vehicle-mounted system, the application program sends a call request to the vehicle-mounted system, the call request comprises a form device identifier, the vehicle-mounted system acquires the call request and reads the form device identifier in the call request, wherein the form device identifier can be the existing camera ID in the application program, such as the front camera ID and the rear camera ID in the mobile phone application program.
Step 102, determining a target virtual device identifier corresponding to the formal device identifier from a preset first mapping relation;
the preset first mapping relation is the mapping relation between the formal equipment identifier and the virtual equipment identifier; and searching a first preset relation matched with the formal equipment identifier in a preset first mapping relation, and determining a target virtual equipment identifier corresponding to the formal equipment identifier.
In an embodiment of the present invention, the first mapping relationship is generated by:
step S1, determining a target virtual device identifier from the preset virtual device identifiers;
a target virtual identifier is determined from a plurality of preset virtual device identifiers, wherein the virtual identifier may be a virtual ID (Identity document).
Step S2, a first mapping relationship between the formal device identifier and the target virtual device identifier is established.
After the target virtual device identifier is determined, a first mapping relation between the formal device identifier and the target virtual device identifier is established.
Referring to fig. 2, which shows a schematic diagram of establishing the first mapping relationship, the formal device identifier includes ID (Identity document) 0 and ID1 of the application program (APP); the virtual device is identified with a plurality of virtual IDs. The formal device ID may optionally map a virtual ID, for example, ID0 may map virtual ID1 to one of virtual idns, where n is a positive integer. For example, the formal device identifier in the call request is ID0, the virtual ID2 is determined from the plurality of virtual IDs to be the target virtual identifier, and a first mapping relationship between ID0 and virtual ID2 is established.
In an embodiment of the present invention, the application includes an application identifier, and the step S1 includes:
step S101, acquiring the application program identifier;
step S102, determining a first virtual device identifier according to the application program identifier;
different types of application programs need to call different vehicle-mounted cameras, for example, the application program for recording in a vehicle needs to call the vehicle-mounted camera in the vehicle; the vehicle-mounted camera is used for observing the surrounding environment of the vehicle, and a vehicle-mounted camera outside the vehicle is required to be called; therefore, the application program identifier can characterize the type of the application program, acquire the identifier of the application program, acquire the type of the application program, and determine the first virtual device identifier of the type of the application program.
Step S103, determining a target virtual device identifier matching the first virtual device identifier from preset virtual device identifiers.
After the first virtual equipment identifier is determined, matching a virtual equipment identifier consistent with the first virtual equipment identifier from a plurality of preset virtual equipment identifiers, and determining the virtual equipment identifier as a target virtual equipment identifier.
In an embodiment of the present invention, the application is configured to receive a mapping request from a user, and the step S1 further includes:
step S104, receiving a mapping request forwarded by the application program, wherein the mapping request comprises a second virtual device identifier;
step S105, determining a target virtual device identifier matching the second virtual device identifier from preset virtual device identifiers.
The user can call the vehicle-mounted camera on the vehicle-mounted system according to the requirement, the user operates on the application program, the application program receives the mapping request of the user, the application program forwards the preset request of the user, the preset request comprises a second virtual device identifier, the vehicle-mounted system receives the mapping request forwarded by the application program, the second virtual device identifier in the mapping request is read, and the virtual device identifier consistent with the second virtual device identifier is matched from a plurality of preset virtual device identifiers to be determined as the target virtual device identifier.
103, determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation;
the preset second mapping relationship is a mapping relationship between the virtual device identifier and the actual device identifier. And searching a second preset relation matched with the target virtual equipment identifier in the preset second mapping relation, and determining the target actual equipment identifier corresponding to the target virtual equipment identifier.
In an embodiment of the present invention, the second mapping relationship is generated by:
step S3, creating a virtual channel corresponding to the virtual device identifier;
the virtual channel (pipe) is buffer information, resolution information, and frame rate information actually required for calling the vehicle-mounted camera. And creating virtual channels corresponding to the virtual identifiers, wherein each virtual channel is the description of one virtual device in a plurality of preset virtual devices.
Step S4, determining a target virtual channel corresponding to the target virtual device identifier;
and determining a target virtual channel corresponding to the target virtual equipment identifier from the virtual channels corresponding to the created multiple virtual identifiers.
Step S5, establishing a second mapping relationship between the target virtual device identifier and the target actual device identifier through the target virtual channel.
And after a target virtual channel corresponding to the target virtual equipment identifier is determined, establishing a second mapping relation between the target virtual equipment identifier and the target actual equipment identifier through the target virtual channel.
Referring to fig. 3, which is a schematic diagram illustrating establishment of a second mapping relationship, N virtual channels are created, each virtual channel corresponds to a virtual device identifier, and N is a positive integer; each virtual channel can be mapped with any \ [ 35764Beta ] actual equipment identification at will; for example, the virtual channel 1 is a target virtual channel corresponding to the target virtual device identifier, and a second mapping relationship with the target actual device identifier 2 is established through the target virtual channel 2.
In an embodiment of the present invention, the vehicle-mounted system has a database, and the method further includes:
step S6, recording the first mapping relation and generating a first mapping table;
and when a brand-new second mapping relation is established, recording the first mapping relation to generate a first mapping table.
Step S7, recording the second mapping relation and generating a second mapping table;
and when a brand-new second mapping relation is established, recording the second mapping relation to generate a second mapping table.
Step S8, storing the first mapping table and the second mapping table in the database.
And storing the generated first mapping table and the second mapping table to a database in the vehicle-mounted system, so that the vehicle-mounted system can call the stored first mapping table and the second mapping table.
Step 104, determining a target vehicle-mounted camera corresponding to the target actual equipment identifier;
each actual device identification corresponds to a specific vehicle-mounted camera in the vehicle-mounted system, and the actual device identification is description of the actual vehicle-mounted camera. Therefore, after the target actual device identifier is determined, the vehicle-mounted camera corresponding to the target actual device identifier is the target vehicle-mounted camera.
And 105, establishing connection between the target vehicle-mounted camera and the application program so that the application program calls the target camera.
And determining a target camera, namely determining the relationship between the formal equipment identifier and the target camera in the calling request, and establishing a unique connection path between the target vehicle-mounted camera and the application program by the vehicle-mounted system according to the relationship between the formal equipment identifier and the target camera, so that the application program can call the target camera through the connection path.
In one embodiment of the invention, the method further comprises:
step S9, receiving an operation instruction sent by the application program;
after the application program is connected with the target vehicle-mounted camera, the application program can send an operation instruction through a connecting channel between the application program and the target vehicle-mounted camera, and the vehicle-mounted system receives the operation instruction sent by the application program in the connecting channel. The operation instruction may be to control a shooting angle of the vehicle-mounted camera, set a shooting parameter of the vehicle-mounted camera, and the like, which is not limited in the embodiment of the present invention.
And step S10, controlling the target vehicle-mounted camera according to the operation instruction.
And controlling the target camera to execute corresponding operation according to the specific operation content of the operation instruction.
In the embodiment of the invention, by acquiring a call request sent by the application program, the call request comprises a formal equipment identifier; determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation; determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation; determining a target vehicle-mounted camera corresponding to the target actual equipment identifier; and establishing connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera. The vehicle-mounted system can be actively adapted to the application program, so that the application program can randomly call one vehicle-mounted camera of the vehicle-mounted system through the first mapping relation and the second mapping relation; even when the number of the formal equipment identifications of the application program is smaller than that of the vehicle-mounted actual cameras, the application program can call other vehicle-mounted cameras which are different from the formal equipment identifications.
For better understanding of the present invention, referring to fig. 4, a specific embodiment of a method for invoking a vehicle-mounted camera according to the present invention is shown. The application program stores two types of device identifications, namely ID0 and ID 1; the vehicle-mounted system comprises a plurality of vehicle-mounted cameras, and one camera is actual equipment; the vehicle-mounted system is provided with a database and is connected with the application program.
Before a user calls a camera, virtual channels, namely virtual pipe, are created, and if the number of the actual devices is N, M devices are virtualized in the middle layer. Wherein N and M are positive integers, and M is more than or equal to N; the virtual pipe is buffer (cache) information, resolution information and frame rate information actually required by calling the vehicle-mounted camera, and is information of an actual device identifier to be remapped into the virtual device. And each virtual pipe is a description of one of the virtual devices. Corresponding to the virtual device. And determining the virtual pipe according to the virtual equipment identifier so as to establish a mapping relation between the virtual equipment identifier and the actual equipment identifier as a second mapping relation, generating a second mapping table according to the second mapping relation, and storing the second mapping table in a database of the vehicle-mounted system.
And establishing a second mapping relation between the virtual equipment identifier and the formal equipment identifier according to the user requirement, generating a first mapping table according to the first mapping relation, and storing the first mapping table into a database of the vehicle-mounted system. At this time, the formal device identifier is mapped to the virtual device identifier, which is equivalent to binding the formal device identifier with the virtual device identifier. And the virtual equipment identifier binds the actual equipment identifier according to the virtual pipe. I.e. a unique connection path is formed between the formal device identification and the actual device identification.
When the user opens the APP and selects the opened form equipment identification, the APP sends a calling request to the vehicle-mounted system, and the calling request comprises the form equipment identification selected by the user. And the vehicle-mounted system acquires the call request and reads the formal equipment identification in the call request.
Reading a first mapping table stored in a database, searching a first mapping relation including the formal equipment identifier from a preset first mapping relation, and determining a target virtual equipment identifier corresponding to the formal equipment identifier according to the first mapping relation.
And reading a second mapping table stored in the database, searching a second mapping relation including the target virtual equipment identifier from a preset second mapping relation, and determining a target actual equipment identifier corresponding to the formal equipment identifier according to the second mapping relation.
Because the actual equipment identification corresponds to the actual equipment one to one, when the target actual equipment identification is determined, the corresponding target vehicle-mounted camera can be determined according to the target actual equipment identification. At this time, the form equipment identifier can be determined to bind the target vehicle-mounted camera.
The vehicle-mounted system establishes a connection between the target vehicle-mounted camera and the application program, and the application program can send control operation or information to the target camera through the connection so that the application program calls the target camera.
According to the embodiment of the invention, the vehicle-mounted system is actively adapted to the application program, so that other cameras can be opened through the first mapping relation and the second mapping relation only under the condition that the application program only has ID0 and ID 1.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a configuration of an embodiment of an in-vehicle camera invoking device according to the present invention is shown, where the device is applied to an in-vehicle system, the in-vehicle system includes a plurality of in-vehicle cameras, the in-vehicle system is connected with an application program, and the device may specifically include the following modules:
a first obtaining module 501, configured to obtain a call request sent by the application program, where the call request includes a formal device identifier;
a first mapping module 502, configured to determine, from a preset first mapping relationship, a target virtual device identifier corresponding to a formal device identifier;
a second mapping module 503, configured to determine, from a preset second mapping relationship, a target actual device identifier corresponding to the target virtual device identifier;
a confirmation module 504, configured to determine a target vehicle-mounted camera corresponding to the target actual device identifier;
and the calling module 505 is configured to establish a connection between the target vehicle-mounted camera and the application program, so that the application program calls the target camera.
Optionally, the first mapping relationship is generated by:
the virtual equipment identification module is used for determining a target virtual equipment identification from preset virtual equipment identifications;
and the first establishing module is used for establishing a first mapping relation between the formal equipment identifier and the target virtual equipment identifier.
Optionally, the application includes an application identifier, and the virtual device identifier module includes:
the program identifier acquisition submodule is used for acquiring the application program identifier;
the first virtual equipment identification submodule is used for determining a first virtual equipment identification according to the application program identification;
and the first target virtual equipment identification submodule is used for determining a target virtual equipment identification matched with the first virtual equipment identification from preset virtual equipment identifications.
Optionally, the application is configured to receive a mapping request of a user, and the virtual device identification module further includes:
the first receiving submodule is used for receiving a mapping request forwarded by the application program, and the mapping request comprises a second virtual device identifier;
and the second target virtual equipment identification submodule is used for determining a target virtual equipment identification matched with the second virtual equipment identification from preset virtual equipment identifications.
Optionally, the second mapping relationship is generated by:
a virtual channel creating module, configured to create a virtual channel corresponding to the virtual device identifier;
a virtual channel determining module, configured to determine a target virtual channel corresponding to the target virtual device identifier;
and the second establishing module is used for establishing a second mapping relation between the target virtual equipment identifier and the target actual equipment identifier through the target virtual channel.
Optionally, the vehicle-mounted system has a database; the device further comprises:
the first recording module is used for recording the first mapping relation and generating a first mapping table;
the second recording module is used for recording the second mapping relation and generating a second mapping table;
a storage module, configured to store the first mapping table and the second mapping table in the database.
Optionally, the apparatus further comprises:
the instruction receiving module is used for receiving an operation instruction sent by the application program;
and the control module is used for controlling the target vehicle-mounted camera according to the operation instruction.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides a vehicle, including:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the vehicle to perform one or more methods as described above.
Embodiments of the invention also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The vehicle-mounted camera calling method and the vehicle-mounted camera calling device provided by the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A vehicle-mounted camera calling method is applied to a vehicle-mounted system, the vehicle-mounted system comprises a plurality of vehicle-mounted cameras, the vehicle-mounted system is connected with an application program, and the method comprises the following steps:
acquiring a call request sent by the application program, wherein the call request comprises a formal equipment identifier;
determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation;
determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation;
determining a target vehicle-mounted camera corresponding to the target actual equipment identifier;
and establishing connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera.
2. The method of claim 1, wherein the first mapping relationship is generated by:
determining a target virtual equipment identifier from preset virtual equipment identifiers;
and establishing a first mapping relation between the formal equipment identification and the target virtual equipment identification.
3. The method of claim 2, wherein the application includes an application identifier, and wherein the step of determining a target virtual device identifier from the preset virtual device identifiers comprises:
acquiring the application program identifier;
determining a first virtual device identifier according to the application program identifier;
and determining a target virtual equipment identifier matched with the first virtual equipment identifier from preset virtual equipment identifiers.
4. The method of claim 2, wherein the application program is configured to receive a mapping request from a user, and the step of determining a target virtual device identifier from the preset virtual device identifiers further comprises:
receiving a mapping request forwarded by the application program, wherein the mapping request comprises a second virtual device identifier;
and determining a target virtual equipment identifier matched with the second virtual equipment identifier from preset virtual equipment identifiers.
5. The method of claim 2, wherein the second mapping relationship is generated by:
creating a virtual channel corresponding to the virtual equipment identifier;
determining a target virtual channel corresponding to the target virtual equipment identifier;
and establishing a second mapping relation between the target virtual equipment identifier and the target actual equipment identifier through the target virtual channel.
6. The method of claim 5, wherein the on-board system has a database; the method further comprises the following steps:
recording the first mapping relation, and generating a first mapping table;
recording the second mapping relation to generate a second mapping table;
storing the first mapping table and the second mapping table to the database.
7. The method of claim 1, further comprising:
receiving an operation instruction sent by the application program;
and controlling the target vehicle-mounted camera according to the operation instruction.
8. The utility model provides a vehicle-mounted camera calling device which characterized in that is applied to on-vehicle system, on-vehicle system includes a plurality of vehicle-mounted cameras, on-vehicle system is connected with application program, the device includes:
the first acquisition module is used for acquiring a calling request sent by the application program, wherein the calling request comprises a formal equipment identifier;
the first mapping module is used for determining a target virtual equipment identifier corresponding to the formal equipment identifier from a preset first mapping relation;
the second mapping module is used for determining a target actual device identifier corresponding to the target virtual device identifier from a preset second mapping relation;
the confirmation module is used for determining a target vehicle-mounted camera corresponding to the target actual equipment identifier;
and the calling module is used for establishing the connection between the target vehicle-mounted camera and the application program so as to enable the application program to call the target camera.
9. A vehicle, characterized by comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the vehicle to perform the method of one or more of claims 1-7.
10. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-7.
CN202011256213.2A 2020-11-11 2020-11-11 Vehicle-mounted camera calling method and device Pending CN112363767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011256213.2A CN112363767A (en) 2020-11-11 2020-11-11 Vehicle-mounted camera calling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011256213.2A CN112363767A (en) 2020-11-11 2020-11-11 Vehicle-mounted camera calling method and device

Publications (1)

Publication Number Publication Date
CN112363767A true CN112363767A (en) 2021-02-12

Family

ID=74516015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011256213.2A Pending CN112363767A (en) 2020-11-11 2020-11-11 Vehicle-mounted camera calling method and device

Country Status (1)

Country Link
CN (1) CN112363767A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411496A (en) * 2021-06-07 2021-09-17 恒大新能源汽车投资控股集团有限公司 Control method and device for vehicle-mounted camera and electronic equipment
CN113489898A (en) * 2021-06-29 2021-10-08 广州小鹏汽车科技有限公司 Camera calling method and device, vehicle and storage medium
CN113724521A (en) * 2021-07-19 2021-11-30 阿里巴巴新加坡控股有限公司 Image data processing method, device, equipment and computer program product
CN114500877A (en) * 2021-12-30 2022-05-13 惠州华阳通用智慧车载系统开发有限公司 Camera sharing method, system and storage medium
CN117255245A (en) * 2023-11-17 2023-12-19 深圳市法本信息技术股份有限公司 Camera matching method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544298A (en) * 2017-06-27 2018-01-05 新华三云计算技术有限公司 A kind of camera call method and device
CN107911541A (en) * 2017-11-09 2018-04-13 广州视源电子科技股份有限公司 A kind of multi-cam switching application method and device based on android system
CN108845861A (en) * 2018-05-17 2018-11-20 北京奇虎科技有限公司 The implementation method and device of Softcam
CN111193870A (en) * 2020-01-09 2020-05-22 华为终端有限公司 Method, device and system for controlling vehicle-mounted camera through mobile device
KR20200071012A (en) * 2018-12-10 2020-06-18 한국과학기술원 Method and Apparatus for IoT Camera Virtualization Based on Multiple Service Request and Context-awareness

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544298A (en) * 2017-06-27 2018-01-05 新华三云计算技术有限公司 A kind of camera call method and device
CN107911541A (en) * 2017-11-09 2018-04-13 广州视源电子科技股份有限公司 A kind of multi-cam switching application method and device based on android system
CN108845861A (en) * 2018-05-17 2018-11-20 北京奇虎科技有限公司 The implementation method and device of Softcam
KR20200071012A (en) * 2018-12-10 2020-06-18 한국과학기술원 Method and Apparatus for IoT Camera Virtualization Based on Multiple Service Request and Context-awareness
CN111193870A (en) * 2020-01-09 2020-05-22 华为终端有限公司 Method, device and system for controlling vehicle-mounted camera through mobile device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AIMAILE: "安卓添加USB外置UVC摄像头", pages 1 - 3, Retrieved from the Internet <URL:https://www.jianshu.com/p/40408d960ef5> *
XUHUI_7810: "virtual camera", pages 1 - 6, Retrieved from the Internet <URL:https://blog.csdn.net/xuhui_7810/article/details/106420601?spm=1001.2014.3001.5502> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411496A (en) * 2021-06-07 2021-09-17 恒大新能源汽车投资控股集团有限公司 Control method and device for vehicle-mounted camera and electronic equipment
CN113489898A (en) * 2021-06-29 2021-10-08 广州小鹏汽车科技有限公司 Camera calling method and device, vehicle and storage medium
CN113489898B (en) * 2021-06-29 2023-10-31 广州小鹏汽车科技有限公司 Camera calling method, device, vehicle and storage medium
CN113724521A (en) * 2021-07-19 2021-11-30 阿里巴巴新加坡控股有限公司 Image data processing method, device, equipment and computer program product
CN114500877A (en) * 2021-12-30 2022-05-13 惠州华阳通用智慧车载系统开发有限公司 Camera sharing method, system and storage medium
CN117255245A (en) * 2023-11-17 2023-12-19 深圳市法本信息技术股份有限公司 Camera matching method, device, terminal equipment and storage medium
CN117255245B (en) * 2023-11-17 2024-03-15 深圳市法本信息技术股份有限公司 Camera matching method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112363767A (en) Vehicle-mounted camera calling method and device
US20210108943A1 (en) Map data updating method, apparatus, system and storage medium
US10013823B2 (en) Vehicle information processing system and method
US11810217B2 (en) Method and system for trip invitation
US9408244B2 (en) Multimedia terminal, control method thereof, and recording medium
CN112612262A (en) Production line testing method and device for vehicle-mounted equipment, computer equipment and storage medium
US20120096477A1 (en) Apparatus and method for providing vehicle information
CN106080516A (en) A kind of method and apparatus that vehicle is monitored
KR20200067742A (en) System for updating software of electronic control unit of vehicle
CN109808697B (en) Vehicle control method, device and equipment
CN112740627A (en) Vehicle remote diagnosis method and system
CN111527389A (en) Vehicle diagnosis method, vehicle diagnosis device and storage medium
CN112802232A (en) Video stream data transmission method and related device thereof
CN111601161A (en) Video work generation method, device, terminal, server and system
CN107708064B (en) Method and system for positioning mobile phone by vehicle-mounted equipment
CN109808689B (en) Unmanned vehicle control method, device and equipment
CN114268636B (en) TBOX data updating method, device, equipment and medium for automobile
CN111988459B (en) Address book management method and device and computer storage medium
CN107872786B (en) Control method and smart card
CN113301531A (en) Network access system, method and device for vehicle automatic driving test
US10742802B2 (en) Methods and devices for verifying a communication number
CN112532657A (en) Activation method and device for intelligent vehicle-mounted networking terminal
CN112653735A (en) Vehicle-mounted application data transmission method and device and vehicle
CN113409758A (en) Intelligent voice interaction method, device and system
CN114928897A (en) Connection method, device, system and computer storage medium

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