CN111338826B - Electronic equipment and equipment linkage control system and method - Google Patents

Electronic equipment and equipment linkage control system and method Download PDF

Info

Publication number
CN111338826B
CN111338826B CN202010130934.2A CN202010130934A CN111338826B CN 111338826 B CN111338826 B CN 111338826B CN 202010130934 A CN202010130934 A CN 202010130934A CN 111338826 B CN111338826 B CN 111338826B
Authority
CN
China
Prior art keywords
application module
rom
target application
data information
hardware device
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.)
Active
Application number
CN202010130934.2A
Other languages
Chinese (zh)
Other versions
CN111338826A (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.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development 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 Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN202010130934.2A priority Critical patent/CN111338826B/en
Publication of CN111338826A publication Critical patent/CN111338826A/en
Application granted granted Critical
Publication of CN111338826B publication Critical patent/CN111338826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides an electronic device and a device linkage control system and method, wherein the electronic device comprises a ROM and a target application module; the target application module is in communication connection with the ROM; the ROM is physically connected with the first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode; and the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication. According to the method and the device, the mode that the ROM is physically connected with the hardware equipment is adopted, the communication channel between the target application module and the first hardware equipment is established through the ROM, the connection pairing time between the electronic equipment and the hardware equipment is saved, the connection stability is good, the communication safety is high, and the communication efficiency is improved.

Description

Electronic equipment and equipment linkage control system and method
Technical Field
The application relates to the technical field of communication, in particular to an electronic device and a device linkage control system and method.
Background
With the development of the internet, more and more internet products are used by users, such as a car booking platform. The network appointment platform provides an application program for a driver, the application program is pre-installed in the bearing equipment and used by the driver, and the application program is used for controlling linkage of hardware equipment in the vehicle through a uniform information inlet and outlet so as to complete travel business.
However, the pairing time for connecting the carrying device and the hardware device in the vehicle is slow, the connection stability is low, and the communication safety is low.
Disclosure of Invention
In view of this, an object of the present application is to provide an electronic device, and a system and a method for controlling device linkage, which adopt a physical connection manner between a ROM in the electronic device and a hardware device, thereby saving connection pairing time between the electronic device and the hardware device, and improving connection stability, communication security and communication efficiency.
In a first aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; wherein the content of the first and second substances,
the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode;
the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
In one possible embodiment of the method according to the invention,
the ROM is specifically configured to receive a first combined voltage signal sent by the first hardware device, convert the first combined voltage signal into first data information corresponding to the first hardware device, and send the first data information to the target application module;
the target application module is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM;
the ROM is further configured to receive the response information and send the response information to the first hardware device or the second hardware device.
In one possible embodiment of the method according to the invention,
the target application module is specifically configured to send a state setting instruction or second data information to the ROM;
the ROM is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device; wherein the second combined voltage signal is used to set a device state of the first hardware device or to process the second data information by the first hardware device.
In a possible implementation manner, the electronic device further comprises a wireless communication module, and the ROM is in wireless communication connection with a second hardware device through the wireless communication module; the second hardware equipment carries out information transmission with the ROM in a wireless communication mode;
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
In a possible implementation manner, the ROM is further configured to monitor process state information of the target application module, and restart the target application module when the process state information is abnormal.
In one possible implementation manner, the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
In one possible implementation, the installation component of the target application module is placed in a system directory of the electronic device.
In one possible implementation, the ROM further includes a service interface;
the service interface is used for acquiring third data information corresponding to an application module in the electronic equipment and sending the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM is also used for receiving the third data information and processing the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an over-the-air technology OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In one possible implementation mode, the target application module is in communication connection with a server;
the service interface is specifically configured to send a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
the target application module is further configured to send the service request to the server, receive the target data information returned by the server, and send the target data information to the service interface.
In a second aspect, an embodiment of the present application further provides an equipment linkage control system, where the system includes an electronic device and a first hardware device; the electronic equipment comprises a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with the first hardware equipment; wherein the content of the first and second substances,
the first hardware device is used for carrying out information transmission with the ROM through voltage signals of different combinations;
the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode;
the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
In a possible implementation, the first hardware device is specifically configured to send a first combined voltage signal to the ROM; wherein the first combined voltage signal is used to characterize first data information of the first hardware device;
the ROM is specifically configured to receive the first combined voltage signal, convert the first combined voltage signal into the first data information, and send the first data information to the target application module;
the target application module is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM;
the ROM is further configured to receive the response information and send the response information to the first hardware device or the second hardware device.
In a possible implementation manner, the target application module is specifically configured to send a state setting instruction or second data information to the ROM;
the ROM is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device;
the first hardware device is specifically configured to receive the second combined voltage signal, and set a current device state or process the second data information according to the second combined voltage signal.
In one possible implementation, the system further comprises a second hardware device; the electronic equipment further comprises a wireless communication module, and the ROM is in wireless communication connection with the second hardware equipment through the wireless communication module;
the second hardware device is used for carrying out information transmission with the ROM in a wireless communication mode;
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
In a possible implementation manner, the ROM is further configured to monitor process state information of the target application module, and restart the target application module when the process state information is abnormal.
In one possible implementation manner, the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
In one possible implementation, the installation component of the target application module is placed in a system directory of the electronic device.
In one possible implementation, the ROM further includes a service interface;
the service interface is used for acquiring third data information corresponding to an application module in the electronic equipment and sending the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM is also used for receiving the third data information and processing the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an over-the-air technology OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In a possible implementation manner, the system further comprises a server, and the target application module is in communication connection with the server;
the service interface is specifically configured to send a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
the target application module is further used for sending the service request to the server;
the server is further used for receiving the service request, acquiring the target data information and sending the target data information to the target application module;
the target application module is further configured to send the target data information to the service interface.
In a third aspect, an embodiment of the present application further provides a device linkage control method, where the method is applied to an electronic device, and the electronic device includes a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; the method comprises the following steps:
the target application module carries out information transmission with the ROM in an interprocess communication mode;
the ROM realizes information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
In a possible implementation manner, the ROM realizes information transmission between the target application module and the first hardware device by means of the voltage signals of the different combinations and the inter-process communication, and the information transmission includes:
the ROM receives a first combined voltage signal sent by the first hardware equipment, converts the first combined voltage signal into first data information corresponding to the first hardware equipment, and sends the first data information to the target application module;
the target application module receives the first data information, generates response information of the first data information, and sends the response information to the ROM;
and the ROM receives the response information and sends the response information to the first hardware equipment.
In a possible implementation manner, the ROM realizes information transmission between the target application module and the first hardware device by means of the voltage signals of the different combinations and the inter-process communication, and the information transmission includes:
the target application module sends a state setting instruction or second data information to the ROM;
the ROM receives the state setting instruction or second data information, converts the state setting instruction or the second data information into a second combined voltage signal, and sends the second combined voltage signal to the first hardware equipment; wherein the second combined voltage signal is used to set a device state of the first hardware device or to process the second data information by the first hardware device.
In a possible implementation manner, the electronic device further comprises a wireless communication module, and the ROM is in wireless communication connection with a second hardware device through the wireless communication module; the second hardware equipment carries out information transmission with the ROM in a wireless communication mode; the method further comprises the following steps:
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
In one possible embodiment, the method further comprises:
and the ROM monitors the process state information of the target application module and restarts the target application module when the process state information is abnormal.
In one possible implementation manner, the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
In one possible implementation, the installation component of the target application module is placed in a system directory of the electronic device.
In one possible implementation, the ROM further includes a service interface; the method further comprises the following steps:
the service interface acquires third data information corresponding to an application module in the electronic equipment and sends the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM receives the third data information and processes the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In one possible implementation mode, the target application module is in communication connection with a server; the method further comprises the following steps:
the service interface is used for sending a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
and the target application module sends the service request to the server, receives the target data information returned by the server and sends the target data information to the service interface.
In a fourth aspect, an embodiment of the present application further provides an apparatus linkage control device, where the apparatus includes a ROM and a target application module; the target application module is in communication connection with the ROM, and the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; the device comprises:
the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode;
the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
In a possible implementation manner, the ROM is specifically configured to receive a first combined voltage signal sent by the first hardware device, convert the first combined voltage signal into first data information corresponding to the first hardware device, and send the first data information to the target application module;
the target application module is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM;
the ROM is further configured to receive the response information and send the response information to the first hardware device.
In a possible implementation manner, the target application module is specifically configured to send a state setting instruction or second data information to the ROM;
the ROM is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device; wherein the second combined voltage signal is used to set a device state of the first hardware device or to process the second data information by the first hardware device.
In a possible implementation manner, the electronic device further comprises a wireless communication module, and the ROM is in wireless communication connection with a second hardware device through the wireless communication module; the second hardware equipment carries out information transmission with the ROM in a wireless communication mode;
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
In a possible implementation manner, the ROM is further configured to monitor process state information of the target application module, and restart the target application module when the process state information is abnormal.
In one possible implementation manner, the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
In one possible implementation, the installation component of the target application module is placed in a system directory of the electronic device.
In one possible implementation, the ROM further includes a service interface;
the service interface is used for acquiring third data information corresponding to an application module in the electronic equipment and sending the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM is also used for receiving the third data information and processing the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In one possible implementation mode, the target application module is in communication connection with a server;
the service interface is specifically configured to send a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
the target application module is further configured to send the service request to the server, receive the target data information returned by the server, and send the target data information to the service interface.
In a fifth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the device linkage control method according to the third aspect.
The embodiment of the application provides electronic equipment and equipment linkage control system and method, wherein a Read Only Memory (ROM) is connected with a target application module in an inter-process communication mode, the ROM is physically connected with first hardware equipment, a communication channel between the target application module and the first hardware equipment is further established through the ROM, information communication between the target application module and the first hardware equipment is achieved based on the communication channel established by the ROM, and high-quality travel service can be provided for a driver or a passenger. Through the connection mode of this application, saved the connection between electronic equipment and the hardware equipment and mated time, and connection stability is good, communication security is high, has improved communication efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a connection architecture of an electronic device with a first hardware device and a second hardware device;
fig. 4 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
FIG. 5 is a schematic structural diagram illustrating an apparatus linkage control system according to an embodiment of the present disclosure;
fig. 6 shows a schematic structural diagram of an apparatus linkage control device provided by an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
To enable those skilled in the art to utilize the present disclosure, the following embodiments are presented in conjunction with a specific application scenario, "network appointment area". It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is described primarily in the context of the "net appointment area," it should be understood that this is merely one exemplary embodiment.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
In the field of network car booking, a network car booking platform can provide services such as express cars, taxis, cost and the like. The terms "passenger," "requestor," "service requestor," and "customer" in the embodiments of the present application are used interchangeably to refer to an individual, entity, or tool that can request or order a service. The terms "driver," "driver end," "provider," "service provider," and "provider" are used interchangeably in this application to refer to an individual, entity, or tool that can provide a service.
In the prior art, an application program provided by a network appointment platform is installed in a driver end (namely, a bearing device), and the bearing device controls linkage of hardware devices in a vehicle through a uniform information inlet and outlet so as to realize linkage of travel services. However, the driver end and the hardware device in the vehicle have slow time for pairing, stable connection and low communication safety.
Based on this, the embodiment of the application provides an electronic device and a device linkage control system and method, and a mode of physically connecting a ROM and a hardware device in the electronic device is adopted, so that the connection pairing time between the electronic device and the hardware device is saved, the connection stability is good, the communication safety is high, and the communication efficiency is improved.
In the embodiment of the application, the ROM is customized, so that the ROM is physically connected with the hardware equipment, the connection pairing time between the electronic equipment and the hardware equipment is saved, the connection stability is good, the communication safety is high, and the communication efficiency is improved; second, the customization of the Operating System (OS) of the electronic device is realized, so that the application module (i.e., the target application module described below) and the hardware device (i.e., the first hardware device and the second hardware device described below) are linked through the ROM, that is, the application module, the ROM, and the hardware device are linked through communication.
The electronic device provided in the embodiment of the present application may also be referred to as an all-in-one device, and a detailed description is provided below for the electronic device provided in the embodiment of the present application.
Referring to fig. 1, which is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application, the electronic device 100 includes a ROM101 and a target application module 102; the target application module 102 is in communication connection with the ROM 101; the ROM101 is physically connected with a first hardware device 200; the first hardware device 200 performs information transmission with the ROM101 through different combinations of voltage signals; wherein the content of the first and second substances,
the target application module 102 is used for carrying out information transmission with the ROM101 in an interprocess communication mode;
and the ROM101 is used for realizing information transmission between the target application module 102 and the first hardware device 200 by means of the voltage signals of different combinations and the interprocess communication.
In the embodiment of the present Application, the target Application module 102 is target mobile phone software (App), and the target App is pre-installed in the electronic device 100 and is in communication connection with the ROM101 in the electronic device 100. Here, the target APP is communicatively connected to the ROM101 by inter-process communication, for example, communicatively connected to the ROM101 by an Android Interface Definition Language (AIDL).
In the field of network appointments, the first hardware device 200 may be an in-vehicle device. Optionally, the first hardware device 200 includes, but is not limited to, the following devices: meters (i.e., meters, also known as invoices), printers, lights, etc. The first hardware device 200 is pre-installed in the vehicle interior and is used for providing corresponding services for a driver or a passenger; for example, the meter is mainly used for recording the running time and the running mileage of the vehicle; and the printer is used for printing the invoice of the service order.
In the embodiment of the present application, the ROM101 is physically connected to the first hardware device 200, that is, the ROM101 and the first hardware device 200 are connected by a physical connection line, and the ROM101 is also communicatively connected to the target application module 102, so that the ROM101 establishes a communication channel between the target application module 102 and the first hardware device 200.
For example, as shown in fig. 1, a first physical interface is disposed in the first hardware device 200, a second physical interface is disposed in the electronic device 100, and physical connection lines are respectively inserted into the first physical interface and the second physical interface to physically connect the first hardware device 200 and the electronic device 100. In practice, the first physical interface includes, but is not limited to, a Serial port, a Universal Serial Bus (USB) interface, etc., the second physical interface includes, but is not limited to, a Serial port, a USB interface, etc., and the physical connection line includes, but is not limited to, a Serial Bus, a USB Bus, etc. The serial port can be an RS-232 interface, an RS-485 interface and the like.
In the embodiment of the present application, the first hardware device 200 and the ROM101 perform information transmission through a General-purpose input/output (GPIO), that is, information transmission is performed between the first hardware device 200 and the ROM101 through different combinations of voltage signals. For example, 10 transmission paths are included between the first hardware device 200 and the ROM101, each transmission path is used for transmitting a high voltage signal (i.e. 1) or a low voltage signal (i.e. 0), and the high and low voltage signals passing through the paths transfer the first data information between the first hardware device 200 and the ROM 101; here, the first data information may be status information (e.g., empty status, in-trip status, and end-of-trip status) of the first hardware device 200, and may also be transaction information, e.g., a transaction amount of the service order.
The first data information represented by the high-low voltage signals of different paths is different; for example, the voltage signals of 10 transmission paths corresponding to the empty state are 0000000000; voltage signals of 10 transmission paths corresponding to the state in the process are 0000000001 respectively; the voltage signals of the 10 transmission paths corresponding to the stroke end state are 0000000011 respectively.
In the scene of the network car booking service, the target application module 102 takes the responsibility of a central processing unit in the vehicle, is used for being in communication connection with each hardware device (including a first hardware device and a second hardware device described below) in the vehicle, and controls linkage communication of each hardware device in the vehicle, so that linkage of travel service is realized, a driver can improve service conveniently, and passengers can conveniently travel.
In the embodiment of the application, the ROM101 is connected with the target application module 102 in an interprocess communication manner, the ROM101 is physically connected with the first hardware device 200, a communication channel between the target application module 102 and the first hardware device 200 is established through the ROM101, and the information communication between the target application module 102 and the first hardware device 200 is realized based on the communication channel established by the ROM101, that is, the linkage information communication among the target application module 102, the ROM101 and the first hardware device 200 is realized, so that a high-quality travel service can be provided for a driver or a passenger. Through the connection mode, the connection pairing time between the electronic device 100 and the hardware device is saved, the connection stability is good, the communication safety is high, and the communication efficiency is improved.
The following describes a linkage communication process in a network car booking service scenario based on the communication connection among the ROM101, the target application module 102, and the first hardware device 200:
first, in the electronic device 100 provided in this embodiment of the application, the first hardware device 200 may report first data information of the first hardware device 200, for example, state information of the first hardware device 200, to the target application module 102 through the ROM 101.
The ROM101 is specifically configured to receive a first combined voltage signal sent by the first hardware device 200, convert the first combined voltage signal into first data information corresponding to the first hardware device 200, and send the first data information to the target application module 102;
the target application module 102 is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM 101;
the ROM101 is further configured to receive the response information and send the response information to the first hardware device 200 or the second hardware device 200.
In the embodiment of the present application, the first hardware device 200 sends a first combined voltage signal representing the first data information to the ROM101, and the ROM101 receives the first combined voltage signal and converts the first combined voltage signal into the first data information. Here, the first combined voltage signal is converted in the following manner: the ROM101 writes the first combined voltage signal into a target file corresponding to the first combined voltage signal, and the target application module 102 obtains first data information by reading the target file. After acquiring the first data information, the target application module 102 may generate response information of the first data information, and send the response information to the first hardware device 200 through the ROM 101. The target application module 102 may also simply display the first data information.
Secondly, in the electronic device 100 provided in this embodiment of the application, the target application module 102 may further set the device state of the first hardware device 200 through the ROM101, or the target application module 102 sends the second data information to the first hardware device 200 through the ROM 101: wherein the content of the first and second substances,
the target application module 102 is specifically configured to send a state setting instruction or second data information to the ROM 101;
the ROM101 is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device 200; wherein the second combined voltage signal is used to set a device state of the first hardware device 200 or used for the first hardware device 200 to process the second data information.
In this embodiment, the target application module 102 sends a state setting instruction to the ROM101, after receiving the state setting instruction, the ROM101 converts the state setting instruction into a second combined voltage signal, for example, converts the state setting instruction corresponding to the state in the trip into the second combined voltage signal 1000000011, and then, the ROM101 sends the second combined voltage signal to the first hardware device 200 (for example, a meter). Wherein the second combined voltage signal is used to set the device state of the first hardware device 200. The first hardware device 200 sets the current state after receiving the second combined voltage signal, for example, sets the current state to the in-flight state.
Alternatively, the target application module 102 sends the ROM101 second data information (e.g., transaction amount after completion of the service order), and after receiving the second data information, the ROM101 converts the second data information into a second combined voltage signal, e.g., converts the transaction amount 50 into the second combined voltage signal 1100000011, and then the ROM101 sends the second combined voltage signal to the first hardware device 200 (e.g., the meter). After receiving the second combined voltage signal, the first hardware device 200 processes the second combined voltage signal, for example, displays a transaction amount 50 corresponding to the second combined voltage signal.
For example, the target application module 102 receives a service order, when a driver receives a passenger and the passenger confirms to get on the vehicle, the target application module 102 sets the state of the meter to be a travel state through the ROM101, and the meter reports current state information to the target application module 102 through the ROM101 in real time in the process of executing order service by the driver; after the order is finished, the target application module 102 sends the travel information to the printer through the ROM101, and the printer prints an invoice including the travel information; meanwhile, the target application module 102 sets the state of the meter to the trip end state through the ROM 101.
Considering that some hardware devices (for example, the second hardware device 300 described below) have a wireless communication module but do not have a physical interface, and accordingly, the ROM101 cannot be physically connected to the second hardware device 300, in this embodiment of the present application, the ROM101 is communicatively connected to the second hardware device 300 in a wireless communication manner, and then the ROM101 establishes a communication channel between the target application module 102 and the second hardware device 300, and the communication channel established based on the ROM101 realizes information communication between the target application module 102 and the second hardware device 300. Finally, linkage communication among the target application module 102, the ROM101, the first hardware device 200 and the second hardware device 300 can be realized.
Further, as shown in fig. 2, in the electronic device 100 provided in the embodiment of the present application, the electronic device 100 further includes a wireless communication module 103, and the ROM101 is connected to the second hardware device 300 through the wireless communication module 103 in a wireless communication manner; the second hardware device 300 performs information transmission with the ROM101 in a wireless communication mode;
the ROM101 is further used for realizing information transmission between the target application module 102 and the second hardware device 300 through the wireless communication mode and the interprocess communication mode.
In the embodiment of the present application, the second hardware device 300 may also be a vehicle-mounted device, such as a point of sale (pos) machine fixed in a vehicle, and the pos machine is used for cashless settlement of a service order.
In this embodiment of the application, the ROM101 is connected to the second hardware device 300 through a Wireless communication module 103 in a Wireless communication manner, and the Wireless communication module 103 may be a bluetooth module or a Wireless local area network (WIFI) module. Here, the Bluetooth module may be a ble (Bluetooth Low energy) Low energy Bluetooth module, and may also be a standard Bluetooth module.
The ROM101 is further in communication connection with the target application module 102, so that a communication channel between the target application module 102 and the second hardware device 300 can be established, and correspondingly, the ROM101 performs information transmission with the second hardware device 300 in a wireless communication manner, and performs information transmission with the target application module 102 in an inter-process communication manner, so as to achieve information transmission between the target application module 102 and the second hardware device 300.
As shown in fig. 3, for example, the second hardware device 300 is communicatively connected to the ROM101 through a BLE module or a Bluetooth module.
In this embodiment of the application, the target application module 102 is configured to be in communication connection with each of the first hardware device 200 and the second hardware device 300 in the vehicle, and perform linkage communication with each of the first hardware device 200 and the second hardware device 300 in the vehicle, so as to realize linkage of travel services, and facilitate improvement of services for a driver and travel of passengers.
For example, the target application module 102 receives a service order, and when the driver receives a passenger and the passenger confirms getting on the vehicle, the target application module 102 sets the state of the meter to be in-trip state through the ROM 101; in the process of executing order service by a driver, the taximeter and the vehicle lamp report the current state information to the target application module 102 in real time through the ROM 101; after the order is finished, the target application module 102 sends the transaction amount of the order to the pos machine through the ROM101, and after the pos machine finishes the transaction, the transaction result is returned to the target application module 102 through the ROM 101. The target application module 102 generates travel information based on the transaction result and transmits the travel information to the printer through the ROM101, and the printer prints the travel information; meanwhile, the target application module 102 sets the state of the meter to the trip end state through the ROM 101.
In the embodiment of the application, the ROM101 and the first hardware device 200 are physically connected, and information communication is performed in a mode of GPIO and a serial port protocol, so that the problem of slow connection pairing in the prior art is solved; moreover, the ROM101 is connected to the first hardware device 200 through a physical connection line, communication exists all the time as long as the physical connection line is continuous, a bidirectional long connection service does not need to be maintained, and the problem of unstable connection in the prior art is also solved; in addition, the information is connected through a physical connecting line and is transmitted through the ROM101, so that firstly, the information can be prevented from being stolen by external bale capture, secondly, the information can be accurately connected to the equipment to be connected, other equipment is prevented from being connected in series in modes of scanning search and the like, and the problem of communication safety of the prior art is also solved.
In the embodiment of the present application, the target application module 102 assumes the role of a central processing server in the vehicle, and if the process of the target application module 102 is abnormal, the communication and linkage between the target application module 102, the ROM101, and each hardware device (including the first hardware device 200 and the second hardware device 300) in the vehicle will fail, and based on this, in the electronic device 100 provided in the embodiment of the present application, the ROM101 is customized to implement the process daemon function of the target application module 102 by the ROM 101. Wherein the content of the first and second substances,
the ROM101 is further configured to monitor process state information of the target application module 102, and restart the target application module 102 when the process state information is abnormal.
In the embodiment of the present application, the ROM101 monitors the process state information of the target application module 102, and determines whether the process state information is abnormal, and if it is determined that the process state information is abnormal, the target application module 102 is restarted. For example, when a process corresponding to the target Application module 102 is closed (i.e., kill), or an Application Notification Responding (ANR) dialog box or other process abnormality occurs, the target Application module 102 is restarted.
In the application, by monitoring the process state of the target application module 102 at the bottom layer of the ROM101, compared with monitoring the process state of the target application module 102 through other processes, the stability and reliability of the ROM101 are higher, so that the stability and reliability of the target application module 102 are higher.
Further, in the electronic device 100 provided in the embodiment of the present application, the process priority of the target application module 102 is greater than the process priority of other third-party application modules in the electronic device 100.
In this embodiment, the target application module 102 may be a third-party application module, and the process priority of the target application module 102 is made to be greater than the process priority of other third-party application modules in the electronic device 100 by customization through the ROM 101. In this way, among the target application module 102 and other third party application modules, the ROM101 preferentially monitors and processes the target application module 102, thereby further improving the stability and reliability of the target application module 102.
Further, in the electronic device 100 provided in the embodiment of the present application, the installation component of the target application module 102 is placed in the system directory of the electronic device 100.
In the embodiment of the present application, the target application module 102 may be a system application module (i.e. system APP). By customizing the ROM101, when the ROM101 installs the target application module 102, an installation component of the target application module 102 is placed in a system directory, so that the target application module 102 is guaranteed to have the highest process priority under an operating system (an Android system in this embodiment) of the electronic device 100.
In this way, the target application module 102 is a system APP, and the target application module 102 has the highest process priority under the operating system of the electronic device 100, so that the stability and reliability of the target application module 102 are further improved.
In the prior art, an application module (APP) in a carrier device is managed through a Google management device (Google Play), namely, the Google Play is logged in through an account and a password of the Google Play, and the application module in the carrier device is managed, however, the Google Play has two problems, namely, the cost is high, and the requirement of customization cannot be realized.
Further, in the electronic device 100 improved in the embodiment of the present application, the ROM101 further includes a service interface;
the service interface is configured to obtain third data information corresponding to an application module in the electronic device 100, and send the third data information to the ROM 101; wherein the application modules include a target application module 102;
and the ROM101 is further used for receiving the third data information and processing the third data information.
In the embodiment of the present application, by customizing the ROM101, a service interface is customized for the ROM101, and the service interface is a functional interface of the ROM 101. The electronic device 100 is installed with one or more application modules (including at least the target application module 102), and the service interface is configured to obtain third data information of the one or more application modules (including at least the target application module 102) and manage the one or more application modules (including at least the target application module 102) through the third data information.
The bidirectional communication between the target application module 102 and the ROM101 is realized by opening a functional interface to the target application module 102 in the ROM101, and by means of inter-process communication (e.g., aid l) of the functional interface.
Further, in the electronic device 100 provided in this embodiment of the application, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different. Optionally, the service interface includes at least one of:
an application module installation interface, an Over-the-air technology (OTA) upgrade interface, an application module installation white list interface, and a factory reset interface.
Correspondingly, the third data information may be an installation package (i.e., APP installation package) of the application module, an upgrade package of the application module, an application module white list, and the like.
Further, as shown in fig. 4, in the electronic device 100 provided in the embodiment of the present application, the target application module 102 is in communication connection with the server 400;
the service interface is specifically configured to send a service request to the target application module 102; the service request is used for requesting target data information corresponding to the target application module 102;
the target application module 102 is further configured to send the service request to the server 400, receive the target data information returned by the server 400, and send the target data information to the service interface.
In the embodiment of the application, a set of server-side system is set up, and the server-side system provides relevant services of the application module, including a downloading service of the installation of the application module, a cloud control service of a white list of the application module, a service of upgrading gray scale release of the application module, a downloading service of an OTA (over the air) package and a service of a remote positioning device.
In the embodiment of the application, through configuration operations of a target application module and a server, a service interface of a ROM sends a service request to the server through the target application module, wherein the service request is used for requesting target data information corresponding to the target application module; the server side issues target data information corresponding to the service request to the target application module, the target application module sends the target data information to the service interface in an interprocess communication mode (for example, AIDL), the server interface sends the target data information to the ROM, and the ROM processes the target data information to realize the device management function. For example, the target data information is an upgrade package of the target application module, and the ROM upgrades the target application module based on the upgrade package.
The embodiment of the application provides electronic equipment, wherein a ROM101 is connected with a target application module 102 in an interprocess communication mode, the ROM101 is physically connected with a first hardware device 200, a communication channel between the target application module 102 and the first hardware device 200 is further established through the ROM101, information communication between the target application module 102 and the first hardware device 200 is realized based on the communication channel established by the ROM101, and high-quality travel service can be provided for a driver or a passenger. Through the connection mode of this application, saved the connection between electronic equipment and the hardware equipment and mated time, and connection stability is good, communication security is high, has improved communication efficiency.
In the embodiment of the application, the ROM is customized, so that the ROM is physically connected with the hardware equipment, the connection pairing time between the electronic equipment and the hardware equipment is saved, the connection stability is good, the communication safety is high, and the communication efficiency is improved; second, an Operating System (OS) of the electronic device is customized, so that the application module and the hardware device are linked and communicated via the ROM, that is, the application module, the ROM and the hardware device are linked and communicated.
Based on the same inventive concept, an apparatus linkage control system corresponding to the electronic apparatus is further provided in the embodiments of the present application, and since the principle of the system in the embodiments of the present application for solving the problem is similar to that of the electronic apparatus in the embodiments of the present application, reference may be made to the implementation of the method for implementing the system, and repeated details are not described herein.
Referring to fig. 5, an embodiment of the present application further provides an apparatus linkage control system, where the system includes an electronic apparatus 500 and a first hardware apparatus 503; the electronic device 500 comprises a ROM501 and a target application module 502; by customizing the ROM501, when the ROM501 installs the target application module 502, the ROM501 places the installation component of the target application module 502 in a system directory, so as to ensure that the target application module 502 has the highest process priority under the operating system of the electronic device 500; the target application module 502 is in communication connection with the ROM 501; the ROM501 is physically connected to a first hardware device 503; wherein the content of the first and second substances,
a first hardware device 503 for information transmission with the ROM501 by voltage signals of different combinations;
a target application module 502, configured to perform information transmission with the ROM501 in an inter-process communication manner;
the ROM501 is used for realizing information transmission between the target application module 502 and the first hardware device 503 by means of the voltage signals of different combinations and the inter-process communication.
In a possible implementation manner, in the linkage control system of the equipment provided by the embodiment of the application,
a first hardware device 503, specifically configured to send a first combined voltage signal to the ROM 501; wherein the first combined voltage signal is used to characterize first data information of the first hardware device 503;
the ROM501 is specifically configured to receive the first combined voltage signal, convert the first combined voltage signal into the first data information, and send the first data information to the target application module 502;
the target application module 502 is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM 501;
the ROM501 is further configured to receive the response information and send the response information to the first hardware device 503 or the second hardware device 503.
In a possible implementation manner, in the linkage control system of the equipment provided by the embodiment of the application,
the target application module 502 is specifically configured to send a state setting instruction or second data information to the ROM 501;
the ROM501 is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device 503;
the first hardware device 503 is specifically configured to receive the second combined voltage signal, and set a current device state or process the second data information according to the second combined voltage signal.
In a possible implementation manner, in the device linkage control system provided in the embodiment of the present application, the system further includes a second hardware device; the electronic device 500 further comprises a wireless communication module, and the ROM501 is in wireless communication connection with the second hardware device through the wireless communication module;
the second hardware device is used for carrying out information transmission with the ROM501 in a wireless communication mode;
the ROM501 is further configured to implement information transmission between the target application module 502 and the second hardware device by the wireless communication manner and the inter-process communication manner.
In a possible implementation manner, in the linkage control system of the equipment provided by the embodiment of the application,
the ROM501 is further configured to monitor process state information of the target application module 502, and restart the target application module 502 when the process state information is abnormal.
In a possible implementation manner, in the device linkage control system provided in this embodiment of the present application, the process priority of the target application module 502 is greater than the process priority of other third-party application modules in the electronic device 500.
In one possible implementation manner, in the device linkage control system provided in the embodiment of the present application, the installation component of the target application module 502 is placed in the system directory of the electronic device 500.
In a possible implementation manner, in the device linkage control system provided in the embodiment of the present application, the ROM501 further includes a service interface;
the service interface is configured to obtain third data information corresponding to an application module in the electronic device 500, and send the third data information to the ROM 501; wherein the application modules include a target application module 502;
the ROM501 is further configured to receive the third data information and process the third data information.
In a possible implementation manner, in the device linkage control system provided in the embodiment of the present application, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In a possible implementation manner, in the device linkage control system provided by the embodiment of the present application, the service interface includes at least one of:
the system comprises an application module installation interface, an OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In a possible implementation manner, in the device linkage control system provided in the embodiment of the present application, the system further includes a server, and the target application module 502 is in communication connection with the server;
the service interface is specifically configured to send a service request to the target application module 502; wherein, the service request is used for requesting target data information corresponding to the target application module 502;
the target application module 502 is further configured to send the service request to the server;
the server is further configured to receive the service request, obtain the target data information, and send the target data information to a target application module 502;
the target application module 502 is further configured to send the target data information to the service interface.
The embodiment of the application provides an equipment linkage control system, including electronic equipment 500 and first hardware equipment 503, adopt ROM501 and target application module 502 in electronic equipment 500 to be connected through the mode of interprocess communication, ROM501 and first hardware equipment 503 physical connection, and then established the communication channel between target application module 502 and first hardware equipment 503 through ROM501, the communication channel of establishing based on this ROM501 has realized the information communication between target application module 502 and first hardware equipment 503, can provide high-quality trip service for driver or passenger. Through the connection mode of this application, saved the connection between electronic equipment and the hardware equipment and mated time, and connection stability is good, communication security is high, has improved communication efficiency.
Based on the same inventive concept, an apparatus linkage control method corresponding to the electronic apparatus is further provided in the embodiments of the present application, and since the principle of solving the problem of the method in the embodiments of the present application is similar to that of the electronic apparatus in the embodiments of the present application, the method can be implemented by referring to the implementation of the method, and repeated details are not repeated.
The embodiment of the application provides a device linkage control method, which is applied to electronic devices, wherein each electronic device comprises a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM; the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; the method comprises the following steps:
the target application module carries out information transmission with the ROM in an interprocess communication mode;
the ROM realizes information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
In a possible implementation manner, the ROM realizes information transmission between the target application module and the first hardware device by means of the voltage signals of the different combinations and the inter-process communication, and the information transmission includes:
the ROM receives a first combined voltage signal sent by the first hardware equipment, converts the first combined voltage signal into first data information corresponding to the first hardware equipment, and sends the first data information to the target application module;
the target application module receives the first data information, generates response information of the first data information, and sends the response information to the ROM;
and the ROM receives the response information and sends the response information to the first hardware equipment or the second hardware equipment.
In a possible implementation manner, the ROM realizes information transmission between the target application module and the first hardware device by means of the voltage signals of the different combinations and the inter-process communication, and the information transmission includes:
the target application module sends a state setting instruction or second data information to the ROM;
the ROM receives the state setting instruction or second data information, converts the state setting instruction or the second data information into a second combined voltage signal, and sends the second combined voltage signal to the first hardware equipment; wherein the second combined voltage signal is used to set a device state of the first hardware device or to process the second data information by the first hardware device.
In a possible implementation manner, the electronic device further comprises a wireless communication module, and the ROM is in wireless communication connection with a second hardware device through the wireless communication module; the second hardware equipment carries out information transmission with the ROM in a wireless communication mode; the method further comprises the following steps:
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
In one possible embodiment, the method further comprises:
and the ROM monitors the process state information of the target application module and restarts the target application module when the process state information is abnormal.
In one possible implementation manner, the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
In one possible implementation, the installation component of the target application module is placed in a system directory of the electronic device.
In one possible implementation, the ROM further includes a service interface; the method further comprises the following steps:
the service interface acquires third data information corresponding to an application module in the electronic equipment and sends the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM receives the third data information and processes the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In one possible implementation mode, the target application module is in communication connection with a server; the method further comprises the following steps:
the service interface is used for sending a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
and the target application module sends the service request to the server, receives the target data information returned by the server and sends the target data information to the service interface.
The embodiment of the application provides an equipment linkage control method, wherein a ROM is connected with a target application module in an inter-process communication mode, the ROM is physically connected with first hardware equipment, a communication channel between the target application module and the first hardware equipment is further established through the ROM, information communication between the target application module and the first hardware equipment is realized through the communication channel established based on the ROM, and high-quality travel service can be provided for a driver or a passenger. Through the connection mode of this application, saved the connection between electronic equipment and the hardware equipment and mated time, and connection stability is good, communication security is high, has improved communication efficiency.
Based on the same inventive concept, an apparatus linkage control apparatus corresponding to the electronic apparatus is further provided in the embodiments of the present application, and since the principle of the apparatus in the embodiments of the present application for solving the problem is similar to that of the electronic apparatus in the embodiments of the present application, reference may be made to the implementation of the method for implementing the method, and repeated details are not described again.
As shown in fig. 6, an embodiment of the present application further provides an apparatus linkage control device, where the apparatus includes a ROM601 and a target application module 602; by customizing the ROM601, when the ROM601 installs the target application module 602, the ROM601 places the installation component of the target application module 602 in a system directory, so as to ensure that the target application module 602 has the highest process priority under the operating system of the electronic device; the target application module 602 is in communication connection with the ROM 601; the ROM601 is physically connected to a first hardware device 603; the first hardware device 603 performs information transmission with the ROM601 through different combinations of voltage signals; the device comprises:
a target application module 602, configured to perform information transmission with the ROM601 in an inter-process communication manner;
the ROM601 is used for implementing information transmission between the target application module 602 and the first hardware device 603 by means of the voltage signals of different combinations and the inter-process communication.
In a possible implementation manner, the ROM601 is specifically configured to receive a first combined voltage signal sent by a first hardware device 603, convert the first combined voltage signal into first data information corresponding to the first hardware device 603, and send the first data information to the target application module 602;
the target application module 602 is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM 601;
the ROM601 is further configured to receive the response information and send the response information to the first hardware device 603 or the second hardware device 603.
In a possible implementation, the target application module 602 is specifically configured to send a status setting instruction or second data information to the ROM 601;
the ROM601 is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device 603; wherein the second combined voltage signal is used to set a device state of the first hardware device 603 or used for the first hardware device 603 to process the second data information.
In a possible implementation, the electronic device further includes a wireless communication module, and the ROM601 is connected with the second hardware device in a wireless communication mode through the wireless communication module; the second hardware equipment performs information transmission with the ROM601 in a wireless communication mode;
the ROM601 is further configured to implement information transmission between the target application module 602 and the second hardware device by the wireless communication manner and the inter-process communication manner.
In a possible implementation, the ROM601 is further configured to monitor process state information of the target application module 602, and restart the target application module 602 when the process state information is abnormal.
In one possible implementation, the process priority of the target application module 602 is greater than the process priority of other third party application modules in the electronic device.
In one possible implementation, the installation component of the target application module 602 is placed in a system directory of the electronic device.
In one possible implementation, the ROM601 further includes a service interface;
the service interface is configured to acquire third data information corresponding to an application module in the electronic device, and send the third data information to the ROM 601; wherein the application modules include a target application module 602;
the ROM601 is further configured to receive the third data information and process the third data information.
In a possible implementation manner, the number of the service interfaces is multiple, and the third data information corresponding to different service interfaces is different.
In one possible embodiment, the service interface comprises at least one of:
the system comprises an application module installation interface, an OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
In one possible implementation, the target application module 602 is connected to the server in communication;
the service interface is specifically configured to send a service request to the target application module 602; the service request is used for requesting target data information corresponding to the target application module 602;
the target application module 602 is further configured to send the service request to the server, receive the target data information returned by the server, and send the target data information to the service interface.
The embodiment of the application provides a device linkage control device, a ROM601 is connected with a target application module 602 in an interprocess communication mode, the ROM601 is physically connected with a first hardware device 603, a communication channel between the target application module 602 and the first hardware device 603 is further established through the ROM601, information communication between the target application module 602 and the first hardware device 603 is realized based on the communication channel established by the ROM601, and high-quality travel service can be provided for a driver or a passenger. Through the connection mode of this application, saved the connection between electronic equipment and the hardware equipment and mated time, and connection stability is good, communication security is high, has improved communication efficiency.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned equipment linkage control method are executed.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the device linkage control method can be executed, so that the problems of slow pairing time, low connection stability, and low communication security of connection between a carrier device (i.e., an electronic device) and an in-vehicle hardware device are solved, the connection pairing time between the electronic device and the hardware device is saved, the connection stability is good, the communication security is high, and the communication efficiency is improved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. An electronic device, comprising a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; wherein the content of the first and second substances,
the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode;
the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
2. The electronic device of claim 1,
the ROM is specifically configured to receive a first combined voltage signal sent by the first hardware device, convert the first combined voltage signal into first data information corresponding to the first hardware device, and send the first data information to the target application module;
the target application module is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM;
the ROM is further configured to receive the response information and send the response information to the first hardware device or the second hardware device.
3. The electronic device of claim 1,
the target application module is specifically configured to send a state setting instruction or second data information to the ROM;
the ROM is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device; wherein the second combined voltage signal is used to set a device state of the first hardware device or to process the second data information by the first hardware device.
4. The electronic device according to claim 1, further comprising a wireless communication module, wherein the ROM is in wireless communication connection with a second hardware device through the wireless communication module; the second hardware equipment carries out information transmission with the ROM in a wireless communication mode;
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
5. The electronic device of claim 1,
the ROM is further configured to monitor process state information of the target application module, and restart the target application module when the process state information is abnormal.
6. The electronic device of claim 5, wherein the process priority of the target application module is greater than the process priority of other third-party application modules in the electronic device.
7. The electronic device of claim 1 or 5, wherein the installation component of the target application module is placed in a system directory of the electronic device.
8. The electronic device of claim 1 or 5, wherein the ROM further comprises a service interface;
the service interface is used for acquiring third data information corresponding to an application module in the electronic equipment and sending the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM is also used for receiving the third data information and processing the third data information.
9. The electronic device of claim 8, wherein the plurality of service interfaces are different, and the third data information corresponding to different service interfaces is different.
10. The electronic device of claim 9, wherein the service interface comprises at least one of:
the system comprises an application module installation interface, an over-the-air technology OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
11. The electronic device of claim 8, wherein the target application module is communicatively coupled to a server;
the service interface is specifically configured to send a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
the target application module is further configured to send the service request to the server, receive the target data information returned by the server, and send the target data information to the service interface.
12. An equipment linkage control system is characterized by comprising electronic equipment and first hardware equipment; the electronic equipment comprises a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with the first hardware equipment; wherein the content of the first and second substances,
the first hardware device is used for carrying out information transmission with the ROM through voltage signals of different combinations;
the target application module is used for carrying out information transmission with the ROM in an interprocess communication mode;
the ROM is used for realizing information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
13. The plant linkage control system according to claim 12,
the first hardware device is specifically configured to send a first combined voltage signal to the ROM; wherein the first combined voltage signal is used to characterize first data information of the first hardware device;
the ROM is specifically configured to receive the first combined voltage signal, convert the first combined voltage signal into the first data information, and send the first data information to the target application module;
the target application module is specifically configured to receive the first data information, generate response information of the first data information, and send the response information to the ROM;
the ROM is further configured to receive the response information and send the response information to the first hardware device or the second hardware device.
14. The plant linkage control system according to claim 12,
the target application module is specifically configured to send a state setting instruction or second data information to the ROM;
the ROM is specifically configured to receive the state setting instruction or the second data information, convert the state setting instruction or the second data information into a second combined voltage signal, and send the second combined voltage signal to the first hardware device;
the first hardware device is specifically configured to receive the second combined voltage signal, and set a current device state or process the second data information according to the second combined voltage signal.
15. The equipment linkage control system according to claim 12, wherein said system further comprises a second hardware device; the electronic equipment further comprises a wireless communication module, and the ROM is in wireless communication connection with the second hardware equipment through the wireless communication module;
the second hardware device is used for carrying out information transmission with the ROM in a wireless communication mode;
the ROM is further configured to implement information transmission between the target application module and the second hardware device in the wireless communication manner and the interprocess communication manner.
16. The plant linkage control system according to claim 12,
the ROM is further configured to monitor process state information of the target application module, and restart the target application module when the process state information is abnormal.
17. The device linkage control system according to claim 16, wherein the process priority of the target application module is greater than the process priority of other third party application modules in the electronic device.
18. The device linkage control system according to claim 12 or 16, wherein the installation component of the target application module is placed in a system directory of the electronic device.
19. The device linkage control system according to claim 12 or 16, wherein the ROM further comprises a service interface;
the service interface is used for acquiring third data information corresponding to an application module in the electronic equipment and sending the third data information to the ROM; wherein the application module comprises a target application module;
and the ROM is also used for receiving the third data information and processing the third data information.
20. The device linkage control system according to claim 19, wherein the plurality of service interfaces are provided, and the third data information corresponding to different service interfaces is different.
21. The equipment interlock control system of claim 20 wherein the service interface comprises at least one of:
the system comprises an application module installation interface, an over-the-air technology OTA upgrade interface, an application module installation white list interface and a factory setting restoration interface.
22. The device linkage control system according to claim 19, further comprising a server, wherein the target application module is communicatively coupled to the server;
the service interface is specifically configured to send a service request to the target application module; the service request is used for requesting target data information corresponding to the target application module;
the target application module is further used for sending the service request to the server;
the server is further used for receiving the service request, acquiring the target data information and sending the target data information to the target application module;
the target application module is further configured to send the target data information to the service interface.
23. The method is characterized in that the method is applied to electronic equipment, and the electronic equipment comprises a ROM and a target application module; by customizing the ROM, when the ROM installs the target application module, the ROM places an installation component of the target application module in a system directory to ensure that the target application module has the highest process priority under an operating system of the electronic equipment; the target application module is in communication connection with the ROM, and the ROM is physically connected with first hardware equipment; the first hardware device performs information transmission with the ROM through voltage signals of different combinations; the method comprises the following steps:
the target application module carries out information transmission with the ROM in an interprocess communication mode;
the ROM realizes information transmission between the target application module and the first hardware equipment in a mode of different combined voltage signals and interprocess communication.
24. A computer-readable storage medium, having stored thereon a computer program for executing the steps of the method according to claim 23 when executed by a processor.
CN202010130934.2A 2020-02-28 2020-02-28 Electronic equipment and equipment linkage control system and method Active CN111338826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010130934.2A CN111338826B (en) 2020-02-28 2020-02-28 Electronic equipment and equipment linkage control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010130934.2A CN111338826B (en) 2020-02-28 2020-02-28 Electronic equipment and equipment linkage control system and method

Publications (2)

Publication Number Publication Date
CN111338826A CN111338826A (en) 2020-06-26
CN111338826B true CN111338826B (en) 2021-02-02

Family

ID=71185776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010130934.2A Active CN111338826B (en) 2020-02-28 2020-02-28 Electronic equipment and equipment linkage control system and method

Country Status (1)

Country Link
CN (1) CN111338826B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355766A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Mobile terminal and control method for playing multimedia thereof
CN102622291A (en) * 2012-03-13 2012-08-01 苏州阔地网络科技有限公司 Method and system for monitoring processes

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1223152C (en) * 2000-02-28 2005-10-12 永泰锋国际有限公司 Intelligent home control bus
JP2008310693A (en) * 2007-06-15 2008-12-25 Panasonic Corp Information processor
CN102469130A (en) * 2010-11-16 2012-05-23 晨讯科技(沈阳)有限公司 Method for upgrading taximeter in wireless mode and taximeter used thereby
US9268623B2 (en) * 2012-12-18 2016-02-23 International Business Machines Corporation Analyzing update conditions for shared variable directory information in a parallel computer
JP5372297B1 (en) * 2012-12-20 2013-12-18 三菱電機株式会社 In-vehicle device and program
AU2014268246A1 (en) * 2014-11-28 2016-06-16 Canon Kabushiki Kaisha Reverting tightly coupled threads in an over-scheduled system
US20180082307A1 (en) * 2016-09-19 2018-03-22 Experian Health, Inc. Selection of pre-arranged assistance from an electronic qualification transaction
CN106850554B (en) * 2016-12-22 2019-12-17 广州视源电子科技股份有限公司 Method and device for dual-system directional connection
CN106817427A (en) * 2017-02-03 2017-06-09 上海喜泊客信息技术有限公司 Car-mounted terminal and the system for car-mounted terminal
CN107316216A (en) * 2017-07-28 2017-11-03 北京聚利科技股份有限公司 taxi electronic invoice generation method, device and system
CN107633344A (en) * 2017-08-16 2018-01-26 芜湖芮林信息科技有限公司 Sequence information gathers and carries out the Taxi Management System and method of order meteyage
CN108156062A (en) * 2017-08-18 2018-06-12 上海金脉电子科技有限公司 The gateway controller of various communications protocols including compatible Ethernet and CAN FD
CN109254856B (en) * 2018-08-30 2020-11-06 深圳大势智能科技有限公司 Method for providing interface to client by intelligent POS server
CN110769521A (en) * 2019-08-26 2020-02-07 北京嘀嘀无限科技发展有限公司 Network access method, network access system, and computer-readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355766A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Mobile terminal and control method for playing multimedia thereof
CN102622291A (en) * 2012-03-13 2012-08-01 苏州阔地网络科技有限公司 Method and system for monitoring processes

Also Published As

Publication number Publication date
CN111338826A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
US9466155B2 (en) System to view automobile diagnostic information
US20190122457A1 (en) Method and system to deliver telematics solutions
EP2360871A1 (en) Machine to machine architecture
JP2017521321A (en) Personal vehicle diagnostic system and method based on smart mobile terminal
KR101573483B1 (en) Apparatus and method for providing vehicle information
WO2022193096A1 (en) Over-the-air technology (ota)-based communication method and apparatus
CA2889016A1 (en) System for managing vehicle information displayed on a plurality of vehicles
CN105139639A (en) Smart terminal for taxi
CN111338826B (en) Electronic equipment and equipment linkage control system and method
US20220277597A1 (en) Enhanced usability and functionality of vehicle onboard hardware and software
CN113159350A (en) Network car booking management system, method and computing equipment
US20100222962A1 (en) Method for Checking the Suitability of a Mobile Telephone
CN115801856A (en) Service processing method based on atomization service and related equipment
CN112767565B (en) Method and device for OBU issuing and activating based on vehicle machine and electronic equipment
EP4307644A1 (en) Service activation management method, apparatus and system, device, and storage medium
CN104935501A (en) System and method for classifying users to realize classified information transmission
CN117851981A (en) Software registration method, device, vehicle, storage medium and software release system
CN111050295A (en) System and method for providing rewards for data transfer from a vehicle
US20130290132A1 (en) Software distribution accounting
US20230036444A1 (en) System, method, and non-transitory storage medium
EP4339871A1 (en) Internet of vehicles-based digital commodity processing method, apparatus, and medium
CN118124515A (en) Vehicle function authority configuration method and device, electronic equipment and storage medium
JP7148347B2 (en) Information processing device and information processing program
US20230033832A1 (en) System, center, method, and non-transitory storage medium
CN115412613B (en) Method for managing aftermarket devices of a vehicle, 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
GR01 Patent grant
GR01 Patent grant